Routines |
Prev: F107 | Up: Map | Next: F1E5 |
Used by the routines at Handler_Player and Handler_Pirates.
|
||||
F1AF | PUSH IX | Stash IX on the stack. | ||
F1B1 | LD IX,($5BDA) | IX=*ReferenceKeysAndLockedDoors. | ||
F1B5 | LD DE,$0006 | DE=0006. | ||
F1B8 | LD A,$FF | Jump to Handler_Housekeeping if the terminator character has been received instead of a co-ordinate (FF). | ||
F1BA | CP (IX+$00) | |||
F1BD | JP Z,Handler_Housekeeping | |||
F1C0 | LD A,C | Jump to F1E1 if C is not equal to *IX+00. | ||
F1C1 | CP (IX+$00) | |||
F1C4 | JR NZ,$F1E1 | |||
F1C6 | LD A,(IX+$01) | A=*IX+01. | ||
F1C9 | DEC A | Decrease A by two. | ||
F1CA | DEC A | |||
F1CB | CP B | Jump to F1E1 if A is not equal to B. | ||
F1CC | JR NZ,$F1E1 | |||
F1CE | LD A,(IX+$05) | Compare *IX+05 with 00. | ||
F1D1 | CP $00 | |||
F1D3 | LD A,$FF | A=FF. | ||
F1D5 | JP Z,Handler_Housekeeping | Jump to Handler_Housekeeping if *IX+05 was equal to 00 on line F1CE. | ||
F1D8 | LD A,(IX+$04) | A=*IX+04. | ||
F1DB | PUSH IX | HL=IX (using the stack). | ||
F1DD | POP HL | |||
F1DE | POP IX | Restore IX from the stack. | ||
F1E0 | RET | Return. | ||
F1E1 | ADD IX,DE | IX+=DE. | ||
F1E3 | JR $F1B8 | Jump to F1B8. |
Prev: F107 | Up: Map | Next: F1E5 |