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

WSTAG235: Asuka Inn 1F, Asuka 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 wstag235.c:

Go to the source code of this file.

Macros

#define STAGE_TEXT   TEXT_FILE(TEXT_TALKS_05)
 
#define EVENT_TEXT_FILE   (TEXT_EVENTS_200 - 1)
 
#define STAGE_FILE   0x1A3
 
#define STAGE_ARCHIVE   0x3CE
 

Functions

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

Variables

s16 script1200 []
 
ActorImage stageImages []
 
u16 actor0Talk0Conditions [] = { (( 0x1A ) << 8 | ( 8 )) , 0, 0xFFFF }
 
u16 actor0Talk0Actions [] = { (( 0x1A ) << 8 | ( 8 )) , 1, 0xFFFF }
 
u16 actor0Talk1Conditions [] = { (( 0x1A ) << 8 | ( 8 )) , 1, 0xFFFF }
 
u16 actor0Talk1Actions [] = { 0x7A1E, 1, 0xFFFF }
 
u16 actor1Talk0Conditions [] = { (( 0x1A ) << 8 | ( 9 )) , 0, 0xFFFF }
 
u16 actor1Talk0Actions [] = { (( 0x1A ) << 8 | ( 9 )) , 1, 0xFFFF }
 
u16 actor1Talk1Conditions [] = { (( 0x1A ) << 8 | ( 9 )) , 1, 0xFFFF }
 
u16 actor1Talk1Actions [] = { (0x9000 | ( 1 )) , 0, 0xFFFF }
 
u16 actor12Talk0Conditions [] = { (( 0x1A ) << 8 | ( 0x23 )) , 0, 0xFFFF }
 
u16 actor12Talk0Actions []
 
u16 actor12Talk1Conditions [] = { (( 0x1A ) << 8 | ( 0x23 )) , 1, 0xFFFF }
 
u16 actor13Talk0Conditions [] = { (( 0x1C ) << 8 | ( 0x34 )) , 1, 0xFFFF }
 
u16 actor13Talk1Conditions [] = { (( 0x1C ) << 8 | ( 0x34 )) , 0, (( 0 ) << 8 | ( 0 )) , 0, 0xFFFF }
 
u16 actor13Talk1Actions [] = { (( 0 ) << 8 | ( 0 )) , 1, 0xFFFF }
 
u16 actor13Talk2Conditions []
 
u16 actor13Talk2Actions [] = { (( 0 ) << 8 | ( 1 )) , 1, 0xFFFF }
 
u16 actor13Talk3Conditions []
 
u16 actor13Talk3Actions [] = { (( 0 ) << 8 | ( 2 )) , 1, 0xFFFF }
 
u16 actor13Talk4Conditions []
 
u16 actor13Talk4Actions [] = { (( 0 ) << 8 | ( 3 )) , 1, 0xFFFF }
 
u16 actor13Talk5Conditions []
 
u16 actor13Talk5Actions [] = { (( 0 ) << 8 | ( 4 )) , 1, 0xFFFF }
 
u16 actor13Talk6Conditions []
 
u16 actor13Talk6Actions []
 
u16 actor14Talk0Conditions [] = { (( 0x1C ) << 8 | ( 0x34 )) , 1, 0xFFFF }
 
u16 actor14Talk1Conditions [] = { (( 0x1C ) << 8 | ( 0x34 )) , 0, (( 0 ) << 8 | ( 0 )) , 0, 0xFFFF }
 
u16 actor14Talk1Actions [] = { (( 0 ) << 8 | ( 0 )) , 1, 0xFFFF }
 
u16 actor14Talk2Conditions []
 
u16 actor14Talk2Actions [] = { (( 0 ) << 8 | ( 1 )) , 1, 0xFFFF }
 
u16 actor14Talk3Conditions []
 
u16 actor14Talk3Actions [] = { (( 0 ) << 8 | ( 2 )) , 1, 0xFFFF }
 
u16 actor14Talk4Conditions []
 
u16 actor14Talk4Actions [] = { (( 0 ) << 8 | ( 3 )) , 1, 0xFFFF }
 
u16 actor14Talk5Conditions []
 
u16 actor14Talk5Actions [] = { (( 0 ) << 8 | ( 4 )) , 1, 0xFFFF }
 
u16 actor14Talk6Conditions []
 
u16 actor14Talk6Actions []
 
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 []
 
