|
Digimon World 3 decomp
The European version, SLES_039.36
|
WSTAG310: A.o.A Headquarters, Asuka City. More...
#include "common.h"#include "field/stage.h"#include "common/step_looping_animation.inc.c"#include "common/update_tile_anims4.inc.c"#include "common/create_tile_anims.inc.c"#include "common/step_tile_animation.inc.c"#include "common/tile_six.inc.c"#include "common/create_tile_six.inc.c"#include "common/start_stage.inc.c"#include "common/step_animation.inc.c"#include "common/is_on_screen.inc.c"#include "common/draw_stage_effect.inc.c"Go to the source code of this file.
Macros | |
| #define | STAGE_CHILDREN_SIZE 0x18 |
| #define | STAGE_TEXT TEXT_FILE(TEXT_TALKS_05) |
| #define | EVENT_TEXT_FILE (TEXT_EVENTS_300 - 1) |
| #define | STAGE_FILE 0x343 |
Functions | |
| StageEffect * | createEffect (s32 x, s32 y, s32 frame) |
| Creates one of the stage's effects (updateStageEffect) at (x, y) with its sprites' frames from FRAME. | |
| void | updateTileSix (StageTileSix *task) |
| Animates the map objects with animations 5 to 10 by mode (0: hidden, 1 and 3: the first two once, then mode 2 or 0; 2, the first: the other four) | |
| void | handleCommand831 (StageTileSix *task, s32 id) |
| Plays the first two map objects backwards (mode 3) for map 0x359. | |
| void * | createCommand831 (s32 id) |
| Creates the task of the six map objects with id ID, in mode 2. | |
| s32 | stepTileAnimation2 (StageTileAnimFlag *obj, AnimFrame *frames, s32 once, s32 depth) |
| stepTileAnimation (common/step_tile_animation.inc.c) for a StageTileAnimFlag: steps OBJ's animation through FRAMES and returns its frame, looping at the end or returning 0xFF if once | |
| static void | findTileSixW (StageTileSixW *task) |
| Finds the map objects with animations 11 to 16 and starts the animations of the first four. | |
| static void | showLastFourTilesW (StageTileSixW *task, StageTile *tile, s32 i) |
| Mode 2: hides the first two map objects and shows the other four, the third and fourth with their looping palettes and the last two still. | |
| void | updateTileSixW (StageTileSixW *task) |
| Animates the map objects with animations 11 to 16 by mode (0: hidden, 1 and 3: the first two once, then mode 2 or 0; 2, the first: the other four) | |
| void | handleCommand832 (StageTileSixW *task, s32 id) |
| Plays the first two map objects backwards (mode 3) for map 0x359. | |
| void * | createCommand832 (s32 id) |
| Creates the task of the six map objects with id ID, in mode 2. | |
| void * | createTileSixW (void) |
| Creates the second set of six map objects (updateTileSixW) without an id; nothing in the game calls it. | |
| void | updateStage (StageTask *task, void **children) |
| Creates the stage tasks, the sprite effects and the event object of the story so far. | |
| void | drawEffect (StageEffect *task, void *arg, s32 idx) |
| Draws sprite IDX of the effect while it plays (a draw callback) | |
| void | updateEffect (StageEffect *task) |
| An effect that plays its animation once and ends. | |
| StageEffect * | createCommand852 (s32 id) |
| Command 852 of the event scripts: the teleport effect at (0x26C, 0xFC) in event 681, with its sound. | |
| s32 | stepAnimation2 (AnimState *anim, AnimFrame *frames, s32 once, s32 depth) |
| stepAnimation (common/step_animation.inc.c) under another name: steps ANIM through FRAMES and returns its frame, looping at the end or returning 0xFF if once | |
| s32 | isOnScreen2 (s32 x, s32 y, s32 w, s32 h) |
| isOnScreen (common/is_on_screen.inc.c) under another name: whether the rectangle (x, y, w, h) is in the view of the map's layer | |
| void | updateStageEffect (StageEffect *task) |
| An effect that plays its animation each time it is set to TASK_DONE. | |
| void | endEvent680 (void) |
| After event 680, with Guard A, Guard B and Guard C: starts the stage's event battle 1, sets flag 0x0C13 and keeps it from playing again. | |
| void | endEvent681 (void) |
| After event 681, with Game Master: starts the stage's event battle 0 and keeps it from playing again. | |
| void | endEvent682 (void) |
| After event 682, with Game Master, Lisa, Teddy and Nick: lets events 683 of WSTAG305 and 685 of WSTAG210 start. | |
| void | endEvent961 (void) |
| After event 961, with the player: moves the story on to STORY_ASUKA_HEADQUARTERS. | |
| void | setupStage (void) |
| Sets the stage up: its map, actors, battles and events, playing the ambience ENV_0002. | |
Variables | |
| AnimFrame | updateTileAnimsFrames0 [] |
| Defined below, after the code that uses them. | |
| AnimFrame | updateTileAnimsFrames1 [] |
| AnimFrame | updateTileAnimsFrames2 [] |
| AnimFrame | updateTileAnimsFrames3 [] |
| AnimFrame | updateEffectFrames1 [] |
| AnimFrame | updateEffectFrames0 [] |
| StageEffectSpot | updateStageSpots [] |
| AnimFrame | updateTileSixFrames3 [] |
| AnimFrame | updateTileSixFrames4 [] |
| AnimFrame | updateTileSixWFrames3 [] |
| AnimFrame | updateTileSixWFrames4 [] |
| AnimFrame | updateTileSixFrames0 [] |
| AnimFrame | updateTileSixFrames1 [] |
| AnimFrame | updateTileSixFrames2 [] |
| AnimFrame | updateTileSixWFrames0 [] |
| AnimFrame | updateTileSixWFrames1 [] |
| AnimFrame | updateTileSixWFrames2 [] |
| s16 | script680 [] |
| s16 | script681 [] |
| s16 | script682 [] |
| s16 | script961 [] |
| AnimFrame | effectClutFrames [] |
| AnimFrame | effectFrames [] |
| AreaBattle | area0Battle0 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | area0Battle1 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | area0Battle2 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | area0Battle3 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | area0Battle4 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | area0Battle5 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | area0Battle6 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | area0Battle7 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| BattleList | area0Battles |
| AreaBattle | area1Battle0 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | area1Battle1 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | area1Battle2 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | area1Battle3 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | area1Battle4 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | area1Battle5 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | area1Battle6 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | area1Battle7 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| BattleList | area1Battles |
| AreaBattle | area2Battle0 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | area2Battle1 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | area2Battle2 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | area2Battle3 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | area2Battle4 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | area2Battle5 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | area2Battle6 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | area2Battle7 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| BattleList | area2Battles |
| AreaBattle | area3Battle0 = { 10, 18, (0x60000000 | ( 0x23 ) << 18 | ( 0 )) } |
| AreaBattle | area3Battle1 = { 191, 18, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
| AreaBattle | area3Battle2 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | area3Battle3 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | area3Battle4 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | area3Battle5 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | area3Battle6 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | area3Battle7 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| BattleList | area3Battles |
| FieldBattles | stageBattles [] |
| ActorImage | stageImages [] |
| u16 | actor0Conditions [] = { (0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 1, 0xFFFF } |
| u16 | actor1Conditions [] = { (0x6000 | ( STORY_GAME_MASTER_CAUGHT )) , 1, 0xFFFF } |
| u16 | actor2Conditions [] = { (0x6000 | ( STORY_GAME_MASTER_CAUGHT )) , 1, 0xFFFF } |
| u16 | actor3Conditions [] = { (0x6000 | ( STORY_GAME_MASTER_CAUGHT )) , 1, 0xFFFF } |
| u16 | actor4Conditions [] = { (0x6000 | ( STORY_GAME_MASTER_CAUGHT )) , 1, 0xFFFF } |
| u16 | actor5Conditions [] |
| u16 | actor6Conditions [] |
| u16 | actor7Conditions [] |
| u16 | actor8Conditions [] |
| u16 | actor9Conditions [] = { (0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 1, 0xFFFF } |
| u16 | actor10Conditions [] = { (0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 1, 0xFFFF } |
| u16 | actor11Conditions [] = { (0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 1, 0xFFFF } |
| FieldActorEntry | actor0 = { actor0Conditions, ((void *)0) , 1, 4, 0, 0, 1 } |
| FieldActorEntry | actor1 = { actor1Conditions, ((void *)0) , 0xC, 5, 0, 0, 1 } |
| FieldActorEntry | actor2 = { actor2Conditions, ((void *)0) , 0x65, 6, 0, 0, 1 } |
| FieldActorEntry | actor3 = { actor3Conditions, ((void *)0) , 0x67, 7, 0, 0, 1 } |
| FieldActorEntry | actor4 = { actor4Conditions, ((void *)0) , 0x6C, 8, 571, 235, 1 } |
| FieldActorEntry | actor5 = { actor5Conditions, ((void *)0) , 0x6D, 9, 161, 441, 1 } |
| FieldActorEntry | actor6 = { actor6Conditions, ((void *)0) , 0x6E, 0xA, 255, 489, 1 } |
| FieldActorEntry | actor7 = { actor7Conditions, ((void *)0) , 0x77, 0xB, 235, 452, 1 } |
| FieldActorEntry | actor8 = { actor8Conditions, ((void *)0) , 0x110, 0xC, 640, 265, 1 } |
| FieldActorEntry | actor9 = { actor9Conditions, ((void *)0) , 0x110, 0xC, 0, 0, 1 } |
| FieldActorEntry | actor10 = { actor10Conditions, ((void *)0) , 0x111, 0xD, 0, 0, 1 } |
| FieldActorEntry | actor11 = { actor11Conditions, ((void *)0) , 0x112, 0xE, 0, 0, 1 } |
| FieldActorEntry * | stageActors [] |
| StageTile | stageObjects [] |
| The tables and color setupStage gives FIELDSTG_state (FieldState) | |
| StageSlot | stageSlots [] |
| void(* | stageFuncs [])(void) |
| The stage's functions (common/start_stage.inc.c calls the first): a StageFuncs in the stages with a tween, which define STAGE_TWEEN before they include this file, and in the others an array of just setupStage. | |
| FieldEvent | stageEvents [] |
WSTAG310: A.o.A Headquarters, Asuka City.
Definition in file wstag310.c.
| #define STAGE_CHILDREN_SIZE 0x18 |
Definition at line 454 of file wstag310.c.
| #define STAGE_TEXT TEXT_FILE(TEXT_TALKS_05) |
Definition at line 727 of file wstag310.c.
| #define EVENT_TEXT_FILE (TEXT_EVENTS_300 - 1) |
Definition at line 728 of file wstag310.c.
| #define STAGE_FILE 0x343 |
Definition at line 729 of file wstag310.c.
| StageEffect * createEffect | ( | s32 | x, |
| s32 | y, | ||
| s32 | frame | ||
| ) |
Creates one of the stage's effects (updateStageEffect) at (x, y) with its sprites' frames from FRAME.
Definition at line 681 of file wstag310.c.
Referenced by updateStage().
| void updateTileSix | ( | StageTileSix * | task | ) |
Animates the map objects with animations 5 to 10 by mode (0: hidden, 1 and 3: the first two once, then mode 2 or 0; 2, the first: the other four)
Definition at line 38 of file wstag310.c.
Referenced by createCommand831().
| void handleCommand831 | ( | StageTileSix * | task, |
| s32 | id | ||
| ) |
Plays the first two map objects backwards (mode 3) for map 0x359.
Definition at line 146 of file wstag310.c.
| void * createCommand831 | ( | s32 | id | ) |
Creates the task of the six map objects with id ID, in mode 2.
Definition at line 157 of file wstag310.c.
Referenced by updateStage().
| s32 stepTileAnimation2 | ( | StageTileAnimFlag * | obj, |
| AnimFrame * | frames, | ||
| s32 | once, | ||
| s32 | depth | ||
| ) |
stepTileAnimation (common/step_tile_animation.inc.c) for a StageTileAnimFlag: steps OBJ's animation through FRAMES and returns its frame, looping at the end or returning 0xFF if once
Definition at line 171 of file wstag310.c.
Referenced by showLastFourTilesW(), showLastFourTilesW(), stepTileAnimation2(), updateTileDuo(), updateTileSixW(), and updateTileSixW().
|
inlinestatic |
Finds the map objects with animations 11 to 16 and starts the animations of the first four.
Definition at line 203 of file wstag310.c.
Referenced by updateTileSixW().
|
inlinestatic |
Mode 2: hides the first two map objects and shows the other four, the third and fourth with their looping palettes and the last two still.
Definition at line 248 of file wstag310.c.
Referenced by updateTileSixW().
| void updateTileSixW | ( | StageTileSixW * | task | ) |
Animates the map objects with animations 11 to 16 by mode (0: hidden, 1 and 3: the first two once, then mode 2 or 0; 2, the first: the other four)
Definition at line 278 of file wstag310.c.
Referenced by createCommand832(), and createTileSixW().
| void handleCommand832 | ( | StageTileSixW * | task, |
| s32 | id | ||
| ) |
Plays the first two map objects backwards (mode 3) for map 0x359.
Definition at line 386 of file wstag310.c.
| void * createCommand832 | ( | s32 | id | ) |
Creates the task of the six map objects with id ID, in mode 2.
Definition at line 397 of file wstag310.c.
Referenced by updateStage().
| void * createTileSixW | ( | void | ) |
Creates the second set of six map objects (updateTileSixW) without an id; nothing in the game calls it.
Definition at line 408 of file wstag310.c.
| void updateStage | ( | StageTask * | task, |
| void ** | children | ||
| ) |
Creates the stage tasks, the sprite effects and the event object of the story so far.
< 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 413 of file wstag310.c.
| void drawEffect | ( | StageEffect * | task, |
| void * | arg, | ||
| s32 | idx | ||
| ) |
Draws sprite IDX of the effect while it plays (a draw callback)
Definition at line 459 of file wstag310.c.
Referenced by updateEffect().
| void updateEffect | ( | StageEffect * | task | ) |
An effect that plays its animation once and ends.
< the map, its objects and characters, and the menus
Definition at line 488 of file wstag310.c.
Referenced by createCommand852().
| StageEffect * createCommand852 | ( | s32 | id | ) |
Command 852 of the event scripts: the teleport effect at (0x26C, 0xFC) in event 681, with its sound.
< TELEPORT
Definition at line 548 of file wstag310.c.
stepAnimation (common/step_animation.inc.c) under another name: steps ANIM through FRAMES and returns its frame, looping at the end or returning 0xFF if once
Definition at line 563 of file wstag310.c.
Referenced by stepAnimation2(), and updateStageEffect().
isOnScreen (common/is_on_screen.inc.c) under another name: whether the rectangle (x, y, w, h) is in the view of the map's layer
< the map, its objects and characters, and the menus
Definition at line 597 of file wstag310.c.
Referenced by updateStageEffect().
| void updateStageEffect | ( | StageEffect * | task | ) |
An effect that plays its animation each time it is set to TASK_DONE.
< the map, its objects and characters, and the menus
Definition at line 615 of file wstag310.c.
Referenced by createCommand838(), createEffect(), createStageEffect(), and createStageEffectWithId().
| void endEvent680 | ( | void | ) |
After event 680, with Guard A, Guard B and Guard C: starts the stage's event battle 1, sets flag 0x0C13 and keeps it from playing again.
< 0xC 0x00-0x40: FLAGS_00, GAME.flags02-flags40
< action: FIELDSTG_battleFuncs.startEventBattle
< 0x40 0x00-0x40: FLAGS_00, GAME.flags02-flags40
Definition at line 694 of file wstag310.c.
| void endEvent681 | ( | void | ) |
After event 681, with Game Master: starts the stage's event battle 0 and keeps it from playing again.
< 0x40 0x00-0x40: FLAGS_00, GAME.flags02-flags40
< action: FIELDSTG_battleFuncs.startEventBattle
Definition at line 704 of file wstag310.c.
| void endEvent682 | ( | void | ) |
After event 682, with Game Master, Lisa, Teddy and Nick: lets events 683 of WSTAG305 and 685 of WSTAG210 start.
< 0x40 0x00-0x40: FLAGS_00, GAME.flags02-flags40
Definition at line 713 of file wstag310.c.
| void endEvent961 | ( | void | ) |
After event 961, with the player: moves the story on to STORY_ASUKA_HEADQUARTERS.
Definition at line 718 of file wstag310.c.
| void setupStage | ( | void | ) |
Sets the stage up: its map, actors, battles and events, playing the ambience ENV_0002.
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_0002: the A.o.A Headquarters
< ENV_0002: the A.o.A Headquarters
< a cell's value: a direction (3 bits) and a StageSlot (5)
Definition at line 732 of file wstag310.c.
| AnimFrame updateTileAnimsFrames0[] |
Defined below, after the code that uses them.
Definition at line 1053 of file wstag310.c.
| AnimFrame updateTileAnimsFrames1[] |
Definition at line 1058 of file wstag310.c.
| AnimFrame updateTileAnimsFrames2[] |
Definition at line 1062 of file wstag310.c.
| AnimFrame updateTileAnimsFrames3[] |
Definition at line 1066 of file wstag310.c.
| AnimFrame updateEffectFrames1 |
Definition at line 1134 of file wstag310.c.
Referenced by updateEffect().
| AnimFrame updateEffectFrames0 |
Definition at line 1138 of file wstag310.c.
Referenced by updateEffect().
| StageEffectSpot updateStageSpots[] |
Definition at line 1130 of file wstag310.c.
Referenced by updateStage().
| AnimFrame updateTileSixFrames3[] |
Definition at line 1085 of file wstag310.c.
Referenced by handleCommand831().
| AnimFrame updateTileSixFrames4[] |
Definition at line 1094 of file wstag310.c.
Referenced by handleCommand831(), and updateTileSix().
| AnimFrame updateTileSixWFrames3[] |
Definition at line 1115 of file wstag310.c.
Referenced by findTileSixW(), handleCommand832(), and showLastFourTilesW().
| AnimFrame updateTileSixWFrames4[] |
Definition at line 1124 of file wstag310.c.
Referenced by handleCommand832(), and updateTileSixW().
| AnimFrame updateTileSixFrames0[] |
Definition at line 1070 of file wstag310.c.
Referenced by updateTileSix().
| AnimFrame updateTileSixFrames1[] |
Definition at line 1076 of file wstag310.c.
Referenced by updateTileSix().
| AnimFrame updateTileSixFrames2[] |
Definition at line 1082 of file wstag310.c.
| AnimFrame updateTileSixWFrames0[] |
Definition at line 1100 of file wstag310.c.
Referenced by findTileSixW(), and updateTileSixW().
| AnimFrame updateTileSixWFrames1[] |
Definition at line 1106 of file wstag310.c.
Referenced by findTileSixW(), and updateTileSixW().
| AnimFrame updateTileSixWFrames2[] |
Definition at line 1112 of file wstag310.c.
Referenced by findTileSixW(), and showLastFourTilesW().
| s16 script680[] |
Definition at line 752 of file wstag310.c.
| s16 script681[] |
Definition at line 817 of file wstag310.c.
| s16 script682[] |
Definition at line 889 of file wstag310.c.
| s16 script961[] |
Definition at line 971 of file wstag310.c.
| AnimFrame effectClutFrames[] |
Definition at line 1146 of file wstag310.c.
Referenced by updateStageEffect().
| AnimFrame effectFrames[] |
Definition at line 1150 of file wstag310.c.
Referenced by updateStageEffect().
| AreaBattle area0Battle0 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 1158 of file wstag310.c.
| AreaBattle area0Battle1 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 1159 of file wstag310.c.
| AreaBattle area0Battle2 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 1160 of file wstag310.c.
| AreaBattle area0Battle3 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 1161 of file wstag310.c.
| AreaBattle area0Battle4 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 1162 of file wstag310.c.
| AreaBattle area0Battle5 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 1163 of file wstag310.c.
| AreaBattle area0Battle6 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 1164 of file wstag310.c.
| AreaBattle area0Battle7 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 1165 of file wstag310.c.
| BattleList area0Battles |
Definition at line 1166 of file wstag310.c.
| AreaBattle area1Battle0 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 1171 of file wstag310.c.
| AreaBattle area1Battle1 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 1172 of file wstag310.c.
| AreaBattle area1Battle2 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 1173 of file wstag310.c.
| AreaBattle area1Battle3 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 1174 of file wstag310.c.
| AreaBattle area1Battle4 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 1175 of file wstag310.c.
| AreaBattle area1Battle5 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 1176 of file wstag310.c.
| AreaBattle area1Battle6 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 1177 of file wstag310.c.
| AreaBattle area1Battle7 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 1178 of file wstag310.c.
| BattleList area1Battles |
Definition at line 1179 of file wstag310.c.
| AreaBattle area2Battle0 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 1184 of file wstag310.c.
| AreaBattle area2Battle1 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 1185 of file wstag310.c.
| AreaBattle area2Battle2 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 1186 of file wstag310.c.
| AreaBattle area2Battle3 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 1187 of file wstag310.c.
| AreaBattle area2Battle4 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 1188 of file wstag310.c.
| AreaBattle area2Battle5 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 1189 of file wstag310.c.
| AreaBattle area2Battle6 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 1190 of file wstag310.c.
| AreaBattle area2Battle7 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 1191 of file wstag310.c.
| BattleList area2Battles |
Definition at line 1192 of file wstag310.c.
| AreaBattle area3Battle0 = { 10, 18, (0x60000000 | ( 0x23 ) << 18 | ( 0 )) } |
Definition at line 1197 of file wstag310.c.
| AreaBattle area3Battle1 = { 191, 18, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 1198 of file wstag310.c.
| AreaBattle area3Battle2 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 1199 of file wstag310.c.
| AreaBattle area3Battle3 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 1200 of file wstag310.c.
| AreaBattle area3Battle4 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 1201 of file wstag310.c.
| AreaBattle area3Battle5 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 1202 of file wstag310.c.
| AreaBattle area3Battle6 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 1203 of file wstag310.c.
| AreaBattle area3Battle7 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 1204 of file wstag310.c.
| BattleList area3Battles |
Definition at line 1205 of file wstag310.c.
| FieldBattles stageBattles[] |
| ActorImage stageImages[] |
Definition at line 1213 of file wstag310.c.
Referenced by setupStage().
| u16 actor0Conditions[] = { (0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 1, 0xFFFF } |
Definition at line 1232 of file wstag310.c.
| u16 actor1Conditions[] = { (0x6000 | ( STORY_GAME_MASTER_CAUGHT )) , 1, 0xFFFF } |
Definition at line 1233 of file wstag310.c.
| u16 actor2Conditions[] = { (0x6000 | ( STORY_GAME_MASTER_CAUGHT )) , 1, 0xFFFF } |
Definition at line 1234 of file wstag310.c.
| u16 actor3Conditions[] = { (0x6000 | ( STORY_GAME_MASTER_CAUGHT )) , 1, 0xFFFF } |
Definition at line 1235 of file wstag310.c.
| u16 actor4Conditions[] = { (0x6000 | ( STORY_GAME_MASTER_CAUGHT )) , 1, 0xFFFF } |
Definition at line 1236 of file wstag310.c.
| u16 actor5Conditions[] |
Definition at line 1237 of file wstag310.c.
| u16 actor6Conditions[] |
Definition at line 1242 of file wstag310.c.
| u16 actor7Conditions[] |
Definition at line 1247 of file wstag310.c.
| u16 actor8Conditions[] |
Definition at line 1252 of file wstag310.c.
| u16 actor9Conditions[] = { (0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 1, 0xFFFF } |
Definition at line 1257 of file wstag310.c.
| u16 actor10Conditions[] = { (0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 1, 0xFFFF } |
Definition at line 1258 of file wstag310.c.
| u16 actor11Conditions[] = { (0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 1, 0xFFFF } |
Definition at line 1259 of file wstag310.c.
| FieldActorEntry actor0 = { actor0Conditions, ((void *)0) , 1, 4, 0, 0, 1 } |
Definition at line 1260 of file wstag310.c.
| FieldActorEntry actor1 = { actor1Conditions, ((void *)0) , 0xC, 5, 0, 0, 1 } |
Definition at line 1261 of file wstag310.c.
| FieldActorEntry actor2 = { actor2Conditions, ((void *)0) , 0x65, 6, 0, 0, 1 } |
Definition at line 1262 of file wstag310.c.
| FieldActorEntry actor3 = { actor3Conditions, ((void *)0) , 0x67, 7, 0, 0, 1 } |
Definition at line 1263 of file wstag310.c.
| FieldActorEntry actor4 = { actor4Conditions, ((void *)0) , 0x6C, 8, 571, 235, 1 } |
Definition at line 1264 of file wstag310.c.
| FieldActorEntry actor5 = { actor5Conditions, ((void *)0) , 0x6D, 9, 161, 441, 1 } |
Definition at line 1265 of file wstag310.c.
| FieldActorEntry actor6 = { actor6Conditions, ((void *)0) , 0x6E, 0xA, 255, 489, 1 } |
Definition at line 1266 of file wstag310.c.
| FieldActorEntry actor7 = { actor7Conditions, ((void *)0) , 0x77, 0xB, 235, 452, 1 } |
Definition at line 1267 of file wstag310.c.
| FieldActorEntry actor8 = { actor8Conditions, ((void *)0) , 0x110, 0xC, 640, 265, 1 } |
Definition at line 1268 of file wstag310.c.
| FieldActorEntry actor9 = { actor9Conditions, ((void *)0) , 0x110, 0xC, 0, 0, 1 } |
Definition at line 1269 of file wstag310.c.
| FieldActorEntry actor10 = { actor10Conditions, ((void *)0) , 0x111, 0xD, 0, 0, 1 } |
Definition at line 1270 of file wstag310.c.
| FieldActorEntry actor11 = { actor11Conditions, ((void *)0) , 0x112, 0xE, 0, 0, 1 } |
Definition at line 1271 of file wstag310.c.
| FieldActorEntry* stageActors[] |
| StageTile stageObjects[] |
The tables and color setupStage gives FIELDSTG_state (FieldState)
Definition at line 1287 of file wstag310.c.
Referenced by setupStage().
| StageSlot stageSlots[] |
Definition at line 1316 of file wstag310.c.
Referenced by setupStage().
| void(* stageFuncs[])(void) | ( | 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.
Definition at line 1320 of file wstag310.c.
| FieldEvent stageEvents[] |
Definition at line 1323 of file wstag310.c.
Referenced by setupStage().