Prev: 9EA0 Up: Map Next: 9F08
9EC7: Routine at 9EC7
Used by the routines at Action_Examine, 9D44 and 9F94.
9EC7 PUSH IY Stash IY and DE on the stack.
9EC9 PUSH DE
9ECA LD DE,$0008 IY=IY+$0008
9ECD ADD IY,DE
9ECF CALL $9ED6 Call 9ED6.
9ED2 POP DE Restore DE and IY off the stack.
9ED3 POP IY
9ED5 RET Return.
This entry point is used by the routines at 742D and YouSeeEntry.
9ED6 PUSH AF Stash AF and DE on the stack.
9ED7 PUSH DE
9ED8 LD A,($B703) If B703 is not zero then jump to 9EFA.
9EDB CP $00
9EDD JR NZ,$9EFA
9EDF LD D,(IY+$01) DE=...
9EE2 LD E,(IY+$00)
9EE5 CALL $743F Call 743F.
9EE8 LD E,(IY+$02) DE=...
9EEB LD D,(IY+$03)
9EEE CALL PrintToken Call PrintToken.
9EF1 LD E,(IY+$04) DE=...
9EF4 LD D,(IY+$05)
9EF7 CALL PrintToken Call PrintToken.
9EFA LD E,(IY+$00) DE=...
9EFD LD D,(IY+$01)
9F00 LD A,D If DE is not zero call 7478.
9F01 OR E
9F02 CALL NZ,$7478
9F05 POP DE Restore DE and AF off the stack.
9F06 POP AF
9F07 RET Return.
Prev: 9EA0 Up: Map Next: 9F08