u16 actor2Conditions [] = { (0x6000 | ( STORY_GENJI_BEATEN )) , 1, 0xFFFF }
 
u16 actor3Conditions [] = { (0x6000 | ( STORY_MOVIE_BATTLES )) , 1, 0xFFFF }
 
u16 actor4Conditions [] = { (0x6000 | ( STORY_TEDDY_FOUND )) , 1, 0xFFFF }
 
u16 actor5Conditions [] = { (0x7000 | ( 0x16 )) , 1, 0xFFFF }
 
u16 actor6Conditions [] = { (0x6000 | ( STORY_CONTROL_ROOM )) , 1, 0xFFFF }
 
u16 actor7Conditions [] = { (0x7000 | ( 0x18 )) , 1, 0xFFFF }
 
u16 actor8Conditions [] = { (0x7000 | ( 0x19 )) , 1, 0xFFFF }
 
u16 actor9Conditions [] = { (0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 1, 0xFFFF }
 
u16 actor10Conditions [] = { (0x7000 | ( 0x15 )) , 1, 0xFFFF }
 
u16 actor11Conditions [] = { (0x6000 | ( STORY_LOOKING_FOR_TEDDY )) , 1, 0xFFFF }
 
u16 actor12Conditions [] = { (( 0x1A ) << 8 | ( 0x22 )) , 1, (( 0x1A ) << 8 | ( 0x23 )) , 0, 0xFFFF }
 
u16 actor13Conditions [] = { (( 0x1A ) << 8 | ( 0x22 )) , 0, 0xFFFF }
 
u16 actor14Conditions [] = { (( 0x1A ) << 8 | ( 0x22 )) , 1, (( 0x1A ) << 8 | ( 0x23 )) , 1, 0xFFFF }
 
u16 actor15Conditions [] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF }
 
FieldActorEntry actor0 = { ((void *)0) , actor0Talks, 0x14, 4, 188, 154, 7 }
 
FieldActorEntry actor1 = { ((void *)0) , actor1Talks, 0x15, 5, 175, 192, 7 }
 
FieldActorEntry actor2 = { actor2Conditions, actor2Talks, 0x38, 6, 88, 332, 3 }
 
FieldActorEntry actor3 = { actor3Conditions, actor3Talks, 0x38, 6, 88, 332, 7 }
 
FieldActorEntry actor4 = { actor4Conditions, actor4Talks, 0x38, 6, 88, 332, 3 }
 
FieldActorEntry actor5 = { actor5Conditions, actor5Talks, 0x38, 6, 88, 332, 3 }
 
FieldActorEntry actor6 = { actor6Conditions, actor6Talks, 0x38, 6, 88, 332, 3 }
 
FieldActorEntry actor7 = { actor7Conditions, actor7Talks, 0x38, 6, 88, 332, 3 }
 
FieldActorEntry actor8 = { actor8Conditions, actor8Talks, 0x38, 6, 88, 332, 3 }
 
FieldActorEntry actor9 = { actor9Conditions, actor9Talks, 0x38, 6, 88, 332, 3 }
 
FieldActorEntry actor10 = { actor10Conditions, actor10Talks, 0x38, 6, 88, 332, 3 }
 
FieldActorEntry actor11 = { actor11Conditions, actor11Talks, 0x38, 6, 88, 332, 3 }
 
FieldActorEntry actor12 = { actor12Conditions, actor12Talks, 0x3F, 7, 145, 289, 7 }
 
FieldActorEntry actor13 = { actor13Conditions, actor13Talks, 0x3F, 7, 145, 289, 7 }
 
FieldActorEntry actor14 = { actor14Conditions, actor14Talks, 0x3F, 7, 145, 289, 7 }
 
FieldActorEntry actor15 = { actor15Conditions, actor15Talks, 0x9D, 8, 88, 332, 3 }
 
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

WSTAG235: Asuka Inn 1F, Asuka City.

Definition in file wstag235.c.

Macro Definition Documentation

◆ STAGE_TEXT

#define STAGE_TEXT   TEXT_FILE(TEXT_TALKS_05)

Definition at line 17 of file wstag235.c.

◆ EVENT_TEXT_FILE

#define EVENT_TEXT_FILE   (TEXT_EVENTS_200 - 1)

Definition at line 18 of file wstag235.c.

◆ STAGE_FILE

#define STAGE_FILE   0x1A3

