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

WSTAG956: Qing Long City, East Sector, in the extra chapter. More...

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

Go to the source code of this file.

Macros

#define STAGE_CHILDREN_SIZE   4
 
#define STAGE_TEXT   TEXT_FILE(TEXT_TALKS_08)
 
#define STAGE_FILE   0x927
 
#define STAGE_FILE_8   0x783
 

Functions

void setupStage (void)
 Sets the stage up: its map, actors and battles, playing SEIR_BGM.
 

Variables

ActorImage stageImages []
 
u16 actor1Talk0Conditions [] = { (( 0 ) << 8 | ( 0x11 )) , 1, (( 0 ) << 8 | ( 0x10 )) , 0, 0xFFFF }
 
u16 actor1Talk0Actions [] = { (( 0 ) << 8 | ( 0x11 )) , 0, (( 0 ) << 8 | ( 1 )) , 0, 0xFFFF }
 
u16 actor1Talk1Conditions [] = { (( 0 ) << 8 | ( 0x11 )) , 1, (( 0 ) << 8 | ( 0x10 )) , 1, 0xFFFF }
 
u16 actor1Talk1Actions []
 
u16 actor1Talk2Conditions [] = { (( 0 ) << 8 | ( 0x11 )) , 0, (( 0 ) << 8 | ( 1 )) , 0, 0xFFFF }
 
u16 actor1Talk2Actions [] = { (( 0 ) << 8 | ( 1 )) , 1, 0xFFFF }
 
u16 actor1Talk3Conditions [] = { (( 0 ) << 8 | ( 0x11 )) , 0, (( 0 ) << 8 | ( 1 )) , 1, 0xFFFF }
 
u16 actor1Talk3Actions [] = { ((0x7600 + ( 1 ) * 0x200) | ( 0x45 )) , 1, 0xFFFF }
 
u16 actor5Talk0Conditions [] = { (0x7000 | ( 0x96 )) , 0, 0xFFFF }
 
u16 actor5Talk1Conditions []
 
u16 actor5Talk1Actions [] = { (( 0x10 ) << 8 | ( 0xD )) , 1, (0x7400 | ( 0 )) , 1, 0xFFFF }
 
u16 actor5Talk2Conditions []
 
u16 actor7Talk0Conditions [] = { (( 0 ) << 8 | ( 0x11 )) , 1, (( 0 ) << 8 | ( 0x10 )) , 0, 0xFFFF }
 
u16 actor7Talk0Actions [] = { (( 0 ) << 8 | ( 0x11 )) , 0, (( 0 ) << 8 | ( 0 )) , 0, 0xFFFF }
 
u16 actor7Talk1Conditions [] = { (( 0 ) << 8 | ( 0x11 )) , 1, (( 0 ) << 8 | ( 0x10 )) , 1, 0xFFFF }
 
u16 actor7Talk1Actions []
 
u16 actor7Talk2Conditions [] = { (( 0 ) << 8 | ( 0x11 )) , 0, (( 0 ) << 8 | ( 0 )) , 0, 0xFFFF }
 
u16 actor7Talk2Actions [] = { (( 0 ) << 8 | ( 0 )) , 1, 0xFFFF }
 
u16 actor7Talk3Conditions [] = { (( 0 ) << 8 | ( 0x11 )) , 0, (( 0 ) << 8 | ( 0 )) , 1, 0xFFFF }
 
u16 actor7Talk3Actions [] = { ((0x7600 + ( 1 ) * 0x200) | ( 0x4B )) , 1, 0xFFFF }
 
FieldTalk actor0Talks []
 
FieldTalk actor1Talks []
 
FieldTalk actor2Talks []
 
FieldTalk actor3Talks []
 
FieldTalk actor4Talks []
 
FieldTalk actor5Talks []
 
FieldTalk actor6Talks []
 
FieldTalk actor7Talks []
 
FieldTalk actor8Talks []
 
u16 actor0Conditions [] = { (0x8000 | ( 0 ) << 9 | ( 0x192 )), 0, 0xFFFF }
 
u16 actor1Conditions [] = { (0x8000 | ( 0 ) << 9 | ( 0x192 )), 1, 0xFFFF }
 
