Prev: F2B6 Up: Map Next: F2F4
F2BE: Redfine keys
Used by the routine at DB63.
F2BE CALL $F2F4 Clear the screen and wait for a keypress.
F2C1 LD HL,$F2A5 Print "left". (F2A5)
F2C4 CALL $EEF1
F2C7 CALL $F300 Wait for a keypress.
F2CA LD A,D Store the key for "left". (F26E)
F2CB LD ($F26E),A
F2CE CALL $F2F4 Clear the screen and wait for a keypress.
F2D1 LD HL,$F2AD Print "right". (F2AD)
F2D4 CALL $EEF1
F2D7 CALL $F300 Wait for a keypress.
F2DA LD A,D Store the key for "right". (F26F)
F2DB LD ($F26F),A
F2DE CALL $F2F4 Clear the screen and wait for a keypress.
F2E1 LD HL,$F2B6 Print "jump". (F2B6)
F2E4 CALL $EEF1
F2E7 CALL $F300 Wait for a keypress.
F2EA LD A,D Store the key for "jump". (F270)
F2EB LD ($F270),A
F2EE CALL $F2F4 Clear the screen and wait for a keypress.
F2F1 JP $CA56 Should be JP CA5B, as this address is in a buffer (CA3D), however, the instructions are harmless and the bug has no effect!
Prev: F2B6 Up: Map Next: F2F4