Prev: 9D95 Up: Map Next: 9E48
9DFF: Routine at 9DFF
9DFF LD C,$04 C=04.
9E01 CALL $9CCE Call 9CCE.
9E04 JR NZ,$9D95 Jump to 9D95 if the zero flag is not set.
9E06 LD C,$00 C=00.
9E08 CALL $9CCE Call 9CCE.
9E0B JR NZ,$9D95 Jump to 9D95 if the zero flag is not set.
9E0D LD A,$04 Write 04 to *A034.
9E0F LD ($A034),A
9E12 LD A,$01 Write 01 to *9D90.
9E14 LD ($9D90),A
9E17 LD A,$5C Call FetchLocationDataPointer with room 5C: Jones Front Gate.
9E19 CALL FetchLocationDataPointer
9E1C LD (IX+$0A),$00 Write 00 to *IX+0A.
9E20 LD A,$3E Call FetchLocationDataPointer with room 3E: Browns Front Gate.
9E22 CALL FetchLocationDataPointer
9E25 LD (IX+$0A),$00 Write 00 to *IX+0A.
9E29 LD HL,$9D95 Write 9D95 to *9C86.
9E2C LD ($9C86),HL
9E2F LD A,$01 Write 01 to *9D92.
9E31 LD ($9D92),A
9E34 LD A,($9D91) A=*9D91.
9E37 AND A Set flags.
9E38 LD HL,$7207 HL=7207.
9E3B JR NZ,$9E44 Jump to 9E44 if ?? is not equal to A.
9E3D INC A Increment A by one.
9E3E LD ($9D91),A Write A to *9D91.
9E41 LD HL,$7224 HL=7224.
9E44 CALL $A59F Call A59F.
9E47 RET Return.
Prev: 9D95 Up: Map Next: 9E48