|
Digimon World 3 decomp
The European version, SLES_039.36
|
WSTAG425: Zephyr Tower, Seiryu City. More...
#include "common.h"#include "field/stage.h"#include "common/update_stage.inc.c"#include "common/start_stage.inc.c"Go to the source code of this file.
Macros | |
| #define | STAGE_TEXT TEXT_FILE(TEXT_TALKS_01) |
| #define | STAGE_FILE 0x254 |
| #define | STAGE_FILE_8 0x24C |
| #define | STAGE_ARCHIVE 0x330 |
Functions | |
| void | setupStage (void) |
| Sets the stage up: its map and actors, playing SHOP1BGM. | |
Variables | |
| ActorImage | stageImages [] |
| u16 | actor0Talk0Conditions [] = { (( 0x1A ) << 8 | ( 8 )) , 0, 0xFFFF } |
| u16 | actor0Talk0Actions [] = { (( 0x1A ) << 8 | ( 8 )) , 1, 0xFFFF } |
| u16 | actor0Talk1Conditions [] = { (( 0x1A ) << 8 | ( 8 )) , 1, 0xFFFF } |
| u16 | actor0Talk1Actions [] = { 0x7A20, 1, 0xFFFF } |
| u16 | actor1Talk0Conditions [] = { (( 0x1A ) << 8 | ( 0xF )) , 0, 0xFFFF } |
| u16 | actor1Talk0Actions [] = { (( 0x1A ) << 8 | ( 0xF )) , 1, 0xFFFF } |
| u16 | actor1Talk1Conditions [] = { (( 0x1A ) << 8 | ( 0xF )) , 1, 0xFFFF } |
| u16 | actor1Talk1Actions [] = { 0x7A06, 1, 0xFFFF } |
| u16 | actor2Talk0Conditions [] = { (( 0x1A ) << 8 | ( 0xE )) , 0, 0xFFFF } |
| u16 | actor2Talk0Actions [] = { (( 0x1A ) << 8 | ( 0xE )) , 1, 0xFFFF } |
| u16 | actor2Talk1Conditions [] = { (( 0x1A ) << 8 | ( 0xE )) , 1, 0xFFFF } |
| u16 | actor2Talk1Actions [] = { 0x7A05, 1, 0xFFFF } |
| u16 | actor13Talk0Conditions [] = { (0x8000 | ( 0 ) << 9 | ( 0x18F )), 0, 0xFFFF } |
| u16 | actor13Talk0Actions [] = { (0x8000 | ( 0 ) << 9 | ( 0x18F )), 1, (0x7000 | ( 0x13 )) , 1, 0xFFFF } |
| u16 | actor13Talk1Conditions [] = { (0x8000 | ( 0 ) << 9 | ( 0x18F )), 1, 0xFFFF } |
| u16 | actor15Talk0Conditions [] |
| u16 | actor15Talk0Actions [] = { (( 0x1A ) << 8 | ( 0x1C )) , 1, 0xFFFF } |
| u16 | actor15Talk1Conditions [] |
| u16 | actor15Talk1Actions [] = { 0x7A37, 1, 0xFFFF } |
| u16 | actor15Talk2Conditions [] = { (0x7000 | ( 0x15 )) , 1, 0xFFFF } |
| u16 | actor15Talk2Actions [] = { 0x7A37, 1, 0xFFFF } |
| u16 | actor15Talk3Conditions [] = { (0x7000 | ( 0x3E )) , 1, 0xFFFF } |
| u16 | actor15Talk3Actions [] = { 0x7A37, 1, 0xFFFF } |
| u16 | actor15Talk4Conditions [] |
| u16 | actor15Talk4Actions [] = { 0x7A38, 1, 0xFFFF } |
| u16 | actor15Talk5Conditions [] = { (0x7000 | ( 0x20 )) , 1, 0xFFFF } |
| u16 | actor15Talk5Actions [] = { 0x7A38, 1, 0xFFFF } |
| u16 | actor15Talk6Conditions [] |
| u16 | actor15Talk6Actions [] = { 0x7A39, 1, 0xFFFF } |
| u16 | actor15Talk7Conditions [] = { (0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 1, 0xFFFF } |
| u16 | actor15Talk7Actions [] = { 0x7A3A, 1, 0xFFFF } |
| u16 | actor15Talk8Conditions [] |
| u16 | actor15Talk8Actions [] = { 0x7A3A, 1, 0xFFFF } |
| u16 | actor15Talk9Conditions [] = { (0x6000 | ( STORY_MOVIE_BATTLES )) , 1, 0xFFFF } |
| u16 | actor15Talk9Actions [] = { 0x7A3A, 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 [] |
| FieldTalk | actor12Talks [] |
| FieldTalk | actor13Talks [] |
| FieldTalk | actor14Talks [] |
| FieldTalk | actor15Talks [] |
| FieldTalk | actor16Talks [] |
| u16 | actor3Conditions [] = { (0x6000 | ( STORY_GENJI_BEATEN )) , 1, 0xFFFF } |
| u16 | actor4Conditions [] = { (0x6000 | ( STORY_LOOKING_FOR_TEDDY )) , 1, 0xFFFF } |
| u16 | actor5Conditions [] = { (0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 1, 0xFFFF } |
| u16 | actor6Conditions [] = { (0x7000 | ( 0x19 )) , 1, 0xFFFF } |
| u16 | actor7Conditions [] = { (0x7000 | ( 0x18 )) , 1, 0xFFFF } |
| u16 | actor8Conditions [] = { (0x7000 | ( 0x17 )) , 1, 0xFFFF } |
| u16 | actor9Conditions [] = { (0x7000 | ( 0x16 )) , 1, 0xFFFF } |
| u16 | actor10Conditions [] = { (0x6000 | ( STORY_TEDDY_FOUND )) , 1, 0xFFFF } |
| u16 | actor11Conditions [] = { (0x7000 | ( 0x15 )) , 1, 0xFFFF } |
| u16 | actor12Conditions [] = { (0x6000 | ( STORY_MOVIE_BATTLES )) , 1, 0xFFFF } |
| u16 | actor13Conditions [] |
| u16 | actor14Conditions [] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF } |
| u16 | actor15Conditions [] = { (0x8000 | ( 0 ) << 9 | ( 0x192 )), 1, 0xFFFF } |
| u16 | actor16Conditions [] = { (0x8000 | ( 0 ) << 9 | ( 0x192 )), 0, 0xFFFF } |
| FieldActorEntry | actor0 = { ((void *)0) , actor0Talks, 0x14, 4, 345, 197, 7 } |
| FieldActorEntry | actor1 = { ((void *)0) , actor1Talks, 0x16, 5, 408, 341, 7 } |
| FieldActorEntry | actor2 = { ((void *)0) , actor2Talks, 0x17, 6, 330, 380, 7 } |
| FieldActorEntry | actor3 = { actor3Conditions, actor3Talks, 0x2E, 7, 384, 418, 3 } |
| FieldActorEntry | actor4 = { actor4Conditions, actor4Talks, 0x2E, 7, 384, 418, 3 } |
| FieldActorEntry | actor5 = { actor5Conditions, actor5Talks, 0x2E, 7, 384, 418, 3 } |
| FieldActorEntry | actor6 = { actor6Conditions, actor6Talks, 0x2E, 7, 384, 418, 3 } |
| FieldActorEntry | actor7 = { actor7Conditions, actor7Talks, 0x2E, 7, 384, 418, 3 } |
| FieldActorEntry | actor8 = { actor8Conditions, actor8Talks, 0x2E, 7, 384, 418, 3 } |
| FieldActorEntry | actor9 = { actor9Conditions, actor9Talks, 0x2E, 7, 384, 418, 3 } |
| FieldActorEntry | actor10 = { actor10Conditions, actor10Talks, 0x2E, 7, 384, 418, 3 } |
| FieldActorEntry | actor11 = { actor11Conditions, actor11Talks, 0x2E, 7, 384, 418, 3 } |
| FieldActorEntry | actor12 = { actor12Conditions, actor12Talks, 0x2E, 7, 384, 418, 5 } |
| FieldActorEntry | actor13 = { actor13Conditions, actor13Talks, 0x40, 8, 207, 152, 3 } |
| FieldActorEntry | actor14 = { actor14Conditions, actor14Talks, 0x9D, 9, 384, 418, 3 } |
| FieldActorEntry | actor15 = { actor15Conditions, actor15Talks, 0xCE, 0xA, 128, 201, 7 } |
| FieldActorEntry | actor16 = { actor16Conditions, actor16Talks, 0xCE, 0xA, 128, 201, 7 } |
| FieldActorEntry | actor17 = { ((void *)0) , ((void *)0) , 0xDB, 0xB, 345, 213, 7 } |
| 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. | |
WSTAG425: Zephyr Tower, Seiryu City.
Definition in file wstag425.c.
| #define STAGE_TEXT TEXT_FILE(TEXT_TALKS_01) |
Definition at line 17 of file wstag425.c.
| #define STAGE_FILE 0x254 |
Definition at line 18 of file wstag425.c.
| #define STAGE_FILE_8 0x24C |
Definition at line 19 of file wstag425.c.
| #define STAGE_ARCHIVE 0x330 |
Definition at line 20 of file wstag425.c.
| void setupStage | ( | void | ) |
Sets the stage up: its map and actors, playing SHOP1BGM.
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.
< SHOP1BGM: the inns, shops and towers
< SHOP1BGM: the inns, shops and towers
< a cell's value: a direction (3 bits) and a StageSlot (5)
Definition at line 23 of file wstag425.c.
| ActorImage stageImages[] |
Definition at line 41 of file wstag425.c.
Referenced by setupStage().
| u16 actor0Talk0Conditions[] = { (( 0x1A ) << 8 | ( 8 )) , 0, 0xFFFF } |
Definition at line 57 of file wstag425.c.
| u16 actor0Talk0Actions[] = { (( 0x1A ) << 8 | ( 8 )) , 1, 0xFFFF } |
Definition at line 58 of file wstag425.c.
| u16 actor0Talk1Conditions[] = { (( 0x1A ) << 8 | ( 8 )) , 1, 0xFFFF } |
Definition at line 59 of file wstag425.c.
| u16 actor0Talk1Actions[] = { 0x7A20, 1, 0xFFFF } |
Definition at line 60 of file wstag425.c.
| u16 actor1Talk0Conditions[] = { (( 0x1A ) << 8 | ( 0xF )) , 0, 0xFFFF } |
Definition at line 61 of file wstag425.c.
| u16 actor1Talk0Actions[] = { (( 0x1A ) << 8 | ( 0xF )) , 1, 0xFFFF } |
Definition at line 62 of file wstag425.c.
| u16 actor1Talk1Conditions[] = { (( 0x1A ) << 8 | ( 0xF )) , 1, 0xFFFF } |
Definition at line 63 of file wstag425.c.
| u16 actor1Talk1Actions[] = { 0x7A06, 1, 0xFFFF } |
Definition at line 64 of file wstag425.c.
| u16 actor2Talk0Conditions[] = { (( 0x1A ) << 8 | ( 0xE )) , 0, 0xFFFF } |
Definition at line 65 of file wstag425.c.
| u16 actor2Talk0Actions[] = { (( 0x1A ) << 8 | ( 0xE )) , 1, 0xFFFF } |
Definition at line 66 of file wstag425.c.
| u16 actor2Talk1Conditions[] = { (( 0x1A ) << 8 | ( 0xE )) , 1, 0xFFFF } |
Definition at line 67 of file wstag425.c.
| u16 actor2Talk1Actions[] = { 0x7A05, 1, 0xFFFF } |
Definition at line 68 of file wstag425.c.
| u16 actor13Talk0Conditions[] = { (0x8000 | ( 0 ) << 9 | ( 0x18F )), 0, 0xFFFF } |
Definition at line 69 of file wstag425.c.
| u16 actor13Talk0Actions[] = { (0x8000 | ( 0 ) << 9 | ( 0x18F )), 1, (0x7000 | ( 0x13 )) , 1, 0xFFFF } |
Definition at line 70 of file wstag425.c.
| u16 actor13Talk1Conditions[] = { (0x8000 | ( 0 ) << 9 | ( 0x18F )), 1, 0xFFFF } |
Definition at line 71 of file wstag425.c.
| u16 actor15Talk0Conditions[] |
Definition at line 72 of file wstag425.c.
| u16 actor15Talk0Actions[] = { (( 0x1A ) << 8 | ( 0x1C )) , 1, 0xFFFF } |
Definition at line 77 of file wstag425.c.
| u16 actor15Talk1Conditions[] |
Definition at line 78 of file wstag425.c.
| u16 actor15Talk1Actions[] = { 0x7A37, 1, 0xFFFF } |
Definition at line 83 of file wstag425.c.
| u16 actor15Talk2Conditions[] = { (0x7000 | ( 0x15 )) , 1, 0xFFFF } |
Definition at line 84 of file wstag425.c.
| u16 actor15Talk2Actions[] = { 0x7A37, 1, 0xFFFF } |
Definition at line 85 of file wstag425.c.
| u16 actor15Talk3Conditions[] = { (0x7000 | ( 0x3E )) , 1, 0xFFFF } |
Definition at line 86 of file wstag425.c.
| u16 actor15Talk3Actions[] = { 0x7A37, 1, 0xFFFF } |
Definition at line 87 of file wstag425.c.
| u16 actor15Talk4Conditions[] |
Definition at line 88 of file wstag425.c.
| u16 actor15Talk4Actions[] = { 0x7A38, 1, 0xFFFF } |
Definition at line 92 of file wstag425.c.
| u16 actor15Talk5Conditions[] = { (0x7000 | ( 0x20 )) , 1, 0xFFFF } |
Definition at line 93 of file wstag425.c.
| u16 actor15Talk5Actions[] = { 0x7A38, 1, 0xFFFF } |
Definition at line 94 of file wstag425.c.
| u16 actor15Talk6Conditions[] |
Definition at line 95 of file wstag425.c.
| u16 actor15Talk6Actions[] = { 0x7A39, 1, 0xFFFF } |
Definition at line 100 of file wstag425.c.
| u16 actor15Talk7Conditions[] = { (0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 1, 0xFFFF } |
Definition at line 101 of file wstag425.c.
| u16 actor15Talk7Actions[] = { 0x7A3A, 1, 0xFFFF } |
Definition at line 102 of file wstag425.c.
| u16 actor15Talk8Conditions[] |
Definition at line 103 of file wstag425.c.
| u16 actor15Talk8Actions[] = { 0x7A3A, 1, 0xFFFF } |
Definition at line 107 of file wstag425.c.
| u16 actor15Talk9Conditions[] = { (0x6000 | ( STORY_MOVIE_BATTLES )) , 1, 0xFFFF } |
Definition at line 108 of file wstag425.c.
| u16 actor15Talk9Actions[] = { 0x7A3A, 1, 0xFFFF } |
Definition at line 109 of file wstag425.c.
| FieldTalk actor0Talks[] |
Definition at line 110 of file wstag425.c.
| FieldTalk actor1Talks[] |
Definition at line 115 of file wstag425.c.
| FieldTalk actor2Talks[] |
Definition at line 120 of file wstag425.c.
| FieldTalk actor3Talks[] |
Definition at line 125 of file wstag425.c.
| FieldTalk actor4Talks[] |
Definition at line 129 of file wstag425.c.
| FieldTalk actor5Talks[] |
Definition at line 133 of file wstag425.c.
| FieldTalk actor6Talks[] |
Definition at line 137 of file wstag425.c.
| FieldTalk actor7Talks[] |
Definition at line 141 of file wstag425.c.
| FieldTalk actor8Talks[] |
Definition at line 145 of file wstag425.c.
| FieldTalk actor9Talks[] |
Definition at line 149 of file wstag425.c.
| FieldTalk actor10Talks[] |
Definition at line 153 of file wstag425.c.
| FieldTalk actor11Talks[] |
Definition at line 157 of file wstag425.c.
| FieldTalk actor12Talks[] |
Definition at line 161 of file wstag425.c.
| FieldTalk actor13Talks[] |
Definition at line 165 of file wstag425.c.
| FieldTalk actor14Talks[] |
Definition at line 170 of file wstag425.c.
| FieldTalk actor15Talks[] |
Definition at line 174 of file wstag425.c.
| FieldTalk actor16Talks[] |
Definition at line 187 of file wstag425.c.
| u16 actor3Conditions[] = { (0x6000 | ( STORY_GENJI_BEATEN )) , 1, 0xFFFF } |
Definition at line 191 of file wstag425.c.
| u16 actor4Conditions[] = { (0x6000 | ( STORY_LOOKING_FOR_TEDDY )) , 1, 0xFFFF } |
Definition at line 192 of file wstag425.c.
| u16 actor5Conditions[] = { (0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 1, 0xFFFF } |
Definition at line 193 of file wstag425.c.
| u16 actor6Conditions[] = { (0x7000 | ( 0x19 )) , 1, 0xFFFF } |
Definition at line 194 of file wstag425.c.
| u16 actor7Conditions[] = { (0x7000 | ( 0x18 )) , 1, 0xFFFF } |
Definition at line 195 of file wstag425.c.
| u16 actor8Conditions[] = { (0x7000 | ( 0x17 )) , 1, 0xFFFF } |
Definition at line 196 of file wstag425.c.
| u16 actor9Conditions[] = { (0x7000 | ( 0x16 )) , 1, 0xFFFF } |
Definition at line 197 of file wstag425.c.
| u16 actor10Conditions[] = { (0x6000 | ( STORY_TEDDY_FOUND )) , 1, 0xFFFF } |
Definition at line 198 of file wstag425.c.
| u16 actor11Conditions[] = { (0x7000 | ( 0x15 )) , 1, 0xFFFF } |
Definition at line 199 of file wstag425.c.
| u16 actor12Conditions[] = { (0x6000 | ( STORY_MOVIE_BATTLES )) , 1, 0xFFFF } |
Definition at line 200 of file wstag425.c.
| u16 actor13Conditions[] |
Definition at line 201 of file wstag425.c.
| u16 actor14Conditions[] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF } |
Definition at line 207 of file wstag425.c.
| u16 actor15Conditions[] = { (0x8000 | ( 0 ) << 9 | ( 0x192 )), 1, 0xFFFF } |
Definition at line 208 of file wstag425.c.
| u16 actor16Conditions[] = { (0x8000 | ( 0 ) << 9 | ( 0x192 )), 0, 0xFFFF } |
Definition at line 209 of file wstag425.c.
| FieldActorEntry actor0 = { ((void *)0) , actor0Talks, 0x14, 4, 345, 197, 7 } |
Definition at line 210 of file wstag425.c.
| FieldActorEntry actor1 = { ((void *)0) , actor1Talks, 0x16, 5, 408, 341, 7 } |
Definition at line 211 of file wstag425.c.
| FieldActorEntry actor2 = { ((void *)0) , actor2Talks, 0x17, 6, 330, 380, 7 } |
Definition at line 212 of file wstag425.c.
| FieldActorEntry actor3 = { actor3Conditions, actor3Talks, 0x2E, 7, 384, 418, 3 } |
Definition at line 213 of file wstag425.c.
| FieldActorEntry actor4 = { actor4Conditions, actor4Talks, 0x2E, 7, 384, 418, 3 } |
Definition at line 214 of file wstag425.c.
| FieldActorEntry actor5 = { actor5Conditions, actor5Talks, 0x2E, 7, 384, 418, 3 } |
Definition at line 215 of file wstag425.c.
| FieldActorEntry actor6 = { actor6Conditions, actor6Talks, 0x2E, 7, 384, 418, 3 } |
Definition at line 216 of file wstag425.c.
| FieldActorEntry actor7 = { actor7Conditions, actor7Talks, 0x2E, 7, 384, 418, 3 } |
Definition at line 217 of file wstag425.c.
| FieldActorEntry actor8 = { actor8Conditions, actor8Talks, 0x2E, 7, 384, 418, 3 } |
Definition at line 218 of file wstag425.c.
| FieldActorEntry actor9 = { actor9Conditions, actor9Talks, 0x2E, 7, 384, 418, 3 } |
Definition at line 219 of file wstag425.c.
| FieldActorEntry actor10 = { actor10Conditions, actor10Talks, 0x2E, 7, 384, 418, 3 } |
Definition at line 220 of file wstag425.c.
| FieldActorEntry actor11 = { actor11Conditions, actor11Talks, 0x2E, 7, 384, 418, 3 } |
Definition at line 221 of file wstag425.c.
| FieldActorEntry actor12 = { actor12Conditions, actor12Talks, 0x2E, 7, 384, 418, 5 } |
Definition at line 222 of file wstag425.c.
| FieldActorEntry actor13 = { actor13Conditions, actor13Talks, 0x40, 8, 207, 152, 3 } |
Definition at line 223 of file wstag425.c.
| FieldActorEntry actor14 = { actor14Conditions, actor14Talks, 0x9D, 9, 384, 418, 3 } |
Definition at line 224 of file wstag425.c.
| FieldActorEntry actor15 = { actor15Conditions, actor15Talks, 0xCE, 0xA, 128, 201, 7 } |
Definition at line 225 of file wstag425.c.
| FieldActorEntry actor16 = { actor16Conditions, actor16Talks, 0xCE, 0xA, 128, 201, 7 } |
Definition at line 226 of file wstag425.c.
| FieldActorEntry actor17 = { ((void *)0) , ((void *)0) , 0xDB, 0xB, 345, 213, 7 } |
Definition at line 227 of file wstag425.c.
| FieldActorEntry* stageActors[] |
| StageTile stageObjects[] |
The tables and color setupStage gives FIELDSTG_state (FieldState)
Definition at line 249 of file wstag425.c.
Referenced by setupStage().
| StageSlot stageSlots[] |
Definition at line 273 of file wstag425.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 281 of file wstag425.c.