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

WSTAG940: Central Park, Central 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 wstag940.c:

Go to the source code of this file.

Macros

#define STAGE_CHILDREN_SIZE   4
 
#define STAGE_TEXT   TEXT_FILE(TEXT_TALKS_09)
 
#define STAGE_FILE   0x907
 
#define STAGE_FILE_8   0x1B4
 

Functions

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

Variables

const CVECTOR stageColor = { 0x80, 0x80, 0x80, 0x00 }
 the color the setup copies to FIELDSTG_state.spriteColor
 
ActorImage stageImages []
 
u16 actor0Talk0Actions []
 
u16 actor2Talk0Conditions [] = { (( 0 ) << 8 | ( 0x11 )) , 1, (( 0 ) << 8 | ( 0x10 )) , 0, 0xFFFF }
 
u16 actor2Talk0Actions [] = { (( 0 ) << 8 | ( 1 )) , 0, (( 0 ) << 8 | ( 0x11 )) , 0, 0xFFFF }
 
u16 actor2Talk1Conditions [] = { (( 0 ) << 8 | ( 0x11 )) , 1, (( 0 ) << 8 | ( 0x10 )) , 1, 0xFFFF }
 
u16 actor2Talk1Actions []
 
u16 actor2Talk2Conditions [] = { (( 0 ) << 8 | ( 0x11 )) , 0, (( 0 ) << 8 | ( 1 )) , 0, 0xFFFF }
 
u16 actor2Talk2Actions [] = { (( 0 ) << 8 | ( 1 )) , 1, 0xFFFF }
 
u16 actor2Talk3Conditions [] = { (( 0 ) << 8 | ( 0x11 )) , 0, (( 0 ) << 8 | ( 1 )) , 1, 0xFFFF }
 
u16 actor2Talk3Actions [] = { ((0x7600 + ( 1 ) * 0x200) | ( 0x22 )) , 1, 0xFFFF }
 
u16 actor5Talk0Conditions [] = { (( 0 ) << 8 | ( 0x11 )) , 1, (( 0 ) << 8 | ( 0x10 )) , 0, 0xFFFF }
 
u16 actor5Talk0Actions [] = { (( 0 ) << 8 | ( 0x11 )) , 0, (( 0 ) << 8 | ( 0 )) , 0, 0xFFFF }
 
u16 actor5Talk1Conditions [] = { (( 0 ) << 8 | ( 0x11 )) , 1, (( 0 ) << 8 | ( 0x10 )) , 1, 0xFFFF }
 
u16 actor5Talk1Actions []
 
u16 actor5Talk2Conditions [] = { (( 0 ) << 8 | ( 0x11 )) , 0, (( 0 ) << 8 | ( 0 )) , 0, 0xFFFF }
 
u16 actor5Talk2Actions [] = { (( 0 ) << 8 | ( 0 )) , 1, 0xFFFF }
 
u16 actor5Talk3Conditions [] = { (( 0 ) << 8 | ( 0x11 )) , 0, (( 0 ) << 8 | ( 0 )) , 1, 0xFFFF }
 
u16 actor5Talk3Actions [] = { ((0x7600 + ( 1 ) * 0x200) | ( 0x4D )) , 1, 0xFFFF }
 
u16 actor7Talk0Conditions [] = { (0x8000 | ( 0 ) << 9 | ( 0x29 )), 0, 0xFFFF }
 
u16 actor7Talk0Actions [] = { 0x9407, 1, 0xFFFF }
 
u16 actor7Talk1Conditions [] = { (0x8000 | ( 0 ) << 9 | ( 0x29 )), 1, 0xFFFF }
 
u16 actor7Talk1Actions [] = { 0x9408, 1, 0xFFFF }
 
u16 actor8Talk0Actions [] = { 0x940D, 1, 0xFFFF }
 
FieldTalk actor0Talks []
 
FieldTalk actor1Talks []
 
FieldTalk actor2Talks []
 
FieldTalk actor3Talks []
 
FieldTalk actor4Talks []
 
FieldTalk actor5Talks []
 
FieldTalk actor6Talks []
 
FieldTalk actor7Talks []
 
FieldTalk actor8Talks []
 
u16 actor0Conditions [] = { (( 2 ) << 8 | ( 0x69 )) , 0, 0xFFFF }
 
