![]() |
Routines |
| Prev: 29970 | Up: Map | Next: 30088 |
|
Used by the routine at Handler_Cat.
Resets the cat to its starting position and clears the stunned flag.
|
||||||||
| Reset_Cat_Position | 30068 | LD A,(IY+1) | Set the Y position from *IY+1. | |||||
| 30071 | LD (IX+1),A | |||||||
| 30074 | LD A,(IY+2) | Set the X position from *IY+2. | ||||||
| 30077 | LD (IX+0),A | |||||||
| 30080 | XOR A | Write 0 to *IY+0 (clear the stunned flag). | ||||||
| 30081 | LD (IY+0),A | |||||||
| 30084 | LD (IX+2),B | Set the sprite active value from B. | ||||||
| 30087 | RET | Return. | ||||||
| Prev: 29970 | Up: Map | Next: 30088 |