Prev: 40341 Up: Map Next: 40520
40447: Routine at 9DFF
40447 LD C,4 C=4.
40449 CALL 40142 Call 40142.
40452 JR NZ,40341 Jump to 40341 if the zero flag is not set.
40454 LD C,0 C=0.
40456 CALL 40142 Call 40142.
40459 JR NZ,40341 Jump to 40341 if the zero flag is not set.
40461 LD A,4 Write 4 to *41012.
40463 LD (41012),A
40466 LD A,1 Write 1 to *40336.
40468 LD (40336),A
40471 LD A,92 Call FetchLocationDataPointer with room 92: Jones Front Gate.
40473 CALL FetchLocationDataPointer
40476 LD (IX+10),0 Write 0 to *IX+10.
40480 LD A,62 Call FetchLocationDataPointer with room 62: Browns Front Gate.
40482 CALL FetchLocationDataPointer
40485 LD (IX+10),0 Write 0 to *IX+10.
40489 LD HL,40341 Write 40341 to *40070.
40492 LD (40070),HL
40495 LD A,1 Write 1 to *40338.
40497 LD (40338),A
40500 LD A,(40337) A=*40337.
40503 AND A Set flags.
40504 LD HL,29191 HL=29191.
40507 JR NZ,40516 Jump to 40516 if ?? is not equal to A.
40509 INC A Increment A by one.
40510 LD (40337),A Write A to *40337.
40513 LD HL,29220 HL=29220.
40516 CALL 42399 Call 42399.
40519 RET Return.
Prev: 40341 Up: Map Next: 40520