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

WSTAG935: Yellow Cruiser, Amaterasu City, in the extra chapter. More...

Include dependency graph for wstag935.c:

Go to the source code of this file.

Macros

#define STAGE_TWEEN
 stageFuncs is a StageFuncs (stage.h)
 
#define MENU_TEXT   EXTRA_TEXT
 The text file of the menus.
 
#define STAGE_TEXT   TEXT_FILE(TEXT_TALKS_08)
 
#define STAGE_FILE   0x8FD
 
#define STAGE_FILE_8   0x1AE
 
#define EVENT_TEXT_FILE   EXTRA_TEXT
 

Functions

void setupStage (void)
 Sets the stage up: its map, actors and events, playing SHOP2BGM.
 
void updateEvent1616 (StageListMenu *task, StageListMenuChildren *children)
 A list of up to eight options that each open a message.
 
void * startEvent1616 (void)
 Starts event 1616, the card battle rules: a list of topics (Card Battles, Card Battle Flow, Phases 1 to 5) that each open a message.
 
void updateEvent1618 (StageListMenu *task, StageListMenuChildren *children)
 A list of up to eight options that each open a message.
 
void * startEvent1618 (void)
 Starts event 1618, the cards: a list of topics (Create Folder, Digi Cards, Program Card, Card Colors, D-Energy, Combos, booster pack) that each open a message.
 

Variables

s32 event1616WindowFrames []
 Defined below, after the code that uses them.
 
s32 event1618WindowFrames []
 MENU_SPRITES' frame of the list's window, by the number of options (5 to 8)
 
ActorImage stageImages []
 
u16 actor0Talk0Actions [] = { (0x9000 | ( 0x73 )) , 1, 0xFFFF }
 
u16 actor2Talk0Conditions [] = { (( 0 ) << 8 | ( 0x11 )) , 1, (( 0 ) << 8 | ( 0x10 )) , 0, 0xFFFF }
 
u16 actor2Talk0Actions [] = { (( 0 ) << 8 | ( 0x11 )) , 0, (( 0 ) << 8 | ( 3 )) , 0, 0xFFFF }
 
u16 actor2Talk1Conditions [] = { (( 0 ) << 8 | ( 0x11 )) , 1, (( 0 ) << 8 | ( 0x10 )) , 1, 0xFFFF }
 
u16 actor2Talk1Actions []
 
u16 actor2Talk2Conditions [] = { (( 0 ) << 8 | ( 0x11 )) , 0, (( 0 ) << 8 | ( 3 )) , 0, 0xFFFF }
 
u16 actor2Talk2Actions [] = { (( 0 ) << 8 | ( 3 )) , 1, 0xFFFF }
 
u16 actor2Talk3Conditions [] = { (( 0 ) << 8 | ( 0x11 )) , 0, (( 0 ) << 8 | ( 3 )) , 1, 0xFFFF }
 
u16 actor2Talk3Actions [] = { ((0x7600 + ( 1 ) * 0x200) | ( 0x24 )) , 1, 0xFFFF }
 
u16 actor4Talk0Conditions [] = { (( 0 ) << 8 | ( 0x11 )) , 1, (( 0 ) << 8 | ( 0x10 )) , 0, 0xFFFF }
 
u16 actor4Talk0Actions [] = { (( 0 ) << 8 | ( 0x11 )) , 0, (( 0 ) << 8 | ( 1 )) , 0, 0xFFFF }
 
u16 actor4Talk1Conditions [] = { (( 0 ) << 8 | ( 0x11 )) , 1, (( 0 ) << 8 | ( 0x10 )) , 1, 0xFFFF }
 
u16 actor4Talk1Actions []
 
u16 actor4Talk2Conditions [] = { (( 0 ) << 8 | ( 0x11 )) , 0, (( 0 ) << 8 | ( 1 )) , 0, 0xFFFF }
 
u16 actor4Talk2Actions [] = { (( 0 ) << 8 | ( 1 )) , 1, 0xFFFF }
 
u16 actor4Talk3Conditions [] = { (( 0 ) << 8 | ( 0x11 )) , 0, (( 0 ) << 8 | ( 1 )) , 1, 0xFFFF }
 
u16 actor4Talk3Actions [] = { ((0x7600 + ( 1 ) * 0x200) | ( 0x2D )) , 1, 0xFFFF }
 
