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

WSTAG430: Seiryu Tower, Seiryu City. More...

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

Go to the source code of this file.

Macros

#define STAGE_TEXT   TEXT_FILE(TEXT_TALKS_01)
 
#define EVENT_TEXT_FILE   (TEXT_EVENTS_400 - 1)
 
#define STAGE_FILE   0x222
 
#define STAGE_ARCHIVE   0x325
 

Functions

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

Variables

s16 script1210 []
 
ActorImage stageImages []
 
u16 actor0Talk0Conditions [] = { (( 0x1A ) << 8 | ( 9 )) , 0, 0xFFFF }
 
u16 actor0Talk0Actions [] = { (( 0x1A ) << 8 | ( 9 )) , 1, 0xFFFF }
 
u16 actor0Talk1Conditions [] = { (( 0x1A ) << 8 | ( 9 )) , 1, 0xFFFF }
 
u16 actor0Talk1Actions [] = { (0x9000 | ( 0xC )) , 1, 0xFFFF }
 
u16 actor1Talk0Conditions [] = { (( 0x1A ) << 8 | ( 0x33 )) , 0, 0xFFFF }
 
u16 actor1Talk0Actions [] = { (( 0x1A ) << 8 | ( 0x33 )) , 1, 0xFFFF }
 
u16 actor1Talk1Conditions [] = { (( 0x1A ) << 8 | ( 0x33 )) , 1, 0xFFFF }
 
u16 actor1Talk1Actions [] = { 0x7C00, 1, 0xFFFF }
 
u16 actor2Talk0Conditions [] = { (( 0x1C ) << 8 | ( 0x11 )) , 0, 0xFFFF }
 
u16 actor2Talk0Actions [] = { (( 0x1C ) << 8 | ( 0xF )) , 1, 0xFFFF }
 
u16 actor2Talk1Conditions [] = { (( 0x1C ) << 8 | ( 0x11 )) , 1, 0xFFFF }
 
u16 actor24Talk0Conditions [] = { (( 0x40 ) << 8 | ( 0x11 )) , 0, 0xFFFF }
 
u16 actor24Talk1Conditions [] = { (( 0x40 ) << 8 | ( 0x11 )) , 1, 0xFFFF }
 
FieldTalk actor0Talks []
 
FieldTalk actor1Talks []
 
FieldTalk actor2Talks []
 
FieldTalk actor3Talks []
 
FieldTalk actor4Talks []
 
FieldTalk actor5Talks []
 
FieldTalk actor6Talks []
 
FieldTalk actor7Talks []
 
FieldTalk actor8Talks []
 
FieldTalk actor9Talks []
 
FieldTalk actor10Talks []
 
FieldTalk actor11Talks []
 
FieldTalk actor12Talks []
 
FieldTalk actor13Talks []
 
FieldTalk actor14Talks []
 
FieldTalk actor15Talks []
 
FieldTalk actor16Talks []
 
FieldTalk actor17Talks []
 
FieldTalk actor18Talks []
 
FieldTalk actor19Talks []
 
FieldTalk actor20Talks []
 
FieldTalk actor21Talks []
 
FieldTalk actor22Talks []
 
FieldTalk actor23Talks []
 
FieldTalk actor24Talks []
 
FieldTalk actor25Talks []
 
FieldTalk actor26Talks []
 
FieldTalk actor27Talks []
 
FieldTalk actor28Talks []
 
FieldTalk actor29Talks []
 
FieldTalk actor30Talks []
 
FieldTalk actor31Talks []
 
FieldTalk actor32Talks []
 
FieldTalk actor33Talks []
 
FieldTalk actor34Talks []
 
u16 actor2Conditions [] = { (0x6000 | ( STORY_GENJI_BEATEN )) , 1, 0xFFFF }
 
u16 actor3Conditions [] = { (0x6000 | ( STORY_CONTROL_ROOM )) , 1, 0xFFFF }
 
u16 actor4Conditions [] = { (0x7000 | ( 0x15 )) , 1, 0xFFFF }
 
u16 actor5Conditions [] = { (0x7000 | ( 0x18 )) , 1, 0xFFFF }
 
u16 actor6Conditions [] = { (0x7000 | ( 0x19 )) , 1, 0xFFFF }
 
