![]() |
Routines |
| Prev: D76C | Up: Map | Next: D7ED |
|
The routine for objects of type 0C to 0F, the bursts that show an object being destroyed. The burst changes to the next sprite, and the object is removed after the fourth sprite and a random sound is played.
|
||||
| UpdateBurst | D7D8 | INC (IX+$00) | Change to the next sprite, and jump to UpdateBurst_Next unless that was the last one. | |
| D7DB | LD A,(IX+$00) | |||
| D7DE | AND $03 | |||
| D7E0 | JR NZ,UpdateBurst_Next | |||
| D7E2 | LD (IX+$00),A | Remove the burst, and play a random sound. | ||
| D7E5 | JP PlayRandomSound | |||
| UpdateBurst_Next | D7E8 | RES 1,(IX+$07) | Clear the flag that shows that the burst has been drawn, and return. | |
| D7EC | RET | |||
| Prev: D76C | Up: Map | Next: D7ED |