Anonymous user
OAM DMA hijacking: Difference between revisions
m
→Taking over the joypad
No edit summary |
|||
Line 52:
ld a,(FFD3) ; a=random "D-sum" byte 1 number.
ld (FFF8),a ; put a into FFF8, which controls what buttons are being pressed.
This example is a simulation of RNG Plays Pokémon, but the routine at D34A can be adjusted for different inputs into FFF8.
|