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

WSTAG475: Shaman House, South Sector. More...

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

Go to the source code of this file.

Macros

#define STAGE_CHILDREN_SIZE   4
 
#define STAGE_TEXT   TEXT_FILE(TEXT_TALKS_06)
 
#define EVENT_TEXT_FILE   (TEXT_EVENTS_400 - 1)
 
#define STAGE_FILE   0x232
 
#define STAGE_ARCHIVE   0x3DA
 

Functions

void updateStage (StageTask *task, void **children)
 Creates the event object of the story so far, the first that applies.
 
void endEvent180 (void)
 After event 180, with Voice and Sepikmon: keeps it from playing again.
 
void endEvent230 (void)
 After event 230, with Sepikmon: moves the story on to STORY_ZANBAMON_DRIVEN_OFF and gives the player the Smelly Herb.
 
void setupStage (void)
 Sets the stage up: its map, actors and events, playing BGM_0013.
 

Variables

s16 script160 []
 
s16 script180 []
 
s16 script181 []
 
s16 script190 []
 
s16 script200 []
 
s16 script230 []
 
ActorImage stageImages []
 
u16 actor0Talk0Conditions [] = { (( 0x1C ) << 8 | ( 0x35 )) , 0, 0xFFFF }
 
u16 actor0Talk0Actions [] = { (( 0x1C ) << 8 | ( 0x35 )) , 1, 0xFFFF }
 
u16 actor0Talk1Conditions [] = { (( 0x1C ) << 8 | ( 0x35 )) , 1, 0xFFFF }
 
u16 actor0Talk1Actions [] = { 0x7C01, 1, 0xFFFF }
 
u16 actor8Talk0Conditions [] = { (( 0x1A ) << 8 | ( 0x2A )) , 0, 0xFFFF }
 
u16 actor8Talk1Conditions [] = { (( 0x1A ) << 8 | ( 0x2A )) , 1, (0x8000 | ( 0 ) << 9 | ( 0xE )), 0, 0xFFFF }
 
u16 actor8Talk1Actions [] = { (( 0x1A ) << 8 | ( 0x2B )) , 1, 0xFFFF }
 
u16 actor8Talk2Conditions [] = { (( 0x1A ) << 8 | ( 0x2A )) , 1, (0x8000 | ( 0 ) << 9 | ( 0xE )), 1, 0xFFFF }
 
FieldTalk actor0Talks []
 
FieldTalk actor2Talks []
 
FieldTalk actor3Talks []
 
FieldTalk actor4Talks []
 
FieldTalk actor5Talks []
 
FieldTalk actor6Talks []
 
FieldTalk actor7Talks []
 
FieldTalk actor8Talks []
 
FieldTalk actor9Talks []
 
FieldTalk actor10Talks []
 
FieldTalk actor11Talks []
 
FieldTalk actor12Talks []
 
FieldTalk actor13Talks []
 
u16 actor0Conditions [] = { (0x7000 | ( 0x93 )) , 1, 0xFFFF }
 
u16 actor1Conditions [] = { (0x6000 | ( STORY_AGUMON_SUITS )) , 1, 0xFFFF }
 
u16 actor2Conditions [] = { (0x6000 | ( STORY_KNIGHTMON_REPROGRAMMED )) , 1, 0xFFFF }
 
u16 actor3Conditions [] = { (0x7000 | ( 0x19 )) , 1, 0xFFFF }
 
u16 actor4Conditions [] = { (0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 1, 0xFFFF }
 
u16 actor5Conditions [] = { (0x6000 | ( STORY_MOVIE_BATTLES )) , 1, 0xFFFF }
 
u16 actor6Conditions [] = { (0x6000 | ( STORY_ZANBAMON_DRIVEN_OFF )) , 1, 0xFFFF }
 
u16 actor7Conditions [] = { (0x6000 | ( STORY_LOOKING_FOR_TEDDY )) , 1, 0xFFFF }
 
u16 actor8Conditions [] = { (0x6000 | ( STORY_TEDDY_FOUND )) , 1, 0xFFFF }
 
u16 actor9Conditions [] = { (0x7000 | ( 0x16 )) , 1, 0xFFFF }
 
u16 actor10Conditions [] = { (0x7000 | ( 0x17 )) , 1, 0xFFFF }
 
u16 actor11Conditions [] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF }
 
