![]() |
Routines |
| Prev: 7512 | Up: Map | Next: 7588 |
|
Used by the routine at Handler_Cat.
Resets the cat to its starting position and clears the stunned flag.
|
||||||||
| Reset_Cat_Position | 7574 | LD A,(IY+$01) | Set the Y position from *IY+01. | |||||
| 7577 | LD (IX+$01),A | |||||||
| 757A | LD A,(IY+$02) | Set the X position from *IY+02. | ||||||
| 757D | LD (IX+$00),A | |||||||
| 7580 | XOR A | Write 00 to *IY+00 (clear the stunned flag). | ||||||
| 7581 | LD (IY+$00),A | |||||||
| 7584 | LD (IX+$02),B | Set the sprite active value from B. | ||||||
| 7587 | RET | Return. | ||||||
| Prev: 7512 | Up: Map | Next: 7588 |