u16 actor7Conditions [] = { (0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 1, 0xFFFF }
 
u16 actor8Conditions [] = { (0x6000 | ( STORY_MOVIE_BATTLES )) , 1, 0xFFFF }
 
u16 actor9Conditions [] = { (0x6000 | ( STORY_LOOKING_FOR_TEDDY )) , 1, 0xFFFF }
 
u16 actor10Conditions [] = { (0x6000 | ( STORY_TEDDY_FOUND )) , 1, 0xFFFF }
 
u16 actor11Conditions [] = { (0x7000 | ( 0x16 )) , 1, 0xFFFF }
 
u16 actor12Conditions [] = { (0x6000 | ( STORY_GENJI_BEATEN )) , 1, 0xFFFF }
 
u16 actor13Conditions [] = { (0x7000 | ( 0x17 )) , 1, 0xFFFF }
 
u16 actor14Conditions [] = { (0x7000 | ( 0x15 )) , 1, 0xFFFF }
 
u16 actor15Conditions [] = { (0x6000 | ( STORY_MOVIE_BATTLES )) , 1, 0xFFFF }
 
u16 actor16Conditions [] = { (0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 1, 0xFFFF }
 
u16 actor17Conditions [] = { (0x7000 | ( 0x19 )) , 1, 0xFFFF }
 
u16 actor18Conditions [] = { (0x7000 | ( 0x18 )) , 1, 0xFFFF }
 
u16 actor19Conditions [] = { (0x6000 | ( STORY_LOOKING_FOR_TEDDY )) , 1, 0xFFFF }
 
u16 actor20Conditions [] = { (0x6000 | ( STORY_TEDDY_FOUND )) , 1, 0xFFFF }
 
u16 actor21Conditions [] = { (0x7000 | ( 0x16 )) , 1, 0xFFFF }
 
u16 actor22Conditions [] = { (0x6000 | ( STORY_GENJI_BEATEN )) , 1, 0xFFFF }
 
u16 actor23Conditions [] = { (0x7000 | ( 0x18 )) , 1, 0xFFFF }
 
u16 actor24Conditions [] = { (0x7000 | ( 0x15 )) , 1, 0xFFFF }
 
u16 actor25Conditions [] = { (0x6000 | ( STORY_MOVIE_BATTLES )) , 1, 0xFFFF }
 
u16 actor26Conditions [] = { (0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 1, 0xFFFF }
 
u16 actor27Conditions [] = { (0x7000 | ( 0x19 )) , 1, 0xFFFF }
 
u16 actor28Conditions [] = { (0x6000 | ( STORY_LOOKING_FOR_TEDDY )) , 1, 0xFFFF }
 
u16 actor29Conditions [] = { (0x6000 | ( STORY_TEDDY_FOUND )) , 1, 0xFFFF }
 
u16 actor30Conditions [] = { (0x7000 | ( 0x16 )) , 1, 0xFFFF }
 
u16 actor31Conditions [] = { (0x7000 | ( 0x17 )) , 1, 0xFFFF }
 
u16 actor32Conditions [] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF }
 
u16 actor33Conditions [] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF }
 
u16 actor34Conditions [] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF }
 
FieldActorEntry actor0 = { ((void *)0) , actor0Talks, 0x15, 4, 408, 414, 1 }
 
FieldActorEntry actor1 = { ((void *)0) , actor1Talks, 0x18, 5, 320, 515, 7 }
 
FieldActorEntry actor2 = { actor2Conditions, actor2Talks, 0x2D, 6, 171, 403, 5 }
 
FieldActorEntry actor3 = { actor3Conditions, actor3Talks, 0x2D, 6, 171, 403, 5 }
 
FieldActorEntry actor4 = { actor4Conditions, actor4Talks, 0x2D, 6, 171, 403, 5 }
 
FieldActorEntry actor5 = { actor5Conditions, actor5Talks, 0x2D, 6, 171, 403, 5 }
 
FieldActorEntry actor6 = { actor6Conditions, actor6Talks, 0x2D, 6, 171, 403, 5 }
 
FieldActorEntry actor7 = { actor7Conditions, actor7Talks, 0x2D, 6, 171, 403, 5 }
 
FieldActorEntry actor8 = { actor8Conditions, actor8Talks, 0x2D, 6, 513, 241, 3 }
 
FieldActorEntry actor9 = { actor9Conditions, actor9Talks, 0x2D, 6, 171, 403, 5 }
 
FieldActorEntry actor10 = { actor10Conditions, actor10Talks, 0x2D, 6, 171, 403, 5 }
 
FieldActorEntry actor11 = { actor11Conditions, actor11Talks, 0x2D, 6, 171, 403, 5 }
 
FieldActorEntry actor12 = { actor12Conditions, actor12Talks, 0x35, 7, 513, 241, 3 }
 