u16 actor6Talk0Conditions [] = { (( 0 ) << 8 | ( 0x11 )) , 1, (( 0 ) << 8 | ( 0x10 )) , 0, 0xFFFF }
 
u16 actor6Talk0Actions [] = { (( 0 ) << 8 | ( 0x11 )) , 0, (( 0 ) << 8 | ( 2 )) , 0, 0xFFFF }
 
u16 actor6Talk1Conditions [] = { (( 0 ) << 8 | ( 0x11 )) , 1, (( 0 ) << 8 | ( 0x10 )) , 1, 0xFFFF }
 
u16 actor6Talk1Actions []
 
u16 actor6Talk2Conditions [] = { (( 0 ) << 8 | ( 0x11 )) , 0, (( 0 ) << 8 | ( 2 )) , 0, 0xFFFF }
 
u16 actor6Talk2Actions [] = { (( 0 ) << 8 | ( 2 )) , 1, 0xFFFF }
 
u16 actor6Talk3Conditions [] = { (( 0 ) << 8 | ( 2 )) , 1, (( 0 ) << 8 | ( 0x11 )) , 0, 0xFFFF }
 
u16 actor6Talk3Actions [] = { ((0x7600 + ( 1 ) * 0x200) | ( 0x44 )) , 1, 0xFFFF }
 
u16 actor7Talk0Actions [] = { (0x9000 | ( 0x72 )) , 1, 0xFFFF }
 
u16 actor9Talk0Conditions [] = { (( 0 ) << 8 | ( 0x11 )) , 1, (( 0 ) << 8 | ( 0x10 )) , 0, 0xFFFF }
 
u16 actor9Talk0Actions [] = { (( 0 ) << 8 | ( 0x11 )) , 0, (( 0 ) << 8 | ( 0 )) , 0, 0xFFFF }
 
u16 actor9Talk1Conditions [] = { (( 0 ) << 8 | ( 0x11 )) , 1, (( 0 ) << 8 | ( 0x10 )) , 1, 0xFFFF }
 
u16 actor9Talk1Actions []
 
u16 actor9Talk2Conditions [] = { (( 0 ) << 8 | ( 0x11 )) , 0, (( 0 ) << 8 | ( 0 )) , 0, 0xFFFF }
 
u16 actor9Talk2Actions [] = { (( 0 ) << 8 | ( 0 )) , 1, 0xFFFF }
 
u16 actor9Talk3Conditions [] = { (( 0 ) << 8 | ( 0x11 )) , 0, (( 0 ) << 8 | ( 0 )) , 1, 0xFFFF }
 
u16 actor9Talk3Actions [] = { ((0x7600 + ( 1 ) * 0x200) | ( 0x34 )) , 1, 0xFFFF }
 
