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

WSTAG731: Kulon Weapons, North Sector. More...

Include dependency graph for wstag731.c:

Go to the source code of this file.

Macros

#define STAGE_CHILDREN_SIZE   4
 
#define STAGE_TEXT   TEXT_FILE(TEXT_TALKS_07)
 
#define EVENT_TEXT_FILE   (TEXT_EVENTS_700 - 1)
 
#define STAGE_FILE   0x6C7
 

Functions

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

Variables

AnimFrame updateTileAnimsFrames []
 Defined below, after the code that uses them.
 
s16 script1236 []
 
ActorImage stageImages []
 
u16 actor0Talk0Actions [] = { (0x9000 | ( 0x16 )) , 1, 0xFFFF }
 
u16 actor2Talk0Conditions [] = { (0x8000 | ( 3 ) << 9 | ( 0x9C )), 1, 0xFFFF }
 
u16 actor2Talk1Conditions [] = { (0x8000 | ( 3 ) << 9 | ( 0x9C )), 0, (( 0 ) << 8 | ( 0 )) , 0, 0xFFFF }
 
u16 actor2Talk1Actions [] = { (( 0 ) << 8 | ( 0 )) , 1, 0xFFFF }
 
u16 actor2Talk2Conditions [] = { (0x8000 | ( 3 ) << 9 | ( 0x9C )), 0, (( 0 ) << 8 | ( 0 )) , 1, (0x8000 | ( 2 ) << 9 | ( 0x98 )), 0, 0xFFFF }
 
u16 actor2Talk3Conditions [] = { (0x8000 | ( 3 ) << 9 | ( 0x9C )), 0, (( 0 ) << 8 | ( 0 )) , 1, (0x8000 | ( 2 ) << 9 | ( 0x98 )), 1, 0xFFFF }
 
u16 actor2Talk3Actions []
 
u16 actor4Talk0Conditions [] = { (0x8000 | ( 3 ) << 9 | ( 0x90 )), 1, 0xFFFF }
 
u16 actor4Talk1Conditions [] = { (0x8000 | ( 3 ) << 9 | ( 0x90 )), 0, (( 0 ) << 8 | ( 1 )) , 0, 0xFFFF }
 
u16 actor4Talk1Actions [] = { (( 0 ) << 8 | ( 1 )) , 1, 0xFFFF }
 
u16 actor4Talk2Conditions [] = { (0x8000 | ( 3 ) << 9 | ( 0x90 )), 0, (( 0 ) << 8 | ( 1 )) , 1, (0x8000 | ( 2 ) << 9 | ( 0x8C )), 0, 0xFFFF }
 
u16 actor4Talk3Conditions [] = { (0x8000 | ( 3 ) << 9 | ( 0x90 )), 0, (( 0 ) << 8 | ( 1 )) , 1, (0x8000 | ( 2 ) << 9 | ( 0x8C )), 1, 0xFFFF }
 
u16 actor4Talk3Actions []
 
u16 actor6Talk0Conditions [] = { (0x8000 | ( 3 ) << 9 | ( 0x77 )), 1, 0xFFFF }
 
u16 actor6Talk1Conditions [] = { (0x8000 | ( 3 ) << 9 | ( 0x77 )), 0, (( 0 ) << 8 | ( 2 )) , 0, 0xFFFF }
 
u16 actor6Talk1Actions [] = { (( 0 ) << 8 | ( 2 )) , 1, 0xFFFF }
 
u16 actor6Talk2Conditions [] = { (0x8000 | ( 3 ) << 9 | ( 0x77 )), 0, (( 0 ) << 8 | ( 2 )) , 1, (0x8000 | ( 2 ) << 9 | ( 0x73 )), 0, 0xFFFF }
 
u16 actor6Talk3Conditions [] = { (0x8000 | ( 3 ) << 9 | ( 0x77 )), 0, (( 0 ) << 8 | ( 2 )) , 1, (0x8000 | ( 2 ) << 9 | ( 0x73 )), 1, 0xFFFF }
 
u16 actor6Talk3Actions []
 
u16 actor8Talk0Conditions [] = { (0x8000 | ( 3 ) << 9 | ( 0x83 )), 1, 0xFFFF }
 
u16 actor8Talk1Conditions [] = { (0x8000 | ( 3 ) << 9 | ( 0x83 )), 0, (( 0 ) << 8 | ( 3 )) , 0, 0xFFFF }
 
u16 actor8Talk1Actions [] = { (( 0 ) << 8 | ( 3 )) , 1, 0xFFFF }
 
