Never mind, I "got it":
Code:
Pass through Black Holes:
04016688 60000000
0401669C 60000000
.org 0x80016688
lfs f0, 4 (r4) ;Reads Z position for collision with black holes
.org 0x8001669C
lfs f1, 0 (r4) ;Reads X position for collision with black holes
Warning! Needs activator/deactivator!
(Makes entering levels impossible (and screws some object loading?))
Unfortunately, I don't know what to do about the issues with using the code as-is. I've only outlined a vague solution.
I need more addresses of things like input or a way of identifying whose position is being read at the above PCs.
Something tells me existing codes already have the info I need, but of course, without any comments in the source (or the source, for that matter) it'll be like finding a needle in a haystack.
Edit:
Code:
Pass through Black Holes:
A & D Left to activate, A & D Right to deactivate
C244E668 00000008
80030004 3CC08001
2C000801 41820024
2C000802 40A20028
3CE0C004 38E70004
90E66688 3CE0C024
90E6669C 48000010
3CE06000 90E66688
90E6669C 00000000
Since it just NOPs the Z and X position reads of your character responsible for the collision instead of feeding them dummy values, the code doesn't exactly work perfectly. I think dying and thereby changing your spawn location alters which black holes you can and can't pass through (sometimes).
On some levels, you can pass through all the black holes. In others, you can only pass through a few.
As well, in some levels, the "you're too far from where you're supposed to be so you must have fallen to your death" logic activates and kills you should you fly even just a bit away from the "planet" you're on. Deactivating the code to bypass this issue is easy enough. Note that the activator and deactivator button combos require no other buttons to be pressed simultaneously. While I'm not a fan of reading input this way, I made an exception in this case as I felt that the code isn't something you want to switch on and off so easily.
Anyway, enjoy (and note that the "bee" levels are especially good for this code
).