![]() |
Routines |
| Prev: 64158 | Up: Map | Next: 64303 |
|
Used by the routine at JumpTable_SpawnEntity.
Spawns or resets the entity at IX.
|
||||||||||||||||||||
| Spawn_Entity | 64254 | LD (IX+0),C | Write the column and row into the current and stored slots. | |||||||||||||||||
| 64257 | LD (IX+1),B | |||||||||||||||||||
| 64260 | LD (IX+10),C | |||||||||||||||||||
| 64263 | LD (IX+11),B | |||||||||||||||||||
| 64266 | LD (IX+4),E | Write the width, height and sprite ID. | ||||||||||||||||||
| 64269 | LD (IX+5),D | |||||||||||||||||||
| 64272 | LD (IX+6),A | |||||||||||||||||||
| 64275 | LD (IX+7),L | Write the colour. | ||||||||||||||||||
| 64278 | LD (IX+2),7 | Write 7 as both fine offsets. | ||||||||||||||||||
| 64282 | LD (IX+3),7 | |||||||||||||||||||
| 64286 | LD (IX+12),7 | |||||||||||||||||||
| 64290 | LD (IX+13),7 | |||||||||||||||||||
| 64294 | LD (IX+8),0 | Clear the movement deltas. | ||||||||||||||||||
| 64298 | LD (IX+9),0 | |||||||||||||||||||
| 64302 | RET | Return. | ||||||||||||||||||
| Prev: 64158 | Up: Map | Next: 64303 |