u16 actor12Conditions [] = { (0x6000 | ( STORY_CODE_PASSES_NEEDED )) , 1, 0xFFFF }
 
u16 actor13Conditions [] = { (0x6000 | ( STORY_BULBMON_FOUND )) , 1, 0xFFFF }
 
u16 actor14Conditions [] = { (0x6000 | ( STORY_SEPIKMON_MASK_LOST )) , 1, 0xFFFF }
 
u16 actor15Conditions [] = { (0x6000 | ( STORY_SOUTH_STATION_GHOST )) , 1, 0xFFFF }
 
u16 actor16Conditions [] = { (0x6000 | ( STORY_AGUMON_SUITS )) , 1, 0xFFFF }
 
FieldActorEntry actor0 = { actor0Conditions, actor0Talks, 0x3D, 4, 288, 296, 1 }
 
FieldActorEntry actor1 = { actor1Conditions, ((void *)0) , 0x84, 5, 0, 0, 7 }
 
FieldActorEntry actor2 = { actor2Conditions, actor2Talks, 0x84, 5, 144, 257, 7 }
 
FieldActorEntry actor3 = { actor3Conditions, actor3Talks, 0x84, 5, 144, 257, 7 }
 
FieldActorEntry actor4 = { actor4Conditions, actor4Talks, 0x84, 5, 144, 257, 7 }
 
FieldActorEntry actor5 = { actor5Conditions, actor5Talks, 0x84, 5, 144, 257, 7 }
 
FieldActorEntry actor6 = { actor6Conditions, actor6Talks, 0x84, 5, 144, 257, 7 }
 
FieldActorEntry actor7 = { actor7Conditions, actor7Talks, 0x84, 5, 144, 257, 7 }
 
FieldActorEntry actor8 = { actor8Conditions, actor8Talks, 0x84, 5, 144, 257, 7 }
 
FieldActorEntry actor9 = { actor9Conditions, actor9Talks, 0x84, 5, 144, 257, 7 }
 
FieldActorEntry actor10 = { actor10Conditions, actor10Talks, 0x84, 5, 144, 257, 7 }
 
FieldActorEntry actor11 = { actor11Conditions, actor11Talks, 0x84, 5, 144, 257, 7 }
 
FieldActorEntry actor12 = { actor12Conditions, actor12Talks, 0x84, 5, 144, 257, 7 }
 
FieldActorEntry actor13 = { actor13Conditions, actor13Talks, 0x84, 5, 144, 257, 7 }
 
FieldActorEntry actor14 = { actor14Conditions, ((void *)0) , 0xC5, 6, 0, 0, 1 }
 
FieldActorEntry actor15 = { actor15Conditions, ((void *)0) , 0xC5, 6, 0, 0, 1 }
 
FieldActorEntry actor16 = { actor16Conditions, ((void *)0) , 0xC5, 6, 0, 0, 1 }
 
FieldActorEntry actor17 = { ((void *)0) , ((void *)0) , 0x13F, 7, 0, 0, 1 }
 
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

WSTAG475: Shaman House, South Sector.

Definition in file wstag475.c.

Macro Definition Documentation

◆ STAGE_CHILDREN_SIZE

#define STAGE_CHILDREN_SIZE   4

Definition at line 34 of file wstag475.c.

◆ STAGE_TEXT

#define STAGE_TEXT   TEXT_FILE(TEXT_TALKS_06)

Definition at line 57 of file wstag475.c.

◆ EVENT_TEXT_FILE

#define EVENT_TEXT_FILE   (TEXT_EVENTS_400 - 1)

Definition at line 58 of file wstag475.c.

◆ STAGE_FILE

#define STAGE_FILE   0x232

Definition at line 59 of file wstag475.c.

◆ STAGE_ARCHIVE

#define STAGE_ARCHIVE   0x3DA

