Prev: B09D Up: Map Next: B0E6
B09F: Routine at B09F
Used by the routines at GameLoop and F177.
B09F LD IY,($B09D) IY=*CurrentCharacter.
B0A3 LD A,(IY+$0F) Write *IY+0F to TempStore_Room.
B0A6 LD ($B951),A
B0A9 CALL $AFC4 Call AFC4.
B0AC LD A,(IY+$46)
B0AF OR A
B0B0 JP NZ,$B1B9
B0B3 LD A,(IY+$37)
B0B6 OR A
B0B7 JP NZ,$B197
B0BA CALL Controls_Jump Call Controls_Jump.
B0BD OR A
B0BE JP NZ,$B1A6
B0C1 LD (IY+$3C),$00
B0C5 CALL Controls_Right Call Controls_Right.
B0C8 OR A
B0C9 JR Z,$B0D6
B0CB LD (IY+$3C),$01
B0CF LD (IY+$41),$01
B0D3 JP $B288 Jump to B288.
B0D6 CALL Controls_Left Call Controls_Left.
B0D9 OR A
B0DA RET Z
B0DB LD (IY+$3C),$FF Write FF to *IY+3C.
B0DF LD (IY+$41),$FF Write FF to *IY+41.
B0E3 JP $B288 Jump to B288.
Prev: B09D Up: Map Next: B0E6