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

WSTAG620: Secret Room, West Sector: the rebels' hideout. More...

#include "common.h"
#include "field/stage.h"
#include "common/start_stage.inc.c"
Include dependency graph for wstag620.c:

Go to the source code of this file.

Macros

#define STAGE_CHILDREN_SIZE   0x8
 
#define STAGE_TEXT   TEXT_FILE(TEXT_TALKS_02)
 
#define EVENT_TEXT_FILE   (TEXT_EVENTS_600 - 1)
 
#define STAGE_FILE   0x489
 

Functions

s32 stepTileAnimation (StageTileSeq8 *obj, AnimFrame *frames, s32 once, s32 depth)
 stepTileAnimation (common/step_tile_animation.inc.c) for a StageTileSeq8: steps OBJ's animation through FRAMES and returns its frame, looping at the end or returning 0xFF if once
 
void updateTileSeqs8 (StageTileSeqs8 *task)
 Plays the steps of updateTileSeqs8Steps on the map objects with animations 1 to 4, which go on to their next step at the end, the last with a sound.
 
void * createCommand849 (s32 arg)
 Command 849 of the event scripts: the map objects of event 532, at Lucky Mouse's hideout (updateTileSeqs8)
 
void updateStage (StageTask *task, void **children)
 Creates the event object of the story so far, the first that applies.
 
void endEvent532 (void)
 After event 532, with Lucky Mouse, Lisa, Kail, General and Attacker: starts the stage's event battle 0 and keeps it from playing again.
 
void endEvent534 (void)
 After event 534, with Attacker, Lisa, Kail and Kurt: moves the story on to STORY_BYAKKO_LEADER_FOUGHT.
 
void endEvent540 (void)
 After event 540, with Kail, Kurt and Lisa: lets event 550 of WSTAG525 start and keeps it from playing again.
 
void endEvent551 (void)
 After event 551, with Lisa, Keith, Nick and Kail: moves the story on to STORY_STAFF_PASS.
 
void setupStage (void)
 Sets the stage up: its map, actors, battles and events, playing BGM_0019.
 

Variables

StageSeqStep updateTileSeqs8Steps [4][4]
 Defined below, after the code that uses them.
 
s16 script532 []
 
s16 script534 []
 
s16 script540 []
 
s16 script551 []
 
AnimFrame updateTileSeqs8Steps_0_0 []
 
AnimFrame updateTileSeqs8Steps_0_1 []
 
AnimFrame updateTileSeqs8Steps_0_2 []
 
AnimFrame updateTileSeqs8Steps_1_0 []
 
AnimFrame updateTileSeqs8Steps_1_1 []
 
AnimFrame updateTileSeqs8Steps_1_2 []
 
AnimFrame updateTileSeqs8Steps_2 []
 
AnimFrame updateTileSeqs8Steps_3 []
 
AreaBattle area0Battle0 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle area0Battle1 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle area0Battle2 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle area0Battle3 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle area0Battle4 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle area0Battle5 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle area0Battle6 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle area0Battle7 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
BattleList area0Battles
 
AreaBattle area1Battle0 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle area1Battle1 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle area1Battle2 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle area1Battle3 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle area1Battle4 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle area1Battle5 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle area1Battle6 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle area1Battle7 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
BattleList area1Battles
 
AreaBattle area2Battle0 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle area2Battle1 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle area2Battle2 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle area2Battle3 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle area2Battle4 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle area2Battle5 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle area2Battle6 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle area2Battle7 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
BattleList area2Battles
 
