![]() |
Routines |
| Prev: 42179 | Up: Map | Next: 42220 |
|
The handler for entity types 116 to 119, which are the sprites of an installed program in the map. The stripe moves on to the next frame. sprites in turn.
|
||||||||
| AnimateProgram | 42204 | LD A,(IX+0) | Fetch the type of the entity. | |||||
| 42207 | LD E,A | Keep the type. | ||||||
| 42208 | DEC A | Take one off and limit it to the four sprites... | ||||||
| 42209 | AND 3 | |||||||
| 42211 | LD D,A | ...and keep that in D. | ||||||
| 42212 | LD A,E | Fetch the type again. | ||||||
| 42213 | AND 252 | Replace the sprite with the new one... | ||||||
| 42215 | OR D | |||||||
| 42216 | LD (IX+0),A | ...and store the type. | ||||||
| 42219 | RET | Return. | ||||||
| Prev: 42179 | Up: Map | Next: 42220 |