u16 actor10Talk0Actions [] = { 0x7A43, 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 []
 
u16 actor1Conditions [] = { (0x8000 | ( 0 ) << 9 | ( 0x192 )), 0, 0xFFFF }
 
u16 actor2Conditions [] = { (0x8000 | ( 0 ) << 9 | ( 0x192 )), 1, 0xFFFF }
 
u16 actor3Conditions [] = { (0x8000 | ( 0 ) << 9 | ( 0x192 )), 0, 0xFFFF }
 
u16 actor4Conditions [] = { (0x8000 | ( 0 ) << 9 | ( 0x192 )), 1, 0xFFFF }
 
u16 actor5Conditions [] = { (0x8000 | ( 0 ) << 9 | ( 0x192 )), 0, 0xFFFF }
 
u16 actor6Conditions [] = { (0x8000 | ( 0 ) << 9 | ( 0x192 )), 1, 0xFFFF }
 
u16 actor8Conditions [] = { (0x8000 | ( 0 ) << 9 | ( 0x192 )), 0, 0xFFFF }
 
u16 actor9Conditions [] = { (0x8000 | ( 0 ) << 9 | ( 0x192 )), 1, 0xFFFF }
 
u16 actor10Conditions [] = { (0x8000 | ( 0 ) << 9 | ( 0x192 )), 1, 0xFFFF }
 
u16 actor11Conditions [] = { (0x8000 | ( 0 ) << 9 | ( 0x192 )), 0, 0xFFFF }
 
FieldActorEntry actor0 = { ((void *)0) , actor0Talks, 0x2E, 4, 255, 176, 3 }
 
FieldActorEntry actor1 = { actor1Conditions, actor1Talks, 0x2F, 5, 173, 231, 7 }
 
FieldActorEntry actor2 = { actor2Conditions, actor2Talks, 0x2F, 5, 173, 231, 7 }
 
FieldActorEntry actor3 = { actor3Conditions, actor3Talks, 0x31, 6, 198, 219, 7 }
 
FieldActorEntry actor4 = { actor4Conditions, actor4Talks, 0x31, 6, 198, 219, 7 }
 
FieldActorEntry actor5 = { actor5Conditions, actor5Talks, 0x32, 7, 224, 257, 3 }
 
FieldActorEntry actor6 = { actor6Conditions, actor6Talks, 0x32, 7, 224, 257, 3 }
 
FieldActorEntry actor7 = { ((void *)0) , actor7Talks, 0x33, 8, 348, 147, 1 }
 
FieldActorEntry actor8 = { actor8Conditions, actor8Talks, 0x34, 9, 250, 244, 3 }
 
FieldActorEntry actor9 = { actor9Conditions, actor9Talks, 0x34, 9, 250, 244, 3 }
 
FieldActorEntry actor10 = { actor10Conditions, actor10Talks, 0xCE, 0xA, 379, 147, 7 }
 
FieldActorEntry actor11 = { actor11Conditions, actor11Talks, 0xCE, 0xA, 379, 147, 7 }
 
FieldActorEntry actor12 = { ((void *)0) , ((void *)0) , 0xDC, 0xB, 379, 163, 7 }
 
FieldActorEntry actor13 = { ((void *)0) , ((void *)0) , 0xE1, 0xC, 347, 158, 3 }
 
FieldActorEntry * stageActors []
 
StageTile stageObjects []
 The tables and color setupStage gives FIELDSTG_state (FieldState)
 
StageSlot stageSlots []
 
StageFuncs stageFuncs = { setupStage, startTween, updateTween }
 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

WSTAG935: Yellow Cruiser, Amaterasu City, in the extra chapter.

The European version's: in its extra chapter (STORY_EXTRA), mode 640 starts it instead of WSTAG271.

Definition in file wstag935.c.

Macro Definition Documentation

◆ STAGE_TWEEN

#define STAGE_TWEEN

stageFuncs is a StageFuncs (stage.h)

Definition at line 8 of file wstag935.c.

◆ MENU_TEXT

#define MENU_TEXT   EXTRA_TEXT

The text file of the menus.

Definition at line 15 of file wstag935.c.

◆ STAGE_TEXT

#define STAGE_TEXT   TEXT_FILE(TEXT_TALKS_08)

Definition at line 22 of file wstag935.c.

◆ STAGE_FILE

#define STAGE_FILE   0x8FD

Definition at line 23 of file wstag935.c.

◆ STAGE_FILE_8

#define STAGE_FILE_8   0x1AE

Definition at line 24 of file wstag935.c.

◆ EVENT_TEXT_FILE

#define EVENT_TEXT_FILE   EXTRA_TEXT

Definition at line 504 of file wstag935.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 wstag935.c.

◆ updateEvent1616()

void updateEvent1616 ( StageListMenu *  task,
StageListMenuChildren *  children 
)

A list of up to eight options that each open a message.

< SYSTEM02: a cursor moves

< SYSTEM00: a choice is taken

< SYSTEM01

< what is unavailable

< the map, its objects and characters, and the menus

Definition at line 56 of file wstag935.c.

Referenced by startEvent1616().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ startEvent1616()

void * startEvent1616 ( void  )

Starts event 1616, the card battle rules: a list of topics (Card Battles, Card Battle Flow, Phases 1 to 5) that each open a message.

Definition at line 174 of file wstag935.c.

Here is the call graph for this function:

◆ updateEvent1618()

void updateEvent1618 ( StageListMenu *  task,
StageListMenuChildren *  children 
)

A list of up to eight options that each open a message.

< SYSTEM02: a cursor moves

< SYSTEM00: a choice is taken

< SYSTEM01

< what is unavailable

< the map, its objects and characters, and the menus

Definition at line 179 of file wstag935.c.

Referenced by startEvent1618().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ startEvent1618()

void * startEvent1618 ( void  )

Starts event 1618, the cards: a list of topics (Create Folder, Digi Cards, Program Card, Card Colors, D-Energy, Combos, booster pack) that each open a message.

Definition at line 301 of file wstag935.c.

Here is the call graph for this function:

Variable Documentation

◆ event1616WindowFrames

s32 event1616WindowFrames
Initial value:
= {
28, 27, 25, 36,
}

Defined below, after the code that uses them.

MENU_SPRITES' frame of the list's window, by the number of options (5 to 8)

Definition at line 511 of file wstag935.c.

Referenced by updateEvent1616().

◆ event1618WindowFrames

s32 event1618WindowFrames
Initial value:
= {
28, 27, 25, 36,
}

MENU_SPRITES' frame of the list's window, by the number of options (5 to 8)

Definition at line 515 of file wstag935.c.

Referenced by updateEvent1618().

◆ 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, 0x140, 0x1D8, 0, 0xD8, 0x160, 0x1FB },
{ 0x180, 0x100, 0x1B0, 0x159, 0x1C0, 0x59, 0x170, 0x1FB },
{ 0x180, 0x100, 0x1A0, 0x15D, 0x180, 0x5D, 0x150, 0x1FA },
{ 0x180, 0x100, 0x1A8, 0x15D, 0x1A0, 0x5D, 0x160, 0x1FA },
{ 0x180, 0x100, 0x190, 0x171, 0x140, 0x71, 0x170, 0x1FA },
{ 0x180, 0x100, 0x198, 0x171, 0x160, 0x71, 0x140, 0x1F9 },
{ 0x180, 0x100, 0x1B4, 0x100, 0x1D0, 0, 0x150, 0x1F9 },
{ 0, 0, 0, 0, 0, 0, 0, 0 },
{ 0, 0, 0, 0, 0, 0, 0, 0 },
}