AreaBattle area3Battle0 = { 188, 18, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle area3Battle1 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle area3Battle2 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle area3Battle3 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle area3Battle4 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle area3Battle5 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle area3Battle6 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle area3Battle7 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
BattleList area3Battles
 
FieldBattles stageBattles []
 
ActorImage stageImages []
 
u16 actor2Talk0Conditions [] = { (( 0x1C ) << 8 | ( 0x1C )) , 0, 0xFFFF }
 
u16 actor2Talk1Conditions [] = { (( 0x1C ) << 8 | ( 0x1C )) , 1, 0xFFFF }
 
u16 actor5Talk0Conditions [] = { (( 0x1C ) << 8 | ( 0x1C )) , 0, 0xFFFF }
 
u16 actor5Talk1Conditions [] = { (( 0x1C ) << 8 | ( 0x1C )) , 1, 0xFFFF }
 
u16 actor19Talk0Conditions [] = { (( 0x1C ) << 8 | ( 0x1C )) , 0, 0xFFFF }
 
u16 actor19Talk1Conditions [] = { (( 0x1C ) << 8 | ( 0x1C )) , 1, 0xFFFF }
 
FieldTalk actor2Talks []
 
FieldTalk actor5Talks []
 
FieldTalk actor6Talks []
 
FieldTalk actor7Talks []
 
FieldTalk actor9Talks []
 
FieldTalk actor19Talks []
 
u16 actor0Conditions [] = { (0x6000 | ( STORY_LUCKY_MOUSE )) , 1, 0xFFFF }
 
u16 actor1Conditions [] = { (0x6000 | ( STORY_LUCKY_MOUSE )) , 1, 0xFFFF }
 
u16 actor2Conditions [] = { (0x7000 | ( 7 )) , 1, 0xFFFF }
 
u16 actor3Conditions [] = { (0x6000 | ( STORY_LUCKY_MOUSE )) , 1, 0xFFFF }
 
u16 actor4Conditions [] = { (0x6000 | ( STORY_LUCKY_MOUSE )) , 1, 0xFFFF }
 
u16 actor5Conditions [] = { (0x6000 | ( STORY_BYAKKO_LEADER_FOUGHT )) , 1, 0xFFFF }
 
u16 actor6Conditions [] = { (0x6000 | ( STORY_STAFF_PASS )) , 1, 0xFFFF }
 
u16 actor7Conditions [] = { (0x6000 | ( STORY_STAFF_PASS )) , 1, (( 0x40 ) << 8 | ( 0x3D )) , 1, 0xFFFF }
 
u16 actor8Conditions [] = { (0x6000 | ( STORY_BYAKKO_LEADER_FOUGHT )) , 1, 0xFFFF }
 
u16 actor9Conditions [] = { (0x6000 | ( STORY_STAFF_PASS )) , 1, (( 0x40 ) << 8 | ( 0x3D )) , 1, 0xFFFF }
 
u16 actor10Conditions [] = { (0x6000 | ( STORY_BYAKKO_LEADER_FOUGHT )) , 1, 0xFFFF }
 
u16 actor11Conditions [] = { (0x6000 | ( STORY_LUCKY_MOUSE )) , 1, 0xFFFF }
 
u16 actor12Conditions [] = { (0x6000 | ( STORY_LUCKY_MOUSE )) , 1, 0xFFFF }
 
u16 actor13Conditions [] = { (0x6000 | ( STORY_LUCKY_MOUSE )) , 1, 0xFFFF }
 
u16 actor17Conditions [] = { (0x6000 | ( STORY_LUCKY_MOUSE )) , 1, 0xFFFF }
 
u16 actor18Conditions [] = { (0x6000 | ( STORY_LUCKY_MOUSE )) , 1, 0xFFFF }
 
u16 actor19Conditions []
 
u16 actor20Conditions [] = { (0x6000 | ( STORY_LUCKY_MOUSE )) , 1, 0xFFFF }
 
u16 actor21Conditions [] = { (0x6000 | ( STORY_LUCKY_MOUSE )) , 1, 0xFFFF }
 
FieldActorEntry actor0 = { actor0Conditions, ((void *)0) , 1, 4, 0, 0, 0 }
 
FieldActorEntry actor1 = { actor1Conditions, ((void *)0) , 0xB, 5, 0, 0, 0 }
 
FieldActorEntry actor2 = { actor2Conditions, actor2Talks, 0xB, 5, 472, 381, 1 }
 
FieldActorEntry actor3 = { actor3Conditions, ((void *)0) , 0x45, 6, 0, 0, 1 }
 
FieldActorEntry actor4 = { actor4Conditions, ((void *)0) , 0x65, 7, 0, 0, 1 }
 
FieldActorEntry actor5 = { actor5Conditions, actor5Talks, 0x65, 7, 432, 260, 3 }
 
FieldActorEntry actor6 = { actor6Conditions, actor6Talks, 0x65, 7, 432, 260, 3 }
 
FieldActorEntry actor7 = { actor7Conditions, actor7Talks, 0x66, 8, 496, 424, 3 }
 
FieldActorEntry actor8 = { actor8Conditions, ((void *)0) , 0x66, 8, 0, 0, 1 }
 
FieldActorEntry actor9 = { actor9Conditions, actor9Talks, 0x67, 9, 533, 405, 3 }
 
FieldActorEntry actor10 = { actor10Conditions, ((void *)0) , 0x67, 9, 0, 0, 1 }
 
FieldActorEntry actor11 = { actor11Conditions, ((void *)0) , 0x68, 0xA, 0, 0, 1 }
 
FieldActorEntry actor12 = { actor12Conditions, ((void *)0) , 0x98, 0xB, 0, 0, 1 }
 
FieldActorEntry actor13 = { actor13Conditions, ((void *)0) , 0x99, 0xC, 0, 0, 1 }
 
FieldActorEntry actor14 = { ((void *)0) , ((void *)0) , 0x9A, 0xD, 641, 350, 0 }
 
FieldActorEntry actor15 = { ((void *)0) , ((void *)0) , 0x9B, 0xE, 593, 325, 1 }
 
FieldActorEntry actor16 = { ((void *)0) , ((void *)0) , 0x9C, 0xF, 545, 301, 2 }
 
FieldActorEntry actor17 = { actor17Conditions, ((void *)0) , 0xC2, 0x10, 0, 0, 1 }
 
FieldActorEntry actor18 = { actor18Conditions, ((void *)0) , 0x13D, 0x11, 0, 0, 0 }
 
FieldActorEntry actor19 = { actor19Conditions, actor19Talks, 0x13D, 0x11, 449, 392, 5 }
 
FieldActorEntry actor20 = { actor20Conditions, ((void *)0) , 0x14B, 0x12, 0, 0, 1 }
 
FieldActorEntry actor21 = { actor21Conditions, ((void *)0) , 0x14C, 0x13, 0, 0, 1 }
 
FieldActorEntry * stageActors []
 
StageTile stageObjects []
 The tables and color setupStage gives FIELDSTG_state (FieldState)
 
StageSlot stageSlots []
 
void(* stageFuncs [])(void)
 The stage's functions (common/start_stage.inc.c calls the first): a StageFuncs in the stages with a tween, which define STAGE_TWEEN before they include this file, and in the others an array of just setupStage.
 
FieldEvent stageEvents []
 

Detailed Description

WSTAG620: Secret Room, West Sector: the rebels' hideout.

Off the Sewers (WSTAG615): Lisa, Kail, Keith and Nick, who looks for the pass code, and the Byakko Leader.

Definition in file wstag620.c.

Macro Definition Documentation

◆ STAGE_CHILDREN_SIZE

#define STAGE_CHILDREN_SIZE   0x8

Definition at line 160 of file wstag620.c.

◆ STAGE_TEXT

#define STAGE_TEXT   TEXT_FILE(TEXT_TALKS_02)

Definition at line 196 of file wstag620.c.

◆ EVENT_TEXT_FILE

#define EVENT_TEXT_FILE   (TEXT_EVENTS_600 - 1)

Definition at line 197 of file wstag620.c.

◆ STAGE_FILE

#define STAGE_FILE   0x489

Definition at line 198 of file wstag620.c.

Function Documentation

◆ stepTileAnimation()

s32 stepTileAnimation ( StageTileSeq8 *  obj,
AnimFrame *  frames,
s32  once,
s32  depth 
)

stepTileAnimation (common/step_tile_animation.inc.c) for a StageTileSeq8: steps OBJ's animation through FRAMES and returns its frame, looping at the end or returning 0xFF if once

Definition at line 17 of file wstag620.c.

Referenced by stepTileAnimation(), and updateTileSeqs8().

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

◆ updateTileSeqs8()

void updateTileSeqs8 ( StageTileSeqs8 *  task)

Plays the steps of updateTileSeqs8Steps on the map objects with animations 1 to 4, which go on to their next step at the end, the last with a sound.

Definition at line 49 of file wstag620.c.

Referenced by createCommand849().

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

◆ createCommand849()

void * createCommand849 ( s32  arg)

Command 849 of the event scripts: the map objects of event 532, at Lucky Mouse's hideout (updateTileSeqs8)

Definition at line 133 of file wstag620.c.

Here is the call graph for this function:

◆ updateStage()

void updateStage ( StageTask *  task,
void **  children 
)

Creates the event object of the story so far, the first that applies.

< 0x40 0x00-0x40: FLAGS_00, GAME.flags02-flags40

< 0x40 0x00-0x40: FLAGS_00, GAME.flags02-flags40

< 0x40 0x00-0x40: FLAGS_00, GAME.flags02-flags40

< 0x1C 0x00-0x40: FLAGS_00, GAME.flags02-flags40

< 0x40 0x00-0x40: FLAGS_00, GAME.flags02-flags40

Definition at line 138 of file wstag620.c.

Here is the call graph for this function:

◆ endEvent532()

void endEvent532 ( void  )

After event 532, with Lucky Mouse, Lisa, Kail, General and Attacker: starts the stage's event battle 0 and keeps it from playing again.

< 0x40 0x00-0x40: FLAGS_00, GAME.flags02-flags40

< action: FIELDSTG_battleFuncs.startEventBattle

Definition at line 167 of file wstag620.c.

◆ endEvent534()

void endEvent534 ( void  )

After event 534, with Attacker, Lisa, Kail and Kurt: moves the story on to STORY_BYAKKO_LEADER_FOUGHT.

Definition at line 173 of file wstag620.c.

◆ endEvent540()

void endEvent540 ( void  )

After event 540, with Kail, Kurt and Lisa: lets event 550 of WSTAG525 start and keeps it from playing again.

< 0x1C 0x00-0x40: FLAGS_00, GAME.flags02-flags40

< 0x40 0x00-0x40: FLAGS_00, GAME.flags02-flags40

Definition at line 181 of file wstag620.c.

◆ endEvent551()

void endEvent551 ( void  )

After event 551, with Lisa, Keith, Nick and Kail: moves the story on to STORY_STAFF_PASS.

Definition at line 187 of file wstag620.c.

◆ setupStage()

void setupStage ( void  )

Sets the stage up: its map, actors, battles and events, playing BGM_0019.

Sets the stage up: its map, actors, battles and events, playing KANRIBGM; BGM_0029 instead except at STORY_PRESIDENT_ARRESTED once flag 0x1A0A is set.

< BGM_0019: the Secret Room, the rebels' hideout

< BGM_0019: the Secret Room, the rebels' hideout

< a cell's value: a direction (3 bits) and a StageSlot (5)

Definition at line 201 of file wstag620.c.

Variable Documentation

◆ updateTileSeqs8Steps

StageSeqStep updateTileSeqs8Steps
Initial value:
= {
{ { ((void *)0) , 0, 0 }, { updateTileSeqs8Steps_0_0, 0, 0 }, { updateTileSeqs8Steps_0_1, 1, 3 }, { updateTileSeqs8Steps_0_2, 0, 0 } },
{ { ((void *)0) , 0, 0 }, { updateTileSeqs8Steps_1_0, 0, 0 }, { updateTileSeqs8Steps_1_1, 1, 3 }, { updateTileSeqs8Steps_1_2, 0, 0 } },
{ { ((void *)0) , 0, 0 }, { updateTileSeqs8Steps_2, 1, 0 }, { ((void *)0) , 0, 0 }, { ((void *)0) , 0, 0 } },
{ { ((void *)0) , 0, 0 }, { updateTileSeqs8Steps_3, 1, 0 }, { ((void *)0) , 0, 0 }, { ((void *)0) , 0, 0 } },
}
AnimFrame updateTileSeqs8Steps_1_0[]
Definition wstag620.c:848
AnimFrame updateTileSeqs8Steps_3[]
Definition wstag620.c:868
AnimFrame updateTileSeqs8Steps_0_2[]
Definition wstag620.c:843
AnimFrame updateTileSeqs8Steps_0_1[]
Definition wstag620.c:836
AnimFrame updateTileSeqs8Steps_2[]
Definition wstag620.c:861
AnimFrame updateTileSeqs8Steps_1_1[]
Definition wstag620.c:852
AnimFrame updateTileSeqs8Steps_1_2[]
Definition wstag620.c:857
AnimFrame updateTileSeqs8Steps_0_0[]
Definition wstag620.c:831

Defined below, after the code that uses them.

Definition at line 873 of file wstag620.c.

Referenced by updateTileSeqs8().

◆ script532

s16 script532[]

Definition at line 221 of file wstag620.c.

◆ script534

s16 script534[]

Definition at line 550 of file wstag620.c.

◆ script540

s16 script540[]

Definition at line 640 of file wstag620.c.

◆ script551

s16 script551[]

Definition at line 763 of file wstag620.c.

◆ updateTileSeqs8Steps_0_0

AnimFrame updateTileSeqs8Steps_0_0[]
Initial value:
= {
{ 0, 6 }, { 1, 6 }, { 2, 6 }, { 1, 6 },
{ 0, 6 }, { 1, 6 }, { 2, 6 }, { 1, 6 },
{ 255, 0 },
}

Definition at line 831 of file wstag620.c.

◆ updateTileSeqs8Steps_0_1

AnimFrame updateTileSeqs8Steps_0_1[]
Initial value:
= {
{ 0, 6 }, { 0, 6 }, { 0, 6 }, { 1, 6 },
{ 2, 6 }, { 3, 6 }, { 4, 6 }, { 5, 6 },
{ 6, 6 }, { 7, 6 }, { 6, 6 }, { 5, 6 },
{ 4, 6 }, { 3, 6 }, { 2, 6 }, { 1, 6 },
{ 0, 6 }, { 0, 6 }, { 255, 0x3E7 },
}

Definition at line 836 of file wstag620.c.

◆ updateTileSeqs8Steps_0_2

AnimFrame updateTileSeqs8Steps_0_2[]
Initial value:
= {
{ 0, 6 }, { 1, 6 }, { 2, 6 }, { 1, 6 },
{ 0, 6 }, { 1, 6 }, { 2, 6 }, { 1, 6 },
{ 255, 0 },
}

Definition at line 843 of file wstag620.c.

◆ updateTileSeqs8Steps_1_0

AnimFrame updateTileSeqs8Steps_1_0[]
Initial value:
= {
{ 0, 12 }, { 1, 12 }, { 2, 12 }, { 1, 12 },
{ 255, 0 },
}

Definition at line 848 of file wstag620.c.

◆ updateTileSeqs8Steps_1_1

AnimFrame updateTileSeqs8Steps_1_1[]
Initial value:
= {
{ 2, 12 }, { 3, 12 }, { 4, 12 }, { 5, 12 },
{ 6, 12 }, { 7, 12 }, { 8, 12 }, { 9, 12 },
{ 10, 12 }, { 255, 0x3E7 },
}

Definition at line 852 of file wstag620.c.

◆ updateTileSeqs8Steps_1_2

AnimFrame updateTileSeqs8Steps_1_2[]
Initial value:
= {
{ 9, 12 }, { 10, 12 }, { 9, 12 }, { 8, 12 },
{ 255, 0 },
}

Definition at line 857 of file wstag620.c.

◆ updateTileSeqs8Steps_2

AnimFrame updateTileSeqs8Steps_2[]
Initial value:
= {
{ 0x12C, 90 }, { 0, 6 }, { 1, 6 }, { 2, 6 },
{ 3, 6 }, { 4, 6 }, { 3, 6 }, { 4, 6 },
{ 3, 6 }, { 4, 6 }, { 3, 6 }, { 2, 6 },
{ 1, 6 }, { 2, 6 }, { 1, 6 }, { 2, 6 },
{ 1, 6 }, { 255, 0x3E7 },
}

Definition at line 861 of file wstag620.c.

◆ updateTileSeqs8Steps_3

AnimFrame updateTileSeqs8Steps_3[]
Initial value:
= {
{ 0x12C, 108 }, { 50, 6 }, { 51, 6 }, { 52, 6 },
{ 53, 6 }, { 54, 6 }, { 56, 6 }, { 57, 6 },
{ 58, 6 }, { 59, 6 }, { 255, 0x3E7 },
}

Definition at line 868 of file wstag620.c.

◆ area0Battle0

AreaBattle area0Battle0 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }

