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

WSTAG750: Chamber Room, North Sector: the emergency Matrix Chamber. More...

Include dependency graph for wstag750.c:

Go to the source code of this file.

Macros

#define STAGE_CHILDREN_SIZE   0xC
 
#define STAGE_TEXT   TEXT_FILE(TEXT_TALKS_02)
 
#define EVENT_TEXT_FILE   (TEXT_EVENTS_700 - 1)
 
#define STAGE_FILE   0x6C1
 

Functions

void updateTileEffect (StageTileEffect *task)
 Moves its map objects to (x, y) and animates them when the substate is set to 1.
 
void handleCommand846 (StageTileEffect *task, s32 id)
 Starts the effect at the place of map 0x335.
 
void updateStage (StageTask *task, void **children)
 Creates the stage's effect, the event object of story progress 0x20 that applies, and another object.
 
void endEvent820 (void)
 After event 820, with Chamber Officer: moves the story on to STORY_REAL_WORLD.
 
void endEvent860 (void)
 After event 860, with Chamber Office: keeps it from playing again.
 
void endEvent883 (void)
 After event 883, with Chamber Officer: keeps it from playing again.
 
void endEvent884 (void)
 After event 884, with the player: keeps it from playing again.
 
void endEvent886 (void)
 After event 886, with the player: moves the story on to STORY_NETWORK_OFFLINE.
 
void endEvent1245 (void)
 After event 1245, with Guardromon: applies 0x7C0A, 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 the ambience ENV_0024.
 

Variables

AnimFrame * updateTileEffectFrames []
 Defined below, after the code that uses them.
 
StageEffectSpot updateStageSpots []
 
s8 tileEffectSortY []
 
s8 tileEffectY []
 
s16 tileEffectPlaces [][2]
 
s16 script820 []
 
s16 script860 []
 
s16 script883 []
 
s16 script884 []
 
s16 script886 []
 
s16 script1245 []
 
AnimFrame updateTileEffectFrames_0 []
 
AnimFrame updateTileEffectFrames_2 []
 
AnimFrame updateTileEffectFrames_1 []
 
AnimFrame effectClutFrames []
 
AnimFrame effectFrames []
 
ActorImage stageImages []
 
u16 actor0Talk0Conditions [] = { (( 0 ) << 8 | ( 0 )) , 0, 0xFFFF }
 
u16 actor0Talk0Actions [] = { (( 0 ) << 8 | ( 0 )) , 1, 0xFFFF }
 
u16 actor0Talk1Conditions [] = { (0x8000 | ( 0 ) << 9 | ( 0xC )), 0, (( 0 ) << 8 | ( 0 )) , 1, 0xFFFF }
 
u16 actor0Talk2Conditions []
 
u16 actor0Talk2Actions [] = { (0x9000 | ( 0x45 )) , 1, (( 0x1C ) << 8 | ( 2 )) , 1, 0xFFFF }
 
u16 actor0Talk3Conditions []
 
u16 actor1Talk0Actions [] = { 0x7A27, 1, 0xFFFF }
 
u16 actor2Talk0Actions [] = { (0x9000 | ( 0x19 )) , 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 []
 
u16 actor0Conditions []
 
u16 actor3Conditions [] = { (0x6000 | ( STORY_MOVIE_BATTLES )) , 1, 0xFFFF }
 
u16 actor4Conditions [] = { (0x6000 | ( STORY_NETWORK_OFFLINE )) , 1, 0xFFFF }
 
u16 actor5Conditions [] = { (0x6000 | ( STORY_WAY_TO_AMATERASU )) , 1, 0xFFFF }
 
u16 actor6Conditions [] = { (0x6000 | ( STORY_WHITE_ID_PASS )) , 1, 0xFFFF }
 
u16 actor7Conditions [] = { (0x6000 | ( STORY_BLACK_ID_PASS )) , 1, 0xFFFF }
 
u16 actor8Conditions [] = { (0x6000 | ( STORY_AMATERASU_BRIDGE )) , 1, 0xFFFF }
 
u16 actor9Conditions [] = { (0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 1, 0xFFFF }
 
u16 actor10Conditions [] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF }
 
u16 actor11Conditions [] = { (0x6000 | ( STORY_GENBU_BADGE )) , 1, 0xFFFF }
 
u16 actor12Conditions [] = { (0x6000 | ( STORY_DE_KNOWLEDGE )) , 1, 0xFFFF }
 
u16 actor13Conditions [] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF }
 