u16 actor6Conditions [] = { (0x8000 | ( 0 ) << 9 | ( 0x192 )), 0, 0xFFFF }
 
u16 actor7Conditions [] = { (0x8000 | ( 0 ) << 9 | ( 0x192 )), 1, 0xFFFF }
 
FieldActorEntry actor0 = { actor0Conditions, actor0Talks, 0x2D, 4, 623, 408, 7 }
 
FieldActorEntry actor1 = { actor1Conditions, actor1Talks, 0x2D, 4, 623, 408, 7 }
 
FieldActorEntry actor2 = { ((void *)0) , actor2Talks, 0x2E, 5, 592, 424, 5 }
 
FieldActorEntry actor3 = { ((void *)0) , actor3Talks, 0x31, 6, 449, 481, 1 }
 
FieldActorEntry actor4 = { ((void *)0) , actor4Talks, 0x86, 7, 1088, 400, 7 }
 
FieldActorEntry actor5 = { ((void *)0) , actor5Talks, 0x8F, 8, 352, 234, 1 }
 
FieldActorEntry actor6 = { actor6Conditions, actor6Talks, 0xB3, 9, 914, 344, 7 }
 
FieldActorEntry actor7 = { actor7Conditions, actor7Talks, 0xB3, 9, 914, 344, 7 }
 
FieldActorEntry actor8 = { ((void *)0) , actor8Talks, 0x175, 0xA, 833, 257, 5 }
 
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.
 
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 = { 305, 18, (0x60000000 | ( 0x23 ) << 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 []
 

Detailed Description

WSTAG956: Qing Long City, East Sector, in the extra chapter.

The European version's: in its extra chapter (STORY_EXTRA), mode 668 starts it instead of WSTAG421.

Definition in file wstag956.c.

Macro Definition Documentation

◆ STAGE_CHILDREN_SIZE

#define STAGE_CHILDREN_SIZE   4

Definition at line 11 of file wstag956.c.

◆ STAGE_TEXT

#define STAGE_TEXT   TEXT_FILE(TEXT_TALKS_08)

Definition at line 15 of file wstag956.c.

◆ STAGE_FILE

#define STAGE_FILE   0x927

Definition at line 16 of file wstag956.c.

◆ STAGE_FILE_8

#define STAGE_FILE_8   0x783

Definition at line 17 of file wstag956.c.

Function Documentation

◆ setupStage()

void setupStage ( void  )

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

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.

< SEIR_BGM: Seiryu City

< SEIR_BGM: Seiryu City

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

Definition at line 24 of file wstag956.c.

Variable Documentation

◆ 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, 0x179, 0x1CE, 0xE4, 0xCE, 0x140, 0x1FF },
{ 0x140, 0x100, 0x14E, 0x1DC, 0x38, 0xDC, 0x150, 0x1FF },
{ 0x1C0, 0x100, 0x1D0, 0x100, 0x240, 0, 0x160, 0x1FF },
{ 0x180, 0x100, 0x1B0, 0x1AE, 0x1C0, 0xAE, 0x170, 0x1FF },
{ 0x1C0, 0x100, 0x1D8, 0x100, 0x260, 0, 0x140, 0x1FE },
{ 0x180, 0x100, 0x1A4, 0x140, 0x190, 0x40, 0x150, 0x1FE },
{ 0x1C0, 0x100, 0x1F4, 0x100, 0x2D0, 0, 0x160, 0x1FE },
}

Definition at line 43 of file wstag956.c.

Referenced by setupStage().

◆ actor1Talk0Conditions

u16 actor1Talk0Conditions[] = { (( 0 ) << 8 | ( 0x11 )) , 1, (( 0 ) << 8 | ( 0x10 )) , 0, 0xFFFF }

Definition at line 58 of file wstag956.c.

◆ actor1Talk0Actions

u16 actor1Talk0Actions[] = { (( 0 ) << 8 | ( 0x11 )) , 0, (( 0 ) << 8 | ( 1 )) , 0, 0xFFFF }

Definition at line 59 of file wstag956.c.

◆ actor1Talk1Conditions