u16 actor1Conditions [] = { (0x8000 | ( 0 ) << 9 | ( 0x192 )), 0, 0xFFFF }
 
u16 actor2Conditions [] = { (0x8000 | ( 0 ) << 9 | ( 0x192 )), 1, 0xFFFF }
 
u16 actor4Conditions [] = { (0x8000 | ( 0 ) << 9 | ( 0x192 )), 0, 0xFFFF }
 
u16 actor5Conditions [] = { (0x8000 | ( 0 ) << 9 | ( 0x192 )), 1, 0xFFFF }
 
u16 actor7Conditions [] = { (0x8000 | ( 0 ) << 9 | ( 0x2A )), 0, 0xFFFF }
 
u16 actor8Conditions [] = { (0x8000 | ( 0 ) << 9 | ( 0x2A )), 1, 0xFFFF }
 
FieldActorEntry actor0 = { actor0Conditions, actor0Talks, 0x21, 4, 738, 394, 1 }
 
FieldActorEntry actor1 = { actor1Conditions, actor1Talks, 0x33, 5, 1072, 665, 3 }
 
FieldActorEntry actor2 = { actor2Conditions, actor2Talks, 0x33, 5, 1072, 665, 3 }
 
FieldActorEntry actor3 = { ((void *)0) , actor3Talks, 0x3F, 6, 961, 681, 1 }
 
FieldActorEntry actor4 = { actor4Conditions, actor4Talks, 0x65, 7, 864, 577, 7 }
 
FieldActorEntry actor5 = { actor5Conditions, actor5Talks, 0x65, 7, 864, 577, 7 }
 
FieldActorEntry actor6 = { ((void *)0) , actor6Talks, 0x87, 8, 560, 728, 7 }
 
FieldActorEntry actor7 = { actor7Conditions, actor7Talks, 0x89, 9, 923, 374, 7 }
 