FieldActorEntry actor13 = { actor13Conditions, actor13Talks, 0x35, 7, 513, 241, 3 }
 
FieldActorEntry actor14 = { actor14Conditions, actor14Talks, 0x35, 7, 513, 241, 3 }
 
FieldActorEntry actor15 = { actor15Conditions, actor15Talks, 0x35, 7, 256, 511, 3 }
 
FieldActorEntry actor16 = { actor16Conditions, actor16Talks, 0x35, 7, 513, 241, 3 }
 
FieldActorEntry actor17 = { actor17Conditions, actor17Talks, 0x35, 7, 513, 241, 3 }
 
FieldActorEntry actor18 = { actor18Conditions, actor18Talks, 0x35, 7, 513, 241, 3 }
 
FieldActorEntry actor19 = { actor19Conditions, actor19Talks, 0x35, 7, 513, 241, 3 }
 
FieldActorEntry actor20 = { actor20Conditions, actor20Talks, 0x35, 7, 513, 241, 3 }
 
FieldActorEntry actor21 = { actor21Conditions, actor21Talks, 0x35, 7, 513, 241, 3 }
 
FieldActorEntry actor22 = { actor22Conditions, actor22Talks, 0x36, 8, 481, 225, 7 }
 
FieldActorEntry actor23 = { actor23Conditions, actor23Talks, 0x36, 8, 481, 225, 5 }
 
FieldActorEntry actor24 = { actor24Conditions, actor24Talks, 0x36, 8, 481, 225, 5 }
 
FieldActorEntry actor25 = { actor25Conditions, actor25Talks, 0x36, 8, 481, 225, 7 }
 
FieldActorEntry actor26 = { actor26Conditions, actor26Talks, 0x36, 8, 481, 225, 5 }
 
FieldActorEntry actor27 = { actor27Conditions, actor27Talks, 0x36, 8, 481, 225, 5 }
 
FieldActorEntry actor28 = { actor28Conditions, actor28Talks, 0x36, 8, 481, 225, 5 }
 
FieldActorEntry actor29 = { actor29Conditions, actor29Talks, 0x36, 8, 481, 225, 5 }
 
FieldActorEntry actor30 = { actor30Conditions, actor30Talks, 0x36, 8, 481, 225, 5 }
 
FieldActorEntry actor31 = { actor31Conditions, actor31Talks, 0x36, 8, 481, 225, 5 }
 
FieldActorEntry actor32 = { actor32Conditions, actor32Talks, 0x9D, 9, 481, 225, 5 }
 
FieldActorEntry actor33 = { actor33Conditions, actor33Talks, 0x9E, 0xA, 513, 241, 3 }
 
FieldActorEntry actor34 = { actor34Conditions, actor34Talks, 0x9F, 0xB, 171, 403, 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.
 
FieldEvent stageEvents []
 

Detailed Description

WSTAG430: Seiryu Tower, Seiryu City.

Definition in file wstag430.c.

Macro Definition Documentation

◆ STAGE_TEXT

#define STAGE_TEXT   TEXT_FILE(TEXT_TALKS_01)

Definition at line 17 of file wstag430.c.

◆ EVENT_TEXT_FILE

#define EVENT_TEXT_FILE   (TEXT_EVENTS_400 - 1)

Definition at line 18 of file wstag430.c.

◆ STAGE_FILE

#define STAGE_FILE   0x222

Definition at line 19 of file wstag430.c.

◆ STAGE_ARCHIVE

#define STAGE_ARCHIVE   0x325

Definition at line 20 of file wstag430.c.

Function Documentation

◆ setupStage()

void setupStage ( void  )

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

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.

< SHOP1BGM: the inns, shops and towers

< SHOP1BGM: the inns, shops and towers

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

Definition at line 23 of file wstag430.c.

Variable Documentation

◆ script1210

s16 script1210[]
Initial value:
= {
0x102, 2 , 0x178 , 0x1AC , 5 ,
0x100, 0x15 , 0x198 , 0x19E ,
0x101, 0x15 , 1 , 1 ,
0x101, 0x32D , 0x337 , 2 ,
0x302, 2 ,
0x101, 2 , 1 , 5 ,
0x300, 6 ,
0x300, 0x1E ,
0x200, 0 , 1 , 0x15 , 0 ,
0x301 ,
0x300, 0x1E ,
0x101, 0x15 , 0x36 , 1 ,
0x101, 0x32D , 0x375 , 2 ,
0x303, 0x15 ,
0x101, 0x15 , 0x37 , 1 ,
0x300, 0x5A ,
0x304, 0xC02 , 0 , 0 , 0 ,
0 ,
}

Definition at line 42 of file wstag430.c.

◆ 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, 0x166, 0x16E, 0x98, 0x6E, 0x160, 0x1FD },
{ 0x140, 0x100, 0x172, 0x16E, 0xC8, 0x6E, 0x170, 0x1FD },
{ 0x180, 0x100, 0x1AA, 0x175, 0x1A8, 0x75, 0x150, 0x1FC },
{ 0x180, 0x100, 0x1A6, 0x100, 0x198, 0, 0x160, 0x1FC },
{ 0x180, 0x100, 0x1AE, 0x100, 0x1B8, 0, 0x170, 0x1FC },
{ 0x140, 0x100, 0x176, 0x148, 0xD8, 0x48, 0x140, 0x1FB },
{ 0x180, 0x100, 0x1B6, 0x100, 0x1D8, 0, 0x150, 0x1FB },
{ 0x180, 0x100, 0x1B6, 0x120, 0x1D8, 0x20, 0x160, 0x1FB },
}