u16 actor1Talk1Conditions[] = { (( 0 ) << 8 | ( 0x11 )) , 1, (( 0 ) << 8 | ( 0x10 )) , 1, 0xFFFF }

Definition at line 60 of file wstag956.c.

◆ actor1Talk1Actions

u16 actor1Talk1Actions[]
Initial value:
= {
(( 0 ) << 8 | ( 0x11 )) , 0,
(( 0 ) << 8 | ( 0x10 )) , 0,
(( 0 ) << 8 | ( 1 )) , 0,
0xFFFF ,
}

Definition at line 61 of file wstag956.c.

◆ actor1Talk2Conditions

u16 actor1Talk2Conditions[] = { (( 0 ) << 8 | ( 0x11 )) , 0, (( 0 ) << 8 | ( 1 )) , 0, 0xFFFF }

Definition at line 67 of file wstag956.c.

◆ actor1Talk2Actions

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

Definition at line 68 of file wstag956.c.

◆ actor1Talk3Conditions

u16 actor1Talk3Conditions[] = { (( 0 ) << 8 | ( 0x11 )) , 0, (( 0 ) << 8 | ( 1 )) , 1, 0xFFFF }

Definition at line 69 of file wstag956.c.

◆ actor1Talk3Actions

u16 actor1Talk3Actions[] = { ((0x7600 + ( 1 ) * 0x200) | ( 0x45 )) , 1, 0xFFFF }

Definition at line 70 of file wstag956.c.

◆ actor5Talk0Conditions

u16 actor5Talk0Conditions[] = { (0x7000 | ( 0x96 )) , 0, 0xFFFF }

Definition at line 71 of file wstag956.c.

◆ actor5Talk1Conditions

u16 actor5Talk1Conditions[]
Initial value:
= {
(0x7000 | ( 0x96 )) , 1,
(( 0x10 ) << 8 | ( 0xD )) , 0,
0xFFFF ,
}

Definition at line 72 of file wstag956.c.

◆ actor5Talk1Actions

u16 actor5Talk1Actions[] = { (( 0x10 ) << 8 | ( 0xD )) , 1, (0x7400 | ( 0 )) , 1, 0xFFFF }

Definition at line 77 of file wstag956.c.

◆ actor5Talk2Conditions

u16 actor5Talk2Conditions[]
Initial value:
= {
(0x7000 | ( 0x96 )) , 1,
(( 0x10 ) << 8 | ( 0xD )) , 1,
0xFFFF ,
}

Definition at line 78 of file wstag956.c.

◆ actor7Talk0Conditions

u16 actor7Talk0Conditions[] = { (( 0 ) << 8 | ( 0x11 )) , 1, (( 0 ) << 8 | ( 0x10 )) , 0, 0xFFFF }

Definition at line 83 of file wstag956.c.

◆ actor7Talk0Actions

u16 actor7Talk0Actions[] = { (( 0 ) << 8 | ( 0x11 )) , 0, (( 0 ) << 8 | ( 0 )) , 0, 0xFFFF }

Definition at line 84 of file wstag956.c.

◆ actor7Talk1Conditions

u16 actor7Talk1Conditions[] = { (( 0 ) << 8 | ( 0x11 )) , 1, (( 0 ) << 8 | ( 0x10 )) , 1, 0xFFFF }

Definition at line 85 of file wstag956.c.

◆ actor7Talk1Actions

u16 actor7Talk1Actions[]
Initial value:
= {
(( 0 ) << 8 | ( 0x11 )) , 0,
(( 0 ) << 8 | ( 0x10 )) , 0,
(( 0 ) << 8 | ( 0 )) , 0,
0xFFFF ,
}

Definition at line 86 of file wstag956.c.

◆ actor7Talk2Conditions

u16 actor7Talk2Conditions[] = { (( 0 ) << 8 | ( 0x11 )) , 0, (( 0 ) << 8 | ( 0 )) , 0, 0xFFFF }

Definition at line 92 of file wstag956.c.

◆ actor7Talk2Actions

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

Definition at line 93 of file wstag956.c.

◆ actor7Talk3Conditions

