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

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

Include dependency graph for wstag730.c:

Go to the source code of this file.

Macros

#define STAGE_CHILDREN_SIZE   4
 
#define STAGE_TEXT   TEXT_FILE(TEXT_TALKS_02)
 
#define EVENT_TEXT_FILE   (TEXT_EVENTS_700 - 1)
 
#define STAGE_FILE   0x67A
 

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 script1235 []
 
ActorImage stageImages []
 
u16 actor0Talk0Actions [] = { (0x9000 | ( 0x15 )) , 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 | ( 0x9C )), 1, (0x8000 | ( 3 ) << 9 | ( 0x8F )), 0, (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

WSTAG730: Kulon Weapons, North Sector.

Definition in file wstag730.c.

Macro Definition Documentation

◆ STAGE_CHILDREN_SIZE

#define STAGE_CHILDREN_SIZE   4

Definition at line 17 of file wstag730.c.

◆ STAGE_TEXT

#define STAGE_TEXT   TEXT_FILE(TEXT_TALKS_02)

Definition at line 25 of file wstag730.c.

◆ EVENT_TEXT_FILE

#define EVENT_TEXT_FILE   (TEXT_EVENTS_700 - 1)

Definition at line 26 of file wstag730.c.

◆ STAGE_FILE

#define STAGE_FILE   0x67A

Definition at line 27 of file wstag730.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 30 of file wstag730.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 73 of file wstag730.c.

◆ script1235

s16 script1235[]
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 , 0 ,
0x301 ,
0x300, 0x1E ,
0x101, 0x15 , 0x36 , 3 ,
0x101, 0x32D , 0x375 , 2 ,
0x303, 0x15 ,
0x101, 0x15 , 0x37 , 3 ,
0x300, 0x5A ,
0x304, 0xC07 , 0 , 0 , 0 ,
0 ,
}

Definition at line 49 of file wstag730.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, 0x140, 0xC8, 0x40, 0x170, 0x1FC },
{ 0x180, 0x100, 0x1B2, 0x100, 0x1C8, 0, 0x150, 0x1FB },
}

Definition at line 77 of file wstag730.c.

Referenced by setupStage().

◆ actor0Talk0Actions

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

Definition at line 87 of file wstag730.c.

◆ actor2Talk0Conditions

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

Definition at line 88 of file wstag730.c.

◆ actor2Talk1Conditions

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

Definition at line 89 of file wstag730.c.

◆ actor2Talk1Actions

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

Definition at line 90 of file wstag730.c.

◆ actor2Talk2Conditions

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

Definition at line 91 of file wstag730.c.

◆ actor2Talk3Conditions

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

Definition at line 92 of file wstag730.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 93 of file wstag730.c.

◆ actor4Talk0Conditions

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

Definition at line 100 of file wstag730.c.

◆ actor4Talk1Conditions

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

Definition at line 101 of file wstag730.c.

◆ actor4Talk1Actions

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

Definition at line 102 of file wstag730.c.

◆ actor4Talk2Conditions

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

Definition at line 103 of file wstag730.c.

◆ actor4Talk3Conditions

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

Definition at line 104 of file wstag730.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 105 of file wstag730.c.

◆ actor6Talk0Conditions

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

Definition at line 112 of file wstag730.c.

◆ actor6Talk1Conditions

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

Definition at line 113 of file wstag730.c.

◆ actor6Talk1Actions

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

Definition at line 114 of file wstag730.c.

◆ actor6Talk2Conditions

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

Definition at line 115 of file wstag730.c.

◆ actor6Talk3Conditions

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

Definition at line 116 of file wstag730.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 117 of file wstag730.c.

◆ actor8Talk0Conditions

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

Definition at line 124 of file wstag730.c.

◆ actor8Talk1Conditions

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

Definition at line 125 of file wstag730.c.

◆ actor8Talk1Actions

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

Definition at line 126 of file wstag730.c.

◆ actor8Talk2Conditions

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

Definition at line 127 of file wstag730.c.

◆ actor8Talk3Conditions

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

Definition at line 128 of file wstag730.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 129 of file wstag730.c.

◆ actor10Talk0Conditions

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

Definition at line 136 of file wstag730.c.

◆ actor10Talk1Conditions

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

Definition at line 137 of file wstag730.c.

◆ actor10Talk1Actions

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

Definition at line 138 of file wstag730.c.

◆ actor10Talk2Conditions

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

Definition at line 139 of file wstag730.c.

◆ actor10Talk3Conditions

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

Definition at line 140 of file wstag730.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 141 of file wstag730.c.

◆ actor0Talks

