30129: Draw lift doors if Magic Knight is at lift entrance on a different floor to the lift
30129 |
LD A,(65529) |
30132 |
DEC A |
30133 |
AND 7 |
30135 |
RET NZ |
30136 |
LD A,(65529) |
30139 |
ADD A,A |
30140 |
LD C,A |
30141 |
LD B,0 |
30143 |
LD HL,41711 |
30146 |
ADD HL,BC |
30147 |
LD A,(HL) |
30148 |
CP 255 |
30150 |
RET NZ |
30151 |
LD A,69 |
30153 |
LD (23695),A |
30156 |
LD A,224 |
30158 |
LD (23483),A |
30161 |
LD BC,3584 |
30164 |
LD A,83 |
30166 |
CALL 29960 |
30169 |
RET |