![]() |
Routines |
| Prev: 61703 | Up: Map | Next: 61925 |
|
Used by the routines at Handler_Player and Handler_Pirates.
|
||||
| 61871 | PUSH IX | Stash IX on the stack. | ||
| 61873 | LD IX,(23514) | IX=*ReferenceKeysAndLockedDoors. | ||
| 61877 | LD DE,6 | DE=0006. | ||
| 61880 | LD A,255 | Jump to Handler_Housekeeping if the terminator character has been received instead of a co-ordinate (255). | ||
| 61882 | CP (IX+0) | |||
| 61885 | JP Z,Handler_Housekeeping | |||
| 61888 | LD A,C | Jump to 61921 if C is not equal to *IX+0. | ||
| 61889 | CP (IX+0) | |||
| 61892 | JR NZ,61921 | |||
| 61894 | LD A,(IX+1) | A=*IX+1. | ||
| 61897 | DEC A | Decrease A by two. | ||
| 61898 | DEC A | |||
| 61899 | CP B | Jump to 61921 if A is not equal to B. | ||
| 61900 | JR NZ,61921 | |||
| 61902 | LD A,(IX+5) | Compare *IX+5 with 0. | ||
| 61905 | CP 0 | |||
| 61907 | LD A,255 | A=255. | ||
| 61909 | JP Z,Handler_Housekeeping | Jump to Handler_Housekeeping if *IX+5 was equal to 0 on line 61902. | ||
| 61912 | LD A,(IX+4) | A=*IX+4. | ||
| 61915 | PUSH IX | HL=IX (using the stack). | ||
| 61917 | POP HL | |||
| 61918 | POP IX | Restore IX from the stack. | ||
| 61920 | RET | Return. | ||
| 61921 | ADD IX,DE | IX+=DE. | ||
| 61923 | JR 61880 | Jump to 61880. | ||
| Prev: 61703 | Up: Map | Next: 61925 |