![]() |
Routines |
| Prev: A73C | Up: Map | Next: A75D |
|
Step a small explosion through its frames (types 64 to 66), then clear the slot once it reaches type 67.
|
||||||||
|
Draw the current explosion frame and step the type.
|
||||||||
| Handler_SmallExplosion | A742 | CALL DrawObjectSprite | Call DrawObjectSprite. | |||||
| A745 | CALL ColouriseSprite | Call ColouriseSprite. | ||||||
| A748 | INC (IX+$00) | Increment the actor type by one. | ||||||
| A74B | RET | Return. | ||||||
|
Play the explosion sound, then clear the slot.
|
||||||||
| Handler_SmallExplosion_PlaySound | A74C | LD A,(IX+$0A) | Fetch *IX+0A. | |||||
| A74F | AND A | Jump to Handler_SmallExplosion_ClearType if it is zero. | ||||||
| A750 | JR Z,Handler_SmallExplosion_ClearType | |||||||
| A752 | CALL SoundsExplosion | Call SoundsExplosion. | ||||||
| Handler_SmallExplosion_ClearType | A755 | CALL ClearMaskScratch | Call ClearMaskScratch. | |||||
| A758 | LD (IX+$00),$00 | Write 00 to the actor type. | ||||||
| A75C | RET | Return. | ||||||
| Prev: A73C | Up: Map | Next: A75D |