![]() |
Routines |
| Prev: 45750 | Up: Map | Next: 45803 |
|
Used by the routine at HandleFatBottomBlock.
Saves the position of the object in SavedPosition.
|
||||||||
|
Copy x, y and z to SavedPosition.
|
||||||||
| SavePosition | 45785 | LD HL,23323 | Point HL at SavedPosition. | |||||
| 45788 | LD A,(IX+1) | Fetch the x position. | ||||||
| 45791 | LD (HL),A | Store it. | ||||||
| 45792 | INC HL | Move on. | ||||||
| 45793 | LD A,(IX+2) | Fetch the y position. | ||||||
| 45796 | LD (HL),A | Store it. | ||||||
| 45797 | INC HL | Move on. | ||||||
| 45798 | LD A,(IX+3) | Fetch the z position. | ||||||
| 45801 | LD (HL),A | Store it. | ||||||
| 45802 | RET | Return. | ||||||
| Prev: 45750 | Up: Map | Next: 45803 |