u16 actor7Talk3Conditions[] = { (( 0 ) << 8 | ( 0x11 )) , 0, (( 0 ) << 8 | ( 0 )) , 1, 0xFFFF }

Definition at line 94 of file wstag956.c.

◆ actor7Talk3Actions

u16 actor7Talk3Actions[] = { ((0x7600 + ( 1 ) * 0x200) | ( 0x4B )) , 1, 0xFFFF }

Definition at line 95 of file wstag956.c.

◆ actor0Talks

FieldTalk actor0Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x5E },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 96 of file wstag956.c.

◆ actor1Talks

FieldTalk actor1Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor1Talk3Actions[]
Definition wstag956.c:70
u16 actor1Talk2Actions[]
Definition wstag956.c:68
u16 actor1Talk1Conditions[]
Definition wstag956.c:60
u16 actor1Talk0Conditions[]
Definition wstag956.c:58
u16 actor1Talk1Actions[]
Definition wstag956.c:61
u16 actor1Talk0Actions[]
Definition wstag956.c:59
u16 actor1Talk2Conditions[]
Definition wstag956.c:67
u16 actor1Talk3Conditions[]
Definition wstag956.c:69

Definition at line 100 of file wstag956.c.

◆ actor2Talks

FieldTalk actor2Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x76 },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 107 of file wstag956.c.

◆ actor3Talks

FieldTalk actor3Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x75 },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 111 of file wstag956.c.

◆ actor4Talks

FieldTalk actor4Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x79 },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 115 of file wstag956.c.

◆ actor5Talks