FieldActorEntry actor0 = { actor0Conditions, actor0Talks, 0xD, 4, 129, 281, 7 }
 
FieldActorEntry actor1 = { ((void *)0) , actor1Talks, 0x14, 5, 162, 473, 7 }
 
FieldActorEntry actor2 = { ((void *)0) , actor2Talks, 0x15, 6, 224, 441, 7 }
 
FieldActorEntry actor3 = { actor3Conditions, actor3Talks, 0x23, 7, 306, 456, 7 }
 
FieldActorEntry actor4 = { actor4Conditions, actor4Talks, 0x23, 7, 306, 456, 7 }
 
FieldActorEntry actor5 = { actor5Conditions, actor5Talks, 0x23, 7, 306, 456, 7 }
 
FieldActorEntry actor6 = { actor6Conditions, actor6Talks, 0x23, 7, 306, 456, 7 }
 
FieldActorEntry actor7 = { actor7Conditions, actor7Talks, 0x23, 7, 306, 456, 7 }
 
FieldActorEntry actor8 = { actor8Conditions, actor8Talks, 0x23, 7, 306, 456, 7 }
 
FieldActorEntry actor9 = { actor9Conditions, actor9Talks, 0x23, 7, 306, 456, 7 }
 
FieldActorEntry actor10 = { actor10Conditions, actor10Talks, 0x23, 7, 306, 456, 7 }
 
FieldActorEntry actor11 = { actor11Conditions, actor11Talks, 0x23, 7, 306, 456, 7 }
 
FieldActorEntry actor12 = { actor12Conditions, actor12Talks, 0x23, 7, 306, 456, 7 }
 
