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

WSTAG360: Forest Inn, East Sector. More...

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

Go to the source code of this file.

Macros

#define STAGE_TEXT   TEXT_FILE(TEXT_TALKS_06)
 
#define EVENT_TEXT_FILE   (TEXT_EVENTS_300 - 1)
 
#define STAGE_FILE   0x21F
 
#define STAGE_ARCHIVE   0x3D6
 

Functions

void endEvent1457 (void)
 After event 1457, with Guardromon: applies 0x7C14, an action that does nothing (applyAction's mode changes 0x7C are only 0 and 1)
 
void setupStage (void)
 Sets the stage up: its map, actors and events, playing SHOP1BGM.
 

Variables

s16 script1457 []
 
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 [] = { 0x7A1F, 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 | ( 0x11 )) , 1, 0xFFFF }
 
u16 actor3Talk0Conditions [] = { (( 0x1C ) << 8 | ( 0x1C )) , 0, 0xFFFF }
 
u16 actor3Talk1Conditions [] = { (( 0x1C ) << 8 | ( 0x1C )) , 1, 0xFFFF }
 
u16 actor12Talk0Conditions [] = { (( 0x1C ) << 8 | ( 0x45 )) , 0, 0xFFFF }
 
u16 actor12Talk0Actions [] = { (( 0x1C ) << 8 | ( 0x45 )) , 1, 0xFFFF }
 
