Anonymous user
Remote control Pikachu: Difference between revisions
→Notes
(→Notes) |
(→Notes) |
||
(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).
<
Bit 0x7/+0x80 - Down
Bit 0x6/+0x40 - Up
Line 129:
Bit 0x1/+0x02 - B
Bit 0x0/+0x01 - A
</
==How to move Pikachu==
|