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

WSTAG470: Swamp Inn, South 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 wstag470.c:

Go to the source code of this file.

Macros

#define STAGE_TEXT   TEXT_FILE(TEXT_TALKS_06)
 
#define EVENT_TEXT_FILE   (TEXT_EVENTS_400 - 1)
 
#define STAGE_FILE   0x235
 
#define STAGE_ARCHIVE   0x2D5
 

Functions

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

Variables

s16 script1215 []
 
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 [] = { 0x7A21, 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 | ( 0xE )) , 1, 0xFFFF }
 
u16 actor16Talk0Conditions [] = { (( 0x1C ) << 8 | ( 0x1C )) , 0, 0xFFFF }
 
u16 actor16Talk1Conditions [] = { (( 0x1C ) << 8 | ( 0x1C )) , 1, 0xFFFF }
 
u16 actor17Talk0Conditions [] = { (( 0 ) << 8 | ( 0 )) , 0, 0xFFFF }
 
u16 actor17Talk0Actions [] = { (( 0x1C ) << 8 | ( 0x43 )) , 1, (( 0 ) << 8 | ( 0 )) , 1, 0xFFFF }
 
u16 actor17Talk1Conditions [] = { (( 0 ) << 8 | ( 0 )) , 1, 0xFFFF }
 
FieldTalk actor0Talks []
 
FieldTalk actor1Talks []
 
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 []
 
u16 actor3Conditions [] = { (0x6000 | ( STORY_AGUMON_SUITS )) , 1, 0xFFFF }
 
u16 actor4Conditions [] = { (0x6000 | ( STORY_ZANBAMON_DRIVEN_OFF )) , 1, 0xFFFF }
 
u16 actor5Conditions [] = { (0x6000 | ( STORY_LOOKING_FOR_TEDDY )) , 1, 0xFFFF }
 
u16 actor6Conditions [] = { (0x6000 | ( STORY_TEDDY_FOUND )) , 1, 0xFFFF }
 
u16 actor7Conditions [] = { (0x7000 | ( 0x16 )) , 1, 0xFFFF }
 
u16 actor8Conditions []
 
u16 actor9Conditions [] = { (0x6000 | ( STORY_KNIGHTMON_REPROGRAMMED )) , 1, 0xFFFF }
 
u16 actor10Conditions [] = { (0x7000 | ( 0x19 )) , 1, 0xFFFF }
 
u16 actor11Conditions [] = { (0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 1, 0xFFFF }
 
u16 actor12Conditions [] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF }
 
u16 actor13Conditions [] = { (0x6000 | ( STORY_CODE_PASSES_NEEDED )) , 1, 0xFFFF }
 
u16 actor14Conditions [] = { (0x6000 | ( STORY_BULBMON_FOUND )) , 1, 0xFFFF }
 
u16 actor15Conditions [] = { (0x6000 | ( STORY_SOUTH_STATION_GHOST )) , 1, 0xFFFF }
 
u16 actor16Conditions [] = { (0x6000 | ( STORY_BYAKKO_LEADER_FOUGHT )) , 1, 0xFFFF }
 
u16 actor17Conditions [] = { (0x6000 | ( STORY_SEPIKMON_MASK_LOST )) , 1, 0xFFFF }
 
FieldActorEntry actor0 = { ((void *)0) , actor0Talks, 0x14, 4, 357, 278, 7 }
 
FieldActorEntry actor1 = { ((void *)0) , actor1Talks, 0x15, 5, 128, 312, 7 }
 
FieldActorEntry actor2 = { ((void *)0) , ((void *)0) , 0x78, 6, 368, 232, 5 }
 
FieldActorEntry actor3 = { actor3Conditions, actor3Talks, 0x79, 7, 289, 338, 7 }
 
FieldActorEntry actor4 = { actor4Conditions, actor4Talks, 0x79, 7, 289, 338, 7 }
 
FieldActorEntry actor5 = { actor5Conditions, actor5Talks, 0x79, 7, 289, 338, 7 }
 