FieldActorEntry actor13 = { actor13Conditions, actor13Talks, 0x9D, 8, 129, 281, 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

WSTAG750: Chamber Room, North Sector: the emergency Matrix Chamber.

Its gates lead to the Real World and the Ice Dungeon (WSTAG735); the trip to the Real World (its 180 seconds, the Juggernaut taken) plays here.

Definition in file wstag750.c.

Macro Definition Documentation

◆ STAGE_CHILDREN_SIZE

#define STAGE_CHILDREN_SIZE   0xC

Definition at line 147 of file wstag750.c.

◆ STAGE_TEXT

#define STAGE_TEXT   TEXT_FILE(TEXT_TALKS_02)

Definition at line 193 of file wstag750.c.

◆ EVENT_TEXT_FILE

#define EVENT_TEXT_FILE   (TEXT_EVENTS_700 - 1)

Definition at line 194 of file wstag750.c.

◆ STAGE_FILE

#define STAGE_FILE   0x6C1

Definition at line 195 of file wstag750.c.

Function Documentation

◆ updateTileEffect()

void updateTileEffect ( StageTileEffect *  task)

Moves its map objects to (x, y) and animates them when the substate is set to 1.

Definition at line 21 of file wstag750.c.

Here is the call graph for this function:

◆ handleCommand846()

void handleCommand846 ( StageTileEffect *  task,
s32  id 
)

Starts the effect at the place of map 0x335.

Definition at line 100 of file wstag750.c.

◆ updateStage()

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

Creates the stage's effect, the event object of story progress 0x20 that applies, and another object.

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

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

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

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

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

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

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

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

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

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

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

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

Definition at line 118 of file wstag750.c.

Here is the call graph for this function:

◆ endEvent820()

void endEvent820 ( void  )

After event 820, with Chamber Officer: moves the story on to STORY_REAL_WORLD.

Definition at line 156 of file wstag750.c.

◆ endEvent860()

void endEvent860 ( void  )

After event 860, with Chamber Office: keeps it from playing again.

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

Definition at line 161 of file wstag750.c.

◆ endEvent883()

void endEvent883 ( void  )

After event 883, with Chamber Officer: keeps it from playing again.

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

Definition at line 166 of file wstag750.c.

◆ endEvent884()

void endEvent884 ( void  )

After event 884, with the player: keeps it from playing again.

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

Definition at line 171 of file wstag750.c.

◆ endEvent886()

void endEvent886 ( void  )

After event 886, with the player: moves the story on to STORY_NETWORK_OFFLINE.

Definition at line 176 of file wstag750.c.

◆ endEvent1245()

void endEvent1245 ( void  )

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

Definition at line 184 of file wstag750.c.

◆ setupStage()

void setupStage ( void  )

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

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.

< ENV_0024: the Chamber Rooms

< ENV_0024: the Chamber Rooms

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

Definition at line 198 of file wstag750.c.

Variable Documentation

◆ updateTileEffectFrames

AnimFrame* updateTileEffectFrames[]
Initial value:
= {
}
AnimFrame updateTileEffectFrames_0[]
Definition wstag750.c:456
AnimFrame updateTileEffectFrames_2[]
Definition wstag750.c:460
AnimFrame updateTileEffectFrames_1[]
Definition wstag750.c:467

Defined below, after the code that uses them.

Definition at line 473 of file wstag750.c.

Referenced by updateTileEffect().

◆ updateStageSpots

StageEffectSpot updateStageSpots[]
Initial value:
= {
{ 28, 0, 108, 0x144 },
}

Definition at line 485 of file wstag750.c.

Referenced by updateStage().

◆ tileEffectSortY

s8 tileEffectSortY[]
Initial value:
= {
30, 30, 30, 0,
}

Definition at line 476 of file wstag750.c.

Referenced by updateTileEffect().

◆ tileEffectY

s8 tileEffectY[]
Initial value:
= {
0, -0x2F, -0x2F, 0,
}

Definition at line 479 of file wstag750.c.

Referenced by updateTileEffect().

◆ tileEffectPlaces

s16 tileEffectPlaces[][2]
Initial value:
= {
{ 0x140, 186 },
}

Definition at line 482 of file wstag750.c.

Referenced by handleCommand846().

◆ script820

s16 script820[]

Definition at line 217 of file wstag750.c.

◆ script860

s16 script860[]

Definition at line 300 of file wstag750.c.

◆ script883

s16 script883[]

Definition at line 350 of file wstag750.c.

◆ script884

s16 script884[]
Initial value:
= {
0x100, 2 , 0x15E , 0xCA ,
0x101, 2 , 1 , 1 ,
0x100, 0xD , 0x81 , 0x119 ,
0x101, 0xD , 1 , 7 ,
0x300, 0x78 ,
0x200, 0 , 1 , 2 , 2 ,
0x301 ,
0x101, 0x323 , 0x327 , 2 ,
0x300, 0x3C ,
0x101, 2 , 1 , 7 ,
0x101, 0x323 , 0x326 , 2 ,
0x300, 0x1E ,
0x200, 0 , 2 , 2 , 2 ,
0x301 ,
0x300, 0x1E ,
0x304, 0x2D7 , 0x64 , 0x64 , 0 ,
0 ,
}

Definition at line 399 of file wstag750.c.

◆ script886

s16 script886[]
Initial value:
= {
0x100, 2 , 0x15E , 0xCA ,
0x101, 2 , 1 , 7 ,
0x100, 0xD , 0x81 , 0x119 ,
0x101, 0xD , 1 , 7 ,
0x300, 0x78 ,
0x200, 0 , 1 , 2 , 2 ,
0x301 ,
0x300, 0x1E ,
0x200, 0 , 2 , 2 , 2 ,
0x101, 2 , 1 , 1 ,
0x301 ,
0x300, 0x1E ,
0x102, 2 , 0xA0 , 0x128 , 1 ,
0x300, 0x3C ,
0x304, 0x26A , 0x3C0 , 0x50 , 7 ,
0 ,
}

Definition at line 418 of file wstag750.c.

◆ script1245

s16 script1245[]
Initial value:
= {
0x102, 2 , 0x100 , 0x1C8 , 3 ,
0x100, 0x15 , 0xE0 , 0x1B9 ,
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, 0xC08 , 0 , 0 , 0 ,
0 ,
}

Definition at line 436 of file wstag750.c.

◆ updateTileEffectFrames_0

AnimFrame updateTileEffectFrames_0[]
Initial value:
= {
{ 70, 4 }, { 71, 4 }, { 70, 4 }, { 71, 4 },
{ 255, 0x3E7 },
}

Definition at line 456 of file wstag750.c.

◆ updateTileEffectFrames_2

AnimFrame updateTileEffectFrames_2[]
Initial value:
= {
{ 0x12C, 56 }, { 85, 6 }, { 86, 6 }, { 87, 4 },
{ 88, 4 }, { 89, 4 }, { 90, 4 }, { 88, 4 },
{ 89, 4 }, { 90, 4 }, { 88, 4 }, { 89, 4 },
{ 90, 4 }, { 88, 4 }, { 89, 4 }, { 90, 4 },
{ 88, 4 }, { 89, 4 }, { 90, 4 }, { 255, 0x3E7 },
}

Definition at line 460 of file wstag750.c.

◆ updateTileEffectFrames_1

AnimFrame updateTileEffectFrames_1[]
Initial value:
= {
{ 0x12C, 16 }, { 72, 4 }, { 73, 4 }, { 74, 4 },
{ 73, 4 }, { 75, 6 }, { 76, 6 }, { 77, 14 },
{ 78, 114 }, { 79, 6 }, { 80, 6 }, { 81, 6 },
{ 82, 6 }, { 83, 6 }, { 84, 8 }, { 255, 0x3E7 },
}

Definition at line 467 of file wstag750.c.

◆ effectClutFrames

AnimFrame effectClutFrames[]
Initial value:
= {
{ 0, 6 }, { 1, 6 }, { 2, 68 }, { 1, 4 },
{ 0, 4 }, { 255, 0 },
}

Definition at line 488 of file wstag750.c.

◆ effectFrames

AnimFrame effectFrames[]
Initial value:
= {
{ 0x12C, 18 }, { 1, 6 }, { 2, 6 }, { 3, 6 },
{ 4, 6 }, { 5, 4 }, { 6, 4 }, { 7, 4 },
{ 5, 4 }, { 6, 4 }, { 7, 4 }, { 5, 4 },
{ 6, 4 }, { 7, 4 }, { 5, 4 }, { 6, 4 },
{ 7, 4 }, { 4, 4 }, { 3, 4 }, { 2, 4 },
{ 1, 4 }, { 255, 0x3E7 },
}

Definition at line 492 of file wstag750.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, 0x1B0, 0xD8, 0xB0, 0x160, 0x1F8 },
{ 0x140, 0x100, 0x164, 0x1C8, 0x90, 0xC8, 0x170, 0x1F8 },
{ 0x140, 0x100, 0x14A, 0x1B0, 0x28, 0xB0, 0x150, 0x1F7 },
{ 0x180, 0x100, 0x194, 0x140, 0x150, 0x40, 0x160, 0x1F7 },
{ 0x180, 0x100, 0x19C, 0x148, 0x170, 0x48, 0x170, 0x1F7 },
}

