EA60: Update state if Quasimodo is near a rope
EA60 |
LD A,($B9FB) |
EA63 |
CP $1C |
EA65 |
JR Z,$EA85 |
EA67 |
LD A,($BA4A) |
EA6A |
SUB $07 |
EA6C |
LD B,A |
EA6D |
SRL A |
EA6F |
SRL A |
EA71 |
SRL A |
EA73 |
LD E,A |
EA74 |
LD A,B |
EA75 |
AND $07 |
EA77 |
SRL A |
EA79 |
SLA A |
EA7B |
ADD A,$21 |
EA7D |
LD ($EAB0),A |
EA80 |
LD A,E |
EA81 |
LD ($EAB1),A |
EA84 |
RET |
EA85 |
LD A,($BA4A) |
EA88 |
SUB $01 |
EA8A |
LD B,A |
EA8B |
LD A,$80 |
EA8D |
SUB B |
EA8E |
ADD A,$80 |
EA90 |
LD B,A |
EA91 |
SRL A |
EA93 |
SRL A |
EA95 |
SRL A |
EA97 |
DEC A |
EA98 |
LD ($EAB1),A |
EA9B |
LD A,B |
EA9C |
AND $07 |
EA9E |
SRL A |
EAA0 |
SLA A |
EAA2 |
ADD A,$21 |
EAA4 |
LD ($EAB0),A |
EAA7 |
RET |