Prev: 55148 Up: Map Next: 55277
55256: Update Burst
The routine for objects of type 12 to 15, 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 55256 INC (IX+0) Change to the next sprite, and jump to UpdateBurst_Next unless that was the last one.
55259 LD A,(IX+0)
55262 AND 3
55264 JR NZ,UpdateBurst_Next
55266 LD (IX+0),A Remove the burst, and play a random sound.
55269 JP PlayRandomSound
UpdateBurst_Next 55272 RES 1,(IX+7) Clear the flag that shows that the burst has been drawn, and return.
55276 RET
Prev: 55148 Up: Map Next: 55277