9F60: Move the player off a ladder
9F60 |
LD A,($72D9) |
9F63 |
INC A |
9F64 |
AND $07 |
9F66 |
RET NZ |
9F67 |
LD HL,($72D8) |
9F6A |
EX DE,HL |
9F6B |
LD HL,$61A8 |
9F6E |
LD A,D |
9F6F |
AND $F8 |
9F71 |
LD B,$00 |
9F73 |
SLA A |
9F75 |
RL B |
9F77 |
SLA A |
9F79 |
RL B |
9F7B |
LD C,A |
9F7C |
ADD HL,BC |
9F7D |
LD B,$00 |
9F7F |
LD C,E |
9F80 |
SRL C |
9F82 |
SRL C |
9F84 |
SRL C |
9F86 |
ADD HL,BC |
9F87 |
LD BC,$0020 |
9F8A |
LD A,($7333) |
9F8D |
IN A,($FE) |
9F8F |
AND $1F |
9F91 |
LD D,A |
9F92 |
LD A,($7332) |
9F95 |
OR D |
9F96 |
CP $1F |
9F98 |
JR Z,$9FB5 |
9F9A |
DEC HL |
9F9B |
LD A,(HL) |
9F9C |
CP $05 |
9F9E |
RET NC |
9F9F |
AND A |
9FA0 |
SBC HL,BC |
9FA2 |
LD A,(HL) |
9FA3 |
CP $05 |
9FA5 |
RET NC |
9FA6 |
AND A |
9FA7 |
SBC HL,BC |
9FA9 |
LD A,(HL) |
9FAA |
AND A |
9FAB |
RET Z |
9FAC |
CP $09 |
9FAE |
RET NC |
9FAF |
LD A,$04 |
9FB1 |
LD ($72DB),A |
9FB4 |
RET |
9FB5 |
LD A,($7335) |
9FB8 |
IN A,($FE) |
9FBA |
AND $1F |
9FBC |
LD D,A |
9FBD |
LD A,($7334) |
9FC0 |
OR D |
9FC1 |
CP $1F |
9FC3 |
RET Z |
9FC4 |
INC HL |
9FC5 |
INC HL |
9FC6 |
LD A,(HL) |
9FC7 |
CP $05 |
9FC9 |
RET NC |
9FCA |
AND A |
9FCB |
SBC HL,BC |
9FCD |
LD A,(HL) |
9FCE |
CP $05 |
9FD0 |
RET NC |
9FD1 |
AND A |
9FD2 |
SBC HL,BC |
9FD4 |
LD A,(HL) |
9FD5 |
AND A |
9FD6 |
RET Z |
9FD7 |
CP $09 |
9FD9 |
RET NC |
9FDA |
XOR A |
9FDB |
LD ($72DB),A |
9FDE |
RET |