Definition at line 19 of file wstag235.c.

◆ STAGE_ARCHIVE

#define STAGE_ARCHIVE   0x3CE

Definition at line 20 of file wstag235.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 wstag235.c.

Variable Documentation

◆ script1200

s16 script1200[]
Initial value:
= {
0x102, 2 , 0xCF , 0xD0 , 3 ,
0x100, 0x15 , 0xAF , 0xC0 ,
0x101, 0x15 , 1 , 7 ,
0x101, 0x32D , 0x337 , 2 ,
0x302, 2 ,
0x101, 2 , 1 , 3 ,
0x300, 6 ,
0x300, 0x1E ,
0x200, 0 , 1 , 0x15 , 0 ,
0x301 ,
0x300, 0x1E ,
0x101, 0x15 , 0x36 , 7 ,
0x101, 0x32D , 0x375 , 2 ,
0x303, 0x15 ,
0x101, 0x15 , 0x37 , 7 ,
0x300, 0x5A ,
0x304, 0xC01 , 0 , 0 , 0 ,
0 ,
}

Definition at line 42 of file wstag235.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, 0x162, 0x168, 0x88, 0x68, 0x160, 0x1FF },
{ 0x140, 0x100, 0x140, 0x169, 0, 0x69, 0x170, 0x1FF },
{ 0x140, 0x100, 0x15A, 0x168, 0x68, 0x68, 0x160, 0x1FE },
{ 0, 0, 0, 0, 0, 0, 0, 0 },
{ 0x140, 0x100, 0x174, 0x16C, 0xD0, 0x6C, 0x170, 0x1FE },
}

Definition at line 66 of file wstag235.c.

Referenced by setupStage().

◆ actor0Talk0Conditions

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

Definition at line 79 of file wstag235.c.

◆ actor0Talk0Actions

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

Definition at line 80 of file wstag235.c.

◆ actor0Talk1Conditions

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

Definition at line 81 of file wstag235.c.

◆ actor0Talk1Actions

u16 actor0Talk1Actions[] = { 0x7A1E, 1, 0xFFFF }

Definition at line 82 of file wstag235.c.

◆ actor1Talk0Conditions

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

Definition at line 83 of file wstag235.c.

◆ actor1Talk0Actions

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

Definition at line 84 of file wstag235.c.

◆ actor1Talk1Conditions

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

Definition at line 85 of file wstag235.c.

◆ actor1Talk1Actions

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

Definition at line 86 of file wstag235.c.

◆ actor12Talk0Conditions

u16 actor12Talk0Conditions[] = { (( 0x1A ) << 8 | ( 0x23 )) , 0, 0xFFFF }

Definition at line 87 of file wstag235.c.

◆ actor12Talk0Actions

u16 actor12Talk0Actions[]
Initial value:
= {
(( 0x1A ) << 8 | ( 0x23 )) , 1,
(0x9200 | ( 0xB7 )) , 1,
(0x7000 | ( 0x13 )) , 1,
0xFFFF ,
}

Definition at line 88 of file wstag235.c.

◆ actor12Talk1Conditions

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

Definition at line 94 of file wstag235.c.

◆ actor13Talk0Conditions

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

Definition at line 95 of file wstag235.c.

◆ actor13Talk1Conditions

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

Definition at line 96 of file wstag235.c.

◆ actor13Talk1Actions

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

Definition at line 97 of file wstag235.c.

◆ actor13Talk2Conditions

u16 actor13Talk2Conditions[]
Initial value:
= {
(( 0x1C ) << 8 | ( 0x34 )) , 0,
(( 0 ) << 8 | ( 0 )) , 1,
(( 0 ) << 8 | ( 1 )) , 0,
0xFFFF ,
}

Definition at line 98 of file wstag235.c.

◆ actor13Talk2Actions

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

Definition at line 104 of file wstag235.c.

◆ actor13Talk3Conditions

u16 actor13Talk3Conditions[]
Initial value:
= {
(( 0x1C ) << 8 | ( 0x34 )) , 0,
(( 0 ) << 8 | ( 0 )) , 1,
(( 0 ) << 8 | ( 1 )) , 1,
(( 0 ) << 8 | ( 2 )) , 0,
0xFFFF ,
}

Definition at line 105 of file wstag235.c.

◆ actor13Talk3Actions

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

Definition at line 112 of file wstag235.c.

◆ actor13Talk4Conditions