Definition at line 500 of file wstag750.c.

Referenced by setupStage().

◆ actor0Talk0Conditions

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

Definition at line 513 of file wstag750.c.

◆ actor0Talk0Actions

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

Definition at line 514 of file wstag750.c.

◆ actor0Talk1Conditions

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

Definition at line 515 of file wstag750.c.

◆ actor0Talk2Conditions

u16 actor0Talk2Conditions[]
Initial value:
= {
(0x8000 | ( 0 ) << 9 | ( 0xC )), 1,
(( 0x1C ) << 8 | ( 2 )) , 0,
(( 0 ) << 8 | ( 0 )) , 1,
0xFFFF ,
}

Definition at line 516 of file wstag750.c.

◆ actor0Talk2Actions

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

Definition at line 522 of file wstag750.c.

◆ actor0Talk3Conditions

u16 actor0Talk3Conditions[]
Initial value:
= {
(0x8000 | ( 0 ) << 9 | ( 0xC )), 1,
(( 0x1C ) << 8 | ( 2 )) , 1,
(( 0 ) << 8 | ( 0 )) , 1,
0xFFFF ,
}

Definition at line 523 of file wstag750.c.

◆ actor1Talk0Actions

u16 actor1Talk0Actions[] = { 0x7A27, 1, 0xFFFF }