FieldActorEntry actor6 = { actor6Conditions, actor6Talks, 0x79, 7, 289, 338, 7 }
 
FieldActorEntry actor7 = { actor7Conditions, actor7Talks, 0x79, 7, 289, 338, 7 }
 
FieldActorEntry actor8 = { actor8Conditions, actor8Talks, 0x79, 7, 289, 338, 7 }
 
FieldActorEntry actor9 = { actor9Conditions, actor9Talks, 0x79, 7, 289, 338, 7 }
 
FieldActorEntry actor10 = { actor10Conditions, actor10Talks, 0x79, 7, 289, 338, 7 }
 
FieldActorEntry actor11 = { actor11Conditions, actor11Talks, 0x79, 7, 289, 338, 7 }
 
FieldActorEntry actor12 = { actor12Conditions, actor12Talks, 0x79, 7, 289, 338, 7 }
 
FieldActorEntry actor13 = { actor13Conditions, actor13Talks, 0x79, 7, 289, 338, 7 }
 
FieldActorEntry actor14 = { actor14Conditions, actor14Talks, 0x79, 7, 289, 338, 7 }
 
FieldActorEntry actor15 = { actor15Conditions, actor15Talks, 0x79, 7, 289, 338, 7 }
 
FieldActorEntry actor16 = { actor16Conditions, actor16Talks, 0x79, 7, 289, 338, 7 }
 
FieldActorEntry actor17 = { actor17Conditions, actor17Talks, 0x79, 7, 289, 338, 7 }
 
FieldActorEntry actor18 = { ((void *)0) , ((void *)0) , 0xDB, 8, 368, 296, 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

WSTAG470: Swamp Inn, South Sector.

Definition in file wstag470.c.

Macro Definition Documentation

◆ STAGE_TEXT

#define STAGE_TEXT   TEXT_FILE(TEXT_TALKS_06)

Definition at line 17 of file wstag470.c.

◆ EVENT_TEXT_FILE

#define EVENT_TEXT_FILE   (TEXT_EVENTS_400 - 1)

Definition at line 18 of file wstag470.c.

◆ STAGE_FILE

#define STAGE_FILE   0x235

Definition at line 19 of file wstag470.c.

◆ STAGE_ARCHIVE

#define STAGE_ARCHIVE   0x2D5

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

Variable Documentation

◆ script1215

s16 script1215[]
Initial value:
= {
0x102, 2 , 0xA0 , 0x148 , 3 ,
0x100, 0x15 , 0x80 , 0x138 ,
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, 0xC03 , 0 , 0 , 0 ,
0 ,
}

Definition at line 42 of file wstag470.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, 0x176, 0x195, 0xD8, 0x95, 0x170, 0x1FF },
{ 0x180, 0x100, 0x1B2, 0x173, 0x1C8, 0x73, 0x170, 0x1FE },
{ 0x180, 0x100, 0x1B4, 0x147, 0x1D0, 0x47, 0x170, 0x1FD },
{ 0x180, 0x100, 0x1B0, 0x1A3, 0x1C0, 0xA3, 0x170, 0x1FC },
{ 0, 0, 0, 0, 0, 0, 0, 0 },
}

Definition at line 62 of file wstag470.c.

Referenced by setupStage().

◆ actor0Talk0Conditions

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

Definition at line 75 of file wstag470.c.

◆ actor0Talk0Actions

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

Definition at line 76 of file wstag470.c.

◆ actor0Talk1Conditions

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

Definition at line 77 of file wstag470.c.

◆ actor0Talk1Actions

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

Definition at line 78 of file wstag470.c.

◆ actor1Talk0Conditions

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

Definition at line 79 of file wstag470.c.

◆ actor1Talk0Actions

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

Definition at line 80 of file wstag470.c.

◆ actor1Talk1Conditions

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

Definition at line 81 of file wstag470.c.

◆ actor1Talk1Actions

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

Definition at line 82 of file wstag470.c.

