Prev: 8A88 Up: Map Next: 8AD2
8AAC: Action 02 : Entering a new room.
Input
HL Address of action data after command (02)
Output
Action02_EnterRoom 8AAC LD A,(HL) Get new room number and set.
8AAD INC HL
8AAE LD (Wally_RoomNo),A
8AB1 LD A,(HL) Get new position for wally.
8AB2 LD (Wally_X),A
8AB5 INC HL
8AB6 LD A,(HL)
8AB7 INC HL
8AB8 LD (Wally_Y),A
8ABB CALL Wally_Reset Reset Wally's animation ready for new room.
8ABE PUSH HL
8ABF LD BC,$C828
8AC2 LD DE,$0128
8AC5 LD HL,$02FD
8AC8 CALL Beep_Effect
8ACB POP HL
8ACC CALL Room_Enter Set up the screen and data.
8ACF JP Room_TestEvents_0
Prev: 8A88 Up: Map Next: 8AD2