u16 actor8Talk2Conditions [] = { (0x8000 | ( 3 ) << 9 | ( 0x83 )), 0, (( 0 ) << 8 | ( 3 )) , 1, (0x8000 | ( 2 ) << 9 | ( 0x7F )), 0, 0xFFFF }
 
u16 actor8Talk3Conditions [] = { (0x8000 | ( 3 ) << 9 | ( 0x83 )), 0, (( 0 ) << 8 | ( 3 )) , 1, (0x8000 | ( 2 ) << 9 | ( 0x7F )), 1, 0xFFFF }
 
u16 actor8Talk3Actions []
 
u16 actor10Talk0Conditions [] = { (0x8000 | ( 3 ) << 9 | ( 0x69 )), 1, 0xFFFF }
 
u16 actor10Talk1Conditions [] = { (0x8000 | ( 3 ) << 9 | ( 0x69 )), 0, (( 0 ) << 8 | ( 4 )) , 0, 0xFFFF }
 
u16 actor10Talk1Actions [] = { (( 0 ) << 8 | ( 4 )) , 1, 0xFFFF }
 
u16 actor10Talk2Conditions [] = { (0x8000 | ( 3 ) << 9 | ( 0x69 )), 0, (( 0 ) << 8 | ( 4 )) , 1, (0x8000 | ( 2 ) << 9 | ( 0x65 )), 0, 0xFFFF }
 
u16 actor10Talk3Conditions [] = { (0x8000 | ( 3 ) << 9 | ( 0x69 )), 0, (( 0 ) << 8 | ( 4 )) , 1, (0x8000 | ( 2 ) << 9 | ( 0x65 )), 1, 0xFFFF }
 
u16 actor10Talk3Actions []
 
FieldTalk actor0Talks []
 
FieldTalk actor1Talks []
 
FieldTalk actor2Talks []
 
FieldTalk actor3Talks []
 
FieldTalk actor4Talks []
 
FieldTalk actor5Talks []
 
FieldTalk actor6Talks []
 
FieldTalk actor7Talks []
 
FieldTalk actor8Talks []
 
FieldTalk actor9Talks []
 
FieldTalk actor10Talks []
 
FieldTalk actor11Talks []
 
u16 actor1Conditions [] = { (0x8000 | ( 3 ) << 9 | ( 0x9B )), 0, (0x8000 | ( 3 ) << 9 | ( 0x9C )), 0, 0xFFFF }
 
u16 actor2Conditions [] = { (0x8000 | ( 3 ) << 9 | ( 0x9B )), 1, (0x8000 | ( 3 ) << 9 | ( 0x9C )), 0, 0xFFFF }
 
u16 actor3Conditions [] = { (0x8000 | ( 3 ) << 9 | ( 0x8F )), 0, (0x8000 | ( 3 ) << 9 | ( 0x9C )), 1, (0x8000 | ( 3 ) << 9 | ( 0x90 )), 0, 0xFFFF }
 
u16 actor4Conditions [] = { (0x8000 | ( 3 ) << 9 | ( 0x9C )), 1, (0x8000 | ( 3 ) << 9 | ( 0x8F )), 1, (0x8000 | ( 3 ) << 9 | ( 0x90 )), 0, 0xFFFF }
 
u16 actor5Conditions []
 
u16 actor6Conditions []
 
u16 actor7Conditions []
 
u16 actor8Conditions []
 
u16 actor9Conditions []
 
u16 actor10Conditions []
 
u16 actor11Conditions []
 
FieldActorEntry actor0 = { ((void *)0) , actor0Talks, 0x15, 4, 461, 190, 1 }
 
FieldActorEntry actor1 = { actor1Conditions, actor1Talks, 0xC1, 5, 304, 176, 1 }
 
FieldActorEntry actor2 = { actor2Conditions, actor2Talks, 0xC1, 5, 304, 176, 1 }
 
FieldActorEntry actor3 = { actor3Conditions, actor3Talks, 0xC1, 5, 304, 176, 1 }
 
FieldActorEntry actor4 = { actor4Conditions, actor4Talks, 0xC1, 5, 304, 176, 1 }
 
FieldActorEntry actor5 = { actor5Conditions, actor5Talks, 0xC1, 5, 304, 176, 1 }
 
FieldActorEntry actor6 = { actor6Conditions, actor6Talks, 0xC1, 5, 304, 176, 1 }
 
FieldActorEntry actor7 = { actor7Conditions, actor7Talks, 0xC1, 5, 304, 176, 1 }
 
FieldActorEntry actor8 = { actor8Conditions, actor8Talks, 0xC1, 5, 304, 176, 1 }
 
FieldActorEntry actor9 = { actor9Conditions, actor9Talks, 0xC1, 5, 304, 176, 1 }
 