Definition at line 60 of file wstag475.c.

Function Documentation

◆ updateStage()

void updateStage ( StageTask *  task,
void **  children 
)

Creates the event object of the story so far, the first that applies.

< 0x1A 0x00-0x40: FLAGS_00, GAME.flags02-flags40

< 0x1C 0x00-0x40: FLAGS_00, GAME.flags02-flags40

< 0x1C 0x00-0x40: FLAGS_00, GAME.flags02-flags40

< 0x1A 0x00-0x40: FLAGS_00, GAME.flags02-flags40

< 0x1A 0x00-0x40: FLAGS_00, GAME.flags02-flags40

< 0x1A 0x00-0x40: FLAGS_00, GAME.flags02-flags40

< 0x1A 0x00-0x40: FLAGS_00, GAME.flags02-flags40

Definition at line 9 of file wstag475.c.

Here is the call graph for this function:

◆ endEvent180()

void endEvent180 ( void  )

After event 180, with Voice and Sepikmon: keeps it from playing again.

< 0x1A 0x00-0x40: FLAGS_00, GAME.flags02-flags40

Definition at line 38 of file wstag475.c.

◆ endEvent230()

void endEvent230 ( void  )

After event 230, with Sepikmon: moves the story on to STORY_ZANBAMON_DRIVEN_OFF and gives the player the Smelly Herb.

Definition at line 46 of file wstag475.c.

◆ setupStage()

void setupStage ( void  )

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

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.

< BGM_0013: the Shaman House

< BGM_0013: the Shaman House

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

Definition at line 63 of file wstag475.c.

Variable Documentation

◆ script160

s16 script160[]

Definition at line 82 of file wstag475.c.

◆ script180

s16 script180[]

Definition at line 120 of file wstag475.c.

◆ script181

s16 script181[]

Definition at line 174 of file wstag475.c.

◆ script190

s16 script190[]
Initial value:
= {
0x600, 1 , 2 ,
0x100, 2 , 0x98 , 0x13C ,
0x101, 2 , 1 , 5 ,
0x100, 0xC5 , 0x76 , 0x8C ,
0x101, 0xC5 , 1 , 7 ,
0x101, 0x32D , 0x337 , 2 ,
0x300, 0x1E ,
0x102, 2 , 0xAF , 0x12F , 5 ,
0x302, 2 ,
0x102, 2 , 0xAF , 0x10F , 4 ,
0x302, 2 ,
0x101, 2 , 1 , 3 ,
0x300, 0x1E ,
0x200, 0 , 1 , 0xC5 , 3 ,
0x301 ,
0x300, 0x1E ,
0x102, 2 , 0xAF , 0x12F , 0 ,
0x304, 0x237 , 0x41E , 0x19E , 1 ,
0 ,
}

Definition at line 205 of file wstag475.c.

◆ script200

s16 script200[]
Initial value:
= {
0x600, 1 , 2 ,
0x100, 2 , 0x98 , 0x13C ,
0x101, 2 , 1 , 5 ,
0x100, 0xC5 , 0x76 , 0x8C ,
0x101, 0xC5 , 1 , 7 ,
0x101, 0x32D , 0x337 , 2 ,
0x300, 0x1E ,
0x102, 2 , 0xAF , 0x12F , 5 ,
0x101, 0x32D , 1 , 0 ,
0x302, 2 ,
0x102, 2 , 0xAF , 0x10F , 4 ,
0x302, 2 ,
0x101, 2 , 1 , 3 ,
0x300, 0x1E ,
0x200, 0 , 1 , 0xC5 , 3 ,
0x301 ,
0x300, 0x1E ,
0x102, 2 , 0xAF , 0x12F , 0 ,
0x304, 0x237 , 0x41E , 0x19E , 1 ,
0 ,
}

Definition at line 226 of file wstag475.c.

◆ script230

s16 script230[]

Definition at line 248 of file wstag475.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, 0x14C, 0x100, 0x30, 0, 0x150, 0x1FF },
{ 0x140, 0x100, 0x140, 0x100, 0, 0, 0x160, 0x1FF },
{ 0x140, 0x100, 0x154, 0x100, 0x50, 0, 0x170, 0x1FF },
{ 0x140, 0x100, 0x15C, 0x100, 0x70, 0, 0x140, 0x1FE },
}