Definition at line 62 of file wstag430.c.

Referenced by setupStage().

◆ actor0Talk0Conditions

u16 actor0Talk0Conditions[] = { (( 0x1A ) << 8 | ( 9 )) , 0, 0xFFFF }

Definition at line 78 of file wstag430.c.

◆ actor0Talk0Actions

u16 actor0Talk0Actions[] = { (( 0x1A ) << 8 | ( 9 )) , 1, 0xFFFF }

Definition at line 79 of file wstag430.c.

◆ actor0Talk1Conditions

u16 actor0Talk1Conditions[] = { (( 0x1A ) << 8 | ( 9 )) , 1, 0xFFFF }

Definition at line 80 of file wstag430.c.

◆ actor0Talk1Actions

u16 actor0Talk1Actions[] = { (0x9000 | ( 0xC )) , 1, 0xFFFF }

Definition at line 81 of file wstag430.c.

◆ actor1Talk0Conditions

u16 actor1Talk0Conditions[] = { (( 0x1A ) << 8 | ( 0x33 )) , 0, 0xFFFF }

Definition at line 82 of file wstag430.c.

◆ actor1Talk0Actions

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

Definition at line 83 of file wstag430.c.

◆ actor1Talk1Conditions

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

Definition at line 84 of file wstag430.c.

◆ actor1Talk1Actions

u16 actor1Talk1Actions[] = { 0x7C00, 1, 0xFFFF }

Definition at line 85 of file wstag430.c.

◆ actor2Talk0Conditions

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

Definition at line 86 of file wstag430.c.

◆ actor2Talk0Actions

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

Definition at line 87 of file wstag430.c.

◆ actor2Talk1Conditions

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

Definition at line 88 of file wstag430.c.

◆ actor24Talk0Conditions

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

Definition at line 89 of file wstag430.c.

◆ actor24Talk1Conditions

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

Definition at line 90 of file wstag430.c.

◆ actor0Talks

FieldTalk actor0Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor0Talk0Actions[]
Definition wstag430.c:79
u16 actor0Talk0Conditions[]
Definition wstag430.c:78
u16 actor0Talk1Conditions[]
Definition wstag430.c:80
u16 actor0Talk1Actions[]
Definition wstag430.c:81

Definition at line 91 of file wstag430.c.

◆ actor1Talks

FieldTalk actor1Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor1Talk1Conditions[]
Definition wstag430.c:84
u16 actor1Talk0Conditions[]
Definition wstag430.c:82
u16 actor1Talk1Actions[]
Definition wstag430.c:85
u16 actor1Talk0Actions[]
Definition wstag430.c:83

Definition at line 96 of file wstag430.c.

◆ actor2Talks

FieldTalk actor2Talks[]
Initial value:
= {
{ actor2Talk1Conditions, ((void *)0) , 0x126 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor2Talk1Conditions[]
Definition wstag430.c:88
u16 actor2Talk0Actions[]
Definition wstag430.c:87
u16 actor2Talk0Conditions[]
Definition wstag430.c:86

Definition at line 101 of file wstag430.c.

◆ actor3Talks

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

Definition at line 106 of file wstag430.c.

◆ actor4Talks

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

Definition at line 110 of file wstag430.c.

◆ actor5Talks

FieldTalk actor5Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x5F },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 114 of file wstag430.c.

◆ actor6Talks

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

Definition at line 118 of file wstag430.c.

◆ actor7Talks

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

Definition at line 122 of file wstag430.c.

◆ actor8Talks

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

Definition at line 126 of file wstag430.c.

◆ actor9Talks

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

Definition at line 130 of file wstag430.c.

◆ actor10Talks

FieldTalk actor10Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x50 },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 134 of file wstag430.c.