◆ actor16Talk0Conditions

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

Definition at line 83 of file wstag470.c.

◆ actor16Talk1Conditions

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

Definition at line 84 of file wstag470.c.

◆ actor17Talk0Conditions

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

Definition at line 85 of file wstag470.c.

◆ actor17Talk0Actions

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

Definition at line 86 of file wstag470.c.

◆ actor17Talk1Conditions

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

Definition at line 87 of file wstag470.c.

◆ actor0Talks

FieldTalk actor0Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor0Talk0Actions[]
Definition wstag470.c:76
u16 actor0Talk0Conditions[]
Definition wstag470.c:75
u16 actor0Talk1Conditions[]
Definition wstag470.c:77
u16 actor0Talk1Actions[]
Definition wstag470.c:78

Definition at line 88 of file wstag470.c.

◆ actor1Talks

FieldTalk actor1Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor1Talk1Conditions[]
Definition wstag470.c:81
u16 actor1Talk0Conditions[]
Definition wstag470.c:79
u16 actor1Talk1Actions[]
Definition wstag470.c:82
u16 actor1Talk0Actions[]
Definition wstag470.c:80

Definition at line 93 of file wstag470.c.

◆ actor3Talks

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

Definition at line 98 of file wstag470.c.

◆ actor4Talks

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

Definition at line 102 of file wstag470.c.

◆ actor5Talks

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

Definition at line 106 of file wstag470.c.

◆ actor6Talks

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

Definition at line 110 of file wstag470.c.

◆ actor7Talks

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

Definition at line 114 of file wstag470.c.

◆ actor8Talks

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

Definition at line 118 of file wstag470.c.

◆ actor9Talks

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

Definition at line 122 of file wstag470.c.

◆ actor10Talks

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

Definition at line 126 of file wstag470.c.

◆ actor11Talks

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

Definition at line 130 of file wstag470.c.

◆ actor12Talks

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

Definition at line 134 of file wstag470.c.

◆ actor13Talks

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

Definition at line 138 of file wstag470.c.

◆ actor14Talks

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

Definition at line 142 of file wstag470.c.

◆ actor15Talks

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

Definition at line 146 of file wstag470.c.

◆ actor16Talks