u16 actor12Talk1Conditions [] = { (( 0x1C ) << 8 | ( 0x45 )) , 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 actor14Talks []
 
u16 actor2Conditions [] = { (0x6000 | ( STORY_GENJI_BEATEN )) , 1, 0xFFFF }
 
u16 actor3Conditions [] = { (0x6000 | ( STORY_BYAKKO_LEADER_FOUGHT )) , 1, 0xFFFF }
 
u16 actor4Conditions [] = { (0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 1, 0xFFFF }
 
u16 actor5Conditions [] = { (0x7000 | ( 0x19 )) , 1, 0xFFFF }
 
u16 actor6Conditions [] = { (0x7000 | ( 0x18 )) , 1, 0xFFFF }
 
u16 actor7Conditions []
 
u16 actor8Conditions [] = { (0x6000 | ( STORY_TEDDY_FOUND )) , 1, 0xFFFF }
 
u16 actor9Conditions [] = { (0x6000 | ( STORY_LOOKING_FOR_TEDDY )) , 1, 0xFFFF }
 
u16 actor10Conditions []
 
u16 actor11Conditions [] = { (0x7000 | ( 0x16 )) , 1, 0xFFFF }
 
u16 actor12Conditions []
 
u16 actor14Conditions [] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF }
 
FieldActorEntry actor0 = { ((void *)0) , actor0Talks, 0x14, 4, 345, 308, 7 }
 
FieldActorEntry actor1 = { ((void *)0) , actor1Talks, 0x15, 5, 121, 165, 7 }
 
FieldActorEntry actor2 = { actor2Conditions, actor2Talks, 0x2E, 6, 177, 153, 3 }
 
FieldActorEntry actor3 = { actor3Conditions, actor3Talks, 0x2E, 6, 177, 153, 3 }
 
FieldActorEntry actor4 = { actor4Conditions, actor4Talks, 0x2E, 6, 177, 153, 3 }
 
FieldActorEntry actor5 = { actor5Conditions, actor5Talks, 0x2E, 6, 177, 153, 3 }
 
FieldActorEntry actor6 = { actor6Conditions, actor6Talks, 0x2E, 6, 177, 153, 3 }
 
FieldActorEntry actor7 = { actor7Conditions, actor7Talks, 0x2E, 6, 177, 153, 3 }
 
FieldActorEntry actor8 = { actor8Conditions, actor8Talks, 0x2E, 6, 177, 153, 3 }
 
FieldActorEntry actor9 = { actor9Conditions, actor9Talks, 0x2E, 6, 177, 153, 3 }
 
FieldActorEntry actor10 = { actor10Conditions, actor10Talks, 0x2E, 6, 177, 153, 3 }
 
FieldActorEntry actor11 = { actor11Conditions, actor11Talks, 0x2E, 6, 177, 153, 3 }
 
FieldActorEntry actor12 = { actor12Conditions, actor12Talks, 0x40, 7, 177, 153, 3 }
 
FieldActorEntry actor13 = { ((void *)0) , ((void *)0) , 0x78, 8, 374, 268, 5 }
 
FieldActorEntry actor14 = { actor14Conditions, actor14Talks, 0x9D, 9, 177, 153, 3 }
 
FieldActorEntry actor15 = { ((void *)0) , ((void *)0) , 0xDB, 0xA, 346, 325, 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.
 
FieldEvent stageEvents []
 

Detailed Description

WSTAG360: Forest Inn, East Sector.

Definition in file wstag360.c.

Macro Definition Documentation

◆ STAGE_TEXT

#define STAGE_TEXT   TEXT_FILE(TEXT_TALKS_06)

Definition at line 25 of file wstag360.c.

◆ EVENT_TEXT_FILE

#define EVENT_TEXT_FILE   (TEXT_EVENTS_300 - 1)

Definition at line 26 of file wstag360.c.

◆ STAGE_FILE

#define STAGE_FILE   0x21F

Definition at line 27 of file wstag360.c.

◆ STAGE_ARCHIVE

#define STAGE_ARCHIVE   0x3D6

Definition at line 28 of file wstag360.c.

Function Documentation

◆ endEvent1457()

void endEvent1457 ( void  )

After event 1457, with Guardromon: applies 0x7C14, an action that does nothing (applyAction's mode changes 0x7C are only 0 and 1)

Definition at line 15 of file wstag360.c.

◆ 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 31 of file wstag360.c.

Variable Documentation

◆ script1457

s16 script1457[]
Initial value:
= {
0x102, 2 , 0x99 , 0xB5 , 3 ,
0x100, 0x15 , 0x79 , 0xA5 ,
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, 0xC12 , 0 , 0 , 0 ,
0 ,
}

Definition at line 50 of file wstag360.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, 0x140, 0x166, 0, 0x66, 0x150, 0x1FB },
{ 0x140, 0x100, 0x170, 0x100, 0xC0, 0, 0x160, 0x1FB },
{ 0x140, 0x100, 0x168, 0x169, 0xA0, 0x69, 0x170, 0x1FB },
{ 0x140, 0x100, 0x15A, 0x16C, 0x68, 0x6C, 0x140, 0x1FA },
{ 0x140, 0x100, 0x148, 0x16D, 0x20, 0x6D, 0x150, 0x1FA },
{ 0x140, 0x100, 0x150, 0x16D, 0x40, 0x6D, 0x160, 0x1FA },
{ 0, 0, 0, 0, 0, 0, 0, 0 },
}

Definition at line 70 of file wstag360.c.

Referenced by setupStage().

◆ actor0Talk0Conditions

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

Definition at line 85 of file wstag360.c.

◆ actor0Talk0Actions

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

Definition at line 86 of file wstag360.c.

◆ actor0Talk1Conditions

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

Definition at line 87 of file wstag360.c.

◆ actor0Talk1Actions

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

Definition at line 88 of file wstag360.c.

◆ actor1Talk0Conditions

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

Definition at line 89 of file wstag360.c.

◆ actor1Talk0Actions

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

Definition at line 90 of file wstag360.c.

◆ actor1Talk1Conditions

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

Definition at line 91 of file wstag360.c.

◆ actor1Talk1Actions

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

Definition at line 92 of file wstag360.c.

◆ actor3Talk0Conditions

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

Definition at line 93 of file wstag360.c.

◆ actor3Talk1Conditions

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

Definition at line 94 of file wstag360.c.

◆ actor12Talk0Conditions

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

Definition at line 95 of file wstag360.c.

◆ actor12Talk0Actions

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

Definition at line 96 of file wstag360.c.

◆ actor12Talk1Conditions

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

Definition at line 97 of file wstag360.c.

◆ actor0Talks

FieldTalk actor0Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor0Talk0Actions[]
Definition wstag360.c:86
u16 actor0Talk0Conditions[]
Definition wstag360.c:85
u16 actor0Talk1Conditions[]
Definition wstag360.c:87
u16 actor0Talk1Actions[]
Definition wstag360.c:88

Definition at line 98 of file wstag360.c.

◆ actor1Talks

FieldTalk actor1Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor1Talk1Conditions[]
Definition wstag360.c:91
u16 actor1Talk0Conditions[]
Definition wstag360.c:89
u16 actor1Talk1Actions[]
Definition wstag360.c:92
u16 actor1Talk0Actions[]
Definition wstag360.c:90

Definition at line 103 of file wstag360.c.

◆ actor2Talks

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

Definition at line 108 of file wstag360.c.

◆ actor3Talks

FieldTalk actor3Talks[]
Initial value:
= {
{ actor3Talk0Conditions, ((void *)0) , 0x23F },
{ actor3Talk1Conditions, ((void *)0) , 0x2F },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor3Talk0Conditions[]
Definition wstag360.c:93
u16 actor3Talk1Conditions[]
Definition wstag360.c:94

Definition at line 112 of file wstag360.c.

◆ actor4Talks

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

Definition at line 117 of file wstag360.c.

◆ actor5Talks

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

Definition at line 121 of file wstag360.c.

◆ actor6Talks

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

Definition at line 125 of file wstag360.c.

◆ actor7Talks

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

Definition at line 129 of file wstag360.c.

◆ actor8Talks

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

Definition at line 133 of file wstag360.c.

◆ actor9Talks

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

Definition at line 137 of file wstag360.c.

◆ actor10Talks

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

Definition at line 141 of file wstag360.c.

◆ actor11Talks

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

Definition at line 145 of file wstag360.c.

◆ actor12Talks

FieldTalk actor12Talks[]
Initial value:
= {
{ actor12Talk1Conditions, ((void *)0) , 0x327 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor12Talk0Actions[]
Definition wstag360.c:96
u16 actor12Talk0Conditions[]
Definition wstag360.c:95
u16 actor12Talk1Conditions[]
Definition wstag360.c:97

Definition at line 149 of file wstag360.c.

◆ actor14Talks

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

Definition at line 154 of file wstag360.c.

◆ actor2Conditions

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

Definition at line 158 of file wstag360.c.

◆ actor3Conditions

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

Definition at line 159 of file wstag360.c.

◆ actor4Conditions

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

Definition at line 160 of file wstag360.c.

◆ actor5Conditions

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

Definition at line 161 of file wstag360.c.

◆ actor6Conditions

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

Definition at line 162 of file wstag360.c.

◆ actor7Conditions

u16 actor7Conditions[]
Initial value:
= {
(0x7000 | ( 0x17 )) , 1,
(0x6000 | ( STORY_BYAKKO_LEADER_FOUGHT )) , 0,
0xFFFF ,
}
@ STORY_BYAKKO_LEADER_FOUGHT
WSTAG620 (the rebels' hideout), event 534: the Byakko Leader takes the player for the A....
Definition story.h:85

Definition at line 163 of file wstag360.c.

◆ actor8Conditions

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

Definition at line 168 of file wstag360.c.

◆ actor9Conditions

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

Definition at line 169 of file wstag360.c.

◆ actor10Conditions

u16 actor10Conditions[]
Initial value:
= {
(0x7000 | ( 0x15 )) , 1,
(0x6000 | ( STORY_FAKE_BLUE_CARD )) , 0,
0xFFFF ,
}
@ STORY_FAKE_BLUE_CARD
WSTAG410 (East Station), event 90: the Blue Card the player was given turns out to be a fake.
Definition story.h:42

Definition at line 170 of file wstag360.c.

◆ actor11Conditions

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

Definition at line 175 of file wstag360.c.

◆ actor12Conditions

u16 actor12Conditions[]
Initial value:
= {
(0x8000 | ( 0 ) << 9 | ( 0x18F )), 0,
(( 0x1C ) << 8 | ( 0x44 )) , 1,
(0x6000 | ( STORY_FAKE_BLUE_CARD )) , 1,
0xFFFF ,
}

Definition at line 176 of file wstag360.c.

◆ actor14Conditions

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

Definition at line 182 of file wstag360.c.

◆ actor0

FieldActorEntry actor0 = { ((void *)0) , actor0Talks, 0x14, 4, 345, 308, 7 }

Definition at line 183 of file wstag360.c.

◆ actor1

FieldActorEntry actor1 = { ((void *)0) , actor1Talks, 0x15, 5, 121, 165, 7 }

Definition at line 184 of file wstag360.c.

◆ actor2

FieldActorEntry actor2 = { actor2Conditions, actor2Talks, 0x2E, 6, 177, 153, 3 }

Definition at line 185 of file wstag360.c.

◆ actor3

FieldActorEntry actor3 = { actor3Conditions, actor3Talks, 0x2E, 6, 177, 153, 3 }

Definition at line 186 of file wstag360.c.

◆ actor4

FieldActorEntry actor4 = { actor4Conditions, actor4Talks, 0x2E, 6, 177, 153, 3 }

Definition at line 187 of file wstag360.c.

◆ actor5

FieldActorEntry actor5 = { actor5Conditions, actor5Talks, 0x2E, 6, 177, 153, 3 }

Definition at line 188 of file wstag360.c.

◆ actor6

FieldActorEntry actor6 = { actor6Conditions, actor6Talks, 0x2E, 6, 177, 153, 3 }

Definition at line 189 of file wstag360.c.

◆ actor7

FieldActorEntry actor7 = { actor7Conditions, actor7Talks, 0x2E, 6, 177, 153, 3 }

Definition at line 190 of file wstag360.c.

◆ actor8

FieldActorEntry actor8 = { actor8Conditions, actor8Talks, 0x2E, 6, 177, 153, 3 }

Definition at line 191 of file wstag360.c.

◆ actor9

FieldActorEntry actor9 = { actor9Conditions, actor9Talks, 0x2E, 6, 177, 153, 3 }

Definition at line 192 of file wstag360.c.

◆ actor10

FieldActorEntry actor10 = { actor10Conditions, actor10Talks, 0x2E, 6, 177, 153, 3 }

Definition at line 193 of file wstag360.c.

◆ actor11

FieldActorEntry actor11 = { actor11Conditions, actor11Talks, 0x2E, 6, 177, 153, 3 }

Definition at line 194 of file wstag360.c.

◆ actor12

FieldActorEntry actor12 = { actor12Conditions, actor12Talks, 0x40, 7, 177, 153, 3 }

Definition at line 195 of file wstag360.c.

◆ actor13

FieldActorEntry actor13 = { ((void *)0) , ((void *)0) , 0x78, 8, 374, 268, 5 }

Definition at line 196 of file wstag360.c.

◆ actor14

FieldActorEntry actor14 = { actor14Conditions, actor14Talks, 0x9D, 9, 177, 153, 3 }

Definition at line 197 of file wstag360.c.

◆ actor15

FieldActorEntry actor15 = { ((void *)0) , ((void *)0) , 0xDB, 0xA, 346, 325, 7 }

Definition at line 198 of file wstag360.c.

◆ stageActors

FieldActorEntry* stageActors[]
Initial value:
= {
((void *)0) ,
}
FieldActorEntry actor0
Definition wstag360.c:183
FieldActorEntry actor6
Definition wstag360.c:189
FieldActorEntry actor5
Definition wstag360.c:188
FieldActorEntry actor2
Definition wstag360.c:185
FieldActorEntry actor10
Definition wstag360.c:193
FieldActorEntry actor4
Definition wstag360.c:187
FieldActorEntry actor8
Definition wstag360.c:191
FieldActorEntry actor9
Definition wstag360.c:192
FieldActorEntry actor15
Definition wstag360.c:198
FieldActorEntry actor12
Definition wstag360.c:195
FieldActorEntry actor7
Definition wstag360.c:190
FieldActorEntry actor13
Definition wstag360.c:196
FieldActorEntry actor11
Definition wstag360.c:194
FieldActorEntry actor1
Definition wstag360.c:184
FieldActorEntry actor3
Definition wstag360.c:186
FieldActorEntry actor14
Definition wstag360.c:197

Definition at line 199 of file wstag360.c.

Referenced by setupStage().

◆ stageObjects

StageTile stageObjects[]

The tables and color setupStage gives FIELDSTG_state (FieldState)

Definition at line 218 of file wstag360.c.

Referenced by setupStage().

◆ stageSlots

StageSlot stageSlots[]
Initial value:
= {
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 1 , 0x222, 0x80, 0x31C, 7, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 1 , 0x224, 0x8C, 0xC2, 7, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 3 , 6, 0xFA, 0x126, 0, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 2 , 6, 0x10B, 0x188, 0, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 0, 0, 0, 0, 0, 0, 0, 0 },
}

Definition at line 250 of file wstag360.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 wstag360.c:31

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 257 of file wstag360.c.

◆ stageEvents

FieldEvent stageEvents[]
Initial value:
= {
{ 1457, script1457, ( ( 0x128 - 1) << 16 | ( 0x33 )), ((void *)0) , endEvent1457 },
{ -1, ((void *)0) , 0, ((void *)0) , ((void *)0) },
}
void endEvent1457(void)
After event 1457, with Guardromon: applies 0x7C14, an action that does nothing (applyAction's mode ch...
Definition wstag360.c:15
s16 script1457[]
Definition wstag360.c:50

Definition at line 260 of file wstag360.c.

Referenced by setupStage().