40614: Room-specific routine: Enable / disable entry to castle depending upon disquise worn and whether Newspaper is held
40614 |
NOP |
40615 |
NOP |
40616 |
NOP |
40617 |
NOP |
40618 |
NOP |
40619 |
LD A,255 |
40621 |
LD (48844),A |
40624 |
LD A,1 |
40626 |
CALL 45505 |
40629 |
RET NZ |
40630 |
LD A,(23438) |
40633 |
DEC A |
40634 |
LD B,A |
40635 |
LD A,(23703) |
40638 |
CP B |
40639 |
RET NZ |
40640 |
LD A,33 |
40642 |
CALL 45510 |
40645 |
RET NZ |
40646 |
LD A,(23702) |
40649 |
INC A |
40650 |
LD (48844),A |
40653 |
XOR A |
40654 |
LD (23451),A |
40657 |
RET |