Prev: F255 Up: Map Next: F2AE
F286: Routine at F286
Used by the routine at F130.
F286 CP D Jump to F293 if A is not equal to D.
F287 JR NZ,$F293
F289 LD A,C Compare C with 16.
F28A CP $16
F28C POP IY Restore IY from the stack.
F28E JR Z,$F2A0 Jump to F2A0 if C was equal to 16.
F290 JP $F249 Jump to F249.
F293 LD A,C Return if C is not equal to D.
F294 CP D
F295 RET NZ
F296 LD A,($E2C7) Compare *Item_ID with 16.
F299 CP $16
F29B POP IY Restore IY from the stack.
F29D JP NZ,$F249 Jump to F249 if *Item_ID was not equal to 16.
F2A0 LD A,$00 Write 00 to *Item_ID.
F2A2 LD ($E2C7),A
F2A5 LD A,D A=D.
F2A6 CALL $D99E Call D99E.
F2A9 LD A,$50 A=50.
F2AB JP $F216 Jump to F216.
Prev: F255 Up: Map Next: F2AE