Definition at line 305 of file wstag935.c.

Referenced by setupStage().

◆ actor0Talk0Actions

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

Definition at line 322 of file wstag935.c.

◆ actor2Talk0Conditions

u16 actor2Talk0Conditions[] = { (( 0 ) << 8 | ( 0x11 )) , 1, (( 0 ) << 8 | ( 0x10 )) , 0, 0xFFFF }

Definition at line 323 of file wstag935.c.

◆ actor2Talk0Actions

u16 actor2Talk0Actions[] = { (( 0 ) << 8 | ( 0x11 )) , 0, (( 0 ) << 8 | ( 3 )) , 0, 0xFFFF }

Definition at line 324 of file wstag935.c.

◆ actor2Talk1Conditions

u16 actor2Talk1Conditions[] = { (( 0 ) << 8 | ( 0x11 )) , 1, (( 0 ) << 8 | ( 0x10 )) , 1, 0xFFFF }

Definition at line 325 of file wstag935.c.

◆ actor2Talk1Actions

u16 actor2Talk1Actions[]
Initial value:
= {
(( 0 ) << 8 | ( 0x11 )) , 0,
(( 0 ) << 8 | ( 0x10 )) , 0,
(( 0 ) << 8 | ( 3 )) , 0,
0xFFFF ,
}

Definition at line 326 of file wstag935.c.

◆ actor2Talk2Conditions

u16 actor2Talk2Conditions[] = { (( 0 ) << 8 | ( 0x11 )) , 0, (( 0 ) << 8 | ( 3 )) , 0, 0xFFFF }

Definition at line 332 of file wstag935.c.

◆ actor2Talk2Actions

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

Definition at line 333 of file wstag935.c.

◆ actor2Talk3Conditions

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

Definition at line 334 of file wstag935.c.

◆ actor2Talk3Actions

u16 actor2Talk3Actions[] = { ((0x7600 + ( 1 ) * 0x200) | ( 0x24 )) , 1, 0xFFFF }

Definition at line 335 of file wstag935.c.

◆ actor4Talk0Conditions

u16 actor4Talk0Conditions[] = { (( 0 ) << 8 | ( 0x11 )) , 1, (( 0 ) << 8 | ( 0x10 )) , 0, 0xFFFF }

Definition at line 336 of file wstag935.c.

◆ actor4Talk0Actions

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

Definition at line 337 of file wstag935.c.

◆ actor4Talk1Conditions

u16 actor4Talk1Conditions[] = { (( 0 ) << 8 | ( 0x11 )) , 1, (( 0 ) << 8 | ( 0x10 )) , 1, 0xFFFF }

Definition at line 338 of file wstag935.c.

◆ actor4Talk1Actions