Definition at line 879 of file wstag620.c.

◆ area0Battle1

AreaBattle area0Battle1 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }

Definition at line 880 of file wstag620.c.

◆ area0Battle2

AreaBattle area0Battle2 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }

Definition at line 881 of file wstag620.c.

◆ area0Battle3

AreaBattle area0Battle3 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }

Definition at line 882 of file wstag620.c.

◆ area0Battle4

AreaBattle area0Battle4 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }

Definition at line 883 of file wstag620.c.

◆ area0Battle5

AreaBattle area0Battle5 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }

Definition at line 884 of file wstag620.c.

◆ area0Battle6

AreaBattle area0Battle6 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }

Definition at line 885 of file wstag620.c.

◆ area0Battle7

AreaBattle area0Battle7 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }

Definition at line 886 of file wstag620.c.

◆ area0Battles

BattleList area0Battles
Initial value:
= {
3,
}
AreaBattle area0Battle7
Definition wstag620.c:886
AreaBattle area0Battle1
Definition wstag620.c:880
AreaBattle area0Battle6
Definition wstag620.c:885
AreaBattle area0Battle3
Definition wstag620.c:882
AreaBattle area0Battle5
Definition wstag620.c:884
AreaBattle area0Battle0
Definition wstag620.c:879
AreaBattle area0Battle2
Definition wstag620.c:881
AreaBattle area0Battle4
Definition wstag620.c:883