FieldActorEntry actor10 = { actor10Conditions, actor10Talks, 0xC1, 5, 304, 176, 1 }
 
FieldActorEntry actor11 = { actor11Conditions, actor11Talks, 0xC1, 5, 304, 176, 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

WSTAG731: Kulon Weapons, North Sector.

On the Amaterasu server; its Asuka server twin is WSTAG730.

Definition in file wstag731.c.

Macro Definition Documentation

◆ STAGE_CHILDREN_SIZE

#define STAGE_CHILDREN_SIZE   4

Definition at line 18 of file wstag731.c.

◆ STAGE_TEXT

#define STAGE_TEXT   TEXT_FILE(TEXT_TALKS_07)

Definition at line 26 of file wstag731.c.

◆ EVENT_TEXT_FILE

#define EVENT_TEXT_FILE   (TEXT_EVENTS_700 - 1)

Definition at line 27 of file wstag731.c.

◆ STAGE_FILE

#define STAGE_FILE   0x6C7

Definition at line 28 of file wstag731.c.

Function Documentation

◆ setupStage()

void setupStage ( void  )

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

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.

< SHOP2BGM: Lamb Chop, the Yellow Cruiser and El Dorado

< SHOP2BGM: Lamb Chop, the Yellow Cruiser and El Dorado

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

Definition at line 31 of file wstag731.c.

Variable Documentation

◆ updateTileAnimsFrames

AnimFrame updateTileAnimsFrames[]
Initial value:
= {
{ 53, 8 }, { 54, 8 }, { 55, 8 }, { 56, 4 },
{ 57, 40 }, { 58, 8 }, { 255, 0 },
}

Defined below, after the code that uses them.

Definition at line 76 of file wstag731.c.

◆ script1236

s16 script1236[]
Initial value:
= {
0x102, 2 , 0x1AD , 0xCE , 5 ,
0x100, 0x15 , 0x1CD , 0xBE ,
0x101, 0x15 , 1 , 1 ,
0x101, 0x32D , 0x337 , 2 ,
0x302, 2 ,
0x101, 2 , 1 , 5 ,
0x300, 6 ,
0x300, 0x1E ,
0x200, 0 , 1 , 0x15 , 2 ,
0x301 ,
0x300, 0x1E ,
0x101, 0x15 , 0x36 , 3 ,
0x101, 0x32D , 0x375 , 2 ,
0x303, 0x15 ,
0x101, 0x15 , 0x37 , 3 ,
0x300, 0x5A ,
0x304, 0xC10 , 0 , 0 , 0 ,
0 ,
}

Definition at line 50 of file wstag731.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, 0x172, 0x13C, 0xC8, 0x3C, 0x170, 0x1FC },
{ 0x140, 0x100, 0x160, 0x1D4, 0x80, 0xD4, 0x150, 0x1FB },
}

Definition at line 80 of file wstag731.c.

Referenced by setupStage().

◆ actor0Talk0Actions

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

Definition at line 90 of file wstag731.c.

◆ actor2Talk0Conditions

u16 actor2Talk0Conditions[] = { (0x8000 | ( 3 ) << 9 | ( 0x9C )), 1, 0xFFFF }

Definition at line 91 of file wstag731.c.

◆ actor2Talk1Conditions

u16 actor2Talk1Conditions[] = { (0x8000 | ( 3 ) << 9 | ( 0x9C )), 0, (( 0 ) << 8 | ( 0 )) , 0, 0xFFFF }

Definition at line 92 of file wstag731.c.

◆ actor2Talk1Actions

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

Definition at line 93 of file wstag731.c.

◆ actor2Talk2Conditions

u16 actor2Talk2Conditions[] = { (0x8000 | ( 3 ) << 9 | ( 0x9C )), 0, (( 0 ) << 8 | ( 0 )) , 1, (0x8000 | ( 2 ) << 9 | ( 0x98 )), 0, 0xFFFF }

Definition at line 94 of file wstag731.c.

◆ actor2Talk3Conditions

u16 actor2Talk3Conditions[] = { (0x8000 | ( 3 ) << 9 | ( 0x9C )), 0, (( 0 ) << 8 | ( 0 )) , 1, (0x8000 | ( 2 ) << 9 | ( 0x98 )), 1, 0xFFFF }

Definition at line 95 of file wstag731.c.

◆ actor2Talk3Actions

u16 actor2Talk3Actions[]
Initial value:
= {
(0x8000 | ( 3 ) << 9 | ( 0x9C )), 1,
(0x8000 | ( 3 ) << 9 | ( 0x9B )), 0,
(0x8000 | ( 2 ) << 9 | ( 0x98 )), 0,
(0x7000 | ( 0x13 )) , 1,
0xFFFF ,
}

