routine26 |
B375 |
LD HL,sound_effect_09 |
|
B378 |
CALL play_sound_effect_in_HL |
|
B37B |
LD HL,(object_table_entry_pointer) |
|
B37E |
LD DE,$00A1 |
|
B381 |
ADD HL,DE |
|
B382 |
LD A,$32 |
|
B384 |
LD (HL),A |
|
B385 |
LD A,$46 |
|
B387 |
LD ($5C8F),A |
|
B38A |
LD B,$05 |
routine26_0 |
B38C |
PUSH BC |
|
B38D |
LD B,$04 |
|
B38F |
LD HL,attack_effect_sprites |
|
B392 |
LD DE,$0020 |
routine26_1 |
B395 |
PUSH BC |
|
B396 |
PUSH HL |
|
B397 |
PUSH DE |
|
B398 |
DI |
|
B399 |
LD (C_DATA),HL |
|
B39C |
LD HL,(object_table_entry_pointer) |
|
B39F |
LD (temp_entry_pointer),HL |
|
B3A2 |
CALL address_to_coordinate |
|
B3A5 |
LD (LC_POS),HL |
|
B3A8 |
CALL P_CHAR |
|
B3AB |
CALL sound_effect_playback |
|
B3AE |
POP DE |
|
B3AF |
POP HL |
|
B3B0 |
ADD HL,DE |
|
B3B1 |
POP BC |
|
B3B2 |
DJNZ routine26_1 |
|
B3B4 |
POP BC |
|
B3B5 |
DJNZ routine26_0 |
|
B3B7 |
LD HL,(object_table_entry_pointer) |
|
B3BA |
LD DE,$00A1 |
|
B3BD |
ADD HL,DE |
|
B3BE |
LD (HL),$01 |
|
B3C0 |
EI |
|
B3C1 |
HALT |
|
B3C2 |
RET |