Jump to content

Remote control Pikachu: Difference between revisions

 
Line 119:
This code reads from FFB3; a joypad address in the HRAM.
 
The value in FFB3 is determined by the combination of the bits set when pressing buttons, for example, moving down enables bit 0x7 (+0x80 to the value). If one wanted to modify the code for an input with (for instance) down and left at the same time, FFB3 would read 0xA0 (0x80+0x20).
<pre>
Bit 0x7/+0x80 - Down
Cookies help us deliver our services. By using our services, you agree to our use of cookies.