![]() |
Routines |
| Prev: AC29 | Up: Map | Next: AC60 |
|
Used by the routines at FireShot, SpawnEnemy, StartDebrisPiece, StartCrystalObject, LaunchShot, CreatePiece, AddMapObjects and ResetLife.
Clears the fields of an object slot to zero, then marks the slot as free by setting its type to FF.
|
||||||||
| FreeObjectSlot | AC34 | CALL ClearShot | Call ClearShot. | |||||
| AC37 | LD (IX+$07),A | Write A to offset 07 of IX. | ||||||
| AC3A | LD (IX+$08),A | Write A to offset 08 of IX. | ||||||
| AC3D | LD (IX+$09),A | Write A to offset 09 of IX. | ||||||
| AC40 | LD (IX+$0A),A | Write A to offset 0A of IX. | ||||||
| AC43 | LD (IX+$10),A | Write A to offset 10 of IX. | ||||||
| AC46 | LD (IX+$11),A | Write A to offset 11 of IX. | ||||||
| AC49 | LD (IX+$12),A | Write A to offset 12 of IX. | ||||||
| AC4C | LD (IX+$13),A | Write A to offset 13 of IX. | ||||||
| AC4F | LD (IX+$14),A | Write A to offset 14 of IX. | ||||||
| AC52 | LD (IX+$15),A | Write A to offset 15 of IX. | ||||||
| AC55 | LD (IX+$16),A | Write A to offset 16 of IX. | ||||||
| AC58 | LD (IX+$17),A | Write A to offset 17 of IX. | ||||||
| AC5B | LD (IX+$00),$FF | Store FF at offset 00 of IX. | ||||||
| AC5F | RET | Return. | ||||||
| Prev: AC29 | Up: Map | Next: AC60 |