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

FIGHTSTG's entrances: a fighter's model coming into the battle. More...

Include dependency graph for entrance.c:

Go to the source code of this file.

Functions

static void loadEntranceExtras (Entrance *task, s32 is1D2)
 Loads what fighter 0x1D2 (its stage file) or 0x1D3 (its music, fading the current one out) brings, then ends the loading state.
 
static void showEnteringModel (Entrance *task, Models *models, BattleCamera *camera)
 Gives the loaded model the fighter's id and shows it in its entrance motion, with the camera on it.
 
static void applyEntranceExtras (FightStage *stage, s32 is1D2, s32 is1D3)
 Fighter 0x1D2 changes the fight stage and 0x1D3 the music.
 
void FIGHTSTG_updateEntrance (Entrance *task, WhiteFlash **children)
 A fighter's entrance: loads its model and adds it, then shows it behind a fade (FIGHTSTG_startWhiteFlash) and turns the camera to it; fighter 0x1D2 changes the fight stage and 0x1D3 the music.
 
Entrance * FIGHTSTG_startEntrance (s32 id, s32 side, s32 weak)
 Starts a fighter's entrance: Digimon id on the player's side (side 0) or the enemy's.
 

Detailed Description

FIGHTSTG's entrances: a fighter's model coming into the battle.

Definition in file entrance.c.

Function Documentation

◆ loadEntranceExtras()

static void loadEntranceExtras ( Entrance *  task,
s32  is1D2 
)
inlinestatic

Loads what fighter 0x1D2 (its stage file) or 0x1D3 (its music, fading the current one out) brings, then ends the loading state.

< LASTBOSS: Lord Megadeath's battle (WSTAG820)

Definition at line 7 of file entrance.c.

Referenced by FIGHTSTG_updateEntrance().

Here is the caller graph for this function:

◆ showEnteringModel()

static void showEnteringModel ( Entrance *  task,
Models *  models,
BattleCamera *  camera 
)
inlinestatic

Gives the loaded model the fighter's id and shows it in its entrance motion, with the camera on it.

Definition at line 33 of file entrance.c.

Referenced by FIGHTSTG_updateEntrance().

Here is the caller graph for this function:

◆ applyEntranceExtras()

static void applyEntranceExtras ( FightStage *  stage,
s32  is1D2,
s32  is1D3 
)
inlinestatic

Fighter 0x1D2 changes the fight stage and 0x1D3 the music.

< LASTB_02: Lord Megadeath's second form (WSTAG820, fighter 0x1D3's entrance)

< LASTB_02: Lord Megadeath's second form (WSTAG820, fighter 0x1D3's entrance)

Definition at line 47 of file entrance.c.

Referenced by FIGHTSTG_updateEntrance().

Here is the caller graph for this function:

◆ FIGHTSTG_updateEntrance()

void FIGHTSTG_updateEntrance ( Entrance *  task,
WhiteFlash **  children 
)

A fighter's entrance: loads its model and adds it, then shows it behind a fade (FIGHTSTG_startWhiteFlash) and turns the camera to it; fighter 0x1D2 changes the fight stage and 0x1D3 the music.

< the fighters'

< held until SOUND.keyOff

Definition at line 61 of file entrance.c.

Referenced by FIGHTSTG_startEntrance().

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

◆ FIGHTSTG_startEntrance()

Entrance * FIGHTSTG_startEntrance ( s32  id,
s32  side,
s32  weak 
)

Starts a fighter's entrance: Digimon id on the player's side (side 0) or the enemy's.

The tasks FIGHTSTG starts for WFIGHTMN and WFIGHTTS.

Definition at line 175 of file entrance.c.

Referenced by bringSecondEnemy(), FIGHTSTG_updateEnemyTurn(), runPlayPage(), WFIGHTMN_bringLastEnemy(), WFIGHTMN_digidevolve(), WFIGHTMN_endBlast(), WFIGHTMN_knockOut(), and WFIGHTMN_tag().

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