Definition at line 887 of file wstag620.c.

◆ area1Battle0

AreaBattle area1Battle0 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }

Definition at line 892 of file wstag620.c.

◆ area1Battle1

AreaBattle area1Battle1 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }

Definition at line 893 of file wstag620.c.

◆ area1Battle2

AreaBattle area1Battle2 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }

Definition at line 894 of file wstag620.c.

◆ area1Battle3

AreaBattle area1Battle3 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }

Definition at line 895 of file wstag620.c.

◆ area1Battle4

AreaBattle area1Battle4 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }

Definition at line 896 of file wstag620.c.

◆ area1Battle5

AreaBattle area1Battle5 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }

Definition at line 897 of file wstag620.c.

◆ area1Battle6

AreaBattle area1Battle6 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }

Definition at line 898 of file wstag620.c.

◆ area1Battle7

AreaBattle area1Battle7 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }

Definition at line 899 of file wstag620.c.

◆ area1Battles

BattleList area1Battles
Initial value:
= {
0,
}
AreaBattle area1Battle6
Definition wstag620.c:898
AreaBattle area1Battle2
Definition wstag620.c:894
AreaBattle area1Battle4
Definition wstag620.c:896
AreaBattle area1Battle5
Definition wstag620.c:897
AreaBattle area1Battle3
Definition wstag620.c:895
AreaBattle area1Battle0
Definition wstag620.c:892
AreaBattle area1Battle1
Definition wstag620.c:893
AreaBattle area1Battle7
Definition wstag620.c:899