Definition at line 96 of file wstag731.c.

◆ actor4Talk0Conditions

u16 actor4Talk0Conditions[] = { (0x8000 | ( 3 ) << 9 | ( 0x90 )), 1, 0xFFFF }

Definition at line 103 of file wstag731.c.

◆ actor4Talk1Conditions

u16 actor4Talk1Conditions[] = { (0x8000 | ( 3 ) << 9 | ( 0x90 )), 0, (( 0 ) << 8 | ( 1 )) , 0, 0xFFFF }

Definition at line 104 of file wstag731.c.

◆ actor4Talk1Actions

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

Definition at line 105 of file wstag731.c.

◆ actor4Talk2Conditions

u16 actor4Talk2Conditions[] = { (0x8000 | ( 3 ) << 9 | ( 0x90 )), 0, (( 0 ) << 8 | ( 1 )) , 1, (0x8000 | ( 2 ) << 9 | ( 0x8C )), 0, 0xFFFF }

Definition at line 106 of file wstag731.c.

◆ actor4Talk3Conditions

u16 actor4Talk3Conditions[] = { (0x8000 | ( 3 ) << 9 | ( 0x90 )), 0, (( 0 ) << 8 | ( 1 )) , 1, (0x8000 | ( 2 ) << 9 | ( 0x8C )), 1, 0xFFFF }

Definition at line 107 of file wstag731.c.

◆ actor4Talk3Actions

u16 actor4Talk3Actions[]
Initial value:
= {
(0x8000 | ( 3 ) << 9 | ( 0x90 )), 1,
(0x8000 | ( 3 ) << 9 | ( 0x8F )), 0,
(0x8000 | ( 2 ) << 9 | ( 0x8C )), 0,
(0x7000 | ( 0x13 )) , 1,
0xFFFF ,
}

Definition at line 108 of file wstag731.c.

◆ actor6Talk0Conditions

u16 actor6Talk0Conditions[] = { (0x8000 | ( 3 ) << 9 | ( 0x77 )), 1, 0xFFFF }

Definition at line 115 of file wstag731.c.

◆ actor6Talk1Conditions

u16 actor6Talk1Conditions[] = { (0x8000 | ( 3 ) << 9 | ( 0x77 )), 0, (( 0 ) << 8 | ( 2 )) , 0, 0xFFFF }

Definition at line 116 of file wstag731.c.

◆ actor6Talk1Actions

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

Definition at line 117 of file wstag731.c.

◆ actor6Talk2Conditions

u16 actor6Talk2Conditions[] = { (0x8000 | ( 3 ) << 9 | ( 0x77 )), 0, (( 0 ) << 8 | ( 2 )) , 1, (0x8000 | ( 2 ) << 9 | ( 0x73 )), 0, 0xFFFF }

Definition at line 118 of file wstag731.c.

◆ actor6Talk3Conditions

u16 actor6Talk3Conditions[] = { (0x8000 | ( 3 ) << 9 | ( 0x77 )), 0, (( 0 ) << 8 | ( 2 )) , 1, (0x8000 | ( 2 ) << 9 | ( 0x73 )), 1, 0xFFFF }

Definition at line 119 of file wstag731.c.

◆ actor6Talk3Actions

u16 actor6Talk3Actions[]
Initial value:
= {
(0x8000 | ( 3 ) << 9 | ( 0x77 )), 1,
(0x8000 | ( 3 ) << 9 | ( 0x76 )), 0,
(0x8000 | ( 2 ) << 9 | ( 0x73 )), 0,
(0x7000 | ( 0x13 )) , 1,
0xFFFF ,
}

Definition at line 120 of file wstag731.c.

◆ actor8Talk0Conditions

u16 actor8Talk0Conditions[] = { (0x8000 | ( 3 ) << 9 | ( 0x83 )), 1, 0xFFFF }

Definition at line 127 of file wstag731.c.

◆ actor8Talk1Conditions

u16 actor8Talk1Conditions[] = { (0x8000 | ( 3 ) << 9 | ( 0x83 )), 0, (( 0 ) << 8 | ( 3 )) , 0, 0xFFFF }

Definition at line 128 of file wstag731.c.

◆ actor8Talk1Actions

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

Definition at line 129 of file wstag731.c.

◆ actor8Talk2Conditions

u16 actor8Talk2Conditions[] = { (0x8000 | ( 3 ) << 9 | ( 0x83 )), 0, (( 0 ) << 8 | ( 3 )) , 1, (0x8000 | ( 2 ) << 9 | ( 0x7F )), 0, 0xFFFF }

