|
Digimon World 3 decomp
The European version, SLES_039.36
|
WSTAG731: Kulon Weapons, North Sector. More...
#include "common.h"#include "field/stage.h"#include "common/step_looping_animation.inc.c"#include "common/update_tile_anims1_once.inc.c"#include "common/create_tile_anims_54.inc.c"#include "common/update_stage_tile_anims.inc.c"#include "common/start_stage.inc.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 [] |
WSTAG731: Kulon Weapons, North Sector.
On the Amaterasu server; its Asuka server twin is WSTAG730.
Definition in file wstag731.c.
| #define STAGE_CHILDREN_SIZE 4 |
Definition at line 18 of file wstag731.c.
| #define STAGE_TEXT TEXT_FILE(TEXT_TALKS_07) |
Definition at line 26 of file wstag731.c.
| #define EVENT_TEXT_FILE (TEXT_EVENTS_700 - 1) |
Definition at line 27 of file wstag731.c.
| #define STAGE_FILE 0x6C7 |
Definition at line 28 of file wstag731.c.
| 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.
| AnimFrame updateTileAnimsFrames[] |
Defined below, after the code that uses them.
Definition at line 76 of file wstag731.c.
| s16 script1236[] |
Definition at line 50 of file wstag731.c.
| ActorImage stageImages[] |
Definition at line 80 of file wstag731.c.
Referenced by setupStage().
| u16 actor0Talk0Actions[] = { (0x9000 | ( 0x16 )) , 1, 0xFFFF } |
Definition at line 90 of file wstag731.c.
| u16 actor2Talk0Conditions[] = { (0x8000 | ( 3 ) << 9 | ( 0x9C )), 1, 0xFFFF } |
Definition at line 91 of file wstag731.c.
| u16 actor2Talk1Conditions[] = { (0x8000 | ( 3 ) << 9 | ( 0x9C )), 0, (( 0 ) << 8 | ( 0 )) , 0, 0xFFFF } |
Definition at line 92 of file wstag731.c.
| u16 actor2Talk1Actions[] = { (( 0 ) << 8 | ( 0 )) , 1, 0xFFFF } |
Definition at line 93 of file wstag731.c.
| 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.
| 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.
| u16 actor2Talk3Actions[] |
Definition at line 96 of file wstag731.c.
| u16 actor4Talk0Conditions[] = { (0x8000 | ( 3 ) << 9 | ( 0x90 )), 1, 0xFFFF } |
Definition at line 103 of file wstag731.c.
| u16 actor4Talk1Conditions[] = { (0x8000 | ( 3 ) << 9 | ( 0x90 )), 0, (( 0 ) << 8 | ( 1 )) , 0, 0xFFFF } |
Definition at line 104 of file wstag731.c.
| u16 actor4Talk1Actions[] = { (( 0 ) << 8 | ( 1 )) , 1, 0xFFFF } |
Definition at line 105 of file wstag731.c.
| 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.
| 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.
| u16 actor4Talk3Actions[] |
Definition at line 108 of file wstag731.c.
| u16 actor6Talk0Conditions[] = { (0x8000 | ( 3 ) << 9 | ( 0x77 )), 1, 0xFFFF } |
Definition at line 115 of file wstag731.c.
| u16 actor6Talk1Conditions[] = { (0x8000 | ( 3 ) << 9 | ( 0x77 )), 0, (( 0 ) << 8 | ( 2 )) , 0, 0xFFFF } |
Definition at line 116 of file wstag731.c.
| u16 actor6Talk1Actions[] = { (( 0 ) << 8 | ( 2 )) , 1, 0xFFFF } |
Definition at line 117 of file wstag731.c.
| 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.
| 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.
| u16 actor6Talk3Actions[] |
Definition at line 120 of file wstag731.c.
| u16 actor8Talk0Conditions[] = { (0x8000 | ( 3 ) << 9 | ( 0x83 )), 1, 0xFFFF } |
Definition at line 127 of file wstag731.c.
| u16 actor8Talk1Conditions[] = { (0x8000 | ( 3 ) << 9 | ( 0x83 )), 0, (( 0 ) << 8 | ( 3 )) , 0, 0xFFFF } |
Definition at line 128 of file wstag731.c.
| u16 actor8Talk1Actions[] = { (( 0 ) << 8 | ( 3 )) , 1, 0xFFFF } |
Definition at line 129 of file wstag731.c.
| 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.
| 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.
| u16 actor8Talk3Actions[] |
Definition at line 132 of file wstag731.c.
| u16 actor10Talk0Conditions[] = { (0x8000 | ( 3 ) << 9 | ( 0x69 )), 1, 0xFFFF } |
Definition at line 139 of file wstag731.c.
| u16 actor10Talk1Conditions[] = { (0x8000 | ( 3 ) << 9 | ( 0x69 )), 0, (( 0 ) << 8 | ( 4 )) , 0, 0xFFFF } |
Definition at line 140 of file wstag731.c.
| u16 actor10Talk1Actions[] = { (( 0 ) << 8 | ( 4 )) , 1, 0xFFFF } |
Definition at line 141 of file wstag731.c.
| 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.
| 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.
| u16 actor10Talk3Actions[] |
Definition at line 144 of file wstag731.c.
| FieldTalk actor0Talks[] |
Definition at line 151 of file wstag731.c.
| FieldTalk actor1Talks[] |
Definition at line 155 of file wstag731.c.
| FieldTalk actor2Talks[] |
Definition at line 159 of file wstag731.c.
| FieldTalk actor3Talks[] |
Definition at line 166 of file wstag731.c.
| FieldTalk actor4Talks[] |
Definition at line 170 of file wstag731.c.
| FieldTalk actor5Talks[] |
Definition at line 177 of file wstag731.c.
| FieldTalk actor6Talks[] |
Definition at line 181 of file wstag731.c.
| FieldTalk actor7Talks[] |
Definition at line 188 of file wstag731.c.
| FieldTalk actor8Talks[] |
Definition at line 192 of file wstag731.c.
| FieldTalk actor9Talks[] |
Definition at line 199 of file wstag731.c.
| FieldTalk actor10Talks[] |
Definition at line 203 of file wstag731.c.
| FieldTalk actor11Talks[] |
Definition at line 210 of file wstag731.c.
| u16 actor1Conditions[] = { (0x8000 | ( 3 ) << 9 | ( 0x9B )), 0, (0x8000 | ( 3 ) << 9 | ( 0x9C )), 0, 0xFFFF } |
Definition at line 214 of file wstag731.c.
| u16 actor2Conditions[] = { (0x8000 | ( 3 ) << 9 | ( 0x9B )), 1, (0x8000 | ( 3 ) << 9 | ( 0x9C )), 0, 0xFFFF } |
Definition at line 215 of file wstag731.c.
| 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.
| 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.
| u16 actor5Conditions[] |
Definition at line 218 of file wstag731.c.
| u16 actor6Conditions[] |
Definition at line 225 of file wstag731.c.
| u16 actor7Conditions[] |
Definition at line 232 of file wstag731.c.
| u16 actor8Conditions[] |
Definition at line 240 of file wstag731.c.
| u16 actor9Conditions[] |
Definition at line 248 of file wstag731.c.
| u16 actor10Conditions[] |
Definition at line 257 of file wstag731.c.
| u16 actor11Conditions[] |
Definition at line 266 of file wstag731.c.
| FieldActorEntry actor0 = { ((void *)0) , actor0Talks, 0x15, 4, 461, 190, 1 } |
Definition at line 274 of file wstag731.c.
| FieldActorEntry actor1 = { actor1Conditions, actor1Talks, 0xC1, 5, 304, 176, 1 } |
Definition at line 275 of file wstag731.c.
| FieldActorEntry actor2 = { actor2Conditions, actor2Talks, 0xC1, 5, 304, 176, 1 } |
Definition at line 276 of file wstag731.c.
| FieldActorEntry actor3 = { actor3Conditions, actor3Talks, 0xC1, 5, 304, 176, 1 } |
Definition at line 277 of file wstag731.c.
| FieldActorEntry actor4 = { actor4Conditions, actor4Talks, 0xC1, 5, 304, 176, 1 } |
Definition at line 278 of file wstag731.c.
| FieldActorEntry actor5 = { actor5Conditions, actor5Talks, 0xC1, 5, 304, 176, 1 } |
Definition at line 279 of file wstag731.c.
| FieldActorEntry actor6 = { actor6Conditions, actor6Talks, 0xC1, 5, 304, 176, 1 } |
Definition at line 280 of file wstag731.c.
| FieldActorEntry actor7 = { actor7Conditions, actor7Talks, 0xC1, 5, 304, 176, 1 } |
Definition at line 281 of file wstag731.c.
| FieldActorEntry actor8 = { actor8Conditions, actor8Talks, 0xC1, 5, 304, 176, 1 } |
Definition at line 282 of file wstag731.c.
| FieldActorEntry actor9 = { actor9Conditions, actor9Talks, 0xC1, 5, 304, 176, 1 } |
Definition at line 283 of file wstag731.c.
| FieldActorEntry actor10 = { actor10Conditions, actor10Talks, 0xC1, 5, 304, 176, 1 } |
Definition at line 284 of file wstag731.c.
| FieldActorEntry actor11 = { actor11Conditions, actor11Talks, 0xC1, 5, 304, 176, 1 } |
Definition at line 285 of file wstag731.c.
| FieldActorEntry* stageActors[] |
| StageTile stageObjects[] |
The tables and color setupStage gives FIELDSTG_state (FieldState)
Definition at line 301 of file wstag731.c.
Referenced by setupStage().
| StageSlot stageSlots[] |
Definition at line 322 of file wstag731.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 326 of file wstag731.c.
| FieldEvent stageEvents[] |
Definition at line 329 of file wstag731.c.
Referenced by setupStage().