![]() |
Routines |
| Prev: 31050 | Up: Map | Next: 31185 |
|
Used by the routine at Handler_Spider.
Resets the spider to its starting position, height and direction.
|
||||||||
| Initialise_Spider | 31168 | LD (IX+1),70 | Write 70 to *IX+1 (initial height). | |||||
| 31172 | LD (IX+0),72 | Write 72 to *IX+0 (X position). | ||||||
| 31176 | LD (IX+2),0 | Write 0 to clear *IX+2 (sprite active flag). | ||||||
| 31180 | XOR A | Write 0 to *Spider_Direction_Flag to set the direction to ascending. | ||||||
| 31181 | LD (31185),A | |||||||
| 31184 | RET | Return. | ||||||
| Prev: 31050 | Up: Map | Next: 31185 |