u16 actor4Talk1Actions[]
Initial value:
= {
(( 0 ) << 8 | ( 0x11 )) , 0,
(( 0 ) << 8 | ( 0x10 )) , 0,
(( 0 ) << 8 | ( 1 )) , 0,
0xFFFF ,
}

Definition at line 339 of file wstag935.c.

◆ actor4Talk2Conditions

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

Definition at line 345 of file wstag935.c.

◆ actor4Talk2Actions

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

Definition at line 346 of file wstag935.c.

◆ actor4Talk3Conditions

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

Definition at line 347 of file wstag935.c.

◆ actor4Talk3Actions

u16 actor4Talk3Actions[] = { ((0x7600 + ( 1 ) * 0x200) | ( 0x2D )) , 1, 0xFFFF }

Definition at line 348 of file wstag935.c.

◆ actor6Talk0Conditions

u16 actor6Talk0Conditions[] = { (( 0 ) << 8 | ( 0x11 )) , 1, (( 0 ) << 8 | ( 0x10 )) , 0, 0xFFFF }

Definition at line 349 of file wstag935.c.

◆ actor6Talk0Actions

u16 actor6Talk0Actions[] = { (( 0 ) << 8 | ( 0x11 )) , 0, (( 0 ) << 8 | ( 2 )) , 0, 0xFFFF }

Definition at line 350 of file wstag935.c.

◆ actor6Talk1Conditions

u16 actor6Talk1Conditions[] = { (( 0 ) << 8 | ( 0x11 )) , 1, (( 0 ) << 8 | ( 0x10 )) , 1, 0xFFFF }

Definition at line 351 of file wstag935.c.

◆ actor6Talk1Actions

u16 actor6Talk1Actions[]
Initial value:
= {
(( 0 ) << 8 | ( 0x11 )) , 0,
(( 0 ) << 8 | ( 0x10 )) , 0,
(( 0 ) << 8 | ( 2 )) , 0,
0xFFFF ,
}

Definition at line 352 of file wstag935.c.

◆ actor6Talk2Conditions

u16 actor6Talk2Conditions[] = { (( 0 ) << 8 | ( 0x11 )) , 0, (( 0 ) << 8 | ( 2 )) , 0, 0xFFFF }

Definition at line 358 of file wstag935.c.

◆ actor6Talk2Actions

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

Definition at line 359 of file wstag935.c.

◆ actor6Talk3Conditions

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

Definition at line 360 of file wstag935.c.

◆ actor6Talk3Actions

u16 actor6Talk3Actions[] = { ((0x7600 + ( 1 ) * 0x200) | ( 0x44 )) , 1, 0xFFFF }

Definition at line 361 of file wstag935.c.

◆ actor7Talk0Actions

u16 actor7Talk0Actions[] = { (0x9000 | ( 0x72 )) , 1, 0xFFFF }

Definition at line 362 of file wstag935.c.

◆ actor9Talk0Conditions

u16 actor9Talk0Conditions[] = { (( 0 ) << 8 | ( 0x11 )) , 1, (( 0 ) << 8 | ( 0x10 )) , 0, 0xFFFF }

Definition at line 363 of file wstag935.c.

◆ actor9Talk0Actions

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

Definition at line 364 of file wstag935.c.

◆ actor9Talk1Conditions

u16 actor9Talk1Conditions[] = { (( 0 ) << 8 | ( 0x11 )) , 1, (( 0 ) << 8 | ( 0x10 )) , 1, 0xFFFF }

Definition at line 365 of file wstag935.c.

◆ actor9Talk1Actions

u16 actor9Talk1Actions[]
Initial value:
= {
(( 0 ) << 8 | ( 0x11 )) , 0,
(( 0 ) << 8 | ( 0 )) , 0,
(( 0 ) << 8 | ( 0x10 )) , 0,
0xFFFF ,
}

Definition at line 366 of file wstag935.c.

◆ actor9Talk2Conditions

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

Definition at line 372 of file wstag935.c.

◆ actor9Talk2Actions

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

Definition at line 373 of file wstag935.c.

◆ actor9Talk3Conditions

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

Definition at line 374 of file wstag935.c.

◆ actor9Talk3Actions

u16 actor9Talk3Actions[] = { ((0x7600 + ( 1 ) * 0x200) | ( 0x34 )) , 1, 0xFFFF }

Definition at line 375 of file wstag935.c.

◆ actor10Talk0Actions