FieldTalk actor16Talks[]
Initial value:
= {
{ actor16Talk0Conditions, ((void *)0) , 0x115 },
{ actor16Talk1Conditions, ((void *)0) , 0x55 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor16Talk1Conditions[]
Definition wstag470.c:84
u16 actor16Talk0Conditions[]
Definition wstag470.c:83

Definition at line 150 of file wstag470.c.

◆ actor17Talks

FieldTalk actor17Talks[]
Initial value:
= {
{ actor17Talk1Conditions, ((void *)0) , 0x329 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor17Talk1Conditions[]
Definition wstag470.c:87
u16 actor17Talk0Conditions[]
Definition wstag470.c:85
u16 actor17Talk0Actions[]
Definition wstag470.c:86

Definition at line 155 of file wstag470.c.

◆ actor3Conditions

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

Definition at line 160 of file wstag470.c.

◆ actor4Conditions

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

Definition at line 161 of file wstag470.c.

◆ actor5Conditions

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

Definition at line 162 of file wstag470.c.

◆ actor6Conditions

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

Definition at line 163 of file wstag470.c.

◆ actor7Conditions

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

Definition at line 164 of file wstag470.c.

◆ actor8Conditions

u16 actor8Conditions[]
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 165 of file wstag470.c.

◆ actor9Conditions

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

Definition at line 170 of file wstag470.c.

◆ actor10Conditions

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

Definition at line 171 of file wstag470.c.

◆ actor11Conditions

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

Definition at line 172 of file wstag470.c.

◆ actor12Conditions

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

Definition at line 173 of file wstag470.c.

◆ actor13Conditions

u16 actor13Conditions[] = { (0x6000 | ( STORY_CODE_PASSES_NEEDED )) , 1, 0xFFFF }

Definition at line 174 of file wstag470.c.

◆ actor14Conditions

u16 actor14Conditions[] = { (0x6000 | ( STORY_BULBMON_FOUND )) , 1, 0xFFFF }

Definition at line 175 of file wstag470.c.

◆ actor15Conditions

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

Definition at line 176 of file wstag470.c.

◆ actor16Conditions

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

Definition at line 177 of file wstag470.c.

◆ actor17Conditions

u16 actor17Conditions[] = { (0x6000 | ( STORY_SEPIKMON_MASK_LOST )) , 1, 0xFFFF }

Definition at line 178 of file wstag470.c.

◆ actor0

FieldActorEntry actor0 = { ((void *)0) , actor0Talks, 0x14, 4, 357, 278, 7 }

Definition at line 179 of file wstag470.c.

◆ actor1

FieldActorEntry actor1 = { ((void *)0) , actor1Talks, 0x15, 5, 128, 312, 7 }

Definition at line 180 of file wstag470.c.

◆ actor2

FieldActorEntry actor2 = { ((void *)0) , ((void *)0) , 0x78, 6, 368, 232, 5 }

Definition at line 181 of file wstag470.c.

◆ actor3

FieldActorEntry actor3 = { actor3Conditions, actor3Talks, 0x79, 7, 289, 338, 7 }

Definition at line 182 of file wstag470.c.

◆ actor4

FieldActorEntry actor4 = { actor4Conditions, actor4Talks, 0x79, 7, 289, 338, 7 }

Definition at line 183 of file wstag470.c.

◆ actor5

FieldActorEntry actor5 = { actor5Conditions, actor5Talks, 0x79, 7, 289, 338, 7 }

Definition at line 184 of file wstag470.c.

◆ actor6

FieldActorEntry actor6 = { actor6Conditions, actor6Talks, 0x79, 7, 289, 338, 7 }

Definition at line 185 of file wstag470.c.

◆ actor7

FieldActorEntry actor7 = { actor7Conditions, actor7Talks, 0x79, 7, 289, 338, 7 }

Definition at line 186 of file wstag470.c.

◆ actor8

FieldActorEntry actor8 = { actor8Conditions, actor8Talks, 0x79, 7, 289, 338, 7 }

Definition at line 187 of file wstag470.c.

◆ actor9

FieldActorEntry actor9 = { actor9Conditions, actor9Talks, 0x79, 7, 289, 338, 7 }

Definition at line 188 of file wstag470.c.

◆ actor10

FieldActorEntry actor10 = { actor10Conditions, actor10Talks, 0x79, 7, 289, 338, 7 }

Definition at line 189 of file wstag470.c.

◆ actor11

FieldActorEntry actor11 = { actor11Conditions, actor11Talks, 0x79, 7, 289, 338, 7 }

Definition at line 190 of file wstag470.c.

◆ actor12

FieldActorEntry actor12 = { actor12Conditions, actor12Talks, 0x79, 7, 289, 338, 7 }

Definition at line 191 of file wstag470.c.

◆ actor13

FieldActorEntry actor13 = { actor13Conditions, actor13Talks, 0x79, 7, 289, 338, 7 }

Definition at line 192 of file wstag470.c.

◆ actor14

FieldActorEntry actor14 = { actor14Conditions, actor14Talks, 0x79, 7, 289, 338, 7 }

Definition at line 193 of file wstag470.c.

◆ actor15

FieldActorEntry actor15 = { actor15Conditions, actor15Talks, 0x79, 7, 289, 338, 7 }

Definition at line 194 of file wstag470.c.

◆ actor16

FieldActorEntry actor16 = { actor16Conditions, actor16Talks, 0x79, 7, 289, 338, 7 }

Definition at line 195 of file wstag470.c.

◆ actor17

FieldActorEntry actor17 = { actor17Conditions, actor17Talks, 0x79, 7, 289, 338, 7 }

Definition at line 196 of file wstag470.c.

◆ actor18

FieldActorEntry actor18 = { ((void *)0) , ((void *)0) , 0xDB, 8, 368, 296, 7 }

Definition at line 197 of file wstag470.c.

◆ stageActors

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

Definition at line 198 of file wstag470.c.

Referenced by setupStage().

◆ stageObjects

StageTile stageObjects[]
Initial value:
= {
{ 1, 0, 0x40, 2, 0x32, 2, 0, 3, 6, 0, 249, 225, 0, 0 },
{ 1, 0, 0x40, 2, 0x32, 2, 0, 3, 6, 0, 311, 194, 0, 0 },
{ 1, 0, 0x40, 2, 0x32, 2, 0, 3, 6, 0, 472, 215, 0, 0 },
{ 1, 0, 0x40, 2, 0x33, 2, 0, 3, 6, 0, 193, 297, 0, 0 },
{ 1, 0, 0x40, 2, 0x33, 2, 0, 3, 6, 0, 257, 265, 0, 0 },
{ 1, 0, 0xFF, 2, 0xD, 0, 0, 0, 0, 0, 133, 187, 0, 0 },
{ 1, 0, 0xFF, 2, 0xD, 0, 0, 0, 0, 0, 277, 116, 0, 0 },
{ 1, 0, 0xFF, 2, 0xE, 0, 0, 0, 0, 0, 421, 44, 0, 0 },
{ 1, 0, 0x40, 4, 0, 0, 0, 0, 0, 0, 265, 384, 412, 0 },
{ 1, 0, 0x40, 4, 1, 0, 0, 0, 0, 0, 367, 333, 361, 0 },
{ 1, 0, 0x40, 4, 2, 0, 0, 0, 0, 0, 288, 299, 318, 0 },
{ 1, 0, 0x40, 4, 3, 0, 0, 0, 0, 0, 288, 305, 327, 0 },
{ 1, 0, 0x40, 4, 4, 0, 0, 0, 0, 0, 306, 299, 320, 0 },
{ 1, 0, 0x40, 4, 5, 0, 0, 0, 0, 0, 321, 290, 311, 0 },
{ 1, 0, 0x40, 4, 6, 0, 0, 0, 0, 0, 338, 282, 303, 0 },
{ 1, 0, 0x40, 4, 7, 0, 0, 0, 0, 0, 356, 275, 295, 0 },
{ 1, 0, 0x40, 4, 8, 0, 0, 0, 0, 0, 370, 266, 287, 0 },
{ 1, 0, 0x40, 4, 9, 0, 0, 0, 0, 0, 386, 258, 279, 0 },
{ 1, 0, 0x40, 4, 0xA, 0, 0, 0, 0, 0, 402, 250, 271, 0 },
{ 1, 0, 0x40, 4, 0xB, 0, 0, 0, 0, 0, 418, 242, 263, 0 },
{ 1, 0, 0x40, 4, 0xC, 0, 0, 0, 0, 0, 434, 235, 255, 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 220 of file wstag470.c.

Referenced by setupStage().

◆ stageSlots

StageSlot stageSlots[]
Initial value:
= {
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 1 , 0x237, 0x1BE, 0xBA, 7, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 3 , 5, 0x243, 0xC0, 0, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 2 , 5, 0x252, 0x116, 0, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 3 , 3, 0xB1, 0x149, 0, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 2 , 3, 0xC0, 0x17E, 0, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 0, 0, 0, 0, 0, 0, 0, 0 },
}

Definition at line 244 of file wstag470.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 wstag470.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 252 of file wstag470.c.

◆ stageEvents

FieldEvent stageEvents[]
Initial value:
= {
{ 1215, script1215, ( ( 0x136 - 1) << 16 | ( 0x12 )), ((void *)0) , ((void *)0) },
{ -1, ((void *)0) , 0, ((void *)0) , ((void *)0) },
}
s16 script1215[]
Definition wstag470.c:42

Definition at line 255 of file wstag470.c.

Referenced by setupStage().