Definition at line 327 of file wstag475.c.

Referenced by setupStage().

◆ actor0Talk0Conditions

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

Definition at line 339 of file wstag475.c.

◆ actor0Talk0Actions

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

Definition at line 340 of file wstag475.c.

◆ actor0Talk1Conditions

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

Definition at line 341 of file wstag475.c.

◆ actor0Talk1Actions

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

Definition at line 342 of file wstag475.c.

◆ actor8Talk0Conditions

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

Definition at line 343 of file wstag475.c.

◆ actor8Talk1Conditions

u16 actor8Talk1Conditions[] = { (( 0x1A ) << 8 | ( 0x2A )) , 1, (0x8000 | ( 0 ) << 9 | ( 0xE )), 0, 0xFFFF }

Definition at line 344 of file wstag475.c.

◆ actor8Talk1Actions

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

Definition at line 345 of file wstag475.c.

◆ actor8Talk2Conditions

u16 actor8Talk2Conditions[] = { (( 0x1A ) << 8 | ( 0x2A )) , 1, (0x8000 | ( 0 ) << 9 | ( 0xE )), 1, 0xFFFF }

Definition at line 346 of file wstag475.c.

◆ actor0Talks

FieldTalk actor0Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor0Talk0Actions[]
Definition wstag475.c:340
u16 actor0Talk0Conditions[]
Definition wstag475.c:339
u16 actor0Talk1Conditions[]
Definition wstag475.c:341
u16 actor0Talk1Actions[]
Definition wstag475.c:342

Definition at line 347 of file wstag475.c.

◆ actor2Talks

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

Definition at line 352 of file wstag475.c.

◆ actor3Talks

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

Definition at line 356 of file wstag475.c.

◆ actor4Talks

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

Definition at line 360 of file wstag475.c.

◆ actor5Talks

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

Definition at line 364 of file wstag475.c.

◆ actor6Talks

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

Definition at line 368 of file wstag475.c.

◆ actor7Talks

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

Definition at line 372 of file wstag475.c.

◆ actor8Talks