u16 actor10Talk0Actions[] = { 0x7A43, 1, 0xFFFF }

Definition at line 376 of file wstag935.c.

◆ actor0Talks

FieldTalk actor0Talks[]
Initial value:
= {
{ ((void *)0) , actor0Talk0Actions, 0x43 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor0Talk0Actions[]
Definition wstag935.c:322

Definition at line 377 of file wstag935.c.

◆ actor1Talks

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

Definition at line 381 of file wstag935.c.

◆ actor2Talks

FieldTalk actor2Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor2Talk1Conditions[]
Definition wstag935.c:325
u16 actor2Talk3Conditions[]
Definition wstag935.c:334
u16 actor2Talk1Actions[]
Definition wstag935.c:326
u16 actor2Talk0Actions[]
Definition wstag935.c:324
u16 actor2Talk2Conditions[]
Definition wstag935.c:332
u16 actor2Talk3Actions[]
Definition wstag935.c:335
u16 actor2Talk0Conditions[]
Definition wstag935.c:323
u16 actor2Talk2Actions[]
Definition wstag935.c:333

Definition at line 385 of file wstag935.c.

◆ actor3Talks

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

Definition at line 392 of file wstag935.c.

◆ actor4Talks

FieldTalk actor4Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor4Talk3Conditions[]
Definition wstag935.c:347
u16 actor4Talk1Actions[]
Definition wstag935.c:339
u16 actor4Talk2Actions[]
Definition wstag935.c:346
u16 actor4Talk1Conditions[]
Definition wstag935.c:338
u16 actor4Talk0Conditions[]
Definition wstag935.c:336
u16 actor4Talk0Actions[]
Definition wstag935.c:337
u16 actor4Talk3Actions[]
Definition wstag935.c:348
u16 actor4Talk2Conditions[]
Definition wstag935.c:345

Definition at line 396 of file wstag935.c.

◆ actor5Talks

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

Definition at line 403 of file wstag935.c.

◆ actor6Talks

FieldTalk actor6Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor6Talk0Actions[]
Definition wstag935.c:350
u16 actor6Talk1Conditions[]
Definition wstag935.c:351
u16 actor6Talk2Conditions[]
Definition wstag935.c:358
u16 actor6Talk2Actions[]
Definition wstag935.c:359
u16 actor6Talk3Actions[]
Definition wstag935.c:361
u16 actor6Talk3Conditions[]
Definition wstag935.c:360
u16 actor6Talk0Conditions[]
Definition wstag935.c:349
u16 actor6Talk1Actions[]
Definition wstag935.c:352

Definition at line 407 of file wstag935.c.

◆ actor7Talks

FieldTalk actor7Talks[]
Initial value:
= {
{ ((void *)0) , actor7Talk0Actions, 0x44 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor7Talk0Actions[]
Definition wstag935.c:362

Definition at line 414 of file wstag935.c.

◆ actor8Talks

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

Definition at line 418 of file wstag935.c.

◆ actor9Talks

FieldTalk actor9Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor9Talk1Actions[]
Definition wstag935.c:366
u16 actor9Talk0Conditions[]
Definition wstag935.c:363
u16 actor9Talk2Actions[]
Definition wstag935.c:373
u16 actor9Talk1Conditions[]
Definition wstag935.c:365
u16 actor9Talk3Actions[]
Definition wstag935.c:375
u16 actor9Talk0Actions[]
Definition wstag935.c:364
u16 actor9Talk2Conditions[]
Definition wstag935.c:372
u16 actor9Talk3Conditions[]
Definition wstag935.c:374

Definition at line 422 of file wstag935.c.

◆ actor10Talks

FieldTalk actor10Talks[]
Initial value:
= {
{ ((void *)0) , actor10Talk0Actions, 0x42 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor10Talk0Actions[]
Definition wstag935.c:376

Definition at line 429 of file wstag935.c.

◆ actor11Talks

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

Definition at line 433 of file wstag935.c.

◆ actor1Conditions

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

Definition at line 437 of file wstag935.c.

◆ actor2Conditions

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

Definition at line 438 of file wstag935.c.

◆ actor3Conditions

u16 actor3Conditions[] = { (0x8000 | ( 0 ) << 9 | ( 0x192 )), 0, 0xFFFF }

Definition at line 439 of file wstag935.c.

◆ actor4Conditions

u16 actor4Conditions[] = { (0x8000 | ( 0 ) << 9 | ( 0x192 )), 1, 0xFFFF }

Definition at line 440 of file wstag935.c.

◆ actor5Conditions

u16 actor5Conditions[] = { (0x8000 | ( 0 ) << 9 | ( 0x192 )), 0, 0xFFFF }

Definition at line 441 of file wstag935.c.

◆ actor6Conditions

u16 actor6Conditions[] = { (0x8000 | ( 0 ) << 9 | ( 0x192 )), 1, 0xFFFF }

Definition at line 442 of file wstag935.c.

◆ actor8Conditions

u16 actor8Conditions[] = { (0x8000 | ( 0 ) << 9 | ( 0x192 )), 0, 0xFFFF }

Definition at line 443 of file wstag935.c.

◆ actor9Conditions

u16 actor9Conditions[] = { (0x8000 | ( 0 ) << 9 | ( 0x192 )), 1, 0xFFFF }

Definition at line 444 of file wstag935.c.

◆ actor10Conditions

u16 actor10Conditions[] = { (0x8000 | ( 0 ) << 9 | ( 0x192 )), 1, 0xFFFF }

Definition at line 445 of file wstag935.c.

◆ actor11Conditions

u16 actor11Conditions[] = { (0x8000 | ( 0 ) << 9 | ( 0x192 )), 0, 0xFFFF }

Definition at line 446 of file wstag935.c.

◆ actor0

FieldActorEntry actor0 = { ((void *)0) , actor0Talks, 0x2E, 4, 255, 176, 3 }

Definition at line 447 of file wstag935.c.

◆ actor1

FieldActorEntry actor1 = { actor1Conditions, actor1Talks, 0x2F, 5, 173, 231, 7 }

Definition at line 448 of file wstag935.c.

◆ actor2

FieldActorEntry actor2 = { actor2Conditions, actor2Talks, 0x2F, 5, 173, 231, 7 }

Definition at line 449 of file wstag935.c.

◆ actor3

FieldActorEntry actor3 = { actor3Conditions, actor3Talks, 0x31, 6, 198, 219, 7 }

Definition at line 450 of file wstag935.c.

◆ actor4

FieldActorEntry actor4 = { actor4Conditions, actor4Talks, 0x31, 6, 198, 219, 7 }

Definition at line 451 of file wstag935.c.

◆ actor5

FieldActorEntry actor5 = { actor5Conditions, actor5Talks, 0x32, 7, 224, 257, 3 }

Definition at line 452 of file wstag935.c.

◆ actor6

FieldActorEntry actor6 = { actor6Conditions, actor6Talks, 0x32, 7, 224, 257, 3 }

Definition at line 453 of file wstag935.c.

◆ actor7

FieldActorEntry actor7 = { ((void *)0) , actor7Talks, 0x33, 8, 348, 147, 1 }

Definition at line 454 of file wstag935.c.

◆ actor8

FieldActorEntry actor8 = { actor8Conditions, actor8Talks, 0x34, 9, 250, 244, 3 }

Definition at line 455 of file wstag935.c.

◆ actor9

FieldActorEntry actor9 = { actor9Conditions, actor9Talks, 0x34, 9, 250, 244, 3 }

Definition at line 456 of file wstag935.c.

◆ actor10

FieldActorEntry actor10 = { actor10Conditions, actor10Talks, 0xCE, 0xA, 379, 147, 7 }

Definition at line 457 of file wstag935.c.

◆ actor11

FieldActorEntry actor11 = { actor11Conditions, actor11Talks, 0xCE, 0xA, 379, 147, 7 }

Definition at line 458 of file wstag935.c.

◆ actor12

FieldActorEntry actor12 = { ((void *)0) , ((void *)0) , 0xDC, 0xB, 379, 163, 7 }

Definition at line 459 of file wstag935.c.

◆ actor13

FieldActorEntry actor13 = { ((void *)0) , ((void *)0) , 0xE1, 0xC, 347, 158, 3 }

Definition at line 460 of file wstag935.c.

◆ stageActors

FieldActorEntry* stageActors[]
Initial value:
= {
((void *)0) ,
}
FieldActorEntry actor0
Definition wstag935.c:447
FieldActorEntry actor6
Definition wstag935.c:453
FieldActorEntry actor5
Definition wstag935.c:452
FieldActorEntry actor2
Definition wstag935.c:449
FieldActorEntry actor10
Definition wstag935.c:457
FieldActorEntry actor4
Definition wstag935.c:451
FieldActorEntry actor8
Definition wstag935.c:455
FieldActorEntry actor9
Definition wstag935.c:456
FieldActorEntry actor12
Definition wstag935.c:459
FieldActorEntry actor7
Definition wstag935.c:454
FieldActorEntry actor13
Definition wstag935.c:460
FieldActorEntry actor11
Definition wstag935.c:458
FieldActorEntry actor1
Definition wstag935.c:448
FieldActorEntry actor3
Definition wstag935.c:450

Definition at line 461 of file wstag935.c.

Referenced by setupStage().

◆ stageObjects

StageTile stageObjects[]
Initial value:
= {
{ 1, 0, 0x40, 6, 0x3B, 2, 0, 5, 8, 0, 428, 75, 0, 0 },
{ 1, 0, 0x40, 6, 0x3D, 2, 0, 3, 8, 0, 65, 176, 0, 0 },
{ 1, 0, 0x40, 6, 0x3A, 2, 0, 3, 8, 0, 425, 67, 0, 0 },
{ 1, 0, 0x40, 6, 0x32, 1, 0x32, 0x39, 8, 0, 428, 75, 0, 0 },
{ 1, 0, 0x40, 4, 0x3C, 2, 0, 3, 8, 0, 470, 149, 176, 0 },
{ 1, 0, 0x40, 4, 0, 0, 0, 0, 0, 0, 86, 239, 258, 0 },
{ 1, 0, 0x40, 4, 1, 0, 0, 0, 0, 0, 160, 220, 248, 0 },
{ 1, 0, 0x40, 4, 2, 0, 0, 0, 0, 0, 192, 204, 232, 0 },
{ 1, 0, 0x40, 4, 3, 0, 0, 0, 0, 0, 320, 201, 231, 0 },
{ 1, 0, 0x40, 4, 4, 0, 0, 0, 0, 0, 291, 185, 209, 0 },
{ 1, 0, 0x40, 4, 5, 0, 0, 0, 0, 0, 352, 147, 168, 0 },
{ 1, 0, 0x40, 4, 6, 0, 0, 0, 0, 0, 371, 140, 160, 0 },
{ 1, 0, 0x40, 4, 7, 0, 0, 0, 0, 0, 336, 139, 160, 0 },
{ 1, 0, 0x40, 4, 8, 0, 0, 0, 0, 0, 385, 131, 153, 0 },
{ 1, 0, 0x40, 4, 9, 0, 0, 0, 0, 0, 320, 131, 153, 0 },
{ 1, 0, 0x40, 4, 0xA, 0, 0, 0, 0, 0, 401, 123, 144, 0 },
{ 1, 0, 0x40, 4, 0xB, 0, 0, 0, 0, 0, 304, 117, 144, 0 },
{ 1, 0, 0x40, 4, 0xC, 0, 0, 0, 0, 0, 464, 149, 176, 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 478 of file wstag935.c.

Referenced by setupStage().

◆ stageSlots

StageSlot stageSlots[]
Initial value:
= {
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 1 , 0x271, 0x1F0, 0xA0, 7, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 0, 0, 0, 0, 0, 0, 0, 0 },
}

Definition at line 499 of file wstag935.c.

Referenced by setupStage().

◆ stageFuncs

StageFuncs stageFuncs ( void  ) = { setupStage, startTween, updateTween }

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 503 of file wstag935.c.

Referenced by updateEvent1616(), and updateEvent1618().

◆ stageEvents

FieldEvent stageEvents[]
Initial value:
= {
{ 1616, ((void *)0) , ( ( 0x159 - 1) << 16 | ( 8 )), startEvent1616, ((void *)0) },
{ 1618, ((void *)0) , ( ( 0x159 - 1) << 16 | ( 9 )), startEvent1618, ((void *)0) },
{ -1, ((void *)0) , 0, ((void *)0) , ((void *)0) },
}
void * startEvent1616(void)
Starts event 1616, the card battle rules: a list of topics (Card Battles, Card Battle Flow,...
Definition wstag935.c:174
void * startEvent1618(void)
Starts event 1618, the cards: a list of topics (Create Folder, Digi Cards, Program Card,...
Definition wstag935.c:301

Definition at line 505 of file wstag935.c.

Referenced by setupStage().