FieldTalk actor0Talks[]
Initial value:
= {
{ ((void *)0) , actor0Talk0Actions, 0x168 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor0Talk0Actions[]
Definition wstag730.c:87

Definition at line 148 of file wstag730.c.

◆ actor1Talks

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

Definition at line 152 of file wstag730.c.

◆ actor2Talks

FieldTalk actor2Talks[]
Initial value:
= {
{ actor2Talk0Conditions, ((void *)0) , 0x148 },
{ actor2Talk2Conditions, ((void *)0) , 0x14A },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor2Talk1Conditions[]
Definition wstag730.c:89
u16 actor2Talk3Conditions[]
Definition wstag730.c:92
u16 actor2Talk1Actions[]
Definition wstag730.c:90
u16 actor2Talk2Conditions[]
Definition wstag730.c:91
u16 actor2Talk3Actions[]
Definition wstag730.c:93
u16 actor2Talk0Conditions[]
Definition wstag730.c:88

Definition at line 156 of file wstag730.c.

◆ actor3Talks

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

Definition at line 163 of file wstag730.c.

◆ actor4Talks

FieldTalk actor4Talks[]
Initial value:
= {
{ actor4Talk0Conditions, ((void *)0) , 0x1C9 },
{ actor4Talk2Conditions, ((void *)0) , 0x1CB },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor4Talk3Conditions[]
Definition wstag730.c:104
u16 actor4Talk1Actions[]
Definition wstag730.c:102
u16 actor4Talk1Conditions[]
Definition wstag730.c:101
u16 actor4Talk0Conditions[]
Definition wstag730.c:100
u16 actor4Talk3Actions[]
Definition wstag730.c:105
u16 actor4Talk2Conditions[]
Definition wstag730.c:103

Definition at line 167 of file wstag730.c.

◆ actor5Talks

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

Definition at line 174 of file wstag730.c.

◆ actor6Talks

FieldTalk actor6Talks[]
Initial value:
= {
{ actor6Talk0Conditions, ((void *)0) , 0x1CE },
{ actor6Talk2Conditions, ((void *)0) , 0x1D0 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor6Talk1Conditions[]
Definition wstag730.c:113
u16 actor6Talk2Conditions[]
Definition wstag730.c:115
u16 actor6Talk3Actions[]
Definition wstag730.c:117
u16 actor6Talk3Conditions[]
Definition wstag730.c:116
u16 actor6Talk0Conditions[]
Definition wstag730.c:112
u16 actor6Talk1Actions[]
Definition wstag730.c:114

Definition at line 178 of file wstag730.c.

◆ actor7Talks

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

Definition at line 185 of file wstag730.c.

◆ actor8Talks

FieldTalk actor8Talks[]
Initial value:
= {
{ actor8Talk0Conditions, ((void *)0) , 0x1D3 },
{ actor8Talk2Conditions, ((void *)0) , 0x1D5 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor8Talk1Conditions[]
Definition wstag730.c:125
u16 actor8Talk3Conditions[]
Definition wstag730.c:128
u16 actor8Talk3Actions[]
Definition wstag730.c:129
u16 actor8Talk2Conditions[]
Definition wstag730.c:127
u16 actor8Talk1Actions[]
Definition wstag730.c:126
u16 actor8Talk0Conditions[]
Definition wstag730.c:124

Definition at line 189 of file wstag730.c.

◆ actor9Talks

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

Definition at line 196 of file wstag730.c.

◆ actor10Talks

FieldTalk actor10Talks[]
Initial value:
= {
{ actor10Talk0Conditions, ((void *)0) , 0x1D8 },
{ actor10Talk2Conditions, ((void *)0) , 0x1DA },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor10Talk2Conditions[]
Definition wstag730.c:139
u16 actor10Talk1Actions[]
Definition wstag730.c:138
u16 actor10Talk3Actions[]
Definition wstag730.c:141
u16 actor10Talk1Conditions[]
Definition wstag730.c:137
u16 actor10Talk0Conditions[]
Definition wstag730.c:136
u16 actor10Talk3Conditions[]
Definition wstag730.c:140

Definition at line 200 of file wstag730.c.

◆ actor11Talks

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

Definition at line 207 of file wstag730.c.

◆ actor1Conditions

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

Definition at line 211 of file wstag730.c.

◆ actor2Conditions

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

Definition at line 212 of file wstag730.c.

◆ actor3Conditions

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

Definition at line 213 of file wstag730.c.

◆ actor4Conditions

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

Definition at line 214 of file wstag730.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 215 of file wstag730.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 222 of file wstag730.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 229 of file wstag730.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 237 of file wstag730.c.

◆ actor9Conditions

u16 actor9Conditions[]
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 )), 0,
(0x8000 | ( 3 ) << 9 | ( 0x69 )), 0,
0xFFFF ,
}

Definition at line 245 of file wstag730.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 254 of file wstag730.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 263 of file wstag730.c.

◆ actor0

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

Definition at line 271 of file wstag730.c.

◆ actor1

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

Definition at line 272 of file wstag730.c.

◆ actor2

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

Definition at line 273 of file wstag730.c.

◆ actor3

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

Definition at line 274 of file wstag730.c.

◆ actor4

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

Definition at line 275 of file wstag730.c.

◆ actor5

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

Definition at line 276 of file wstag730.c.

◆ actor6

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

Definition at line 277 of file wstag730.c.

◆ actor7

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

Definition at line 278 of file wstag730.c.

◆ actor8

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

Definition at line 279 of file wstag730.c.

◆ actor9

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

Definition at line 280 of file wstag730.c.

◆ actor10

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

Definition at line 281 of file wstag730.c.

◆ actor11

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

Definition at line 282 of file wstag730.c.

◆ stageActors

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

Definition at line 283 of file wstag730.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 298 of file wstag730.c.

Referenced by setupStage().

◆ stageSlots

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

Definition at line 319 of file wstag730.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 wstag730.c:30

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 323 of file wstag730.c.

◆ stageEvents

FieldEvent stageEvents[]
Initial value:
= {
{ 1235, script1235, ( ( 0x14B - 1) << 16 | ( 4 )), ((void *)0) , ((void *)0) },
{ -1, ((void *)0) , 0, ((void *)0) , ((void *)0) },
}
s16 script1235[]
Definition wstag730.c:49

Definition at line 326 of file wstag730.c.

Referenced by setupStage().