◆ actor11Talks

FieldTalk actor11Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x59 },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 138 of file wstag430.c.

◆ actor12Talks

FieldTalk actor12Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x4D },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 142 of file wstag430.c.

◆ actor13Talks

FieldTalk actor13Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x5D },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 146 of file wstag430.c.

◆ actor14Talks

FieldTalk actor14Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x51 },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 150 of file wstag430.c.

◆ actor15Talks

FieldTalk actor15Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x6C },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 154 of file wstag430.c.

◆ actor16Talks

FieldTalk actor16Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x66 },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 158 of file wstag430.c.

◆ actor17Talks

FieldTalk actor17Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x63 },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 162 of file wstag430.c.

◆ actor18Talks

FieldTalk actor18Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x60 },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 166 of file wstag430.c.

◆ actor19Talks

FieldTalk actor19Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x54 },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 170 of file wstag430.c.

◆ actor20Talks

FieldTalk actor20Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x57 },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 174 of file wstag430.c.

◆ actor21Talks

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

Definition at line 178 of file wstag430.c.

◆ actor22Talks

FieldTalk actor22Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x4E },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 182 of file wstag430.c.

◆ actor23Talks

FieldTalk actor23Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x61 },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 186 of file wstag430.c.

◆ actor24Talks

FieldTalk actor24Talks[]
Initial value:
= {
{ actor24Talk0Conditions, ((void *)0) , 0x15D },
{ actor24Talk1Conditions, ((void *)0) , 0x52 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor24Talk1Conditions[]
Definition wstag430.c:90
u16 actor24Talk0Conditions[]
Definition wstag430.c:89

Definition at line 190 of file wstag430.c.

◆ actor25Talks

FieldTalk actor25Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x6D },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 195 of file wstag430.c.

◆ actor26Talks

FieldTalk actor26Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x67 },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 199 of file wstag430.c.

◆ actor27Talks

FieldTalk actor27Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x64 },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 203 of file wstag430.c.

◆ actor28Talks

FieldTalk actor28Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x55 },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 207 of file wstag430.c.

◆ actor29Talks

FieldTalk actor29Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x58 },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 211 of file wstag430.c.

◆ actor30Talks

FieldTalk actor30Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x5B },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 215 of file wstag430.c.

◆ actor31Talks

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

Definition at line 219 of file wstag430.c.

◆ actor32Talks

FieldTalk actor32Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x6A },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 223 of file wstag430.c.

◆ actor33Talks

FieldTalk actor33Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x69 },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 227 of file wstag430.c.

◆ actor34Talks

FieldTalk actor34Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x68 },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 231 of file wstag430.c.

◆ actor2Conditions

u16 actor2Conditions[] = { (0x6000 | ( STORY_GENJI_BEATEN )) , 1, 0xFFFF }

Definition at line 235 of file wstag430.c.

◆ actor3Conditions

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

Definition at line 236 of file wstag430.c.

◆ actor4Conditions

u16 actor4Conditions[] = { (0x7000 | ( 0x15 )) , 1, 0xFFFF }

Definition at line 237 of file wstag430.c.

◆ actor5Conditions

u16 actor5Conditions[] = { (0x7000 | ( 0x18 )) , 1, 0xFFFF }

Definition at line 238 of file wstag430.c.

◆ actor6Conditions

u16 actor6Conditions[] = { (0x7000 | ( 0x19 )) , 1, 0xFFFF }

Definition at line 239 of file wstag430.c.

◆ actor7Conditions