FieldTalk actor8Talks[]
Initial value:
= {
{ actor8Talk0Conditions, ((void *)0) , 0x121 },
{ actor8Talk2Conditions, ((void *)0) , 0x2EE },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor8Talk1Conditions[]
Definition wstag475.c:344
u16 actor8Talk2Conditions[]
Definition wstag475.c:346
u16 actor8Talk1Actions[]
Definition wstag475.c:345
u16 actor8Talk0Conditions[]
Definition wstag475.c:343

Definition at line 376 of file wstag475.c.

◆ actor9Talks

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

Definition at line 382 of file wstag475.c.

◆ actor10Talks

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

Definition at line 386 of file wstag475.c.

◆ actor11Talks

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

Definition at line 390 of file wstag475.c.

◆ actor12Talks

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

Definition at line 394 of file wstag475.c.

◆ actor13Talks

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

Definition at line 398 of file wstag475.c.

◆ actor0Conditions

u16 actor0Conditions[] = { (0x7000 | ( 0x93 )) , 1, 0xFFFF }

Definition at line 402 of file wstag475.c.

◆ actor1Conditions

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

Definition at line 403 of file wstag475.c.

◆ actor2Conditions

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

Definition at line 404 of file wstag475.c.

◆ actor3Conditions

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

Definition at line 405 of file wstag475.c.

◆ actor4Conditions

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

Definition at line 406 of file wstag475.c.

◆ actor5Conditions

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

Definition at line 407 of file wstag475.c.

◆ actor6Conditions

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

Definition at line 408 of file wstag475.c.

◆ actor7Conditions

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

Definition at line 409 of file wstag475.c.

◆ actor8Conditions

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

Definition at line 410 of file wstag475.c.

◆ actor9Conditions

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

Definition at line 411 of file wstag475.c.

◆ actor10Conditions

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

Definition at line 412 of file wstag475.c.

◆ actor11Conditions

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

Definition at line 413 of file wstag475.c.

◆ actor12Conditions

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

Definition at line 414 of file wstag475.c.

◆ actor13Conditions

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

Definition at line 415 of file wstag475.c.

◆ actor14Conditions

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

Definition at line 416 of file wstag475.c.

◆ actor15Conditions

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

Definition at line 417 of file wstag475.c.

◆ actor16Conditions

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

Definition at line 418 of file wstag475.c.

◆ actor0

FieldActorEntry actor0 = { actor0Conditions, actor0Talks, 0x3D, 4, 288, 296, 1 }

Definition at line 419 of file wstag475.c.

◆ actor1

FieldActorEntry actor1 = { actor1Conditions, ((void *)0) , 0x84, 5, 0, 0, 7 }

Definition at line 420 of file wstag475.c.

◆ actor2

FieldActorEntry actor2 = { actor2Conditions, actor2Talks, 0x84, 5, 144, 257, 7 }

Definition at line 421 of file wstag475.c.

◆ actor3

FieldActorEntry actor3 = { actor3Conditions, actor3Talks, 0x84, 5, 144, 257, 7 }

Definition at line 422 of file wstag475.c.

◆ actor4

FieldActorEntry actor4 = { actor4Conditions, actor4Talks, 0x84, 5, 144, 257, 7 }

Definition at line 423 of file wstag475.c.

◆ actor5

FieldActorEntry actor5 = { actor5Conditions, actor5Talks, 0x84, 5, 144, 257, 7 }

Definition at line 424 of file wstag475.c.

◆ actor6

FieldActorEntry actor6 = { actor6Conditions, actor6Talks, 0x84, 5, 144, 257, 7 }

Definition at line 425 of file wstag475.c.

◆ actor7

FieldActorEntry actor7 = { actor7Conditions, actor7Talks, 0x84, 5, 144, 257, 7 }

Definition at line 426 of file wstag475.c.

◆ actor8

FieldActorEntry actor8 = { actor8Conditions, actor8Talks, 0x84, 5, 144, 257, 7 }

Definition at line 427 of file wstag475.c.

◆ actor9

FieldActorEntry actor9 = { actor9Conditions, actor9Talks, 0x84, 5, 144, 257, 7 }

Definition at line 428 of file wstag475.c.

◆ actor10

FieldActorEntry actor10 = { actor10Conditions, actor10Talks, 0x84, 5, 144, 257, 7 }

Definition at line 429 of file wstag475.c.

◆ actor11

FieldActorEntry actor11 = { actor11Conditions, actor11Talks, 0x84, 5, 144, 257, 7 }

Definition at line 430 of file wstag475.c.

◆ actor12

FieldActorEntry actor12 = { actor12Conditions, actor12Talks, 0x84, 5, 144, 257, 7 }

Definition at line 431 of file wstag475.c.

◆ actor13

FieldActorEntry actor13 = { actor13Conditions, actor13Talks, 0x84, 5, 144, 257, 7 }

Definition at line 432 of file wstag475.c.

◆ actor14

FieldActorEntry actor14 = { actor14Conditions, ((void *)0) , 0xC5, 6, 0, 0, 1 }

Definition at line 433 of file wstag475.c.

◆ actor15

FieldActorEntry actor15 = { actor15Conditions, ((void *)0) , 0xC5, 6, 0, 0, 1 }

Definition at line 434 of file wstag475.c.

◆ actor16

FieldActorEntry actor16 = { actor16Conditions, ((void *)0) , 0xC5, 6, 0, 0, 1 }

Definition at line 435 of file wstag475.c.

◆ actor17

FieldActorEntry actor17 = { ((void *)0) , ((void *)0) , 0x13F, 7, 0, 0, 1 }

Definition at line 436 of file wstag475.c.

◆ stageActors

FieldActorEntry* stageActors[]
Initial value:
= {
((void *)0) ,
}
FieldActorEntry actor0
Definition wstag475.c:419
FieldActorEntry actor6
Definition wstag475.c:425
FieldActorEntry actor17
Definition wstag475.c:436
FieldActorEntry actor5
Definition wstag475.c:424
FieldActorEntry actor2
Definition wstag475.c:421
FieldActorEntry actor10
Definition wstag475.c:429
FieldActorEntry actor4
Definition wstag475.c:423
FieldActorEntry actor8
Definition wstag475.c:427
FieldActorEntry actor9
Definition wstag475.c:428
FieldActorEntry actor15
Definition wstag475.c:434
FieldActorEntry actor12
Definition wstag475.c:431
FieldActorEntry actor16
Definition wstag475.c:435
FieldActorEntry actor7
Definition wstag475.c:426
FieldActorEntry actor13
Definition wstag475.c:432
FieldActorEntry actor11
Definition wstag475.c:430
FieldActorEntry actor1
Definition wstag475.c:420
FieldActorEntry actor3
Definition wstag475.c:422
FieldActorEntry actor14
Definition wstag475.c:433

Definition at line 437 of file wstag475.c.

Referenced by setupStage().

◆ stageObjects

StageTile stageObjects[]
Initial value:
= {
{ 1, 0, 0x40, 6, 0x32, 1, 0x32, 0x37, 0xA, 0, 216, 262, 0, 0 },
{ 1, 0, 0x40, 6, 0x38, 1, 0x38, 0x3D, 0xA, 0, 72, 170, 0, 0 },
{ 1, 0, 0x40, 6, 0x3E, 1, 0x3E, 0x43, 0xA, 0, 348, 225, 0, 0 },
{ 1, 0, 0x40, 6, 0x3E, 1, 0x3E, 0x43, 0xA, 0, 355, 229, 0, 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 458 of file wstag475.c.

Referenced by setupStage().

◆ stageSlots

StageSlot stageSlots[]
Initial value:
= {
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 1 , 0x237, 0x412, 0x1A4, 1, 0, 0, 0 },
{ { { (0x6000 | ( STORY_SOUTH_STATION_GHOST )) , 1 }, { 0xFFFF , 0 } }, 8 , 0xA0, 0, 0, 0, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 0, 0, 0, 0, 0, 0, 0, 0 },
}
@ STORY_SOUTH_STATION_GHOST
WSTAG440 (South Station), event 152: a ghost's voice in the empty station.
Definition story.h:45

Definition at line 465 of file wstag475.c.

Referenced by setupStage().

◆ stageFuncs

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

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 470 of file wstag475.c.

◆ stageEvents

FieldEvent stageEvents[]
Initial value:
= {
{ 160, script160, ( ( 0x136 - 1) << 16 | ( 7 )), ((void *)0) , ((void *)0) },
{ 180, script180, ( ( 0x136 - 1) << 16 | ( 0xA )), ((void *)0) , endEvent180 },
{ 181, script181, ( ( 0x136 - 1) << 16 | ( 0xB )), ((void *)0) , ((void *)0) },
{ 190, script190, ( ( 0x136 - 1) << 16 | ( 0xC )), ((void *)0) , ((void *)0) },
{ 200, script200, ( ( 0x136 - 1) << 16 | ( 0xD )), ((void *)0) , ((void *)0) },
{ 230, script230, ( ( 0x136 - 1) << 16 | ( 0xE )), ((void *)0) , endEvent230 },
{ -1, ((void *)0) , 0, ((void *)0) , ((void *)0) },
}
void endEvent230(void)
After event 230, with Sepikmon: moves the story on to STORY_ZANBAMON_DRIVEN_OFF and gives the player ...
Definition wstag475.c:46
s16 script190[]
Definition wstag475.c:205
s16 script200[]
Definition wstag475.c:226
s16 script230[]
Definition wstag475.c:248
void endEvent180(void)
After event 180, with Voice and Sepikmon: keeps it from playing again.
Definition wstag475.c:38
s16 script180[]
Definition wstag475.c:120
s16 script181[]
Definition wstag475.c:174
s16 script160[]
Definition wstag475.c:82

Definition at line 473 of file wstag475.c.

Referenced by setupStage().