Definition at line 130 of file wstag731.c.

◆ actor8Talk3Conditions

u16 actor8Talk3Conditions[] = { (0x8000 | ( 3 ) << 9 | ( 0x83 )), 0, (( 0 ) << 8 | ( 3 )) , 1, (0x8000 | ( 2 ) << 9 | ( 0x7F )), 1, 0xFFFF }

Definition at line 131 of file wstag731.c.

◆ actor8Talk3Actions

u16 actor8Talk3Actions[]
Initial value:
= {
(0x8000 | ( 3 ) << 9 | ( 0x83 )), 1,
(0x8000 | ( 3 ) << 9 | ( 0x82 )), 0,
(0x8000 | ( 2 ) << 9 | ( 0x7F )), 0,
(0x7000 | ( 0x13 )) , 1,
0xFFFF ,
}

Definition at line 132 of file wstag731.c.

◆ actor10Talk0Conditions

u16 actor10Talk0Conditions[] = { (0x8000 | ( 3 ) << 9 | ( 0x69 )), 1, 0xFFFF }

Definition at line 139 of file wstag731.c.

◆ actor10Talk1Conditions

u16 actor10Talk1Conditions[] = { (0x8000 | ( 3 ) << 9 | ( 0x69 )), 0, (( 0 ) << 8 | ( 4 )) , 0, 0xFFFF }

Definition at line 140 of file wstag731.c.

◆ actor10Talk1Actions

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

Definition at line 141 of file wstag731.c.

◆ actor10Talk2Conditions

u16 actor10Talk2Conditions[] = { (0x8000 | ( 3 ) << 9 | ( 0x69 )), 0, (( 0 ) << 8 | ( 4 )) , 1, (0x8000 | ( 2 ) << 9 | ( 0x65 )), 0, 0xFFFF }

Definition at line 142 of file wstag731.c.

◆ actor10Talk3Conditions

u16 actor10Talk3Conditions[] = { (0x8000 | ( 3 ) << 9 | ( 0x69 )), 0, (( 0 ) << 8 | ( 4 )) , 1, (0x8000 | ( 2 ) << 9 | ( 0x65 )), 1, 0xFFFF }

Definition at line 143 of file wstag731.c.

◆ actor10Talk3Actions

u16 actor10Talk3Actions[]
Initial value:
= {
(0x8000 | ( 3 ) << 9 | ( 0x69 )), 1,
(0x8000 | ( 3 ) << 9 | ( 0x68 )), 0,
(0x8000 | ( 2 ) << 9 | ( 0x65 )), 0,
(0x7000 | ( 0x13 )) , 1,
0xFFFF ,
}

Definition at line 144 of file wstag731.c.

◆ actor0Talks

FieldTalk actor0Talks[]
Initial value:
= {
{ ((void *)0) , actor0Talk0Actions, 0x2CF },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor0Talk0Actions[]
Definition wstag731.c:90

Definition at line 151 of file wstag731.c.

◆ actor1Talks

FieldTalk actor1Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x2D1 },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 155 of file wstag731.c.

◆ actor2Talks