u16 actor13Talk4Conditions[]
Initial value:
= {
(( 0x1C ) << 8 | ( 0x34 )) , 0,
(( 0 ) << 8 | ( 0 )) , 1,
(( 0 ) << 8 | ( 1 )) , 1,
(( 0 ) << 8 | ( 2 )) , 1,
(( 0 ) << 8 | ( 3 )) , 0,
0xFFFF ,
}

Definition at line 113 of file wstag235.c.

◆ actor13Talk4Actions

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

Definition at line 121 of file wstag235.c.

◆ actor13Talk5Conditions

u16 actor13Talk5Conditions[]
Initial value:
= {
(( 0x1C ) << 8 | ( 0x34 )) , 0,
(( 0 ) << 8 | ( 0 )) , 1,
(( 0 ) << 8 | ( 1 )) , 1,
(( 0 ) << 8 | ( 2 )) , 1,
(( 0 ) << 8 | ( 3 )) , 1,
(( 0 ) << 8 | ( 4 )) , 0,
0xFFFF ,
}

Definition at line 122 of file wstag235.c.

◆ actor13Talk5Actions

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

Definition at line 131 of file wstag235.c.

◆ actor13Talk6Conditions

u16 actor13Talk6Conditions[]
Initial value:
= {
(( 0 ) << 8 | ( 1 )) , 1,
(( 0 ) << 8 | ( 2 )) , 1,
(( 0 ) << 8 | ( 3 )) , 1,
(( 0 ) << 8 | ( 4 )) , 1,
(( 0x1C ) << 8 | ( 0x34 )) , 0,
(( 0 ) << 8 | ( 0 )) , 1,
0xFFFF ,
}

Definition at line 132 of file wstag235.c.

◆ actor13Talk6Actions

u16 actor13Talk6Actions[]
Initial value:
= {
(0x7000 | ( 0x8C )) , 1,
(( 0x1C ) << 8 | ( 0x34 )) , 1,
(0x7000 | ( 0x13 )) , 1,
0xFFFF ,
}

Definition at line 141 of file wstag235.c.

◆ actor14Talk0Conditions

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

Definition at line 147 of file wstag235.c.

◆ actor14Talk1Conditions

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

Definition at line 148 of file wstag235.c.

◆ actor14Talk1Actions

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

Definition at line 149 of file wstag235.c.

◆ actor14Talk2Conditions

u16 actor14Talk2Conditions[]
Initial value:
= {
(( 0x1C ) << 8 | ( 0x34 )) , 0,
(( 0 ) << 8 | ( 0 )) , 1,
(( 0 ) << 8 | ( 1 )) , 0,
0xFFFF ,
}

Definition at line 150 of file wstag235.c.

◆ actor14Talk2Actions

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

Definition at line 156 of file wstag235.c.

◆ actor14Talk3Conditions

u16 actor14Talk3Conditions[]
Initial value:
= {
(( 0x1C ) << 8 | ( 0x34 )) , 0,
(( 0 ) << 8 | ( 0 )) , 1,
(( 0 ) << 8 | ( 1 )) , 1,
(( 0 ) << 8 | ( 2 )) , 0,
0xFFFF ,
}

Definition at line 157 of file wstag235.c.

◆ actor14Talk3Actions

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

Definition at line 164 of file wstag235.c.

◆ actor14Talk4Conditions

u16 actor14Talk4Conditions[]
Initial value:
= {
(( 0x1C ) << 8 | ( 0x34 )) , 0,
(( 0 ) << 8 | ( 0 )) , 1,
(( 0 ) << 8 | ( 1 )) , 1,
(( 0 ) << 8 | ( 2 )) , 1,
(( 0 ) << 8 | ( 3 )) , 0,
0xFFFF ,
}

Definition at line 165 of file wstag235.c.

◆ actor14Talk4Actions

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

Definition at line 173 of file wstag235.c.

◆ actor14Talk5Conditions

u16 actor14Talk5Conditions[]
Initial value:
= {
(( 0 ) << 8 | ( 0 )) , 1,
(( 0 ) << 8 | ( 1 )) , 1,
(( 0 ) << 8 | ( 2 )) , 1,
(( 0 ) << 8 | ( 3 )) , 1,
(( 0 ) << 8 | ( 4 )) , 0,
(( 0x1C ) << 8 | ( 0x34 )) , 0,
0xFFFF ,
}