FieldTalk actor5Talks[]
Initial value:
= {
{ actor5Talk0Conditions, ((void *)0) , 0x72 },
{ actor5Talk2Conditions, ((void *)0) , 0x74 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor5Talk0Conditions[]
Definition wstag956.c:71
u16 actor5Talk1Conditions[]
Definition wstag956.c:72
u16 actor5Talk2Conditions[]
Definition wstag956.c:78
u16 actor5Talk1Actions[]
Definition wstag956.c:77

Definition at line 119 of file wstag956.c.

◆ actor6Talks

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

Definition at line 125 of file wstag956.c.

◆ actor7Talks

FieldTalk actor7Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor7Talk1Conditions[]
Definition wstag956.c:85
u16 actor7Talk2Conditions[]
Definition wstag956.c:92
u16 actor7Talk0Conditions[]
Definition wstag956.c:83
u16 actor7Talk0Actions[]
Definition wstag956.c:84
u16 actor7Talk1Actions[]
Definition wstag956.c:86
u16 actor7Talk3Conditions[]
Definition wstag956.c:94
u16 actor7Talk3Actions[]
Definition wstag956.c:95
u16 actor7Talk2Actions[]
Definition wstag956.c:93

Definition at line 129 of file wstag956.c.

◆ actor8Talks

FieldTalk actor8Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x78 },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 136 of file wstag956.c.

◆ actor0Conditions

u16 actor0Conditions[] = { (0x8000 | ( 0 ) << 9 | ( 0x192 )), 0, 0xFFFF }

Definition at line 140 of file wstag956.c.

◆ actor1Conditions

u16 actor1Conditions[] = { (0x8000 | ( 0 ) << 9 | ( 0x192 )), 1, 0xFFFF }

Definition at line 141 of file wstag956.c.

◆ actor6Conditions

u16 actor6Conditions[] = { (0x8000 | ( 0 ) << 9 | ( 0x192 )), 0, 0xFFFF }

Definition at line 142 of file wstag956.c.

◆ actor7Conditions

u16 actor7Conditions[] = { (0x8000 | ( 0 ) << 9 | ( 0x192 )), 1, 0xFFFF }

Definition at line 143 of file wstag956.c.

◆ actor0

FieldActorEntry actor0 = { actor0Conditions, actor0Talks, 0x2D, 4, 623, 408, 7 }

Definition at line 144 of file wstag956.c.

◆ actor1

FieldActorEntry actor1 = { actor1Conditions, actor1Talks, 0x2D, 4, 623, 408, 7 }

Definition at line 145 of file wstag956.c.

◆ actor2

FieldActorEntry actor2 = { ((void *)0) , actor2Talks, 0x2E, 5, 592, 424, 5 }

Definition at line 146 of file wstag956.c.

◆ actor3

FieldActorEntry actor3 = { ((void *)0) , actor3Talks, 0x31, 6, 449, 481, 1 }

Definition at line 147 of file wstag956.c.

◆ actor4

FieldActorEntry actor4 = { ((void *)0) , actor4Talks, 0x86, 7, 1088, 400, 7 }

Definition at line 148 of file wstag956.c.

◆ actor5

FieldActorEntry actor5 = { ((void *)0) , actor5Talks, 0x8F, 8, 352, 234, 1 }

Definition at line 149 of file wstag956.c.

◆ actor6

FieldActorEntry actor6 = { actor6Conditions, actor6Talks, 0xB3, 9, 914, 344, 7 }

Definition at line 150 of file wstag956.c.

◆ actor7

FieldActorEntry actor7 = { actor7Conditions, actor7Talks, 0xB3, 9, 914, 344, 7 }

Definition at line 151 of file wstag956.c.

◆ actor8

FieldActorEntry actor8 = { ((void *)0) , actor8Talks, 0x175, 0xA, 833, 257, 5 }

Definition at line 152 of file wstag956.c.

◆ stageActors

FieldActorEntry* stageActors[]
Initial value:
= {
((void *)0) ,
}
FieldActorEntry actor0
Definition wstag956.c:144
FieldActorEntry actor6
Definition wstag956.c:150
FieldActorEntry actor5
Definition wstag956.c:149
FieldActorEntry actor2
Definition wstag956.c:146
FieldActorEntry actor4
Definition wstag956.c:148
FieldActorEntry actor8
Definition wstag956.c:152
FieldActorEntry actor7
Definition wstag956.c:151
FieldActorEntry actor1
Definition wstag956.c:145
FieldActorEntry actor3
Definition wstag956.c:147

Definition at line 153 of file wstag956.c.

Referenced by setupStage().

◆ stageObjects

StageTile stageObjects[]

The tables and color setupStage gives FIELDSTG_state (FieldState)

Definition at line 165 of file wstag956.c.

Referenced by setupStage().

◆ stageSlots

StageSlot stageSlots[]
Initial value:
= {
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 1 , 0x298, 0x448, 0xF8, 1, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 1 , 0x29E, 0xC8, 0x1A4, 5, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 1 , 0x29E, 0x1B8, 0x204, 3, 0x64, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 1 , 0x29D, 0x208, 0x1AC, 3, 0x65, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 1 , 0x29F, 0x1A7, 0x254, 3, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 3 , 6, 0x400, 0x120, 0, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 2 , 6, 0x410, 0x188, 0, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 0, 0, 0, 0, 0, 0, 0, 0 },
}

Definition at line 202 of file wstag956.c.

Referenced by setupStage().

◆ stageFuncs

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

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 212 of file wstag956.c.

◆ area0Battle0

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

Definition at line 215 of file wstag956.c.

◆ area0Battle1

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

Definition at line 216 of file wstag956.c.

◆ area0Battle2

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

Definition at line 217 of file wstag956.c.

◆ area0Battle3

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

Definition at line 218 of file wstag956.c.

◆ area0Battle4

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

Definition at line 219 of file wstag956.c.

◆ area0Battle5

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

Definition at line 220 of file wstag956.c.

◆ area0Battle6

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

Definition at line 221 of file wstag956.c.

◆ area0Battle7

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

Definition at line 222 of file wstag956.c.

◆ area0Battles

BattleList area0Battles
Initial value:
= {
3,
}
AreaBattle area0Battle7
Definition wstag956.c:222
AreaBattle area0Battle1
Definition wstag956.c:216
AreaBattle area0Battle6
Definition wstag956.c:221
AreaBattle area0Battle3
Definition wstag956.c:218
AreaBattle area0Battle5
Definition wstag956.c:220
AreaBattle area0Battle0
Definition wstag956.c:215
AreaBattle area0Battle2
Definition wstag956.c:217
AreaBattle area0Battle4
Definition wstag956.c:219

Definition at line 223 of file wstag956.c.

◆ area1Battle0

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

Definition at line 228 of file wstag956.c.

