E9CB: Room Event : Rolling Rock.
Update_RollRock |
E9CB |
LD A,(Room0_RockCount) |
|
E9CE |
OR A |
|
E9CF |
JR Z,Update_RollRock_0 |
|
E9D1 |
DEC A |
|
E9D2 |
LD (Room0_RockCount),A |
|
E9D5 |
RET |
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 RollRock_Draw |
|
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 Wally_Resurrect |