Definition at line 174 of file wstag235.c.

◆ actor14Talk5Actions

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

Definition at line 183 of file wstag235.c.

◆ actor14Talk6Conditions

u16 actor14Talk6Conditions[]
Initial value:
= {
(( 0x1C ) << 8 | ( 0x34 )) , 0,
(( 0 ) << 8 | ( 0 )) , 1,
(( 0 ) << 8 | ( 1 )) , 1,
(( 0 ) << 8 | ( 2 )) , 1,
(( 0 ) << 8 | ( 3 )) , 1,
(( 0 ) << 8 | ( 4 )) , 1,
0xFFFF ,
}

Definition at line 184 of file wstag235.c.

◆ actor14Talk6Actions

u16 actor14Talk6Actions[]
Initial value:
= {
(( 0x1C ) << 8 | ( 0x34 )) , 1,
(0x7000 | ( 0x8C )) , 1,
(0x7000 | ( 0x13 )) , 1,
0xFFFF ,
}

Definition at line 193 of file wstag235.c.

◆ actor0Talks

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

Definition at line 199 of file wstag235.c.

◆ actor1Talks

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

Definition at line 204 of file wstag235.c.

◆ actor2Talks

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

Definition at line 209 of file wstag235.c.

◆ actor3Talks

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

Definition at line 213 of file wstag235.c.

◆ actor4Talks

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

Definition at line 217 of file wstag235.c.

◆ actor5Talks

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

Definition at line 221 of file wstag235.c.

◆ actor6Talks

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

Definition at line 225 of file wstag235.c.

◆ actor7Talks

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

Definition at line 229 of file wstag235.c.

◆ actor8Talks

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

Definition at line 233 of file wstag235.c.

◆ actor9Talks

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

Definition at line 237 of file wstag235.c.

◆ actor10Talks

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

Definition at line 241 of file wstag235.c.

◆ actor11Talks

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

Definition at line 245 of file wstag235.c.

◆ actor12Talks

