![]() |
Routines |
| Prev: 8D32 | Up: Map | Next: 8D61 |
|
The handler for sprite $67. On three frames in four it counts +$06 down and redraws the sprite that many rows shorter, so the character sinks; on the fourth it only changes colour. (Measured: 19 steps in 25 frames for the knight.) When the count passes zero it leaves a gravestone where the body was and hands over to PLACE_PLAYER.
|
||||
| DYING | 8D45 | LD A,($5C78) | One frame in four: colour only. | |
| 8D48 | AND $03 | |||
| 8D4A | JR Z,ANIMATE_COLOUR | |||
| 8D4C | DEC (IX+$06) | Down a little further, until it goes negative. | ||
| 8D4F | JP M,DYING_0 | |||
| 8D52 | LD A,(IX+$07) | |||
| 8D55 | CALL SPRITE_ADDRESS | |||
| 8D58 | JP ANIMATE_SHAPE | |||
| DYING_0 | 8D5B | CALL DROP_GRAVESTONE | Leave something behind, then carry on. | |
| 8D5E | JP PLACE_PLAYER | |||
| Prev: 8D32 | Up: Map | Next: 8D61 |