u16 actor7Conditions[] = { (0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 1, 0xFFFF }

Definition at line 240 of file wstag430.c.

◆ actor8Conditions

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

Definition at line 241 of file wstag430.c.

◆ actor9Conditions

u16 actor9Conditions[] = { (0x6000 | ( STORY_LOOKING_FOR_TEDDY )) , 1, 0xFFFF }

Definition at line 242 of file wstag430.c.

◆ actor10Conditions

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

Definition at line 243 of file wstag430.c.

◆ actor11Conditions

u16 actor11Conditions[] = { (0x7000 | ( 0x16 )) , 1, 0xFFFF }

Definition at line 244 of file wstag430.c.

◆ actor12Conditions

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

Definition at line 245 of file wstag430.c.

◆ actor13Conditions

u16 actor13Conditions[] = { (0x7000 | ( 0x17 )) , 1, 0xFFFF }

Definition at line 246 of file wstag430.c.

◆ actor14Conditions

u16 actor14Conditions[] = { (0x7000 | ( 0x15 )) , 1, 0xFFFF }

Definition at line 247 of file wstag430.c.

◆ actor15Conditions

u16 actor15Conditions[] = { (0x6000 | ( STORY_MOVIE_BATTLES )) , 1, 0xFFFF }

Definition at line 248 of file wstag430.c.

◆ actor16Conditions

u16 actor16Conditions[] = { (0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 1, 0xFFFF }

Definition at line 249 of file wstag430.c.

◆ actor17Conditions

u16 actor17Conditions[] = { (0x7000 | ( 0x19 )) , 1, 0xFFFF }

Definition at line 250 of file wstag430.c.

◆ actor18Conditions

u16 actor18Conditions[] = { (0x7000 | ( 0x18 )) , 1, 0xFFFF }

Definition at line 251 of file wstag430.c.

◆ actor19Conditions

u16 actor19Conditions[] = { (0x6000 | ( STORY_LOOKING_FOR_TEDDY )) , 1, 0xFFFF }

Definition at line 252 of file wstag430.c.

◆ actor20Conditions

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

Definition at line 253 of file wstag430.c.

◆ actor21Conditions

u16 actor21Conditions[] = { (0x7000 | ( 0x16 )) , 1, 0xFFFF }

Definition at line 254 of file wstag430.c.

◆ actor22Conditions

u16 actor22Conditions[] = { (0x6000 | ( STORY_GENJI_BEATEN )) , 1, 0xFFFF }

Definition at line 255 of file wstag430.c.

◆ actor23Conditions

u16 actor23Conditions[] = { (0x7000 | ( 0x18 )) , 1, 0xFFFF }

Definition at line 256 of file wstag430.c.

◆ actor24Conditions

u16 actor24Conditions[] = { (0x7000 | ( 0x15 )) , 1, 0xFFFF }

Definition at line 257 of file wstag430.c.

◆ actor25Conditions

u16 actor25Conditions[] = { (0x6000 | ( STORY_MOVIE_BATTLES )) , 1, 0xFFFF }

Definition at line 258 of file wstag430.c.

◆ actor26Conditions

u16 actor26Conditions[] = { (0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 1, 0xFFFF }

Definition at line 259 of file wstag430.c.

◆ actor27Conditions

u16 actor27Conditions[] = { (0x7000 | ( 0x19 )) , 1, 0xFFFF }

Definition at line 260 of file wstag430.c.

◆ actor28Conditions

u16 actor28Conditions[] = { (0x6000 | ( STORY_LOOKING_FOR_TEDDY )) , 1, 0xFFFF }

Definition at line 261 of file wstag430.c.

◆ actor29Conditions

u16 actor29Conditions[] = { (0x6000 | ( STORY_TEDDY_FOUND )) , 1, 0xFFFF }

Definition at line 262 of file wstag430.c.

◆ actor30Conditions

u16 actor30Conditions[] = { (0x7000 | ( 0x16 )) , 1, 0xFFFF }

Definition at line 263 of file wstag430.c.

◆ actor31Conditions

u16 actor31Conditions[] = { (0x7000 | ( 0x17 )) , 1, 0xFFFF }

Definition at line 264 of file wstag430.c.

◆ actor32Conditions

u16 actor32Conditions[] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF }

Definition at line 265 of file wstag430.c.

◆ actor33Conditions

u16 actor33Conditions[] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF }

Definition at line 266 of file wstag430.c.

◆ actor34Conditions

u16 actor34Conditions[] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF }

Definition at line 267 of file wstag430.c.

◆ actor0

FieldActorEntry actor0 = { ((void *)0) , actor0Talks, 0x15, 4, 408, 414, 1 }

Definition at line 268 of file wstag430.c.

◆ actor1

FieldActorEntry actor1 = { ((void *)0) , actor1Talks, 0x18, 5, 320, 515, 7 }

Definition at line 269 of file wstag430.c.

◆ actor2

FieldActorEntry actor2 = { actor2Conditions, actor2Talks, 0x2D, 6, 171, 403, 5 }

Definition at line 270 of file wstag430.c.

◆ actor3

FieldActorEntry actor3 = { actor3Conditions, actor3Talks, 0x2D, 6, 171, 403, 5 }