Definition at line 900 of file wstag620.c.

◆ area2Battle0

AreaBattle area2Battle0 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }

Definition at line 905 of file wstag620.c.

◆ area2Battle1

AreaBattle area2Battle1 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }

Definition at line 906 of file wstag620.c.

◆ area2Battle2

AreaBattle area2Battle2 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }

Definition at line 907 of file wstag620.c.

◆ area2Battle3

AreaBattle area2Battle3 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }

Definition at line 908 of file wstag620.c.

◆ area2Battle4

AreaBattle area2Battle4 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }

Definition at line 909 of file wstag620.c.

◆ area2Battle5

AreaBattle area2Battle5 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }

Definition at line 910 of file wstag620.c.

◆ area2Battle6

AreaBattle area2Battle6 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }

Definition at line 911 of file wstag620.c.

◆ area2Battle7

AreaBattle area2Battle7 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }

Definition at line 912 of file wstag620.c.

◆ area2Battles

BattleList area2Battles
Initial value:
= {
0,
}
AreaBattle area2Battle7
Definition wstag620.c:912
AreaBattle area2Battle6
Definition wstag620.c:911
AreaBattle area2Battle0
Definition wstag620.c:905
AreaBattle area2Battle4
Definition wstag620.c:909
AreaBattle area2Battle2
Definition wstag620.c:907
AreaBattle area2Battle1
Definition wstag620.c:906
AreaBattle area2Battle5
Definition wstag620.c:910
AreaBattle area2Battle3
Definition wstag620.c:908

Definition at line 913 of file wstag620.c.

◆ area3Battle0

AreaBattle area3Battle0 = { 188, 18, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 918 of file wstag620.c.

◆ area3Battle1

AreaBattle area3Battle1 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }

Definition at line 919 of file wstag620.c.

◆ area3Battle2

AreaBattle area3Battle2 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }

Definition at line 920 of file wstag620.c.

◆ area3Battle3

AreaBattle area3Battle3 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }

Definition at line 921 of file wstag620.c.

◆ area3Battle4

AreaBattle area3Battle4 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }

Definition at line 922 of file wstag620.c.

◆ area3Battle5

AreaBattle area3Battle5 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }

Definition at line 923 of file wstag620.c.

◆ area3Battle6

AreaBattle area3Battle6 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }

Definition at line 924 of file wstag620.c.

◆ area3Battle7

AreaBattle area3Battle7 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }

Definition at line 925 of file wstag620.c.

◆ area3Battles

BattleList area3Battles
Initial value:
= {
0,
}
AreaBattle area3Battle4
Definition wstag620.c:922
AreaBattle area3Battle3
Definition wstag620.c:921
AreaBattle area3Battle0
Definition wstag620.c:918
AreaBattle area3Battle2
Definition wstag620.c:920
AreaBattle area3Battle1
Definition wstag620.c:919
AreaBattle area3Battle6
Definition wstag620.c:924
AreaBattle area3Battle5
Definition wstag620.c:923
AreaBattle area3Battle7
Definition wstag620.c:925

Definition at line 926 of file wstag620.c.

◆ stageBattles

FieldBattles stageBattles[]
Initial value:
= {
}
BattleList area3Battles
Definition wstag620.c:926
BattleList area1Battles
Definition wstag620.c:900
BattleList area2Battles
Definition wstag620.c:913
BattleList area0Battles
Definition wstag620.c:887

Definition at line 931 of file wstag620.c.

Referenced by setupStage().

◆ stageImages

ActorImage stageImages[]
Initial value:
= {
{ 0x200, 0x100, 0x21C, 0x1A6, 0x70, 0xA6, 0x230, 0x1FE },
{ 0x200, 0x100, 0x200, 0x100, 0, 0, 0x220, 0x1FE },
{ 0x200, 0x100, 0x216, 0x138, 0x58, 0x38, 0x200, 0x1FD },
{ 0x200, 0x100, 0x208, 0x1BC, 0x20, 0xBC, 0x210, 0x1FD },
{ 0x200, 0x100, 0x210, 0x1BC, 0x40, 0xBC, 0x220, 0x1FD },
{ 0x200, 0x100, 0x200, 0x1BC, 0, 0xBC, 0x230, 0x1FD },
{ 0x140, 0x100, 0x176, 0x1A0, 0xD8, 0xA0, 0x160, 0x1F6 },
{ 0x140, 0x100, 0x158, 0x1A8, 0x60, 0xA8, 0x160, 0x1F5 },
{ 0x140, 0x100, 0x174, 0x150, 0xD0, 0x50, 0x170, 0x1F5 },
{ 0x140, 0x100, 0x158, 0x180, 0x60, 0x80, 0x160, 0x1F4 },
{ 0x140, 0x100, 0x160, 0x180, 0x80, 0x80, 0x170, 0x1F4 },
{ 0x140, 0x100, 0x140, 0x198, 0, 0x98, 0x140, 0x1F3 },
{ 0x140, 0x100, 0x178, 0x128, 0xE0, 0x28, 0x150, 0x1F3 },
{ 0x140, 0x100, 0x148, 0x198, 0x20, 0x98, 0x160, 0x1F3 },
{ 0x140, 0x100, 0x160, 0x1B8, 0x80, 0xB8, 0x170, 0x1F3 },
{ 0x140, 0x100, 0x140, 0x1C0, 0, 0xC0, 0x140, 0x1F2 },
{ 0x140, 0x100, 0x148, 0x1C0, 0x20, 0xC0, 0x150, 0x1F2 },
{ 0x140, 0x100, 0x150, 0x1C0, 0x40, 0xC0, 0x160, 0x1F2 },
{ 0x140, 0x100, 0x150, 0x198, 0x40, 0x98, 0x140, 0x1F1 },
{ 0x140, 0x100, 0x170, 0x1C0, 0xC0, 0xC0, 0x150, 0x1F1 },
{ 0x140, 0x100, 0x146, 0x1E0, 0x18, 0xE0, 0x160, 0x1F1 },
{ 0x140, 0x100, 0x15C, 0x150, 0x70, 0x50, 0x170, 0x1F1 },
}

