Prev: E9CA Up: Map Next: EA0A
E9CB: Handle rolling rock for room 0
Used by the routine at Update_Room00.
Input
Output
Update_RollRock E9CB LD A,(Room0_RockCount) Check and update countdown .
E9CE OR A
E9CF JR Z,Update_RollRock_0
E9D1 DEC A
E9D2 LD (Room0_RockCount),A
E9D5 RET Do nothing if not zero yet.
Update_RollRock_0 E9D6 LD B,$26
Update_RollRock_1 E9D8 PUSH BC
E9D9 LD A,($F18A)
E9DC LD E,A
E9DD LD D,$0E
E9DF INC A
E9E0 LD ($F18A),A
E9E3 CALL $E9A3
E9E6 CALL Pause_Short
E9E9 POP BC
E9EA DJNZ Update_RollRock_1
E9EC LD A,$1C
E9EE LD (Wally_RoomNo),A
E9F1 XOR A
E9F2 LD ($F18A),A
E9F5 LD (Flag_BaddyInit),A
E9F8 INC A
E9F9 LD (DeathFlag),A
E9FC LD A,$C8
E9FE LD (Room0_RockCount),A
EA01 CALL ScreenClearEffect
EA04 CALL RoomDraw
EA07 JP StartNextLife_0
Prev: E9CA Up: Map Next: EA0A