Definition at line 271 of file wstag430.c.

◆ actor4

FieldActorEntry actor4 = { actor4Conditions, actor4Talks, 0x2D, 6, 171, 403, 5 }

Definition at line 272 of file wstag430.c.

◆ actor5

FieldActorEntry actor5 = { actor5Conditions, actor5Talks, 0x2D, 6, 171, 403, 5 }

Definition at line 273 of file wstag430.c.

◆ actor6

FieldActorEntry actor6 = { actor6Conditions, actor6Talks, 0x2D, 6, 171, 403, 5 }

Definition at line 274 of file wstag430.c.

◆ actor7

FieldActorEntry actor7 = { actor7Conditions, actor7Talks, 0x2D, 6, 171, 403, 5 }

Definition at line 275 of file wstag430.c.

◆ actor8

FieldActorEntry actor8 = { actor8Conditions, actor8Talks, 0x2D, 6, 513, 241, 3 }

Definition at line 276 of file wstag430.c.

◆ actor9

FieldActorEntry actor9 = { actor9Conditions, actor9Talks, 0x2D, 6, 171, 403, 5 }

Definition at line 277 of file wstag430.c.

◆ actor10

FieldActorEntry actor10 = { actor10Conditions, actor10Talks, 0x2D, 6, 171, 403, 5 }

Definition at line 278 of file wstag430.c.

◆ actor11

FieldActorEntry actor11 = { actor11Conditions, actor11Talks, 0x2D, 6, 171, 403, 5 }

Definition at line 279 of file wstag430.c.

◆ actor12

FieldActorEntry actor12 = { actor12Conditions, actor12Talks, 0x35, 7, 513, 241, 3 }

Definition at line 280 of file wstag430.c.

◆ actor13

FieldActorEntry actor13 = { actor13Conditions, actor13Talks, 0x35, 7, 513, 241, 3 }

Definition at line 281 of file wstag430.c.

◆ actor14

FieldActorEntry actor14 = { actor14Conditions, actor14Talks, 0x35, 7, 513, 241, 3 }

Definition at line 282 of file wstag430.c.

◆ actor15

FieldActorEntry actor15 = { actor15Conditions, actor15Talks, 0x35, 7, 256, 511, 3 }

Definition at line 283 of file wstag430.c.

◆ actor16

FieldActorEntry actor16 = { actor16Conditions, actor16Talks, 0x35, 7, 513, 241, 3 }

Definition at line 284 of file wstag430.c.

◆ actor17

FieldActorEntry actor17 = { actor17Conditions, actor17Talks, 0x35, 7, 513, 241, 3 }

Definition at line 285 of file wstag430.c.

◆ actor18

FieldActorEntry actor18 = { actor18Conditions, actor18Talks, 0x35, 7, 513, 241, 3 }

Definition at line 286 of file wstag430.c.

◆ actor19

FieldActorEntry actor19 = { actor19Conditions, actor19Talks, 0x35, 7, 513, 241, 3 }

Definition at line 287 of file wstag430.c.

◆ actor20

FieldActorEntry actor20 = { actor20Conditions, actor20Talks, 0x35, 7, 513, 241, 3 }

Definition at line 288 of file wstag430.c.

◆ actor21

FieldActorEntry actor21 = { actor21Conditions, actor21Talks, 0x35, 7, 513, 241, 3 }

Definition at line 289 of file wstag430.c.

◆ actor22

FieldActorEntry actor22 = { actor22Conditions, actor22Talks, 0x36, 8, 481, 225, 7 }

Definition at line 290 of file wstag430.c.

◆ actor23

FieldActorEntry actor23 = { actor23Conditions, actor23Talks, 0x36, 8, 481, 225, 5 }

Definition at line 291 of file wstag430.c.

◆ actor24

FieldActorEntry actor24 = { actor24Conditions, actor24Talks, 0x36, 8, 481, 225, 5 }

Definition at line 292 of file wstag430.c.

◆ actor25

FieldActorEntry actor25 = { actor25Conditions, actor25Talks, 0x36, 8, 481, 225, 7 }

Definition at line 293 of file wstag430.c.

◆ actor26

FieldActorEntry actor26 = { actor26Conditions, actor26Talks, 0x36, 8, 481, 225, 5 }

Definition at line 294 of file wstag430.c.

◆ actor27

FieldActorEntry actor27 = { actor27Conditions, actor27Talks, 0x36, 8, 481, 225, 5 }