FieldTalk actor2Talks[]
Initial value:
= {
{ actor2Talk0Conditions, ((void *)0) , 0x30A },
{ actor2Talk2Conditions, ((void *)0) , 0x30C },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor2Talk1Conditions[]
Definition wstag731.c:92
u16 actor2Talk3Conditions[]
Definition wstag731.c:95
u16 actor2Talk1Actions[]
Definition wstag731.c:93
u16 actor2Talk2Conditions[]
Definition wstag731.c:94
u16 actor2Talk3Actions[]
Definition wstag731.c:96
u16 actor2Talk0Conditions[]
Definition wstag731.c:91

Definition at line 159 of file wstag731.c.

◆ actor3Talks

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

Definition at line 166 of file wstag731.c.

◆ actor4Talks

FieldTalk actor4Talks[]
Initial value:
= {
{ actor4Talk0Conditions, ((void *)0) , 0x30E },
{ actor4Talk2Conditions, ((void *)0) , 0x310 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor4Talk3Conditions[]
Definition wstag731.c:107
u16 actor4Talk1Actions[]
Definition wstag731.c:105
u16 actor4Talk1Conditions[]
Definition wstag731.c:104
u16 actor4Talk0Conditions[]
Definition wstag731.c:103
u16 actor4Talk3Actions[]
Definition wstag731.c:108
u16 actor4Talk2Conditions[]
Definition wstag731.c:106

Definition at line 170 of file wstag731.c.

◆ actor5Talks

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

Definition at line 177 of file wstag731.c.

◆ actor6Talks

FieldTalk actor6Talks[]
Initial value:
= {
{ actor6Talk0Conditions, ((void *)0) , 0x312 },
{ actor6Talk2Conditions, ((void *)0) , 0x314 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor6Talk1Conditions[]
Definition wstag731.c:116
u16 actor6Talk2Conditions[]
Definition wstag731.c:118
u16 actor6Talk3Actions[]
Definition wstag731.c:120
u16 actor6Talk3Conditions[]
Definition wstag731.c:119
u16 actor6Talk0Conditions[]
Definition wstag731.c:115
u16 actor6Talk1Actions[]
Definition wstag731.c:117

Definition at line 181 of file wstag731.c.

◆ actor7Talks

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

Definition at line 188 of file wstag731.c.

◆ actor8Talks

FieldTalk actor8Talks[]
Initial value:
= {
{ actor8Talk0Conditions, ((void *)0) , 0x319 },
{ actor8Talk2Conditions, ((void *)0) , 0x31B },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor8Talk1Conditions[]
Definition wstag731.c:128
u16 actor8Talk3Conditions[]
Definition wstag731.c:131
u16 actor8Talk3Actions[]
Definition wstag731.c:132
u16 actor8Talk2Conditions[]
Definition wstag731.c:130
u16 actor8Talk1Actions[]
Definition wstag731.c:129
u16 actor8Talk0Conditions[]
Definition wstag731.c:127

Definition at line 192 of file wstag731.c.

◆ actor9Talks

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

Definition at line 199 of file wstag731.c.

◆ actor10Talks

FieldTalk actor10Talks[]
Initial value:
= {
{ actor10Talk0Conditions, ((void *)0) , 0x31F },
{ actor10Talk2Conditions, ((void *)0) , 0x321 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor10Talk2Conditions[]
Definition wstag731.c:142
u16 actor10Talk1Actions[]
Definition wstag731.c:141
u16 actor10Talk3Actions[]
Definition wstag731.c:144
u16 actor10Talk1Conditions[]
Definition wstag731.c:140
u16 actor10Talk0Conditions[]
Definition wstag731.c:139
u16 actor10Talk3Conditions[]
Definition wstag731.c:143

Definition at line 203 of file wstag731.c.

◆ actor11Talks

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

Definition at line 210 of file wstag731.c.

◆ actor1Conditions

u16 actor1Conditions[] = { (0x8000 | ( 3 ) << 9 | ( 0x9B )), 0, (0x8000 | ( 3 ) << 9 | ( 0x9C )), 0, 0xFFFF }

Definition at line 214 of file wstag731.c.

◆ actor2Conditions

u16 actor2Conditions[] = { (0x8000 | ( 3 ) << 9 | ( 0x9B )), 1, (0x8000 | ( 3 ) << 9 | ( 0x9C )), 0, 0xFFFF }

Definition at line 215 of file wstag731.c.

◆ actor3Conditions

u16 actor3Conditions[] = { (0x8000 | ( 3 ) << 9 | ( 0x8F )), 0, (0x8000 | ( 3 ) << 9 | ( 0x9C )), 1, (0x8000 | ( 3 ) << 9 | ( 0x90 )), 0, 0xFFFF }

Definition at line 216 of file wstag731.c.

◆ actor4Conditions

u16 actor4Conditions[] = { (0x8000 | ( 3 ) << 9 | ( 0x9C )), 1, (0x8000 | ( 3 ) << 9 | ( 0x8F )), 1, (0x8000 | ( 3 ) << 9 | ( 0x90 )), 0, 0xFFFF }

Definition at line 217 of file wstag731.c.

◆ actor5Conditions

u16 actor5Conditions[]
Initial value:
= {
(0x8000 | ( 3 ) << 9 | ( 0x9C )), 1,
(0x8000 | ( 3 ) << 9 | ( 0x90 )), 1,
(0x8000 | ( 3 ) << 9 | ( 0x76 )), 0,
(0x8000 | ( 3 ) << 9 | ( 0x77 )), 0,
0xFFFF ,
}

Definition at line 218 of file wstag731.c.

◆ actor6Conditions

u16 actor6Conditions[]
Initial value:
= {
(0x8000 | ( 3 ) << 9 | ( 0x9C )), 1,
(0x8000 | ( 3 ) << 9 | ( 0x90 )), 1,
(0x8000 | ( 3 ) << 9 | ( 0x76 )), 1,
(0x8000 | ( 3 ) << 9 | ( 0x77 )), 0,
0xFFFF ,
}

Definition at line 225 of file wstag731.c.

◆ actor7Conditions

u16 actor7Conditions[]
Initial value:
= {
(0x8000 | ( 3 ) << 9 | ( 0x9C )), 1,
(0x8000 | ( 3 ) << 9 | ( 0x90 )), 1,
(0x8000 | ( 3 ) << 9 | ( 0x77 )), 1,
(0x8000 | ( 3 ) << 9 | ( 0x82 )), 0,
(0x8000 | ( 3 ) << 9 | ( 0x83 )), 0,
0xFFFF ,
}

Definition at line 232 of file wstag731.c.

◆ actor8Conditions

u16 actor8Conditions[]
Initial value:
= {
(0x8000 | ( 3 ) << 9 | ( 0x9C )), 1,
(0x8000 | ( 3 ) << 9 | ( 0x90 )), 1,
(0x8000 | ( 3 ) << 9 | ( 0x77 )), 1,
(0x8000 | ( 3 ) << 9 | ( 0x82 )), 1,
(0x8000 | ( 3 ) << 9 | ( 0x83 )), 0,
0xFFFF ,
}

Definition at line 240 of file wstag731.c.

◆ actor9Conditions

u16 actor9Conditions[]
Initial value:
= {
(0x8000 | ( 3 ) << 9 | ( 0x68 )), 0,
(0x8000 | ( 3 ) << 9 | ( 0x9C )), 1,
(0x8000 | ( 3 ) << 9 | ( 0x90 )), 1,
(0x8000 | ( 3 ) << 9 | ( 0x77 )), 1,
(0x8000 | ( 3 ) << 9 | ( 0x83 )), 1,
(0x8000 | ( 3 ) << 9 | ( 0x69 )), 0,
0xFFFF ,
}

Definition at line 248 of file wstag731.c.

◆ actor10Conditions

u16 actor10Conditions[]
Initial value:
= {
(0x8000 | ( 3 ) << 9 | ( 0x9C )), 1,
(0x8000 | ( 3 ) << 9 | ( 0x90 )), 1,
(0x8000 | ( 3 ) << 9 | ( 0x77 )), 1,
(0x8000 | ( 3 ) << 9 | ( 0x83 )), 1,
(0x8000 | ( 3 ) << 9 | ( 0x68 )), 1,
(0x8000 | ( 3 ) << 9 | ( 0x69 )), 0,
0xFFFF ,
}

Definition at line 257 of file wstag731.c.

◆ actor11Conditions

u16 actor11Conditions[]
Initial value:
= {
(0x8000 | ( 3 ) << 9 | ( 0x9C )), 1,
(0x8000 | ( 3 ) << 9 | ( 0x90 )), 1,
(0x8000 | ( 3 ) << 9 | ( 0x77 )), 1,
(0x8000 | ( 3 ) << 9 | ( 0x83 )), 1,
(0x8000 | ( 3 ) << 9 | ( 0x69 )), 1,
0xFFFF ,
}

Definition at line 266 of file wstag731.c.

◆ actor0

FieldActorEntry actor0 = { ((void *)0) , actor0Talks, 0x15, 4, 461, 190, 1 }

Definition at line 274 of file wstag731.c.

◆ actor1

FieldActorEntry actor1 = { actor1Conditions, actor1Talks, 0xC1, 5, 304, 176, 1 }

Definition at line 275 of file wstag731.c.

◆ actor2

FieldActorEntry actor2 = { actor2Conditions, actor2Talks, 0xC1, 5, 304, 176, 1 }

Definition at line 276 of file wstag731.c.

◆ actor3

FieldActorEntry actor3 = { actor3Conditions, actor3Talks, 0xC1, 5, 304, 176, 1 }

Definition at line 277 of file wstag731.c.

◆ actor4

FieldActorEntry actor4 = { actor4Conditions, actor4Talks, 0xC1, 5, 304, 176, 1 }

Definition at line 278 of file wstag731.c.

◆ actor5

FieldActorEntry actor5 = { actor5Conditions, actor5Talks, 0xC1, 5, 304, 176, 1 }

Definition at line 279 of file wstag731.c.

◆ actor6

FieldActorEntry actor6 = { actor6Conditions, actor6Talks, 0xC1, 5, 304, 176, 1 }

Definition at line 280 of file wstag731.c.

◆ actor7

FieldActorEntry actor7 = { actor7Conditions, actor7Talks, 0xC1, 5, 304, 176, 1 }

Definition at line 281 of file wstag731.c.

◆ actor8

FieldActorEntry actor8 = { actor8Conditions, actor8Talks, 0xC1, 5, 304, 176, 1 }

Definition at line 282 of file wstag731.c.

◆ actor9

FieldActorEntry actor9 = { actor9Conditions, actor9Talks, 0xC1, 5, 304, 176, 1 }

Definition at line 283 of file wstag731.c.

◆ actor10

FieldActorEntry actor10 = { actor10Conditions, actor10Talks, 0xC1, 5, 304, 176, 1 }

Definition at line 284 of file wstag731.c.

◆ actor11

FieldActorEntry actor11 = { actor11Conditions, actor11Talks, 0xC1, 5, 304, 176, 1 }

Definition at line 285 of file wstag731.c.

◆ stageActors

FieldActorEntry* stageActors[]
Initial value:
= {
((void *)0) ,
}
FieldActorEntry actor0
Definition wstag731.c:274
FieldActorEntry actor6
Definition wstag731.c:280
FieldActorEntry actor5
Definition wstag731.c:279
FieldActorEntry actor2
Definition wstag731.c:276
FieldActorEntry actor10
Definition wstag731.c:284
FieldActorEntry actor4
Definition wstag731.c:278
FieldActorEntry actor8
Definition wstag731.c:282
FieldActorEntry actor9
Definition wstag731.c:283
FieldActorEntry actor7
Definition wstag731.c:281
FieldActorEntry actor11
Definition wstag731.c:285
FieldActorEntry actor1
Definition wstag731.c:275
FieldActorEntry actor3
Definition wstag731.c:277

Definition at line 286 of file wstag731.c.

Referenced by setupStage().

◆ stageObjects

StageTile stageObjects[]
Initial value:
= {
{ 1, 0, 0x40, 2, 0x34, 2, 0, 5, 6, 0, 124, 112, 0, 0 },
{ 1, 0, 0x40, 2, 0x34, 2, 0, 5, 6, 0, 187, 83, 0, 0 },
{ 1, 0, 0x40, 2, 0x41, 2, 0, 3, 6, 0, 470, 34, 0, 0 },
{ 1, 0, 0x56, 2, 1, 0, 0, 0, 0, 0, 335, 60, 0, 0 },
{ 1, 1, 0x80, 6, 0x35, 0, 0, 0, 0, 0, 518, 136, 0, 0 },
{ 1, 0, 0x40, 6, 0x33, 2, 0, 3, 6, 0, 284, 28, 0, 0 },
{ 1, 0, 0x40, 6, 0x33, 2, 0, 3, 6, 0, 286, 62, 0, 0 },
{ 1, 0, 0x40, 6, 0x33, 2, 0, 3, 6, 0, 313, 43, 0, 0 },
{ 1, 0, 0x40, 6, 0x33, 2, 0, 3, 6, 0, 315, 77, 0, 0 },
{ 1, 0, 0x40, 6, 0x33, 2, 0, 3, 6, 0, 342, 57, 0, 0 },
{ 1, 0, 0x40, 6, 0x33, 2, 0, 3, 6, 0, 345, 92, 0, 0 },
{ 1, 0, 0x40, 6, 0x32, 0, 0, 0, 0, 0, 289, 26, 0, 0 },
{ 1, 0, 0x40, 6, 0x32, 0, 0, 0, 0, 0, 291, 60, 0, 0 },
{ 1, 0, 0x40, 6, 0x32, 0, 0, 0, 0, 0, 317, 40, 0, 0 },
{ 1, 0, 0x40, 6, 0x32, 0, 0, 0, 0, 0, 319, 74, 0, 0 },
{ 1, 0, 0x40, 6, 0x32, 0, 0, 0, 0, 0, 346, 54, 0, 0 },
{ 1, 0, 0x40, 6, 0x32, 0, 0, 0, 0, 0, 348, 89, 0, 0 },
{ 1, 0, 0x40, 4, 0, 0, 0, 0, 0, 0, 312, 144, 195, 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 301 of file wstag731.c.

Referenced by setupStage().

◆ stageSlots

StageSlot stageSlots[]
Initial value:
= {
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 1 , 0x2D0, 0x318, 0xAC, 1, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 0, 0, 0, 0, 0, 0, 0, 0 },
}

Definition at line 322 of file wstag731.c.

Referenced by setupStage().

◆ stageFuncs

void(* stageFuncs[])(void) ( void  )
Initial value:
= {
}
void setupStage(void)
Sets the stage up: its map, actors and events, playing SHOP2BGM.
Definition wstag731.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 326 of file wstag731.c.

◆ stageEvents

FieldEvent stageEvents[]
Initial value:
= {
{ 1236, script1236, ( ( 0x14B - 1) << 16 | ( 5 )), ((void *)0) , ((void *)0) },
{ -1, ((void *)0) , 0, ((void *)0) , ((void *)0) },
}
s16 script1236[]
Definition wstag731.c:50

Definition at line 329 of file wstag731.c.

Referenced by setupStage().