ED94: Action 12 Grab rope and slide down bannister.
Action12_GrabRope |
ED94 |
PUSH HL |
Action12_GrabRope_0 |
ED95 |
CALL Wally_Erase |
|
ED98 |
LD A,$10 |
|
ED9A |
LD (Wally_Frame),A |
|
ED9D |
DEC H |
|
ED9E |
DEC H |
|
ED9F |
LD (Wally_X),HL |
|
EDA2 |
LD A,H |
|
EDA3 |
CP $70 |
|
EDA5 |
JR Z,Action12_GrabRope_1 |
|
EDA7 |
CALL Wally_Draw |
|
EDAA |
CALL Pause_Short |
|
EDAD |
JR Action12_GrabRope_0 |
Action12_GrabRope_1 |
EDAF |
INC L |
|
EDB0 |
INC L |
|
EDB1 |
LD (Wally_X),HL |
|
EDB4 |
LD A,L |
|
EDB5 |
CP $E8 |
|
EDB7 |
JR NC,Action12_GrabRope_2 |
|
EDB9 |
CALL Wally_Draw |
|
EDBC |
CALL Pause_Short |
|
EDBF |
CALL Wally_Erase |
|
EDC2 |
JR Action12_GrabRope_1 |
Action12_GrabRope_2 |
EDC4 |
LD HL,$3038 |
|
EDC7 |
LD (Wally_X),HL |
|
EDCA |
LD A,$0D |
|
EDCC |
LD (Wally_RoomNo),A |
|
EDCF |
CALL Wally_Reset |
|
EDD2 |
LD A,$9B |
|
EDD4 |
LD (Wally_Frame),A |
|
EDD7 |
CALL Room_Enter |
|
EDDA |
LD B,$44 |
Action12_GrabRope_3 |
EDDC |
PUSH BC |
|
EDDD |
CALL Wally_Erase |
|
EDE0 |
INC L |
|
EDE1 |
INC L |
|
EDE2 |
INC H |
|
EDE3 |
LD (Wally_X),HL |
|
EDE6 |
CALL Wally_Draw |
|
EDE9 |
CALL Pause_Short |
|
EDEC |
POP BC |
|
EDED |
DJNZ Action12_GrabRope_3 |
|
EDEF |
CALL Wally_Erase |
|
EDF2 |
LD A,$10 |
|
EDF4 |
LD (Wally_Frame),A |
|
EDF7 |
CALL Wally_Draw |
|
EDFA |
POP HL |
|
EDFB |
JP Room_TestEvents_0 |