Definition at line 529 of file wstag750.c.

◆ actor2Talk0Actions

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

Definition at line 530 of file wstag750.c.

◆ actor0Talks

FieldTalk actor0Talks[]
Initial value:
= {
{ actor0Talk1Conditions, ((void *)0) , 0x30C },
{ actor0Talk3Conditions, ((void *)0) , 0x30E },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor0Talk0Actions[]
Definition wstag750.c:514
u16 actor0Talk0Conditions[]
Definition wstag750.c:513
u16 actor0Talk1Conditions[]
Definition wstag750.c:515
u16 actor0Talk3Conditions[]
Definition wstag750.c:523
u16 actor0Talk2Actions[]
Definition wstag750.c:522
u16 actor0Talk2Conditions[]
Definition wstag750.c:516

Definition at line 531 of file wstag750.c.

◆ actor1Talks

FieldTalk actor1Talks[]
Initial value:
= {
{ ((void *)0) , actor1Talk0Actions, 0x16B },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor1Talk0Actions[]
Definition wstag750.c:529

Definition at line 538 of file wstag750.c.

◆ actor2Talks

FieldTalk actor2Talks[]
Initial value:
= {
{ ((void *)0) , actor2Talk0Actions, 0x168 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor2Talk0Actions[]
Definition wstag750.c:530

Definition at line 542 of file wstag750.c.

◆ actor3Talks

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

Definition at line 546 of file wstag750.c.

◆ actor4Talks

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

Definition at line 550 of file wstag750.c.

◆ actor5Talks

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

Definition at line 554 of file wstag750.c.

◆ actor6Talks

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

Definition at line 558 of file wstag750.c.

◆ actor7Talks

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

Definition at line 562 of file wstag750.c.

◆ actor8Talks

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

Definition at line 566 of file wstag750.c.

◆ actor9Talks

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

Definition at line 570 of file wstag750.c.

◆ actor10Talks

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

Definition at line 574 of file wstag750.c.

◆ actor11Talks

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

Definition at line 578 of file wstag750.c.

◆ actor12Talks

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

Definition at line 582 of file wstag750.c.

◆ actor13Talks

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

Definition at line 586 of file wstag750.c.

◆ actor0Conditions

u16 actor0Conditions[]
Initial value:
= {
(0x7000 | ( 0xA )) , 1,
(0x7000 | ( 0x1A )) , 0,
0xFFFF ,
}

Definition at line 590 of file wstag750.c.

◆ actor3Conditions

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

Definition at line 595 of file wstag750.c.

◆ actor4Conditions

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

Definition at line 596 of file wstag750.c.

◆ actor5Conditions

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

Definition at line 597 of file wstag750.c.

◆ actor6Conditions

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

Definition at line 598 of file wstag750.c.

◆ actor7Conditions

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

Definition at line 599 of file wstag750.c.

◆ actor8Conditions

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

Definition at line 600 of file wstag750.c.

◆ actor9Conditions

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

Definition at line 601 of file wstag750.c.

◆ actor10Conditions

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

Definition at line 602 of file wstag750.c.

◆ actor11Conditions

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

Definition at line 603 of file wstag750.c.

◆ actor12Conditions

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

Definition at line 604 of file wstag750.c.

◆ actor13Conditions

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

Definition at line 605 of file wstag750.c.

◆ actor0

FieldActorEntry actor0 = { actor0Conditions, actor0Talks, 0xD, 4, 129, 281, 7 }

Definition at line 606 of file wstag750.c.

◆ actor1

FieldActorEntry actor1 = { ((void *)0) , actor1Talks, 0x14, 5, 162, 473, 7 }

Definition at line 607 of file wstag750.c.

◆ actor2

FieldActorEntry actor2 = { ((void *)0) , actor2Talks, 0x15, 6, 224, 441, 7 }

Definition at line 608 of file wstag750.c.

◆ actor3

FieldActorEntry actor3 = { actor3Conditions, actor3Talks, 0x23, 7, 306, 456, 7 }

Definition at line 609 of file wstag750.c.

◆ actor4

FieldActorEntry actor4 = { actor4Conditions, actor4Talks, 0x23, 7, 306, 456, 7 }

Definition at line 610 of file wstag750.c.

◆ actor5

FieldActorEntry actor5 = { actor5Conditions, actor5Talks, 0x23, 7, 306, 456, 7 }

Definition at line 611 of file wstag750.c.

◆ actor6

FieldActorEntry actor6 = { actor6Conditions, actor6Talks, 0x23, 7, 306, 456, 7 }

Definition at line 612 of file wstag750.c.

◆ actor7

FieldActorEntry actor7 = { actor7Conditions, actor7Talks, 0x23, 7, 306, 456, 7 }

Definition at line 613 of file wstag750.c.

◆ actor8

FieldActorEntry actor8 = { actor8Conditions, actor8Talks, 0x23, 7, 306, 456, 7 }

Definition at line 614 of file wstag750.c.

◆ actor9

FieldActorEntry actor9 = { actor9Conditions, actor9Talks, 0x23, 7, 306, 456, 7 }

Definition at line 615 of file wstag750.c.

◆ actor10

FieldActorEntry actor10 = { actor10Conditions, actor10Talks, 0x23, 7, 306, 456, 7 }

Definition at line 616 of file wstag750.c.

◆ actor11

FieldActorEntry actor11 = { actor11Conditions, actor11Talks, 0x23, 7, 306, 456, 7 }

Definition at line 617 of file wstag750.c.

◆ actor12

FieldActorEntry actor12 = { actor12Conditions, actor12Talks, 0x23, 7, 306, 456, 7 }

Definition at line 618 of file wstag750.c.

◆ actor13

FieldActorEntry actor13 = { actor13Conditions, actor13Talks, 0x9D, 8, 129, 281, 7 }

Definition at line 619 of file wstag750.c.

◆ stageActors

FieldActorEntry* stageActors[]
Initial value:
= {
((void *)0) ,
}
FieldActorEntry actor0
Definition wstag750.c:606
FieldActorEntry actor6
Definition wstag750.c:612
FieldActorEntry actor5
Definition wstag750.c:611
FieldActorEntry actor2
Definition wstag750.c:608
FieldActorEntry actor10
Definition wstag750.c:616
FieldActorEntry actor4
Definition wstag750.c:610
FieldActorEntry actor8
Definition wstag750.c:614
FieldActorEntry actor9
Definition wstag750.c:615
FieldActorEntry actor12
Definition wstag750.c:618
FieldActorEntry actor7
Definition wstag750.c:613
FieldActorEntry actor13
Definition wstag750.c:619
FieldActorEntry actor11
Definition wstag750.c:617
FieldActorEntry actor1
Definition wstag750.c:607
FieldActorEntry actor3
Definition wstag750.c:609

Definition at line 620 of file wstag750.c.

Referenced by setupStage().

◆ stageObjects

StageTile stageObjects[]
Initial value:
= {
{ 0, 1, 0x50, 6, 0x46, 0, 0, 0, 0, 0, 320, 186, 0, 0 },
{ 1, 0, 0x40, 6, 0x60, 1, 0x60, 0x63, 6, 0, 324, 169, 0, 0 },
{ 1, 0, 0x40, 6, 0x39, 2, 0, 0xB, 8, 0, 78, 233, 0, 0 },
{ 1, 0, 0x40, 6, 0x39, 2, 0, 0xB, 8, 0, 93, 214, 0, 0 },
{ 1, 0, 0x40, 6, 0x39, 2, 0, 0xB, 8, 0, 109, 217, 0, 0 },
{ 1, 0, 0x40, 6, 0x3A, 2, 0, 0xB, 8, 0, 78, 221, 0, 0 },
{ 1, 0, 0x40, 6, 0x3A, 2, 0, 0xB, 8, 0, 93, 225, 0, 0 },
{ 1, 0, 0x40, 6, 0x3A, 2, 0, 0xB, 8, 0, 109, 205, 0, 0 },
{ 1, 0, 0x40, 6, 0x32, 1, 0x32, 0x34, 0xA, 0, 82, 234, 0, 0 },
{ 1, 0, 0x40, 6, 0x35, 1, 0x35, 0x37, 0xA, 0, 139, 230, 0, 0 },
{ 0, 3, 0x50, 4, 0x55, 0, 0, 0, 0, 0, 320, 139, 206, 0 },
{ 0, 2, 0x50, 4, 0x48, 0, 0, 0, 0, 0, 320, 139, 213, 0 },
{ 1, 0, 0x40, 4, 0x5C, 1, 0x5C, 0x5F, 6, 0, 324, 185, 209, 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 637 of file wstag750.c.

Referenced by setupStage().

◆ stageSlots

StageSlot stageSlots[]
Initial value:
= {
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 1 , 0x26C, 0xB8, 0xB4, 7, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 14 , 0x26A, 0x3C0, 0x50, 7, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 0, 0, 0, 0, 0, 0, 0, 0 },
}

Definition at line 653 of file wstag750.c.

Referenced by setupStage().

◆ stageFuncs

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

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 658 of file wstag750.c.

◆ stageEvents

FieldEvent stageEvents[]
Initial value:
= {
{ 820, script820, ( ( 0x14B - 1) << 16 | ( 0x19 )), ((void *)0) , endEvent820 },
{ 860, script860, ( ( 0x14B - 1) << 16 | ( 0x1C )), ((void *)0) , endEvent860 },
{ 883, script883, ( ( 0x14B - 1) << 16 | ( 0x1D )), ((void *)0) , endEvent883 },
{ 884, script884, ( ( 0x14B - 1) << 16 | ( 0x1E )), ((void *)0) , endEvent884 },
{ 886, script886, ( ( 0x14B - 1) << 16 | ( 0x1F )), ((void *)0) , endEvent886 },
{ 1245, script1245, ( ( 0x14B - 1) << 16 | ( 8 )), ((void *)0) , endEvent1245 },
{ -1, ((void *)0) , 0, ((void *)0) , ((void *)0) },
}
void endEvent884(void)
After event 884, with the player: keeps it from playing again.
Definition wstag750.c:171
void endEvent860(void)
After event 860, with Chamber Office: keeps it from playing again.
Definition wstag750.c:161
void endEvent886(void)
After event 886, with the player: moves the story on to STORY_NETWORK_OFFLINE.
Definition wstag750.c:176
s16 script860[]
Definition wstag750.c:300
void endEvent820(void)
After event 820, with Chamber Officer: moves the story on to STORY_REAL_WORLD.
Definition wstag750.c:156
s16 script884[]
Definition wstag750.c:399
void endEvent1245(void)
After event 1245, with Guardromon: applies 0x7C0A, an action that does nothing (applyAction's mode ch...
Definition wstag750.c:184
s16 script886[]
Definition wstag750.c:418
s16 script1245[]
Definition wstag750.c:436
void endEvent883(void)
After event 883, with Chamber Officer: keeps it from playing again.
Definition wstag750.c:166
s16 script820[]
Definition wstag750.c:217
s16 script883[]
Definition wstag750.c:350

Definition at line 661 of file wstag750.c.

Referenced by setupStage().