Digimon World 3 decomp
The European version, SLES_039.36
Loading...
Searching...
No Matches
battle_sound.c File Reference

FIGHTSTG's battle sounds. More...

Include dependency graph for battle_sound.c:

Go to the source code of this file.

Functions

void FIGHTSTG_updateBattleSound (BattleSound *task)
 The battle sound's task: keys its sound off once its time is up.
 
BattleSound * FIGHTSTG_playBattleSound (s32 index, s32 time)
 Plays battle sound index (FIGHTSTG_battleSounds; 0x5A the battle's music, 0x5B stops sound 0x20040006), for time frames when time is not 0.
 

Variables

s32 FIGHTSTG_battleSounds []
 the sound ids of FIGHTSTG_playBattleSound, by index
 
BattleTableEntry *(* FIGHTSTG_battleTableFunc )(s32 id) = FIGHTSTG_getBattleTableEntry
 how the fight stage and WFIGHTMN read the battle table
 

Detailed Description

FIGHTSTG's battle sounds.

Definition in file battle_sound.c.

Function Documentation

◆ FIGHTSTG_updateBattleSound()

void FIGHTSTG_updateBattleSound ( BattleSound *  task)

The battle sound's task: keys its sound off once its time is up.

Definition at line 6 of file battle_sound.c.

Referenced by FIGHTSTG_playBattleSound().

Here is the caller graph for this function:

◆ FIGHTSTG_playBattleSound()

BattleSound * FIGHTSTG_playBattleSound ( s32  index,
s32  time 
)

Plays battle sound index (FIGHTSTG_battleSounds; 0x5A the battle's music, 0x5B stops sound 0x20040006), for time frames when time is not 0.

Definition at line 54 of file battle_sound.c.

Referenced by FIGHTSTG_runScriptSound().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ FIGHTSTG_battleSounds

s32 FIGHTSTG_battleSounds[]
Initial value:
= {
0x6004001E , 0x4001C , 0x40004, 0x4000A,
0x4000B, 0x4000C, 0x4004000D , 0x40014 ,
0x4001A , 0x40019 , 0x40017, 0x40011,
0x4000F, 0x4001F, 0x40016, 0x40010,
0x4000E, 0x40012, 0x8004103C , 0x800410BD ,
0x8004213E, 0x800421BF, 0xA0042240, 0x80042342,
0x80042444, 0x8004293E, 0x800429BF , 0x80042A40,
0x40001, 0x80042B42, 0x80042C44, 0x80042CC5,
0x80042D46, 0x80042DC7, 0x80042E48, 0xA0042F4A,
0xA0042FCB , 0xA004303C, 0x800430BD, 0x8004313E,
0xA00431BF, 0xA0043240, 0x800432C1, 0x80043342,
0x800433C3, 0x800434C5, 0x80043546, 0xA00435C7,
0x80043648, 0x8004374A, 0x800437CB, 0x8004383C,
0x80043A40, 0xA0043BC3, 0xA0043C44, 0x800440BD,
0x8004413E, 0x800441BF, 0x80044240, 0x800442C1,
0x80044444, 0x800445C7, 0x80044648, 0x800446C9 ,
0x8004474A, 0x8004483C, 0x41180000, 0x8004503C ,
0x800450BD , 0x8004513E , 0x800452C6 , 0x80045341 ,
0x4001B , 0x800454C4, 0x8004583C, 0x800458BD,
0x8004593E, 0x800459BF, 0x80045A40, 0x80045AC1,
0x80045B42, 0x80045BC3, 0x80045C44, 0x80045CC5,
0x80045D46, 0x80045DC7, 0x8004603C, 0x800460BD ,
0x8004613E, 0x20040006, 0, 0,
}

the sound ids of FIGHTSTG_playBattleSound, by index

sound ids

Definition at line 24 of file battle_sound.c.

Referenced by FIGHTSTG_playBattleSound().

◆ FIGHTSTG_battleTableFunc