

And even if it did, we wouldn't know where in the loop we are at that point. However, in order to do anything interesting, we will need to change the values of these registers for the next frame (by changing which buttons are pressed), and this does not happen instantaneously. That leaves us 6 bytes for other purposes. $90/A513 60 RTS Will return somewhere crazy $90/A512 28 PLP This messes up the stack!


The intial value of A no longer matters at this point. $90/A4BD A5 8F LDA $8F Controller button pressed this frame! That makes this a promising avenue for exploits. What happens depends on the direction the beam was fired in, as well as the controller input for that frame, and lots of other stuff on the instruction pointer's wild romp through the ROM. This is half-way through some other function, which due to an extra PLP instruction fails to return properly, leading to the function failing to return properly, and almost certainly leading to a crash. Jumps to $90a4aa (ROM) (but only if not fired to the left. The minimum distance required to charge the spark using this technique is 157.668 pixels.
#Super metroid randomizer stuck after bomb room full#
The minimum distance required to charge the spark using this technique is 163.1875 pixels (164.1875 to full stop).
