Jump to content

Remote control Pikachu: Difference between revisions

 
(One intermediate revision by the same user not shown)
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).
<ttpre>
Bit 0x7/+0x80 - Down
Bit 0x6/+0x40 - Up
Line 129:
Bit 0x1/+0x02 - B
Bit 0x0/+0x01 - A
</ttpre>
 
==How to move Pikachu==
Cookies help us deliver our services. By using our services, you agree to our use of cookies.