Definition at line 934 of file wstag620.c.

Referenced by setupStage().

◆ actor2Talk0Conditions

u16 actor2Talk0Conditions[] = { (( 0x1C ) << 8 | ( 0x1C )) , 0, 0xFFFF }

Definition at line 958 of file wstag620.c.

◆ actor2Talk1Conditions

u16 actor2Talk1Conditions[] = { (( 0x1C ) << 8 | ( 0x1C )) , 1, 0xFFFF }

Definition at line 959 of file wstag620.c.

◆ actor5Talk0Conditions

u16 actor5Talk0Conditions[] = { (( 0x1C ) << 8 | ( 0x1C )) , 0, 0xFFFF }

Definition at line 960 of file wstag620.c.

◆ actor5Talk1Conditions

u16 actor5Talk1Conditions[] = { (( 0x1C ) << 8 | ( 0x1C )) , 1, 0xFFFF }

Definition at line 961 of file wstag620.c.

◆ actor19Talk0Conditions

u16 actor19Talk0Conditions[] = { (( 0x1C ) << 8 | ( 0x1C )) , 0, 0xFFFF }

Definition at line 962 of file wstag620.c.

◆ actor19Talk1Conditions

u16 actor19Talk1Conditions[] = { (( 0x1C ) << 8 | ( 0x1C )) , 1, 0xFFFF }

Definition at line 963 of file wstag620.c.

◆ actor2Talks