◆ area1Battle1

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

Definition at line 229 of file wstag956.c.

◆ area1Battle2

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

Definition at line 230 of file wstag956.c.

◆ area1Battle3

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

Definition at line 231 of file wstag956.c.

◆ area1Battle4

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

Definition at line 232 of file wstag956.c.

◆ area1Battle5

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

Definition at line 233 of file wstag956.c.

◆ area1Battle6

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

Definition at line 234 of file wstag956.c.

◆ area1Battle7

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

Definition at line 235 of file wstag956.c.

◆ area1Battles

BattleList area1Battles
Initial value:
= {
0,
}
AreaBattle area1Battle6
Definition wstag956.c:234
AreaBattle area1Battle2
Definition wstag956.c:230
AreaBattle area1Battle4
Definition wstag956.c:232
AreaBattle area1Battle5
Definition wstag956.c:233
AreaBattle area1Battle3
Definition wstag956.c:231
AreaBattle area1Battle0
Definition wstag956.c:228
AreaBattle area1Battle1
Definition wstag956.c:229
AreaBattle area1Battle7
Definition wstag956.c:235

Definition at line 236 of file wstag956.c.

◆ area2Battle0

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

Definition at line 241 of file wstag956.c.

◆ area2Battle1

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

Definition at line 242 of file wstag956.c.

◆ area2Battle2

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

Definition at line 243 of file wstag956.c.

◆ area2Battle3

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

Definition at line 244 of file wstag956.c.

◆ area2Battle4

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

Definition at line 245 of file wstag956.c.

◆ area2Battle5

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

Definition at line 246 of file wstag956.c.

◆ area2Battle6

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

Definition at line 247 of file wstag956.c.

◆ area2Battle7

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

Definition at line 248 of file wstag956.c.

◆ area2Battles

BattleList area2Battles
Initial value:
= {
0,
}
AreaBattle area2Battle7
Definition wstag956.c:248
AreaBattle area2Battle6
Definition wstag956.c:247
AreaBattle area2Battle0
Definition wstag956.c:241
AreaBattle area2Battle4
Definition wstag956.c:245
AreaBattle area2Battle2
Definition wstag956.c:243
AreaBattle area2Battle1
Definition wstag956.c:242
AreaBattle area2Battle5
Definition wstag956.c:246
AreaBattle area2Battle3
Definition wstag956.c:244

Definition at line 249 of file wstag956.c.

◆ area3Battle0

AreaBattle area3Battle0 = { 305, 18, (0x60000000 | ( 0x23 ) << 18 | ( 0 )) }

Definition at line 254 of file wstag956.c.

◆ area3Battle1

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

Definition at line 255 of file wstag956.c.

◆ area3Battle2

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

Definition at line 256 of file wstag956.c.

◆ area3Battle3

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

Definition at line 257 of file wstag956.c.

◆ area3Battle4

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

Definition at line 258 of file wstag956.c.

◆ area3Battle5

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

Definition at line 259 of file wstag956.c.

◆ area3Battle6

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

Definition at line 260 of file wstag956.c.

◆ area3Battle7

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

Definition at line 261 of file wstag956.c.

◆ area3Battles

BattleList area3Battles
Initial value:
= {
0,
}
AreaBattle area3Battle4
Definition wstag956.c:258
AreaBattle area3Battle3
Definition wstag956.c:257
AreaBattle area3Battle0
Definition wstag956.c:254
AreaBattle area3Battle2
Definition wstag956.c:256
AreaBattle area3Battle1
Definition wstag956.c:255
AreaBattle area3Battle6
Definition wstag956.c:260
AreaBattle area3Battle5
Definition wstag956.c:259
AreaBattle area3Battle7
Definition wstag956.c:261

Definition at line 262 of file wstag956.c.

◆ stageBattles

FieldBattles stageBattles[]
Initial value:
= {
}
BattleList area3Battles
Definition wstag956.c:262
BattleList area1Battles
Definition wstag956.c:236
BattleList area2Battles
Definition wstag956.c:249
BattleList area0Battles
Definition wstag956.c:223

Definition at line 267 of file wstag956.c.

Referenced by setupStage().