F5D1: Draw and update explosions in the Arcade Room.
Arcade_UpdateExplosions |
F5D1 |
LD IX,Arcade_ExplosionSlots |
Arcade_UpdateExplosions_0 |
F5D5 |
LD A,(IX+$00) |
|
F5D8 |
CP $FE |
|
F5DA |
RET Z |
|
F5DB |
CP $FF |
|
F5DD |
JR NZ,Arcade_UpdateExplosions_2 |
Arcade_UpdateExplosions_1 |
F5DF |
INC IX |
|
F5E1 |
INC IX |
|
F5E3 |
INC IX |
|
F5E5 |
JR Arcade_UpdateExplosions_0 |
Arcade_UpdateExplosions_2 |
F5E7 |
LD L,A |
|
F5E8 |
LD H,(IX+$01) |
|
F5EB |
LD A,(IX+$02) |
|
F5EE |
LD (BitmapX),HL |
|
F5F1 |
CALL Bitmap16Draw |
|
F5F4 |
INC A |
|
F5F5 |
CP $A5 |
|
F5F7 |
JR NZ,Arcade_UpdateExplosions_3 |
|
F5F9 |
LD (IX+$00),$FF |
|
F5FD |
JR Arcade_UpdateExplosions_1 |
Arcade_UpdateExplosions_3 |
F5FF |
LD (IX+$02),A |
|
F602 |
CALL Bitmap16Draw |
|
F605 |
JR Arcade_UpdateExplosions_1 |