FieldTalk actor2Talks[]
Initial value:
= {
{ actor2Talk0Conditions, ((void *)0) , 0x2FE },
{ actor2Talk1Conditions, ((void *)0) , 0x301 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor2Talk1Conditions[]
Definition wstag620.c:959
u16 actor2Talk0Conditions[]
Definition wstag620.c:958

Definition at line 964 of file wstag620.c.

◆ actor5Talks

FieldTalk actor5Talks[]
Initial value:
= {
{ actor5Talk0Conditions, ((void *)0) , 0x2FD },
{ actor5Talk1Conditions, ((void *)0) , 0x300 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor5Talk0Conditions[]
Definition wstag620.c:960
u16 actor5Talk1Conditions[]
Definition wstag620.c:961

Definition at line 969 of file wstag620.c.

◆ actor6Talks

FieldTalk actor6Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x337 },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 974 of file wstag620.c.

◆ actor7Talks

FieldTalk actor7Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x304 },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 978 of file wstag620.c.

◆ actor9Talks

FieldTalk actor9Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x339 },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 982 of file wstag620.c.

◆ actor19Talks

FieldTalk actor19Talks[]
Initial value:
= {
{ actor19Talk0Conditions, ((void *)0) , 0x2FF },
{ actor19Talk1Conditions, ((void *)0) , 0x302 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor19Talk0Conditions[]
Definition wstag620.c:962
u16 actor19Talk1Conditions[]
Definition wstag620.c:963

Definition at line 986 of file wstag620.c.

◆ actor0Conditions

u16 actor0Conditions[] = { (0x6000 | ( STORY_LUCKY_MOUSE )) , 1, 0xFFFF }

Definition at line 991 of file wstag620.c.

◆ actor1Conditions

u16 actor1Conditions[] = { (0x6000 | ( STORY_LUCKY_MOUSE )) , 1, 0xFFFF }

Definition at line 992 of file wstag620.c.

◆ actor2Conditions

u16 actor2Conditions[] = { (0x7000 | ( 7 )) , 1, 0xFFFF }

Definition at line 993 of file wstag620.c.

◆ actor3Conditions

u16 actor3Conditions[] = { (0x6000 | ( STORY_LUCKY_MOUSE )) , 1, 0xFFFF }

Definition at line 994 of file wstag620.c.

◆ actor4Conditions

u16 actor4Conditions[] = { (0x6000 | ( STORY_LUCKY_MOUSE )) , 1, 0xFFFF }

Definition at line 995 of file wstag620.c.

◆ actor5Conditions

u16 actor5Conditions[] = { (0x6000 | ( STORY_BYAKKO_LEADER_FOUGHT )) , 1, 0xFFFF }

Definition at line 996 of file wstag620.c.

◆ actor6Conditions

u16 actor6Conditions[] = { (0x6000 | ( STORY_STAFF_PASS )) , 1, 0xFFFF }

Definition at line 997 of file wstag620.c.

◆ actor7Conditions

u16 actor7Conditions[] = { (0x6000 | ( STORY_STAFF_PASS )) , 1, (( 0x40 ) << 8 | ( 0x3D )) , 1, 0xFFFF }

Definition at line 998 of file wstag620.c.

◆ actor8Conditions

u16 actor8Conditions[] = { (0x6000 | ( STORY_BYAKKO_LEADER_FOUGHT )) , 1, 0xFFFF }

Definition at line 999 of file wstag620.c.

◆ actor9Conditions

u16 actor9Conditions[] = { (0x6000 | ( STORY_STAFF_PASS )) , 1, (( 0x40 ) << 8 | ( 0x3D )) , 1, 0xFFFF }

Definition at line 1000 of file wstag620.c.

◆ actor10Conditions

u16 actor10Conditions[] = { (0x6000 | ( STORY_BYAKKO_LEADER_FOUGHT )) , 1, 0xFFFF }

Definition at line 1001 of file wstag620.c.

◆ actor11Conditions

u16 actor11Conditions[] = { (0x6000 | ( STORY_LUCKY_MOUSE )) , 1, 0xFFFF }

Definition at line 1002 of file wstag620.c.

◆ actor12Conditions

u16 actor12Conditions[] = { (0x6000 | ( STORY_LUCKY_MOUSE )) , 1, 0xFFFF }

Definition at line 1003 of file wstag620.c.

◆ actor13Conditions

u16 actor13Conditions[] = { (0x6000 | ( STORY_LUCKY_MOUSE )) , 1, 0xFFFF }

Definition at line 1004 of file wstag620.c.

◆ actor17Conditions

u16 actor17Conditions[] = { (0x6000 | ( STORY_LUCKY_MOUSE )) , 1, 0xFFFF }

Definition at line 1005 of file wstag620.c.

◆ actor18Conditions

u16 actor18Conditions[] = { (0x6000 | ( STORY_LUCKY_MOUSE )) , 1, 0xFFFF }

Definition at line 1006 of file wstag620.c.

◆ actor19Conditions

u16 actor19Conditions[]
Initial value:
= {
(0x7000 | ( 7 )) , 1,
0xFFFF ,
}

Definition at line 1007 of file wstag620.c.

◆ actor20Conditions

u16 actor20Conditions[] = { (0x6000 | ( STORY_LUCKY_MOUSE )) , 1, 0xFFFF }

Definition at line 1011 of file wstag620.c.

◆ actor21Conditions

u16 actor21Conditions[] = { (0x6000 | ( STORY_LUCKY_MOUSE )) , 1, 0xFFFF }

Definition at line 1012 of file wstag620.c.

◆ actor0

FieldActorEntry actor0 = { actor0Conditions, ((void *)0) , 1, 4, 0, 0, 0 }

Definition at line 1013 of file wstag620.c.

◆ actor1

FieldActorEntry actor1 = { actor1Conditions, ((void *)0) , 0xB, 5, 0, 0, 0 }

Definition at line 1014 of file wstag620.c.

◆ actor2

FieldActorEntry actor2 = { actor2Conditions, actor2Talks, 0xB, 5, 472, 381, 1 }

Definition at line 1015 of file wstag620.c.

◆ actor3

FieldActorEntry actor3 = { actor3Conditions, ((void *)0) , 0x45, 6, 0, 0, 1 }

Definition at line 1016 of file wstag620.c.

◆ actor4

FieldActorEntry actor4 = { actor4Conditions, ((void *)0) , 0x65, 7, 0, 0, 1 }

Definition at line 1017 of file wstag620.c.

◆ actor5

FieldActorEntry actor5 = { actor5Conditions, actor5Talks, 0x65, 7, 432, 260, 3 }

Definition at line 1018 of file wstag620.c.

◆ actor6

FieldActorEntry actor6 = { actor6Conditions, actor6Talks, 0x65, 7, 432, 260, 3 }

Definition at line 1019 of file wstag620.c.

◆ actor7

FieldActorEntry actor7 = { actor7Conditions, actor7Talks, 0x66, 8, 496, 424, 3 }

Definition at line 1020 of file wstag620.c.

◆ actor8

FieldActorEntry actor8 = { actor8Conditions, ((void *)0) , 0x66, 8, 0, 0, 1 }

Definition at line 1021 of file wstag620.c.

◆ actor9

FieldActorEntry actor9 = { actor9Conditions, actor9Talks, 0x67, 9, 533, 405, 3 }

Definition at line 1022 of file wstag620.c.

◆ actor10

FieldActorEntry actor10 = { actor10Conditions, ((void *)0) , 0x67, 9, 0, 0, 1 }

Definition at line 1023 of file wstag620.c.

◆ actor11

FieldActorEntry actor11 = { actor11Conditions, ((void *)0) , 0x68, 0xA, 0, 0, 1 }

Definition at line 1024 of file wstag620.c.

◆ actor12

FieldActorEntry actor12 = { actor12Conditions, ((void *)0) , 0x98, 0xB, 0, 0, 1 }

Definition at line 1025 of file wstag620.c.

◆ actor13

FieldActorEntry actor13 = { actor13Conditions, ((void *)0) , 0x99, 0xC, 0, 0, 1 }

Definition at line 1026 of file wstag620.c.

◆ actor14

FieldActorEntry actor14 = { ((void *)0) , ((void *)0) , 0x9A, 0xD, 641, 350, 0 }

Definition at line 1027 of file wstag620.c.

◆ actor15

FieldActorEntry actor15 = { ((void *)0) , ((void *)0) , 0x9B, 0xE, 593, 325, 1 }

Definition at line 1028 of file wstag620.c.

◆ actor16

FieldActorEntry actor16 = { ((void *)0) , ((void *)0) , 0x9C, 0xF, 545, 301, 2 }

Definition at line 1029 of file wstag620.c.

◆ actor17

FieldActorEntry actor17 = { actor17Conditions, ((void *)0) , 0xC2, 0x10, 0, 0, 1 }

Definition at line 1030 of file wstag620.c.

◆ actor18

FieldActorEntry actor18 = { actor18Conditions, ((void *)0) , 0x13D, 0x11, 0, 0, 0 }

Definition at line 1031 of file wstag620.c.

◆ actor19

FieldActorEntry actor19 = { actor19Conditions, actor19Talks, 0x13D, 0x11, 449, 392, 5 }

Definition at line 1032 of file wstag620.c.

◆ actor20

FieldActorEntry actor20 = { actor20Conditions, ((void *)0) , 0x14B, 0x12, 0, 0, 1 }

Definition at line 1033 of file wstag620.c.

◆ actor21

FieldActorEntry actor21 = { actor21Conditions, ((void *)0) , 0x14C, 0x13, 0, 0, 1 }

Definition at line 1034 of file wstag620.c.

◆ stageActors

FieldActorEntry* stageActors[]
Initial value:
= {
((void *)0) ,
}
FieldActorEntry actor0
Definition wstag620.c:1013
FieldActorEntry actor6
Definition wstag620.c:1019
FieldActorEntry actor17
Definition wstag620.c:1030
FieldActorEntry actor18
Definition wstag620.c:1031
FieldActorEntry actor5
Definition wstag620.c:1018
FieldActorEntry actor2
Definition wstag620.c:1015
FieldActorEntry actor19
Definition wstag620.c:1032
FieldActorEntry actor10
Definition wstag620.c:1023
FieldActorEntry actor4
Definition wstag620.c:1017
FieldActorEntry actor8
Definition wstag620.c:1021
FieldActorEntry actor9
Definition wstag620.c:1022
FieldActorEntry actor20
Definition wstag620.c:1033
FieldActorEntry actor15
Definition wstag620.c:1028
FieldActorEntry actor12
Definition wstag620.c:1025
FieldActorEntry actor16
Definition wstag620.c:1029
FieldActorEntry actor7
Definition wstag620.c:1020
FieldActorEntry actor13
Definition wstag620.c:1026
FieldActorEntry actor11
Definition wstag620.c:1024
FieldActorEntry actor1
Definition wstag620.c:1014
FieldActorEntry actor21
Definition wstag620.c:1034
FieldActorEntry actor3
Definition wstag620.c:1016
FieldActorEntry actor14
Definition wstag620.c:1027

Definition at line 1035 of file wstag620.c.

Referenced by setupStage().

◆ stageObjects

StageTile stageObjects[]
Initial value:
= {
{ 0, 1, 0x40, 2, 0x3D, 0, 0, 0, 0, 0, 335, 351, 0, 0 },
{ 0, 2, 0x40, 2, 0x3E, 0, 0, 0, 0, 0, 345, 372, 0, 0 },
{ 0, 3, 0x40, 2, 0x3C, 0, 0, 0, 0, 0, 477, 356, 0, 0 },
{ 0, 4, 0x40, 2, 0x32, 0, 0, 0, 0, 0, 489, 350, 0, 0 },
{ 1, 0, 0x40, 2, 0x40, 2, 0, 3, 6, 0, 521, 212, 0, 0 },
{ 1, 0, 0x40, 2, 0x40, 2, 0, 3, 6, 0, 569, 236, 0, 0 },
{ 1, 0, 0x40, 2, 0x41, 2, 0, 3, 6, 0, 617, 260, 0, 0 },
{ 1, 0, 0x40, 2, 0x43, 2, 0, 5, 6, 0, 392, 163, 0, 0 },
{ 1, 0, 0x40, 2, 0x44, 2, 0, 5, 6, 0, 369, 205, 0, 0 },
{ 1, 0, 0x40, 6, 0x3F, 2, 0, 3, 6, 0, 360, 389, 0, 0 },
{ 1, 0, 0x40, 6, 0x42, 2, 0, 5, 6, 0, 361, 186, 0, 0 },
{ 1, 0, 0x40, 4, 0, 0, 0, 0, 0, 0, 377, 371, 399, 0 },
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
}

The tables and color setupStage gives FIELDSTG_state (FieldState)

Definition at line 1060 of file wstag620.c.

Referenced by setupStage().

◆ stageSlots

StageSlot stageSlots[]
Initial value:
= {
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 1 , 0x254, 0x2D4, 0xC4, 7, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 3 , 5, 0x1D0, 0xF8, 0, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 2 , 5, 0x1E0, 0x150, 0, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 0, 0, 0, 0, 0, 0, 0, 0 },
}

Definition at line 1075 of file wstag620.c.

Referenced by setupStage().

◆ stageFuncs

void(* stageFuncs[])(void) ( void  )
Initial value:
= {
}
void setupStage(void)
Sets the stage up: its map, actors, battles and events, playing BGM_0019.
Definition wstag620.c:201

The stage's functions (common/start_stage.inc.c calls the first): a StageFuncs in the stages with a tween, which define STAGE_TWEEN before they include this file, and in the others an array of just setupStage.

Definition at line 1081 of file wstag620.c.

◆ stageEvents

FieldEvent stageEvents[]
Initial value:
= {
{ 532, script532, ( ( 0x144 - 1) << 16 | ( 0xF )), ((void *)0) , endEvent532 },
{ 534, script534, ( ( 0x144 - 1) << 16 | ( 0x10 )), ((void *)0) , endEvent534 },
{ 540, script540, ( ( 0x144 - 1) << 16 | ( 0x16 )), ((void *)0) , endEvent540 },
{ 551, script551, ( ( 0x144 - 1) << 16 | ( 0x17 )), ((void *)0) , endEvent551 },
{ -1, ((void *)0) , 0, ((void *)0) , ((void *)0) },
}
s16 script532[]
Definition wstag620.c:221
void endEvent532(void)
After event 532, with Lucky Mouse, Lisa, Kail, General and Attacker: starts the stage's event battle ...
Definition wstag620.c:167
s16 script551[]
Definition wstag620.c:763
s16 script540[]
Definition wstag620.c:640
void endEvent540(void)
After event 540, with Kail, Kurt and Lisa: lets event 550 of WSTAG525 start and keeps it from playing...
Definition wstag620.c:181
void endEvent551(void)
After event 551, with Lisa, Keith, Nick and Kail: moves the story on to STORY_STAFF_PASS.
Definition wstag620.c:187
s16 script534[]
Definition wstag620.c:550
void endEvent534(void)
After event 534, with Attacker, Lisa, Kail and Kurt: moves the story on to STORY_BYAKKO_LEADER_FOUGHT...
Definition wstag620.c:173

Definition at line 1084 of file wstag620.c.

Referenced by setupStage().