FieldTalk actor12Talks[]
Initial value:
= {
{ actor12Talk1Conditions, ((void *)0) , 0xB6 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor12Talk0Actions[]
Definition wstag235.c:88
u16 actor12Talk0Conditions[]
Definition wstag235.c:87
u16 actor12Talk1Conditions[]
Definition wstag235.c:94

Definition at line 249 of file wstag235.c.

◆ actor13Talks

FieldTalk actor13Talks[]
Initial value:
= {
{ actor13Talk0Conditions, ((void *)0) , 0xB6 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor13Talk3Actions[]
Definition wstag235.c:112
u16 actor13Talk2Conditions[]
Definition wstag235.c:98
u16 actor13Talk6Conditions[]
Definition wstag235.c:132
u16 actor13Talk1Actions[]
Definition wstag235.c:97
u16 actor13Talk4Actions[]
Definition wstag235.c:121
u16 actor13Talk0Conditions[]
Definition wstag235.c:95
u16 actor13Talk6Actions[]
Definition wstag235.c:141
u16 actor13Talk5Conditions[]
Definition wstag235.c:122
u16 actor13Talk3Conditions[]
Definition wstag235.c:105
u16 actor13Talk4Conditions[]
Definition wstag235.c:113
u16 actor13Talk5Actions[]
Definition wstag235.c:131
u16 actor13Talk1Conditions[]
Definition wstag235.c:96
u16 actor13Talk2Actions[]
Definition wstag235.c:104

Definition at line 254 of file wstag235.c.

◆ actor14Talks

FieldTalk actor14Talks[]
Initial value:
= {
{ actor14Talk0Conditions, ((void *)0) , 0xB6 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor14Talk5Actions[]
Definition wstag235.c:183
u16 actor14Talk6Conditions[]
Definition wstag235.c:184
u16 actor14Talk3Actions[]
Definition wstag235.c:164
u16 actor14Talk3Conditions[]
Definition wstag235.c:157
u16 actor14Talk1Actions[]
Definition wstag235.c:149
u16 actor14Talk1Conditions[]
Definition wstag235.c:148
u16 actor14Talk6Actions[]
Definition wstag235.c:193
u16 actor14Talk4Conditions[]
Definition wstag235.c:165
u16 actor14Talk4Actions[]
Definition wstag235.c:173
u16 actor14Talk5Conditions[]
Definition wstag235.c:174
u16 actor14Talk2Actions[]
Definition wstag235.c:156
u16 actor14Talk2Conditions[]
Definition wstag235.c:150
u16 actor14Talk0Conditions[]
Definition wstag235.c:147

Definition at line 264 of file wstag235.c.

◆ actor15Talks

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

Definition at line 274 of file wstag235.c.

◆ actor2Conditions

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

Definition at line 278 of file wstag235.c.

◆ actor3Conditions

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

Definition at line 279 of file wstag235.c.

◆ actor4Conditions

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

Definition at line 280 of file wstag235.c.

◆ actor5Conditions

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

Definition at line 281 of file wstag235.c.

◆ actor6Conditions

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

Definition at line 282 of file wstag235.c.

◆ actor7Conditions

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

Definition at line 283 of file wstag235.c.

◆ actor8Conditions

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

Definition at line 284 of file wstag235.c.

◆ actor9Conditions

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

Definition at line 285 of file wstag235.c.

◆ actor10Conditions

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

Definition at line 286 of file wstag235.c.

◆ actor11Conditions

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

Definition at line 287 of file wstag235.c.

◆ actor12Conditions

u16 actor12Conditions[] = { (( 0x1A ) << 8 | ( 0x22 )) , 1, (( 0x1A ) << 8 | ( 0x23 )) , 0, 0xFFFF }

Definition at line 288 of file wstag235.c.

◆ actor13Conditions

u16 actor13Conditions[] = { (( 0x1A ) << 8 | ( 0x22 )) , 0, 0xFFFF }

Definition at line 289 of file wstag235.c.

◆ actor14Conditions

u16 actor14Conditions[] = { (( 0x1A ) << 8 | ( 0x22 )) , 1, (( 0x1A ) << 8 | ( 0x23 )) , 1, 0xFFFF }

Definition at line 290 of file wstag235.c.

◆ actor15Conditions

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

Definition at line 291 of file wstag235.c.

◆ actor0

FieldActorEntry actor0 = { ((void *)0) , actor0Talks, 0x14, 4, 188, 154, 7 }

Definition at line 292 of file wstag235.c.

◆ actor1

FieldActorEntry actor1 = { ((void *)0) , actor1Talks, 0x15, 5, 175, 192, 7 }

Definition at line 293 of file wstag235.c.

◆ actor2

FieldActorEntry actor2 = { actor2Conditions, actor2Talks, 0x38, 6, 88, 332, 3 }

Definition at line 294 of file wstag235.c.

◆ actor3

FieldActorEntry actor3 = { actor3Conditions, actor3Talks, 0x38, 6, 88, 332, 7 }

Definition at line 295 of file wstag235.c.

◆ actor4

FieldActorEntry actor4 = { actor4Conditions, actor4Talks, 0x38, 6, 88, 332, 3 }

Definition at line 296 of file wstag235.c.

◆ actor5

FieldActorEntry actor5 = { actor5Conditions, actor5Talks, 0x38, 6, 88, 332, 3 }

Definition at line 297 of file wstag235.c.

◆ actor6

FieldActorEntry actor6 = { actor6Conditions, actor6Talks, 0x38, 6, 88, 332, 3 }

Definition at line 298 of file wstag235.c.

◆ actor7

FieldActorEntry actor7 = { actor7Conditions, actor7Talks, 0x38, 6, 88, 332, 3 }

Definition at line 299 of file wstag235.c.

◆ actor8

FieldActorEntry actor8 = { actor8Conditions, actor8Talks, 0x38, 6, 88, 332, 3 }

Definition at line 300 of file wstag235.c.

◆ actor9

FieldActorEntry actor9 = { actor9Conditions, actor9Talks, 0x38, 6, 88, 332, 3 }

Definition at line 301 of file wstag235.c.

◆ actor10

FieldActorEntry actor10 = { actor10Conditions, actor10Talks, 0x38, 6, 88, 332, 3 }

Definition at line 302 of file wstag235.c.

◆ actor11

FieldActorEntry actor11 = { actor11Conditions, actor11Talks, 0x38, 6, 88, 332, 3 }

Definition at line 303 of file wstag235.c.

◆ actor12

FieldActorEntry actor12 = { actor12Conditions, actor12Talks, 0x3F, 7, 145, 289, 7 }

Definition at line 304 of file wstag235.c.

◆ actor13

FieldActorEntry actor13 = { actor13Conditions, actor13Talks, 0x3F, 7, 145, 289, 7 }

Definition at line 305 of file wstag235.c.

◆ actor14

FieldActorEntry actor14 = { actor14Conditions, actor14Talks, 0x3F, 7, 145, 289, 7 }

Definition at line 306 of file wstag235.c.

◆ actor15

FieldActorEntry actor15 = { actor15Conditions, actor15Talks, 0x9D, 8, 88, 332, 3 }

Definition at line 307 of file wstag235.c.

◆ stageActors

FieldActorEntry* stageActors[]
Initial value:
= {
((void *)0) ,
}
FieldActorEntry actor0
Definition wstag235.c:292
FieldActorEntry actor6
Definition wstag235.c:298
FieldActorEntry actor5
Definition wstag235.c:297
FieldActorEntry actor2
Definition wstag235.c:294
FieldActorEntry actor10
Definition wstag235.c:302
FieldActorEntry actor4
Definition wstag235.c:296
FieldActorEntry actor8
Definition wstag235.c:300
FieldActorEntry actor9
Definition wstag235.c:301
FieldActorEntry actor15
Definition wstag235.c:307
FieldActorEntry actor12
Definition wstag235.c:304
FieldActorEntry actor7
Definition wstag235.c:299
FieldActorEntry actor13
Definition wstag235.c:305
FieldActorEntry actor11
Definition wstag235.c:303
FieldActorEntry actor1
Definition wstag235.c:293
FieldActorEntry actor3
Definition wstag235.c:295
FieldActorEntry actor14
Definition wstag235.c:306

Definition at line 308 of file wstag235.c.

Referenced by setupStage().

◆ stageObjects

StageTile stageObjects[]
Initial value:
= {
{ 1, 0, 0x40, 2, 6, 2, 0, 1, 4, 0, 78, 77, 0, 0 },
{ 1, 0, 0x40, 2, 6, 2, 0, 1, 4, 0, 97, 115, 0, 0 },
{ 1, 0, 0x40, 2, 6, 2, 0, 1, 4, 0, 135, 231, 0, 0 },
{ 1, 0, 0x40, 2, 6, 2, 0, 1, 4, 0, 141, 44, 0, 0 },
{ 1, 0, 0x40, 2, 6, 2, 0, 1, 4, 0, 261, 63, 0, 0 },
{ 1, 0, 0x40, 2, 6, 2, 0, 1, 4, 0, 326, 95, 0, 0 },
{ 1, 0, 0x40, 2, 7, 2, 0, 1, 4, 0, 165, 76, 0, 0 },
{ 1, 0, 0x40, 4, 0, 0, 0, 0, 0, 0, 256, 151, 184, 0 },
{ 1, 0, 0x40, 4, 1, 0, 0, 0, 0, 0, 215, 20, 86, 0 },
{ 1, 0, 0x40, 4, 2, 0, 0, 0, 0, 0, 144, 185, 200, 0 },
{ 1, 0, 0x40, 4, 3, 0, 0, 0, 0, 0, 125, 175, 194, 0 },
{ 1, 0, 0x40, 4, 4, 0, 0, 0, 0, 0, 148, 127, 167, 0 },
{ 1, 0, 0x40, 4, 5, 0, 0, 0, 0, 0, 240, 127, 162, 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 327 of file wstag235.c.

Referenced by setupStage().

◆ stageSlots

StageSlot stageSlots[]
Initial value:
= {
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 1 , 0x20C, 0x96, 0x114, 5, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 1 , 0x200, 0x2A0, 0x17A, 7, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 1 , 0x20F, 0x15A, 0xBA, 1, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 1 , 0x20B, 0x146, 0xBA, 7, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 3 , 4, 0xC8, 0xEC, 0, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 2 , 4, 0xB8, 0x132, 0, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 0, 0, 0, 0, 0, 0, 0, 0 },
}

Definition at line 343 of file wstag235.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 wstag235.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 352 of file wstag235.c.

◆ stageEvents

FieldEvent stageEvents[]
Initial value:
= {
{ 1200, script1200, ( ( 0x113 - 1) << 16 | ( 0x2A )), ((void *)0) , ((void *)0) },
{ -1, ((void *)0) , 0, ((void *)0) , ((void *)0) },
}
s16 script1200[]
Definition wstag235.c:42

Definition at line 355 of file wstag235.c.

Referenced by setupStage().