Pyjamarama | Routines |
Prev: F4A6 | Up: Map |
Used by the routine at Invaders_Loop.
|
|||||||
Check to see if Wally has left the arcade room.
|
|||||||
Invaders_ExitCheck | F4D2 | LD HL,(Wally_X) | See if Wally is at the far left of the room. | ||||
F4D5 | LD A,L | ||||||
F4D6 | SUB $08 | ||||||
F4D8 | SUB $01 | ||||||
F4DA | CP $FE | ||||||
F4DC | RET C | Do nothing if not. | |||||
F4DD | LD A,$15 | ||||||
F4DF | LD (Wally_RoomNo),A | Move into the next room and update. | |||||
F4E2 | LD HL,$98D0 | ||||||
F4E5 | LD (Wally_X),HL | ||||||
F4E8 | CALL Room_Enter | ||||||
F4EB | LD SP,$0000 | ||||||
F4EE | XOR A | ||||||
F4EF | LD (IsArcadeMode),A | ||||||
F4F2 | JP GameLoop | Go back to normal game play. |
Prev: F4A6 | Up: Map |