FieldActorEntry actor8 = { actor8Conditions, actor8Talks, 0x89, 9, 923, 374, 7 }
 
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 = { 34, 1, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle area0Battle1 = { 34, 1, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle area0Battle2 = { 35, 1, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle area0Battle3 = { 35, 1, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle area0Battle4 = { 39, 1, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle area0Battle5 = { 39, 1, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle area0Battle6 = { 41, 1, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle area0Battle7 = { 41, 1, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
BattleList area0Battles
 
AreaBattle area1Battle0 = { 34, 1, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle area1Battle1 = { 34, 1, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle area1Battle2 = { 35, 1, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle area1Battle3 = { 35, 1, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle area1Battle4 = { 39, 1, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle area1Battle5 = { 39, 1, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle area1Battle6 = { 41, 1, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle area1Battle7 = { 41, 1, (0x60000000 | ( 2 ) << 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 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle area3Battle1 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle area3Battle2 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle area3Battle3 = { 329, 1, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle area3Battle4 = { 330, 8, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle area3Battle5 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle area3Battle6 = { 147, 1, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle area3Battle7 = { 66, 8, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
BattleList area3Battles
 
FieldBattles stageBattles []
 

Detailed Description

WSTAG940: Central Park, Central Sector, in the extra chapter.

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

Definition in file wstag940.c.

Macro Definition Documentation

◆ STAGE_CHILDREN_SIZE

#define STAGE_CHILDREN_SIZE   4

Definition at line 11 of file wstag940.c.

◆ STAGE_TEXT

#define STAGE_TEXT   TEXT_FILE(TEXT_TALKS_09)

Definition at line 16 of file wstag940.c.

◆ STAGE_FILE

#define STAGE_FILE   0x907

Definition at line 17 of file wstag940.c.

◆ STAGE_FILE_8

#define STAGE_FILE_8   0x1B4

Definition at line 18 of file wstag940.c.

Function Documentation

◆ setupStage()

void setupStage ( void  )

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

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.

< FIELDBGM: Central Park, the Wire Forest Entrance, Shell Beach, Plug Cape

< FIELDBGM: Central Park, the Wire Forest Entrance, Shell Beach, Plug Cape

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

< a cell's value: its battle area (FieldBattles), or 0

Definition at line 25 of file wstag940.c.

Variable Documentation

◆ stageColor

const CVECTOR stageColor = { 0x80, 0x80, 0x80, 0x00 }

the color the setup copies to FIELDSTG_state.spriteColor

the color the setup copies to FIELDSTG_state.spriteColor

It starts the stage, before its jump tables: in wstag924.c GCC would align them to 8 bytes after it, so it is a file of its own, linked first

Definition at line 14 of file wstag940.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, 0x178, 0x100, 0xE0, 0, 0x160, 0x1FF },
{ 0x140, 0x100, 0x176, 0x1C4, 0xD8, 0xC4, 0x170, 0x1FF },
{ 0, 0, 0, 0, 0, 0, 0, 0 },
{ 0x180, 0x100, 0x1B6, 0x100, 0x1D8, 0, 0x140, 0x1FE },
{ 0x180, 0x100, 0x180, 0x11F, 0x100, 0x1F, 0x150, 0x1FE },
{ 0x180, 0x100, 0x188, 0x11F, 0x120, 0x1F, 0x160, 0x1FE },
}

Definition at line 46 of file wstag940.c.

Referenced by setupStage().

◆ actor0Talk0Actions

u16 actor0Talk0Actions[]
Initial value:
= {
(( 2 ) << 8 | ( 0x69 )) , 1,
(0x8000 | ( 1 ) << 9 | ( 0x32 )), 1,
(0x7000 | ( 0x13 )) , 1,
0xFFFF ,
}

Definition at line 60 of file wstag940.c.

◆ actor2Talk0Conditions

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

Definition at line 66 of file wstag940.c.

◆ actor2Talk0Actions

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

Definition at line 67 of file wstag940.c.

◆ actor2Talk1Conditions

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

Definition at line 68 of file wstag940.c.

◆ actor2Talk1Actions

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

Definition at line 69 of file wstag940.c.

◆ actor2Talk2Conditions

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

Definition at line 75 of file wstag940.c.

◆ actor2Talk2Actions

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

Definition at line 76 of file wstag940.c.

◆ actor2Talk3Conditions

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

Definition at line 77 of file wstag940.c.

◆ actor2Talk3Actions

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

Definition at line 78 of file wstag940.c.

◆ actor5Talk0Conditions

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

Definition at line 79 of file wstag940.c.

◆ actor5Talk0Actions

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

Definition at line 80 of file wstag940.c.

◆ actor5Talk1Conditions

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

Definition at line 81 of file wstag940.c.

◆ actor5Talk1Actions

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

Definition at line 82 of file wstag940.c.

◆ actor5Talk2Conditions

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

Definition at line 88 of file wstag940.c.

◆ actor5Talk2Actions

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

Definition at line 89 of file wstag940.c.

◆ actor5Talk3Conditions

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

Definition at line 90 of file wstag940.c.

◆ actor5Talk3Actions

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

Definition at line 91 of file wstag940.c.

◆ actor7Talk0Conditions

u16 actor7Talk0Conditions[] = { (0x8000 | ( 0 ) << 9 | ( 0x29 )), 0, 0xFFFF }

Definition at line 92 of file wstag940.c.

◆ actor7Talk0Actions

u16 actor7Talk0Actions[] = { 0x9407, 1, 0xFFFF }

Definition at line 93 of file wstag940.c.

◆ actor7Talk1Conditions

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

Definition at line 94 of file wstag940.c.

◆ actor7Talk1Actions

u16 actor7Talk1Actions[] = { 0x9408, 1, 0xFFFF }

Definition at line 95 of file wstag940.c.

◆ actor8Talk0Actions

u16 actor8Talk0Actions[] = { 0x940D, 1, 0xFFFF }

Definition at line 96 of file wstag940.c.

◆ actor0Talks

FieldTalk actor0Talks[]
Initial value:
= {
{ ((void *)0) , actor0Talk0Actions, 1 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor0Talk0Actions[]
Definition wstag940.c:60

Definition at line 97 of file wstag940.c.

◆ actor1Talks

FieldTalk actor1Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x19 },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 101 of file wstag940.c.

◆ actor2Talks

FieldTalk actor2Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor2Talk1Conditions[]
Definition wstag940.c:68
u16 actor2Talk3Conditions[]
Definition wstag940.c:77
u16 actor2Talk1Actions[]
Definition wstag940.c:69
u16 actor2Talk0Actions[]
Definition wstag940.c:67
u16 actor2Talk2Conditions[]
Definition wstag940.c:75
u16 actor2Talk3Actions[]
Definition wstag940.c:78
u16 actor2Talk0Conditions[]
Definition wstag940.c:66
u16 actor2Talk2Actions[]
Definition wstag940.c:76

Definition at line 105 of file wstag940.c.

◆ actor3Talks

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

Definition at line 112 of file wstag940.c.

◆ actor4Talks

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

Definition at line 116 of file wstag940.c.

◆ actor5Talks

FieldTalk actor5Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor5Talk3Conditions[]
Definition wstag940.c:90
u16 actor5Talk2Actions[]
Definition wstag940.c:89
u16 actor5Talk0Conditions[]
Definition wstag940.c:79
u16 actor5Talk3Actions[]
Definition wstag940.c:91
u16 actor5Talk0Actions[]
Definition wstag940.c:80
u16 actor5Talk1Conditions[]
Definition wstag940.c:81
u16 actor5Talk2Conditions[]
Definition wstag940.c:88
u16 actor5Talk1Actions[]
Definition wstag940.c:82

Definition at line 120 of file wstag940.c.

◆ actor6Talks

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

Definition at line 127 of file wstag940.c.

◆ actor7Talks

FieldTalk actor7Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor7Talk1Conditions[]
Definition wstag940.c:94
u16 actor7Talk0Conditions[]
Definition wstag940.c:92
u16 actor7Talk0Actions[]
Definition wstag940.c:93
u16 actor7Talk1Actions[]
Definition wstag940.c:95

Definition at line 131 of file wstag940.c.

◆ actor8Talks

FieldTalk actor8Talks[]
Initial value:
= {
{ ((void *)0) , actor8Talk0Actions, 0x6F },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor8Talk0Actions[]
Definition wstag940.c:96

Definition at line 136 of file wstag940.c.

◆ actor0Conditions

u16 actor0Conditions[] = { (( 2 ) << 8 | ( 0x69 )) , 0, 0xFFFF }

Definition at line 140 of file wstag940.c.

◆ actor1Conditions

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

Definition at line 141 of file wstag940.c.

◆ actor2Conditions

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

Definition at line 142 of file wstag940.c.

◆ actor4Conditions

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

Definition at line 143 of file wstag940.c.

◆ actor5Conditions

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

Definition at line 144 of file wstag940.c.

◆ actor7Conditions

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

Definition at line 145 of file wstag940.c.

◆ actor8Conditions

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

Definition at line 146 of file wstag940.c.

◆ actor0

FieldActorEntry actor0 = { actor0Conditions, actor0Talks, 0x21, 4, 738, 394, 1 }

Definition at line 147 of file wstag940.c.

◆ actor1

FieldActorEntry actor1 = { actor1Conditions, actor1Talks, 0x33, 5, 1072, 665, 3 }

Definition at line 148 of file wstag940.c.

◆ actor2

FieldActorEntry actor2 = { actor2Conditions, actor2Talks, 0x33, 5, 1072, 665, 3 }

Definition at line 149 of file wstag940.c.

◆ actor3

FieldActorEntry actor3 = { ((void *)0) , actor3Talks, 0x3F, 6, 961, 681, 1 }

Definition at line 150 of file wstag940.c.

◆ actor4

FieldActorEntry actor4 = { actor4Conditions, actor4Talks, 0x65, 7, 864, 577, 7 }

Definition at line 151 of file wstag940.c.

◆ actor5

FieldActorEntry actor5 = { actor5Conditions, actor5Talks, 0x65, 7, 864, 577, 7 }

Definition at line 152 of file wstag940.c.

◆ actor6

FieldActorEntry actor6 = { ((void *)0) , actor6Talks, 0x87, 8, 560, 728, 7 }

Definition at line 153 of file wstag940.c.

◆ actor7

FieldActorEntry actor7 = { actor7Conditions, actor7Talks, 0x89, 9, 923, 374, 7 }

Definition at line 154 of file wstag940.c.

◆ actor8

FieldActorEntry actor8 = { actor8Conditions, actor8Talks, 0x89, 9, 923, 374, 7 }

Definition at line 155 of file wstag940.c.

◆ stageActors

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

Definition at line 156 of file wstag940.c.

Referenced by setupStage().

◆ stageObjects

StageTile stageObjects[]

The tables and color setupStage gives FIELDSTG_state (FieldState)

Definition at line 168 of file wstag940.c.

Referenced by setupStage().

◆ stageSlots

StageSlot stageSlots[]
Initial value:
= {
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 1 , 0x272, 0x100, 0x1E0, 5, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 1 , 0x28D, 0x7C, 0x7E, 7, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 1 , 0x28E, 0x30A, 0x98, 1, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 1 , 0x28F, 0x4AC, 0x326, 3, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 2 , 3, 0x2CE, 0x124, 0, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 3 , 3, 0x2DF, 0xF0, 0, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 2 , 5, 0x324, 0x170, 0, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 3 , 5, 0x333, 0x11A, 0, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 10 , 0x2E2, 0xB0, 0x148, 7, 0, 2, 1 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 9 , 0x2E8, 0x240, 0xD0, 0, 0, 4, 1 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 9 , 0x2E9, 0xB0, 0xF8, 0, 0, 3, 1 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 9 , 0x2E9, 0xB0, 0xF8, 0, 0, 2, 1 },
{ { { (0x8000 | ( 0 ) << 9 | ( 5 )), 1 }, { 0xFFFF , 0 } }, 7 , 0x60, 0xFFF0, 0, 0, 0, 0, 0 },
{ { { (0x8000 | ( 0 ) << 9 | ( 5 )), 1 }, { 0xFFFF , 0 } }, 7 , 0, 0x30, 0, 0, 0, 0, 0 },
{ { { (0x8000 | ( 0 ) << 9 | ( 5 )), 1 }, { 0xFFFF , 0 } }, 7 , 0, 0x40, 0, 0, 0, 0, 0 },
{ { { (0x8000 | ( 0 ) << 9 | ( 5 )), 1 }, { 0xFFFF , 0 } }, 7 , 0xFFB0, 0x10, 0, 0, 0, 0, 0 },
{ { { (0x8000 | ( 0 ) << 9 | ( 5 )), 1 }, { 0xFFFF , 0 } }, 7 , 0xFFC0, 0xFFE8, 0, 0, 0, 0, 0 },
{ { { (0x8000 | ( 0 ) << 9 | ( 5 )), 1 }, { 0xFFFF , 0 } }, 7 , 0, 0xFFD8, 0, 0, 0, 0, 0 },
{ { { (0x8000 | ( 0 ) << 9 | ( 5 )), 1 }, { 0xFFFF , 0 } }, 7 , 0xFFE0, 0x28, 0, 0, 0, 0, 0 },
{ { { (0x8000 | ( 0 ) << 9 | ( 5 )), 1 }, { 0xFFFF , 0 } }, 7 , 0x30, 0x28, 0, 0, 0, 0, 0 },
{ { { (0x8000 | ( 0 ) << 9 | ( 5 )), 1 }, { 0xFFFF , 0 } }, 7 , 0xFFD0, 0xFFF8, 0, 0, 0, 0, 0 },
{ { { (0x8000 | ( 0 ) << 9 | ( 5 )), 1 }, { 0xFFFF , 0 } }, 7 , 0xFFC0, 0x14, 0, 0, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 10 , 0x2E2, 0xB0, 0x148, 7, 0, 2, 1 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 0, 0, 0, 0, 0, 0, 0, 0 },
}

Definition at line 299 of file wstag940.c.

Referenced by setupStage().

◆ stageFuncs

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

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 325 of file wstag940.c.

◆ area0Battle0

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

Definition at line 328 of file wstag940.c.

◆ area0Battle1

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

Definition at line 329 of file wstag940.c.

◆ area0Battle2

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

Definition at line 330 of file wstag940.c.

◆ area0Battle3

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

Definition at line 331 of file wstag940.c.

◆ area0Battle4

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

Definition at line 332 of file wstag940.c.

◆ area0Battle5

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

Definition at line 333 of file wstag940.c.

◆ area0Battle6

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

Definition at line 334 of file wstag940.c.

◆ area0Battle7

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

Definition at line 335 of file wstag940.c.

◆ area0Battles

BattleList area0Battles
Initial value:
= {
3,
}
AreaBattle area0Battle7
Definition wstag940.c:335
AreaBattle area0Battle1
Definition wstag940.c:329
AreaBattle area0Battle6
Definition wstag940.c:334
AreaBattle area0Battle3
Definition wstag940.c:331
AreaBattle area0Battle5
Definition wstag940.c:333
AreaBattle area0Battle0
Definition wstag940.c:328
AreaBattle area0Battle2
Definition wstag940.c:330
AreaBattle area0Battle4
Definition wstag940.c:332

Definition at line 336 of file wstag940.c.

◆ area1Battle0

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

Definition at line 341 of file wstag940.c.

◆ area1Battle1

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

Definition at line 342 of file wstag940.c.

◆ area1Battle2

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

Definition at line 343 of file wstag940.c.

◆ area1Battle3

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

Definition at line 344 of file wstag940.c.

◆ area1Battle4

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

Definition at line 345 of file wstag940.c.

◆ area1Battle5

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

Definition at line 346 of file wstag940.c.

◆ area1Battle6

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

Definition at line 347 of file wstag940.c.

◆ area1Battle7

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

Definition at line 348 of file wstag940.c.

◆ area1Battles

BattleList area1Battles
Initial value:
= {
1,
}
AreaBattle area1Battle6
Definition wstag940.c:347
AreaBattle area1Battle2
Definition wstag940.c:343
AreaBattle area1Battle4
Definition wstag940.c:345
AreaBattle area1Battle5
Definition wstag940.c:346
AreaBattle area1Battle3
Definition wstag940.c:344
AreaBattle area1Battle0
Definition wstag940.c:341
AreaBattle area1Battle1
Definition wstag940.c:342
AreaBattle area1Battle7
Definition wstag940.c:348

Definition at line 349 of file wstag940.c.

◆ area2Battle0

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

Definition at line 354 of file wstag940.c.

◆ area2Battle1

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

Definition at line 355 of file wstag940.c.

◆ area2Battle2

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

Definition at line 356 of file wstag940.c.

◆ area2Battle3

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

Definition at line 357 of file wstag940.c.

◆ area2Battle4

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

Definition at line 358 of file wstag940.c.

◆ area2Battle5

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

Definition at line 359 of file wstag940.c.

◆ area2Battle6

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

Definition at line 360 of file wstag940.c.

◆ area2Battle7

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

Definition at line 361 of file wstag940.c.

◆ area2Battles

BattleList area2Battles
Initial value:
= {
0,
}
AreaBattle area2Battle7
Definition wstag940.c:361
AreaBattle area2Battle6
Definition wstag940.c:360
AreaBattle area2Battle0
Definition wstag940.c:354
AreaBattle area2Battle4
Definition wstag940.c:358
AreaBattle area2Battle2
Definition wstag940.c:356
AreaBattle area2Battle1
Definition wstag940.c:355
AreaBattle area2Battle5
Definition wstag940.c:359
AreaBattle area2Battle3
Definition wstag940.c:357

Definition at line 362 of file wstag940.c.

◆ area3Battle0

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

Definition at line 367 of file wstag940.c.

◆ area3Battle1

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

Definition at line 368 of file wstag940.c.

◆ area3Battle2

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

Definition at line 369 of file wstag940.c.

◆ area3Battle3

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

Definition at line 370 of file wstag940.c.

◆ area3Battle4

AreaBattle area3Battle4 = { 330, 8, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 371 of file wstag940.c.

◆ area3Battle5

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

Definition at line 372 of file wstag940.c.

◆ area3Battle6

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

Definition at line 373 of file wstag940.c.

◆ area3Battle7

AreaBattle area3Battle7 = { 66, 8, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 374 of file wstag940.c.

◆ area3Battles

BattleList area3Battles
Initial value:
= {
0,
}
AreaBattle area3Battle4
Definition wstag940.c:371
AreaBattle area3Battle3
Definition wstag940.c:370
AreaBattle area3Battle0
Definition wstag940.c:367
AreaBattle area3Battle2
Definition wstag940.c:369
AreaBattle area3Battle1
Definition wstag940.c:368
AreaBattle area3Battle6
Definition wstag940.c:373
AreaBattle area3Battle5
Definition wstag940.c:372
AreaBattle area3Battle7
Definition wstag940.c:374

Definition at line 375 of file wstag940.c.

◆ stageBattles

FieldBattles stageBattles[]
Initial value:
= {
}
BattleList area3Battles
Definition wstag940.c:375
BattleList area1Battles
Definition wstag940.c:349
BattleList area2Battles
Definition wstag940.c:362
BattleList area0Battles
Definition wstag940.c:336

Definition at line 380 of file wstag940.c.

Referenced by setupStage().