Definition at line 295 of file wstag430.c.

◆ actor28

FieldActorEntry actor28 = { actor28Conditions, actor28Talks, 0x36, 8, 481, 225, 5 }

Definition at line 296 of file wstag430.c.

◆ actor29

FieldActorEntry actor29 = { actor29Conditions, actor29Talks, 0x36, 8, 481, 225, 5 }

Definition at line 297 of file wstag430.c.

◆ actor30

FieldActorEntry actor30 = { actor30Conditions, actor30Talks, 0x36, 8, 481, 225, 5 }

Definition at line 298 of file wstag430.c.

◆ actor31

FieldActorEntry actor31 = { actor31Conditions, actor31Talks, 0x36, 8, 481, 225, 5 }

Definition at line 299 of file wstag430.c.

◆ actor32

FieldActorEntry actor32 = { actor32Conditions, actor32Talks, 0x9D, 9, 481, 225, 5 }

Definition at line 300 of file wstag430.c.

◆ actor33

FieldActorEntry actor33 = { actor33Conditions, actor33Talks, 0x9E, 0xA, 513, 241, 3 }

Definition at line 301 of file wstag430.c.

◆ actor34

FieldActorEntry actor34 = { actor34Conditions, actor34Talks, 0x9F, 0xB, 171, 403, 5 }

Definition at line 302 of file wstag430.c.

◆ stageActors

FieldActorEntry* stageActors[]

Definition at line 303 of file wstag430.c.

Referenced by setupStage().

◆ stageObjects

StageTile stageObjects[]
Initial value:
= {
{ 1, 0, 0x40, 6, 0x32, 2, 0, 1, 0xA, 0, 283, 466, 0, 0 },
{ 1, 0, 0x40, 6, 0x33, 2, 0, 1, 0xA, 0, 428, 134, 0, 0 },
{ 1, 0, 0x40, 6, 0x34, 2, 0, 1, 0xA, 0, 307, 484, 0, 0 },
{ 1, 0, 0x40, 6, 0x36, 2, 0, 1, 0xA, 0, 287, 459, 0, 0 },
{ 1, 0, 0x40, 6, 0x36, 2, 0, 1, 0xA, 0, 297, 464, 0, 0 },
{ 1, 0, 0x40, 6, 4, 1, 4, 9, 4, 0, 350, 338, 0, 0 },
{ 1, 0, 0x40, 6, 0xA, 1, 0xA, 0xD, 4, 0, 293, 279, 0, 0 },
{ 1, 0, 0x40, 6, 0xE, 1, 0xE, 0x11, 4, 0, 298, 381, 0, 0 },
{ 1, 0, 0x40, 6, 0x12, 1, 0x12, 0x15, 4, 0, 293, 427, 0, 0 },
{ 1, 0, 0x40, 4, 0x35, 2, 0, 1, 0xA, 0, 333, 483, 503, 0 },
{ 1, 0, 0x40, 4, 0, 0, 0, 0, 0, 0, 501, 393, 406, 0 },
{ 1, 0, 0x40, 4, 1, 0, 0, 0, 0, 0, 451, 436, 456, 0 },
{ 1, 0, 0x40, 4, 2, 0, 0, 0, 0, 0, 436, 464, 482, 0 },
{ 1, 0, 0x40, 4, 3, 0, 0, 0, 0, 0, 320, 474, 503, 0 },
{ 1, 0, 0x40, 4, 0x16, 0, 0, 0, 0, 0, 438, 274, 292, 0 },
{ 1, 0, 0x40, 4, 0x17, 0, 0, 0, 0, 0, 464, 277, 302, 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 341 of file wstag430.c.

Referenced by setupStage().

◆ stageSlots

StageSlot stageSlots[]
Initial value:
= {
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 1 , 0x22E, 0x2F8, 0x104, 7, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 1 , 0x22E, 0x1E8, 0xA4, 1, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 0, 0, 0, 0, 0, 0, 0, 0 },
}

Definition at line 360 of file wstag430.c.

Referenced by setupStage().

◆ stageFuncs

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

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 365 of file wstag430.c.

◆ stageEvents

FieldEvent stageEvents[]
Initial value:
= {
{ 1210, script1210, ( ( 0x136 - 1) << 16 | ( 0x10 )), ((void *)0) , ((void *)0) },
{ -1, ((void *)0) , 0, ((void *)0) , ((void *)0) },
}
s16 script1210[]
Definition wstag430.c:42

Definition at line 368 of file wstag430.c.

Referenced by setupStage().