|
Digimon World 3 decomp
The European version, SLES_039.36
|
WSTAG475: Shaman House, South Sector. More...
Go to the source code of this file.
Macros | |
| #define | STAGE_CHILDREN_SIZE 4 |
| #define | STAGE_TEXT TEXT_FILE(TEXT_TALKS_06) |
| #define | EVENT_TEXT_FILE (TEXT_EVENTS_400 - 1) |
| #define | STAGE_FILE 0x232 |
| #define | STAGE_ARCHIVE 0x3DA |
Functions | |
| void | updateStage (StageTask *task, void **children) |
| Creates the event object of the story so far, the first that applies. | |
| void | endEvent180 (void) |
| After event 180, with Voice and Sepikmon: keeps it from playing again. | |
| void | endEvent230 (void) |
| After event 230, with Sepikmon: moves the story on to STORY_ZANBAMON_DRIVEN_OFF and gives the player the Smelly Herb. | |
| void | setupStage (void) |
| Sets the stage up: its map, actors and events, playing BGM_0013. | |
Variables | |
| s16 | script160 [] |
| s16 | script180 [] |
| s16 | script181 [] |
| s16 | script190 [] |
| s16 | script200 [] |
| s16 | script230 [] |
| ActorImage | stageImages [] |
| u16 | actor0Talk0Conditions [] = { (( 0x1C ) << 8 | ( 0x35 )) , 0, 0xFFFF } |
| u16 | actor0Talk0Actions [] = { (( 0x1C ) << 8 | ( 0x35 )) , 1, 0xFFFF } |
| u16 | actor0Talk1Conditions [] = { (( 0x1C ) << 8 | ( 0x35 )) , 1, 0xFFFF } |
| u16 | actor0Talk1Actions [] = { 0x7C01, 1, 0xFFFF } |
| u16 | actor8Talk0Conditions [] = { (( 0x1A ) << 8 | ( 0x2A )) , 0, 0xFFFF } |
| u16 | actor8Talk1Conditions [] = { (( 0x1A ) << 8 | ( 0x2A )) , 1, (0x8000 | ( 0 ) << 9 | ( 0xE )), 0, 0xFFFF } |
| u16 | actor8Talk1Actions [] = { (( 0x1A ) << 8 | ( 0x2B )) , 1, 0xFFFF } |
| u16 | actor8Talk2Conditions [] = { (( 0x1A ) << 8 | ( 0x2A )) , 1, (0x8000 | ( 0 ) << 9 | ( 0xE )), 1, 0xFFFF } |
| FieldTalk | actor0Talks [] |
| FieldTalk | actor2Talks [] |
| FieldTalk | actor3Talks [] |
| FieldTalk | actor4Talks [] |
| FieldTalk | actor5Talks [] |
| FieldTalk | actor6Talks [] |
| FieldTalk | actor7Talks [] |
| FieldTalk | actor8Talks [] |
| FieldTalk | actor9Talks [] |
| FieldTalk | actor10Talks [] |
| FieldTalk | actor11Talks [] |
| FieldTalk | actor12Talks [] |
| FieldTalk | actor13Talks [] |
| u16 | actor0Conditions [] = { (0x7000 | ( 0x93 )) , 1, 0xFFFF } |
| u16 | actor1Conditions [] = { (0x6000 | ( STORY_AGUMON_SUITS )) , 1, 0xFFFF } |
| u16 | actor2Conditions [] = { (0x6000 | ( STORY_KNIGHTMON_REPROGRAMMED )) , 1, 0xFFFF } |
| u16 | actor3Conditions [] = { (0x7000 | ( 0x19 )) , 1, 0xFFFF } |
| u16 | actor4Conditions [] = { (0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 1, 0xFFFF } |
| u16 | actor5Conditions [] = { (0x6000 | ( STORY_MOVIE_BATTLES )) , 1, 0xFFFF } |
| u16 | actor6Conditions [] = { (0x6000 | ( STORY_ZANBAMON_DRIVEN_OFF )) , 1, 0xFFFF } |
| u16 | actor7Conditions [] = { (0x6000 | ( STORY_LOOKING_FOR_TEDDY )) , 1, 0xFFFF } |
| u16 | actor8Conditions [] = { (0x6000 | ( STORY_TEDDY_FOUND )) , 1, 0xFFFF } |
| u16 | actor9Conditions [] = { (0x7000 | ( 0x16 )) , 1, 0xFFFF } |
| u16 | actor10Conditions [] = { (0x7000 | ( 0x17 )) , 1, 0xFFFF } |
| u16 | actor11Conditions [] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF } |
| u16 | actor12Conditions [] = { (0x6000 | ( STORY_CODE_PASSES_NEEDED )) , 1, 0xFFFF } |
| u16 | actor13Conditions [] = { (0x6000 | ( STORY_BULBMON_FOUND )) , 1, 0xFFFF } |
| u16 | actor14Conditions [] = { (0x6000 | ( STORY_SEPIKMON_MASK_LOST )) , 1, 0xFFFF } |
| u16 | actor15Conditions [] = { (0x6000 | ( STORY_SOUTH_STATION_GHOST )) , 1, 0xFFFF } |
| u16 | actor16Conditions [] = { (0x6000 | ( STORY_AGUMON_SUITS )) , 1, 0xFFFF } |
| FieldActorEntry | actor0 = { actor0Conditions, actor0Talks, 0x3D, 4, 288, 296, 1 } |
| FieldActorEntry | actor1 = { actor1Conditions, ((void *)0) , 0x84, 5, 0, 0, 7 } |
| FieldActorEntry | actor2 = { actor2Conditions, actor2Talks, 0x84, 5, 144, 257, 7 } |
| FieldActorEntry | actor3 = { actor3Conditions, actor3Talks, 0x84, 5, 144, 257, 7 } |
| FieldActorEntry | actor4 = { actor4Conditions, actor4Talks, 0x84, 5, 144, 257, 7 } |
| FieldActorEntry | actor5 = { actor5Conditions, actor5Talks, 0x84, 5, 144, 257, 7 } |
| FieldActorEntry | actor6 = { actor6Conditions, actor6Talks, 0x84, 5, 144, 257, 7 } |
| FieldActorEntry | actor7 = { actor7Conditions, actor7Talks, 0x84, 5, 144, 257, 7 } |
| FieldActorEntry | actor8 = { actor8Conditions, actor8Talks, 0x84, 5, 144, 257, 7 } |
| FieldActorEntry | actor9 = { actor9Conditions, actor9Talks, 0x84, 5, 144, 257, 7 } |
| FieldActorEntry | actor10 = { actor10Conditions, actor10Talks, 0x84, 5, 144, 257, 7 } |
| FieldActorEntry | actor11 = { actor11Conditions, actor11Talks, 0x84, 5, 144, 257, 7 } |
| FieldActorEntry | actor12 = { actor12Conditions, actor12Talks, 0x84, 5, 144, 257, 7 } |
| FieldActorEntry | actor13 = { actor13Conditions, actor13Talks, 0x84, 5, 144, 257, 7 } |
| FieldActorEntry | actor14 = { actor14Conditions, ((void *)0) , 0xC5, 6, 0, 0, 1 } |
| FieldActorEntry | actor15 = { actor15Conditions, ((void *)0) , 0xC5, 6, 0, 0, 1 } |
| FieldActorEntry | actor16 = { actor16Conditions, ((void *)0) , 0xC5, 6, 0, 0, 1 } |
| FieldActorEntry | actor17 = { ((void *)0) , ((void *)0) , 0x13F, 7, 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 [] |
WSTAG475: Shaman House, South Sector.
Definition in file wstag475.c.
| #define STAGE_CHILDREN_SIZE 4 |
Definition at line 34 of file wstag475.c.
| #define STAGE_TEXT TEXT_FILE(TEXT_TALKS_06) |
Definition at line 57 of file wstag475.c.
| #define EVENT_TEXT_FILE (TEXT_EVENTS_400 - 1) |
Definition at line 58 of file wstag475.c.
| #define STAGE_FILE 0x232 |
Definition at line 59 of file wstag475.c.
| #define STAGE_ARCHIVE 0x3DA |
Definition at line 60 of file wstag475.c.
| void updateStage | ( | StageTask * | task, |
| void ** | children | ||
| ) |
Creates the event object of the story so far, the first that applies.
< 0x1A 0x00-0x40: FLAGS_00, GAME.flags02-flags40
< 0x1C 0x00-0x40: FLAGS_00, GAME.flags02-flags40
< 0x1C 0x00-0x40: FLAGS_00, GAME.flags02-flags40
< 0x1A 0x00-0x40: FLAGS_00, GAME.flags02-flags40
< 0x1A 0x00-0x40: FLAGS_00, GAME.flags02-flags40
< 0x1A 0x00-0x40: FLAGS_00, GAME.flags02-flags40
< 0x1A 0x00-0x40: FLAGS_00, GAME.flags02-flags40
Definition at line 9 of file wstag475.c.
| void endEvent180 | ( | void | ) |
After event 180, with Voice and Sepikmon: keeps it from playing again.
< 0x1A 0x00-0x40: FLAGS_00, GAME.flags02-flags40
Definition at line 38 of file wstag475.c.
| void endEvent230 | ( | void | ) |
After event 230, with Sepikmon: moves the story on to STORY_ZANBAMON_DRIVEN_OFF and gives the player the Smelly Herb.
Definition at line 46 of file wstag475.c.
| void setupStage | ( | void | ) |
Sets the stage up: its map, actors and events, playing BGM_0013.
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.
< BGM_0013: the Shaman House
< BGM_0013: the Shaman House
< a cell's value: a direction (3 bits) and a StageSlot (5)
Definition at line 63 of file wstag475.c.
| s16 script160[] |
Definition at line 82 of file wstag475.c.
| s16 script180[] |
Definition at line 120 of file wstag475.c.
| s16 script181[] |
Definition at line 174 of file wstag475.c.
| s16 script190[] |
Definition at line 205 of file wstag475.c.
| s16 script200[] |
Definition at line 226 of file wstag475.c.
| s16 script230[] |
Definition at line 248 of file wstag475.c.
| ActorImage stageImages[] |
Definition at line 327 of file wstag475.c.
Referenced by setupStage().
| u16 actor0Talk0Conditions[] = { (( 0x1C ) << 8 | ( 0x35 )) , 0, 0xFFFF } |
Definition at line 339 of file wstag475.c.
| u16 actor0Talk0Actions[] = { (( 0x1C ) << 8 | ( 0x35 )) , 1, 0xFFFF } |
Definition at line 340 of file wstag475.c.
| u16 actor0Talk1Conditions[] = { (( 0x1C ) << 8 | ( 0x35 )) , 1, 0xFFFF } |
Definition at line 341 of file wstag475.c.
| u16 actor0Talk1Actions[] = { 0x7C01, 1, 0xFFFF } |
Definition at line 342 of file wstag475.c.
| u16 actor8Talk0Conditions[] = { (( 0x1A ) << 8 | ( 0x2A )) , 0, 0xFFFF } |
Definition at line 343 of file wstag475.c.
| u16 actor8Talk1Conditions[] = { (( 0x1A ) << 8 | ( 0x2A )) , 1, (0x8000 | ( 0 ) << 9 | ( 0xE )), 0, 0xFFFF } |
Definition at line 344 of file wstag475.c.
| u16 actor8Talk1Actions[] = { (( 0x1A ) << 8 | ( 0x2B )) , 1, 0xFFFF } |
Definition at line 345 of file wstag475.c.
| u16 actor8Talk2Conditions[] = { (( 0x1A ) << 8 | ( 0x2A )) , 1, (0x8000 | ( 0 ) << 9 | ( 0xE )), 1, 0xFFFF } |
Definition at line 346 of file wstag475.c.
| FieldTalk actor0Talks[] |
Definition at line 347 of file wstag475.c.
| FieldTalk actor2Talks[] |
Definition at line 352 of file wstag475.c.
| FieldTalk actor3Talks[] |
Definition at line 356 of file wstag475.c.
| FieldTalk actor4Talks[] |
Definition at line 360 of file wstag475.c.
| FieldTalk actor5Talks[] |
Definition at line 364 of file wstag475.c.
| FieldTalk actor6Talks[] |
Definition at line 368 of file wstag475.c.
| FieldTalk actor7Talks[] |
Definition at line 372 of file wstag475.c.
| FieldTalk actor8Talks[] |
Definition at line 376 of file wstag475.c.
| FieldTalk actor9Talks[] |
Definition at line 382 of file wstag475.c.
| FieldTalk actor10Talks[] |
Definition at line 386 of file wstag475.c.
| FieldTalk actor11Talks[] |
Definition at line 390 of file wstag475.c.
| FieldTalk actor12Talks[] |
Definition at line 394 of file wstag475.c.
| FieldTalk actor13Talks[] |
Definition at line 398 of file wstag475.c.
| u16 actor0Conditions[] = { (0x7000 | ( 0x93 )) , 1, 0xFFFF } |
Definition at line 402 of file wstag475.c.
| u16 actor1Conditions[] = { (0x6000 | ( STORY_AGUMON_SUITS )) , 1, 0xFFFF } |
Definition at line 403 of file wstag475.c.
| u16 actor2Conditions[] = { (0x6000 | ( STORY_KNIGHTMON_REPROGRAMMED )) , 1, 0xFFFF } |
Definition at line 404 of file wstag475.c.
| u16 actor3Conditions[] = { (0x7000 | ( 0x19 )) , 1, 0xFFFF } |
Definition at line 405 of file wstag475.c.
| u16 actor4Conditions[] = { (0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 1, 0xFFFF } |
Definition at line 406 of file wstag475.c.
| u16 actor5Conditions[] = { (0x6000 | ( STORY_MOVIE_BATTLES )) , 1, 0xFFFF } |
Definition at line 407 of file wstag475.c.
| u16 actor6Conditions[] = { (0x6000 | ( STORY_ZANBAMON_DRIVEN_OFF )) , 1, 0xFFFF } |
Definition at line 408 of file wstag475.c.
| u16 actor7Conditions[] = { (0x6000 | ( STORY_LOOKING_FOR_TEDDY )) , 1, 0xFFFF } |
Definition at line 409 of file wstag475.c.
| u16 actor8Conditions[] = { (0x6000 | ( STORY_TEDDY_FOUND )) , 1, 0xFFFF } |
Definition at line 410 of file wstag475.c.
| u16 actor9Conditions[] = { (0x7000 | ( 0x16 )) , 1, 0xFFFF } |
Definition at line 411 of file wstag475.c.
| u16 actor10Conditions[] = { (0x7000 | ( 0x17 )) , 1, 0xFFFF } |
Definition at line 412 of file wstag475.c.
| u16 actor11Conditions[] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF } |
Definition at line 413 of file wstag475.c.
| u16 actor12Conditions[] = { (0x6000 | ( STORY_CODE_PASSES_NEEDED )) , 1, 0xFFFF } |
Definition at line 414 of file wstag475.c.
| u16 actor13Conditions[] = { (0x6000 | ( STORY_BULBMON_FOUND )) , 1, 0xFFFF } |
Definition at line 415 of file wstag475.c.
| u16 actor14Conditions[] = { (0x6000 | ( STORY_SEPIKMON_MASK_LOST )) , 1, 0xFFFF } |
Definition at line 416 of file wstag475.c.
| u16 actor15Conditions[] = { (0x6000 | ( STORY_SOUTH_STATION_GHOST )) , 1, 0xFFFF } |
Definition at line 417 of file wstag475.c.
| u16 actor16Conditions[] = { (0x6000 | ( STORY_AGUMON_SUITS )) , 1, 0xFFFF } |
Definition at line 418 of file wstag475.c.
| FieldActorEntry actor0 = { actor0Conditions, actor0Talks, 0x3D, 4, 288, 296, 1 } |
Definition at line 419 of file wstag475.c.
| FieldActorEntry actor1 = { actor1Conditions, ((void *)0) , 0x84, 5, 0, 0, 7 } |
Definition at line 420 of file wstag475.c.
| FieldActorEntry actor2 = { actor2Conditions, actor2Talks, 0x84, 5, 144, 257, 7 } |
Definition at line 421 of file wstag475.c.
| FieldActorEntry actor3 = { actor3Conditions, actor3Talks, 0x84, 5, 144, 257, 7 } |
Definition at line 422 of file wstag475.c.
| FieldActorEntry actor4 = { actor4Conditions, actor4Talks, 0x84, 5, 144, 257, 7 } |
Definition at line 423 of file wstag475.c.
| FieldActorEntry actor5 = { actor5Conditions, actor5Talks, 0x84, 5, 144, 257, 7 } |
Definition at line 424 of file wstag475.c.
| FieldActorEntry actor6 = { actor6Conditions, actor6Talks, 0x84, 5, 144, 257, 7 } |
Definition at line 425 of file wstag475.c.
| FieldActorEntry actor7 = { actor7Conditions, actor7Talks, 0x84, 5, 144, 257, 7 } |
Definition at line 426 of file wstag475.c.
| FieldActorEntry actor8 = { actor8Conditions, actor8Talks, 0x84, 5, 144, 257, 7 } |
Definition at line 427 of file wstag475.c.
| FieldActorEntry actor9 = { actor9Conditions, actor9Talks, 0x84, 5, 144, 257, 7 } |
Definition at line 428 of file wstag475.c.
| FieldActorEntry actor10 = { actor10Conditions, actor10Talks, 0x84, 5, 144, 257, 7 } |
Definition at line 429 of file wstag475.c.
| FieldActorEntry actor11 = { actor11Conditions, actor11Talks, 0x84, 5, 144, 257, 7 } |
Definition at line 430 of file wstag475.c.
| FieldActorEntry actor12 = { actor12Conditions, actor12Talks, 0x84, 5, 144, 257, 7 } |
Definition at line 431 of file wstag475.c.
| FieldActorEntry actor13 = { actor13Conditions, actor13Talks, 0x84, 5, 144, 257, 7 } |
Definition at line 432 of file wstag475.c.
| FieldActorEntry actor14 = { actor14Conditions, ((void *)0) , 0xC5, 6, 0, 0, 1 } |
Definition at line 433 of file wstag475.c.
| FieldActorEntry actor15 = { actor15Conditions, ((void *)0) , 0xC5, 6, 0, 0, 1 } |
Definition at line 434 of file wstag475.c.
| FieldActorEntry actor16 = { actor16Conditions, ((void *)0) , 0xC5, 6, 0, 0, 1 } |
Definition at line 435 of file wstag475.c.
| FieldActorEntry actor17 = { ((void *)0) , ((void *)0) , 0x13F, 7, 0, 0, 1 } |
Definition at line 436 of file wstag475.c.
| FieldActorEntry* stageActors[] |
| StageTile stageObjects[] |
The tables and color setupStage gives FIELDSTG_state (FieldState)
Definition at line 458 of file wstag475.c.
Referenced by setupStage().
| StageSlot stageSlots[] |
Definition at line 465 of file wstag475.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 470 of file wstag475.c.
| FieldEvent stageEvents[] |
Definition at line 473 of file wstag475.c.
Referenced by setupStage().