|
Digimon World 3 decomp
The European version, SLES_039.36
|
WSTAG375: Protocol Ruins, East Sector. More...
#include "common.h"#include "field/stage.h"#include "common/create_far_sprites.inc.c"#include "common/start_stage.inc.c"Go to the source code of this file.
Macros | |
| #define | SPRITES 0x1BF |
| The file of the sprites, which the versions number differently. | |
| #define | STAGE_CHILDREN_SIZE 0x8 |
| #define | STAGE_TEXT TEXT_FILE(TEXT_TALKS_06) |
| #define | EVENT_TEXT_FILE (TEXT_EVENTS_300 - 1) |
| #define | STAGE_FILE 0x1BF |
| #define | STAGE_ARCHIVE 0x2D1 |
Functions | |
| void | updateFarSprites (StageTask *task) |
| Draws 36 sprites of file SPRITES at the positions of farSpriteSpots, scrolled at 1/8. | |
| void | updateStage (StageTask *task, void **children) |
| Creates the stage helper task, and the event object when flag 0x4053 is set and 0x4054 is not. | |
| void | endEvent1260 (void) |
| After event 1260, with Pharaohmon: lets event 1261 start and starts the stage's event battle 0. | |
| void | endEvent1261 (void) |
| After event 1261, with Pharaohmon: gives the player the Old Wand and keeps it from playing again. | |
| void | setupStage (void) |
| Sets the stage up: its map, actors, battles and events, playing PYRA_BGM; battle list 0 before STORY_TEDDY_FOUND, 1 from then on. | |
Variables | |
| Vec2 | farSpriteSpots [] |
| Defined below, after the tables that use them. | |
| FieldBattles | stageBattles0 [] |
| Defined below, after the code that uses them. | |
| FieldBattles | stageBattles1 [] |
| const CVECTOR | stageColor = { 0x80, 0x80, 0x80, 0x00 } |
| the color the setup copies to FIELDSTG_state.spriteColor | |
| s16 | script1260 [] |
| s16 | script1261 [] |
| AreaBattle | battles0Area0Battle0 = { 47, 7, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
| AreaBattle | battles0Area0Battle1 = { 47, 7, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
| AreaBattle | battles0Area0Battle2 = { 47, 7, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
| AreaBattle | battles0Area0Battle3 = { 47, 7, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
| AreaBattle | battles0Area0Battle4 = { 45, 7, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
| AreaBattle | battles0Area0Battle5 = { 45, 7, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
| AreaBattle | battles0Area0Battle6 = { 45, 7, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
| AreaBattle | battles0Area0Battle7 = { 45, 7, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
| BattleList | battles0Area0Battles |
| AreaBattle | battles0Area1Battle0 = { 0, 7, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
| AreaBattle | battles0Area1Battle1 = { 0, 7, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
| AreaBattle | battles0Area1Battle2 = { 0, 7, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
| AreaBattle | battles0Area1Battle3 = { 0, 7, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
| AreaBattle | battles0Area1Battle4 = { 0, 7, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
| AreaBattle | battles0Area1Battle5 = { 0, 7, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
| AreaBattle | battles0Area1Battle6 = { 0, 7, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
| AreaBattle | battles0Area1Battle7 = { 0, 7, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
| BattleList | battles0Area1Battles |
| AreaBattle | battles0Area2Battle0 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | battles0Area2Battle1 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | battles0Area2Battle2 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | battles0Area2Battle3 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | battles0Area2Battle4 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | battles0Area2Battle5 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | battles0Area2Battle6 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | battles0Area2Battle7 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| BattleList | battles0Area2Battles |
| AreaBattle | battles0Area3Battle0 = { 1, 19, (0x60000000 | ( 0x22 ) << 18 | ( 0 )) } |
| AreaBattle | battles0Area3Battle1 = { 309, 19, (0x60000000 | ( 0x22 ) << 18 | ( 0 )) } |
| AreaBattle | battles0Area3Battle2 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | battles0Area3Battle3 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | battles0Area3Battle4 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | battles0Area3Battle5 = { 47, 7, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
| AreaBattle | battles0Area3Battle6 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | battles0Area3Battle7 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| BattleList | battles0Area3Battles |
| AreaBattle | battles1Area0Battle0 = { 47, 7, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
| AreaBattle | battles1Area0Battle1 = { 45, 7, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
| AreaBattle | battles1Area0Battle2 = { 46, 7, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
| AreaBattle | battles1Area0Battle3 = { 46, 7, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
| AreaBattle | battles1Area0Battle4 = { 46, 7, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
| AreaBattle | battles1Area0Battle5 = { 46, 7, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
| AreaBattle | battles1Area0Battle6 = { 46, 7, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
| AreaBattle | battles1Area0Battle7 = { 46, 7, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
| BattleList | battles1Area0Battles |
| AreaBattle | battles1Area1Battle0 = { 0, 7, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
| AreaBattle | battles1Area1Battle1 = { 0, 7, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
| AreaBattle | battles1Area1Battle2 = { 0, 7, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
| AreaBattle | battles1Area1Battle3 = { 0, 7, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
| AreaBattle | battles1Area1Battle4 = { 0, 7, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
| AreaBattle | battles1Area1Battle5 = { 0, 7, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
| AreaBattle | battles1Area1Battle6 = { 0, 7, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
| AreaBattle | battles1Area1Battle7 = { 0, 7, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
| BattleList | battles1Area1Battles |
| AreaBattle | battles1Area2Battle0 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | battles1Area2Battle1 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | battles1Area2Battle2 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | battles1Area2Battle3 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | battles1Area2Battle4 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | battles1Area2Battle5 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | battles1Area2Battle6 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | battles1Area2Battle7 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| BattleList | battles1Area2Battles |
| AreaBattle | battles1Area3Battle0 = { 1, 19, (0x60000000 | ( 0x22 ) << 18 | ( 0 )) } |
| AreaBattle | battles1Area3Battle1 = { 309, 19, (0x60000000 | ( 0x22 ) << 18 | ( 0 )) } |
| AreaBattle | battles1Area3Battle2 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | battles1Area3Battle3 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | battles1Area3Battle4 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | battles1Area3Battle5 = { 47, 7, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
| AreaBattle | battles1Area3Battle6 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| AreaBattle | battles1Area3Battle7 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
| BattleList | battles1Area3Battles |
| ActorImage | stageImages [] |
| u16 | actor2Talk0Conditions [] = { (0x7000 | ( 0xD )) , 0, 0xFFFF } |
| u16 | actor2Talk0Actions [] = { (0x7000 | ( 0x13 )) , 1, (0x7000 | ( 0x32 )) , 1, 0xFFFF } |
| u16 | actor2Talk1Conditions [] = { (0x7000 | ( 0xD )) , 1, 0xFFFF } |
| u16 | actor3Talk0Conditions [] = { (( 0x1A ) << 8 | ( 0x29 )) , 0, 0xFFFF } |
| u16 | actor3Talk0Actions [] = { (( 0x1A ) << 8 | ( 0x29 )) , 1, 0xFFFF } |
| u16 | actor3Talk1Conditions [] = { (( 0x1A ) << 8 | ( 0x29 )) , 1, (0x7000 | ( 0x2B )) , 0, 0xFFFF } |
| u16 | actor3Talk2Conditions [] |
| u16 | actor3Talk2Actions [] = { (( 6 ) << 8 | ( 7 )) , 1, 0xFFFF } |
| u16 | actor3Talk3Conditions [] |
| u16 | actor4Talk0Conditions [] = { (0x7000 | ( 0xD )) , 0, 0xFFFF } |
| u16 | actor4Talk0Actions [] = { (0x7000 | ( 0x13 )) , 1, (0x7000 | ( 0x32 )) , 1, 0xFFFF } |
| u16 | actor4Talk1Conditions [] = { (0x7000 | ( 0xD )) , 1, 0xFFFF } |
| u16 | actor5Talk0Conditions [] = { (( 0x1A ) << 8 | ( 0x29 )) , 0, 0xFFFF } |
| u16 | actor5Talk0Actions [] = { (( 0x1A ) << 8 | ( 0x29 )) , 1, 0xFFFF } |
| u16 | actor5Talk1Conditions [] = { (( 0x1A ) << 8 | ( 0x29 )) , 1, (0x7000 | ( 0x2B )) , 0, 0xFFFF } |
| u16 | actor5Talk2Conditions [] |
| u16 | actor5Talk2Actions [] = { (( 6 ) << 8 | ( 7 )) , 1, 0xFFFF } |
| u16 | actor5Talk3Conditions [] |
| u16 | actor6Talk0Conditions [] = { (( 0xA ) << 8 | ( 0 )) , 0, 0xFFFF } |
| u16 | actor6Talk0Actions [] = { (( 0xA ) << 8 | ( 0 )) , 1, (0x9000 | ( 0x35 )) , 1, 0xFFFF } |
| u16 | actor6Talk1Conditions [] = { (( 0xA ) << 8 | ( 0 )) , 1, 0xFFFF } |
| u16 | actor7Talk0Conditions [] = { (( 0xA ) << 8 | ( 0 )) , 0, 0xFFFF } |
| u16 | actor7Talk0Actions [] = { (( 0xA ) << 8 | ( 0 )) , 1, (0x9000 | ( 0x35 )) , 1, 0xFFFF } |
| u16 | actor7Talk1Conditions [] = { (( 0xA ) << 8 | ( 0 )) , 1, 0xFFFF } |
| u16 | actor8Talk0Conditions [] = { (( 0xA ) << 8 | ( 0 )) , 0, 0xFFFF } |
| u16 | actor8Talk0Actions [] = { (( 0xA ) << 8 | ( 0 )) , 1, (0x9000 | ( 0x35 )) , 1, 0xFFFF } |
| u16 | actor8Talk1Conditions [] = { (( 0xA ) << 8 | ( 0 )) , 1, 0xFFFF } |
| u16 | actor9Talk0Conditions [] = { (( 0xA ) << 8 | ( 0 )) , 0, 0xFFFF } |
| u16 | actor9Talk0Actions [] = { (( 0xA ) << 8 | ( 0 )) , 1, (0x9000 | ( 0x35 )) , 1, 0xFFFF } |
| u16 | actor9Talk1Conditions [] = { (( 0xA ) << 8 | ( 0 )) , 1, 0xFFFF } |
| u16 | actor10Talk0Conditions [] = { (( 0xA ) << 8 | ( 0 )) , 0, 0xFFFF } |
| u16 | actor10Talk0Actions [] = { (( 0xA ) << 8 | ( 0 )) , 1, (0x9000 | ( 0x35 )) , 1, 0xFFFF } |
| u16 | actor10Talk1Conditions [] = { (( 0xA ) << 8 | ( 0 )) , 1, 0xFFFF } |
| u16 | actor11Talk0Conditions [] = { (( 0xA ) << 8 | ( 0 )) , 0, 0xFFFF } |
| u16 | actor11Talk0Actions [] = { (( 0xA ) << 8 | ( 0 )) , 1, (0x9000 | ( 0x35 )) , 1, 0xFFFF } |
| u16 | actor11Talk1Conditions [] = { (( 0xA ) << 8 | ( 0 )) , 1, 0xFFFF } |
| u16 | actor12Talk0Conditions [] = { (( 0xA ) << 8 | ( 0 )) , 0, 0xFFFF } |
| u16 | actor12Talk0Actions [] = { (( 0xA ) << 8 | ( 0 )) , 1, (0x9000 | ( 0x35 )) , 1, 0xFFFF } |
| u16 | actor12Talk1Conditions [] = { (( 0xA ) << 8 | ( 0 )) , 1, 0xFFFF } |
| u16 | actor13Talk0Conditions [] = { (( 0xA ) << 8 | ( 0 )) , 0, 0xFFFF } |
| u16 | actor13Talk0Actions [] = { (( 0xA ) << 8 | ( 0 )) , 1, (0x9000 | ( 0x35 )) , 1, 0xFFFF } |
| u16 | actor13Talk1Conditions [] = { (( 0xA ) << 8 | ( 0 )) , 1, 0xFFFF } |
| u16 | actor14Talk0Conditions [] = { (( 0xA ) << 8 | ( 0 )) , 0, 0xFFFF } |
| u16 | actor14Talk0Actions [] = { (( 0xA ) << 8 | ( 0 )) , 1, (0x9000 | ( 0x35 )) , 1, 0xFFFF } |
| u16 | actor14Talk1Conditions [] = { (( 0xA ) << 8 | ( 0 )) , 1, 0xFFFF } |
| u16 | actor15Talk0Conditions [] = { (( 0xA ) << 8 | ( 0 )) , 0, 0xFFFF } |
| u16 | actor15Talk0Actions [] = { (( 0xA ) << 8 | ( 0 )) , 1, (0x9000 | ( 0x35 )) , 1, 0xFFFF } |
| u16 | actor15Talk1Conditions [] = { (( 0xA ) << 8 | ( 0 )) , 1, 0xFFFF } |
| u16 | actor16Talk0Conditions [] = { (( 0xA ) << 8 | ( 0 )) , 0, 0xFFFF } |
| u16 | actor16Talk0Actions [] = { (0x9000 | ( 0x35 )) , 1, (( 0xA ) << 8 | ( 0 )) , 1, 0xFFFF } |
| u16 | actor16Talk1Conditions [] = { (( 0xA ) << 8 | ( 0 )) , 1, 0xFFFF } |
| u16 | actor17Talk0Conditions [] = { (( 0x1C ) << 8 | ( 0xF )) , 0, 0xFFFF } |
| u16 | actor17Talk1Conditions [] = { (( 0x1C ) << 8 | ( 0xF )) , 1, (( 0 ) << 8 | ( 5 )) , 0, 0xFFFF } |
| u16 | actor17Talk1Actions [] = { (( 0x1C ) << 8 | ( 0x10 )) , 1, (( 0 ) << 8 | ( 5 )) , 1, 0xFFFF } |
| u16 | actor17Talk2Conditions [] = { (( 0x1C ) << 8 | ( 0xF )) , 1, (( 0 ) << 8 | ( 5 )) , 1, 0xFFFF } |
| u16 | actor18Talk0Conditions [] = { (( 0x1A ) << 8 | ( 0x17 )) , 0, 0xFFFF } |
| u16 | actor18Talk1Conditions [] |
| u16 | actor18Talk1Actions [] = { (( 0x1A ) << 8 | ( 0x18 )) , 1, 0xFFFF } |
| u16 | actor18Talk2Conditions [] |
| u16 | actor21Talk0Conditions [] = { (0x8000 | ( 0 ) << 9 | ( 0xE )), 0, (( 0x1A ) << 8 | ( 0x2B )) , 0, 0xFFFF } |
| u16 | actor21Talk1Conditions [] |
| u16 | actor21Talk1Actions [] = { (( 0x1C ) << 8 | ( 0x4F )) , 1, 0xFFFF } |
| u16 | actor21Talk2Conditions [] |
| u16 | actor21Talk3Conditions [] |
| u16 | actor21Talk3Actions [] = { (0x7000 | ( 0x13 )) , 1, (0x8000 | ( 0 ) << 9 | ( 0xE )), 1, 0xFFFF } |
| u16 | actor21Talk4Conditions [] = { (0x8000 | ( 0 ) << 9 | ( 0xE )), 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 [] |
| FieldTalk | actor17Talks [] |
| FieldTalk | actor18Talks [] |
| FieldTalk | actor19Talks [] |
| FieldTalk | actor20Talks [] |
| FieldTalk | actor21Talks [] |
| FieldTalk | actor22Talks [] |
| FieldTalk | actor23Talks [] |
| u16 | actor0Conditions [] = { (( 0x1C ) << 8 | ( 0x11 )) , 0, (0x6000 | ( STORY_GENJI_BEATEN )) , 1, 0xFFFF } |
| u16 | actor1Conditions [] = { (( 0x1C ) << 8 | ( 0x11 )) , 0, (0x6000 | ( STORY_GENJI_BEATEN )) , 1, 0xFFFF } |
| u16 | actor2Conditions [] |
| u16 | actor3Conditions [] = { (0x6000 | ( STORY_MOVIE_BATTLES )) , 1, (0x8000 | ( 0 ) << 9 | ( 0x23 )), 0, 0xFFFF } |
| u16 | actor4Conditions [] = { (0x6000 | ( STORY_MOVIE_BATTLES )) , 1, (0x8000 | ( 0 ) << 9 | ( 0x23 )), 1, 0xFFFF } |
| u16 | actor5Conditions [] |
| u16 | actor6Conditions [] = { (0x6000 | ( STORY_MOVIE_BATTLES )) , 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 | ( 0x18 )) , 1, 0xFFFF } |
| u16 | actor12Conditions [] = { (0x7000 | ( 0x19 )) , 1, 0xFFFF } |
| u16 | actor13Conditions [] = { (0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 1, 0xFFFF } |
| u16 | actor14Conditions [] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF } |
| u16 | actor15Conditions [] = { (0x7000 | ( 0x15 )) , 1, 0xFFFF } |
| u16 | actor16Conditions [] = { (0x6000 | ( STORY_GENJI_BEATEN )) , 1, 0xFFFF } |
| u16 | actor17Conditions [] = { (( 0x1C ) << 8 | ( 0x11 )) , 0, (0x6000 | ( STORY_GENJI_BEATEN )) , 1, 0xFFFF } |
| u16 | actor18Conditions [] = { (0x6000 | ( STORY_SEPIKMON_MASK_LOST )) , 1, 0xFFFF } |
| u16 | actor19Conditions [] = { (0x6000 | ( STORY_AGUMON_SUITS )) , 1, 0xFFFF } |
| u16 | actor20Conditions [] = { (0x7000 | ( 0x3C )) , 1, 0xFFFF } |
| u16 | actor21Conditions [] = { (0x6000 | ( STORY_TEDDY_FOUND )) , 1, 0xFFFF } |
| u16 | actor22Conditions [] = { (( 0x1C ) << 8 | ( 0x11 )) , 0, (0x6000 | ( STORY_GENJI_BEATEN )) , 1, 0xFFFF } |
| u16 | actor23Conditions [] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF } |
| FieldActorEntry | actor0 = { actor0Conditions, actor0Talks, 0x22, 4, 505, 213, 7 } |
| FieldActorEntry | actor1 = { actor1Conditions, actor1Talks, 0x23, 5, 480, 225, 7 } |
| FieldActorEntry | actor2 = { actor2Conditions, actor2Talks, 0x2B, 6, 304, 328, 1 } |
| FieldActorEntry | actor3 = { actor3Conditions, actor3Talks, 0x2B, 6, 304, 328, 1 } |
| FieldActorEntry | actor4 = { actor4Conditions, actor4Talks, 0x2B, 6, 304, 328, 1 } |
| FieldActorEntry | actor5 = { actor5Conditions, actor5Talks, 0x2B, 6, 304, 328, 1 } |
| FieldActorEntry | actor6 = { actor6Conditions, actor6Talks, 0x3B, 7, 1073, 145, 1 } |
| FieldActorEntry | actor7 = { actor7Conditions, actor7Talks, 0x3B, 7, 1073, 145, 1 } |
| FieldActorEntry | actor8 = { actor8Conditions, actor8Talks, 0x3B, 7, 1073, 145, 1 } |
| FieldActorEntry | actor9 = { actor9Conditions, actor9Talks, 0x3B, 7, 1073, 145, 1 } |
| FieldActorEntry | actor10 = { actor10Conditions, actor10Talks, 0x3B, 7, 1073, 145, 1 } |
| FieldActorEntry | actor11 = { actor11Conditions, actor11Talks, 0x3B, 7, 1073, 145, 1 } |
| FieldActorEntry | actor12 = { actor12Conditions, actor12Talks, 0x3B, 7, 1073, 145, 1 } |
| FieldActorEntry | actor13 = { actor13Conditions, actor13Talks, 0x3B, 7, 1073, 145, 1 } |
| FieldActorEntry | actor14 = { actor14Conditions, actor14Talks, 0x3B, 7, 1073, 145, 1 } |
| FieldActorEntry | actor15 = { actor15Conditions, actor15Talks, 0x3B, 7, 1073, 145, 1 } |
| FieldActorEntry | actor16 = { actor16Conditions, actor16Talks, 0x3B, 7, 1073, 145, 1 } |
| FieldActorEntry | actor17 = { actor17Conditions, actor17Talks, 0x3C, 8, 560, 240, 3 } |
| FieldActorEntry | actor18 = { actor18Conditions, actor18Talks, 0x3D, 9, 97, 242, 7 } |
| FieldActorEntry | actor19 = { actor19Conditions, actor19Talks, 0x3D, 9, 97, 242, 7 } |
| FieldActorEntry | actor20 = { actor20Conditions, actor20Talks, 0x3D, 9, 97, 242, 7 } |
| FieldActorEntry | actor21 = { actor21Conditions, actor21Talks, 0x3D, 9, 97, 242, 7 } |
| FieldActorEntry | actor22 = { actor22Conditions, actor22Talks, 0x40, 0xA, 529, 201, 7 } |
| FieldActorEntry | actor23 = { actor23Conditions, actor23Talks, 0x9D, 0xB, 304, 328, 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 [] |
WSTAG375: Protocol Ruins, East Sector.
Definition in file wstag375.c.
| #define SPRITES 0x1BF |
The file of the sprites, which the versions number differently.
Definition at line 14 of file wstag375.c.
| #define STAGE_CHILDREN_SIZE 0x8 |
Definition at line 69 of file wstag375.c.
| #define STAGE_TEXT TEXT_FILE(TEXT_TALKS_06) |
Definition at line 97 of file wstag375.c.
| #define EVENT_TEXT_FILE (TEXT_EVENTS_300 - 1) |
Definition at line 98 of file wstag375.c.
| #define STAGE_FILE 0x1BF |
Definition at line 99 of file wstag375.c.
| #define STAGE_ARCHIVE 0x2D1 |
Definition at line 100 of file wstag375.c.
| void updateFarSprites | ( | StageTask * | task | ) |
Draws 36 sprites of file SPRITES at the positions of farSpriteSpots, scrolled at 1/8.
< the map, its objects and characters, and the menus
< the map, its objects and characters, and the menus
Definition at line 18 of file wstag375.c.
Referenced by createFarSprites().
| void updateStage | ( | StageTask * | task, |
| void ** | children | ||
| ) |
Creates the stage helper task, and the event object when flag 0x4053 is set and 0x4054 is not.
< 0x40 0x00-0x40: FLAGS_00, GAME.flags02-flags40
< 0x40 0x00-0x40: FLAGS_00, GAME.flags02-flags40
Definition at line 52 of file wstag375.c.
| void endEvent1260 | ( | void | ) |
After event 1260, with Pharaohmon: lets event 1261 start and starts the stage's event battle 0.
< 0x40 0x00-0x40: FLAGS_00, GAME.flags02-flags40
< action: FIELDSTG_battleFuncs.startEventBattle
Definition at line 73 of file wstag375.c.
| void endEvent1261 | ( | void | ) |
After event 1261, with Pharaohmon: gives the player the Old Wand and keeps it from playing again.
< 0x40 0x00-0x40: FLAGS_00, GAME.flags02-flags40
Definition at line 82 of file wstag375.c.
| void setupStage | ( | void | ) |
Sets the stage up: its map, actors, battles and events, playing PYRA_BGM; battle list 0 before STORY_TEDDY_FOUND, 1 from then on.
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.
< PYRA_BGM: the Protocol Ruins
< PYRA_BGM: the Protocol Ruins
< a cell's value: a direction (3 bits) and a StageSlot (5)
< a cell's value: its battle area (FieldBattles), or 0
Definition at line 106 of file wstag375.c.
| Vec2 farSpriteSpots |
Defined below, after the tables that use them.
Definition at line 194 of file wstag375.c.
Referenced by updateFarSprites().
| FieldBattles stageBattles0[] |
Defined below, after the code that uses them.
Definition at line 309 of file wstag375.c.
Referenced by setupStage().
| FieldBattles stageBattles1[] |
Definition at line 312 of file wstag375.c.
Referenced by setupStage().
| const CVECTOR stageColor = { 0x80, 0x80, 0x80, 0x00 } |
the color the setup copies to FIELDSTG_state.spriteColor
the color the setup copies to FIELDSTG_state.spriteColor
It starts the stage, before its jump tables: in wstag924.c GCC would align them to 8 bytes after it, so it is a file of its own, linked first
Definition at line 90 of file wstag375.c.
Referenced by setupStage().
| s16 script1260[] |
Definition at line 133 of file wstag375.c.
| s16 script1261[] |
Definition at line 165 of file wstag375.c.
| AreaBattle battles0Area0Battle0 = { 47, 7, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 205 of file wstag375.c.
| AreaBattle battles0Area0Battle1 = { 47, 7, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 206 of file wstag375.c.
| AreaBattle battles0Area0Battle2 = { 47, 7, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 207 of file wstag375.c.
| AreaBattle battles0Area0Battle3 = { 47, 7, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 208 of file wstag375.c.
| AreaBattle battles0Area0Battle4 = { 45, 7, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 209 of file wstag375.c.
| AreaBattle battles0Area0Battle5 = { 45, 7, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 210 of file wstag375.c.
| AreaBattle battles0Area0Battle6 = { 45, 7, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 211 of file wstag375.c.
| AreaBattle battles0Area0Battle7 = { 45, 7, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 212 of file wstag375.c.
| BattleList battles0Area0Battles |
Definition at line 213 of file wstag375.c.
| AreaBattle battles0Area1Battle0 = { 0, 7, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 218 of file wstag375.c.
| AreaBattle battles0Area1Battle1 = { 0, 7, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 219 of file wstag375.c.
| AreaBattle battles0Area1Battle2 = { 0, 7, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 220 of file wstag375.c.
| AreaBattle battles0Area1Battle3 = { 0, 7, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 221 of file wstag375.c.
| AreaBattle battles0Area1Battle4 = { 0, 7, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 222 of file wstag375.c.
| AreaBattle battles0Area1Battle5 = { 0, 7, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 223 of file wstag375.c.
| AreaBattle battles0Area1Battle6 = { 0, 7, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 224 of file wstag375.c.
| AreaBattle battles0Area1Battle7 = { 0, 7, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 225 of file wstag375.c.
| BattleList battles0Area1Battles |
Definition at line 226 of file wstag375.c.
| AreaBattle battles0Area2Battle0 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 231 of file wstag375.c.
| AreaBattle battles0Area2Battle1 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 232 of file wstag375.c.
| AreaBattle battles0Area2Battle2 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 233 of file wstag375.c.
| AreaBattle battles0Area2Battle3 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 234 of file wstag375.c.
| AreaBattle battles0Area2Battle4 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 235 of file wstag375.c.
| AreaBattle battles0Area2Battle5 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 236 of file wstag375.c.
| AreaBattle battles0Area2Battle6 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 237 of file wstag375.c.
| AreaBattle battles0Area2Battle7 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 238 of file wstag375.c.
| BattleList battles0Area2Battles |
Definition at line 239 of file wstag375.c.
| AreaBattle battles0Area3Battle0 = { 1, 19, (0x60000000 | ( 0x22 ) << 18 | ( 0 )) } |
Definition at line 244 of file wstag375.c.
| AreaBattle battles0Area3Battle1 = { 309, 19, (0x60000000 | ( 0x22 ) << 18 | ( 0 )) } |
Definition at line 245 of file wstag375.c.
| AreaBattle battles0Area3Battle2 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 246 of file wstag375.c.
| AreaBattle battles0Area3Battle3 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 247 of file wstag375.c.
| AreaBattle battles0Area3Battle4 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 248 of file wstag375.c.
| AreaBattle battles0Area3Battle5 = { 47, 7, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 249 of file wstag375.c.
| AreaBattle battles0Area3Battle6 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 250 of file wstag375.c.
| AreaBattle battles0Area3Battle7 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 251 of file wstag375.c.
| BattleList battles0Area3Battles |
Definition at line 252 of file wstag375.c.
| AreaBattle battles1Area0Battle0 = { 47, 7, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 257 of file wstag375.c.
| AreaBattle battles1Area0Battle1 = { 45, 7, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 258 of file wstag375.c.
| AreaBattle battles1Area0Battle2 = { 46, 7, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 259 of file wstag375.c.
| AreaBattle battles1Area0Battle3 = { 46, 7, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 260 of file wstag375.c.
| AreaBattle battles1Area0Battle4 = { 46, 7, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 261 of file wstag375.c.
| AreaBattle battles1Area0Battle5 = { 46, 7, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 262 of file wstag375.c.
| AreaBattle battles1Area0Battle6 = { 46, 7, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 263 of file wstag375.c.
| AreaBattle battles1Area0Battle7 = { 46, 7, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 264 of file wstag375.c.
| BattleList battles1Area0Battles |
Definition at line 265 of file wstag375.c.
| AreaBattle battles1Area1Battle0 = { 0, 7, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 270 of file wstag375.c.
| AreaBattle battles1Area1Battle1 = { 0, 7, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 271 of file wstag375.c.
| AreaBattle battles1Area1Battle2 = { 0, 7, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 272 of file wstag375.c.
| AreaBattle battles1Area1Battle3 = { 0, 7, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 273 of file wstag375.c.
| AreaBattle battles1Area1Battle4 = { 0, 7, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 274 of file wstag375.c.
| AreaBattle battles1Area1Battle5 = { 0, 7, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 275 of file wstag375.c.
| AreaBattle battles1Area1Battle6 = { 0, 7, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 276 of file wstag375.c.
| AreaBattle battles1Area1Battle7 = { 0, 7, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 277 of file wstag375.c.
| BattleList battles1Area1Battles |
Definition at line 278 of file wstag375.c.
| AreaBattle battles1Area2Battle0 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 283 of file wstag375.c.
| AreaBattle battles1Area2Battle1 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 284 of file wstag375.c.
| AreaBattle battles1Area2Battle2 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 285 of file wstag375.c.
| AreaBattle battles1Area2Battle3 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 286 of file wstag375.c.
| AreaBattle battles1Area2Battle4 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 287 of file wstag375.c.
| AreaBattle battles1Area2Battle5 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 288 of file wstag375.c.
| AreaBattle battles1Area2Battle6 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 289 of file wstag375.c.
| AreaBattle battles1Area2Battle7 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 290 of file wstag375.c.
| BattleList battles1Area2Battles |
Definition at line 291 of file wstag375.c.
| AreaBattle battles1Area3Battle0 = { 1, 19, (0x60000000 | ( 0x22 ) << 18 | ( 0 )) } |
Definition at line 296 of file wstag375.c.
| AreaBattle battles1Area3Battle1 = { 309, 19, (0x60000000 | ( 0x22 ) << 18 | ( 0 )) } |
Definition at line 297 of file wstag375.c.
| AreaBattle battles1Area3Battle2 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 298 of file wstag375.c.
| AreaBattle battles1Area3Battle3 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 299 of file wstag375.c.
| AreaBattle battles1Area3Battle4 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 300 of file wstag375.c.
| AreaBattle battles1Area3Battle5 = { 47, 7, (0x60000000 | ( 2 ) << 18 | ( 0 )) } |
Definition at line 301 of file wstag375.c.
| AreaBattle battles1Area3Battle6 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 302 of file wstag375.c.
| AreaBattle battles1Area3Battle7 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) } |
Definition at line 303 of file wstag375.c.
| BattleList battles1Area3Battles |
Definition at line 304 of file wstag375.c.
| ActorImage stageImages[] |
Definition at line 315 of file wstag375.c.
Referenced by setupStage().
| u16 actor2Talk0Conditions[] = { (0x7000 | ( 0xD )) , 0, 0xFFFF } |
Definition at line 331 of file wstag375.c.
| u16 actor2Talk0Actions[] = { (0x7000 | ( 0x13 )) , 1, (0x7000 | ( 0x32 )) , 1, 0xFFFF } |
Definition at line 332 of file wstag375.c.
| u16 actor2Talk1Conditions[] = { (0x7000 | ( 0xD )) , 1, 0xFFFF } |
Definition at line 333 of file wstag375.c.
| u16 actor3Talk0Conditions[] = { (( 0x1A ) << 8 | ( 0x29 )) , 0, 0xFFFF } |
Definition at line 334 of file wstag375.c.
| u16 actor3Talk0Actions[] = { (( 0x1A ) << 8 | ( 0x29 )) , 1, 0xFFFF } |
Definition at line 335 of file wstag375.c.
| u16 actor3Talk1Conditions[] = { (( 0x1A ) << 8 | ( 0x29 )) , 1, (0x7000 | ( 0x2B )) , 0, 0xFFFF } |
Definition at line 336 of file wstag375.c.
| u16 actor3Talk2Conditions[] |
Definition at line 337 of file wstag375.c.
| u16 actor3Talk2Actions[] = { (( 6 ) << 8 | ( 7 )) , 1, 0xFFFF } |
Definition at line 343 of file wstag375.c.
| u16 actor3Talk3Conditions[] |
Definition at line 344 of file wstag375.c.
| u16 actor4Talk0Conditions[] = { (0x7000 | ( 0xD )) , 0, 0xFFFF } |
Definition at line 350 of file wstag375.c.
| u16 actor4Talk0Actions[] = { (0x7000 | ( 0x13 )) , 1, (0x7000 | ( 0x32 )) , 1, 0xFFFF } |
Definition at line 351 of file wstag375.c.
| u16 actor4Talk1Conditions[] = { (0x7000 | ( 0xD )) , 1, 0xFFFF } |
Definition at line 352 of file wstag375.c.
| u16 actor5Talk0Conditions[] = { (( 0x1A ) << 8 | ( 0x29 )) , 0, 0xFFFF } |
Definition at line 353 of file wstag375.c.
| u16 actor5Talk0Actions[] = { (( 0x1A ) << 8 | ( 0x29 )) , 1, 0xFFFF } |
Definition at line 354 of file wstag375.c.
| u16 actor5Talk1Conditions[] = { (( 0x1A ) << 8 | ( 0x29 )) , 1, (0x7000 | ( 0x2B )) , 0, 0xFFFF } |
Definition at line 355 of file wstag375.c.
| u16 actor5Talk2Conditions[] |
Definition at line 356 of file wstag375.c.
| u16 actor5Talk2Actions[] = { (( 6 ) << 8 | ( 7 )) , 1, 0xFFFF } |
Definition at line 362 of file wstag375.c.
| u16 actor5Talk3Conditions[] |
Definition at line 363 of file wstag375.c.
| u16 actor6Talk0Conditions[] = { (( 0xA ) << 8 | ( 0 )) , 0, 0xFFFF } |
Definition at line 369 of file wstag375.c.
| u16 actor6Talk0Actions[] = { (( 0xA ) << 8 | ( 0 )) , 1, (0x9000 | ( 0x35 )) , 1, 0xFFFF } |
Definition at line 370 of file wstag375.c.
| u16 actor6Talk1Conditions[] = { (( 0xA ) << 8 | ( 0 )) , 1, 0xFFFF } |
Definition at line 371 of file wstag375.c.
| u16 actor7Talk0Conditions[] = { (( 0xA ) << 8 | ( 0 )) , 0, 0xFFFF } |
Definition at line 372 of file wstag375.c.
| u16 actor7Talk0Actions[] = { (( 0xA ) << 8 | ( 0 )) , 1, (0x9000 | ( 0x35 )) , 1, 0xFFFF } |
Definition at line 373 of file wstag375.c.
| u16 actor7Talk1Conditions[] = { (( 0xA ) << 8 | ( 0 )) , 1, 0xFFFF } |
Definition at line 374 of file wstag375.c.
| u16 actor8Talk0Conditions[] = { (( 0xA ) << 8 | ( 0 )) , 0, 0xFFFF } |
Definition at line 375 of file wstag375.c.
| u16 actor8Talk0Actions[] = { (( 0xA ) << 8 | ( 0 )) , 1, (0x9000 | ( 0x35 )) , 1, 0xFFFF } |
Definition at line 376 of file wstag375.c.
| u16 actor8Talk1Conditions[] = { (( 0xA ) << 8 | ( 0 )) , 1, 0xFFFF } |
Definition at line 377 of file wstag375.c.
| u16 actor9Talk0Conditions[] = { (( 0xA ) << 8 | ( 0 )) , 0, 0xFFFF } |
Definition at line 378 of file wstag375.c.
| u16 actor9Talk0Actions[] = { (( 0xA ) << 8 | ( 0 )) , 1, (0x9000 | ( 0x35 )) , 1, 0xFFFF } |
Definition at line 379 of file wstag375.c.
| u16 actor9Talk1Conditions[] = { (( 0xA ) << 8 | ( 0 )) , 1, 0xFFFF } |
Definition at line 380 of file wstag375.c.
| u16 actor10Talk0Conditions[] = { (( 0xA ) << 8 | ( 0 )) , 0, 0xFFFF } |
Definition at line 381 of file wstag375.c.
| u16 actor10Talk0Actions[] = { (( 0xA ) << 8 | ( 0 )) , 1, (0x9000 | ( 0x35 )) , 1, 0xFFFF } |
Definition at line 382 of file wstag375.c.
| u16 actor10Talk1Conditions[] = { (( 0xA ) << 8 | ( 0 )) , 1, 0xFFFF } |
Definition at line 383 of file wstag375.c.
| u16 actor11Talk0Conditions[] = { (( 0xA ) << 8 | ( 0 )) , 0, 0xFFFF } |
Definition at line 384 of file wstag375.c.
| u16 actor11Talk0Actions[] = { (( 0xA ) << 8 | ( 0 )) , 1, (0x9000 | ( 0x35 )) , 1, 0xFFFF } |
Definition at line 385 of file wstag375.c.
| u16 actor11Talk1Conditions[] = { (( 0xA ) << 8 | ( 0 )) , 1, 0xFFFF } |
Definition at line 386 of file wstag375.c.
| u16 actor12Talk0Conditions[] = { (( 0xA ) << 8 | ( 0 )) , 0, 0xFFFF } |
Definition at line 387 of file wstag375.c.
| u16 actor12Talk0Actions[] = { (( 0xA ) << 8 | ( 0 )) , 1, (0x9000 | ( 0x35 )) , 1, 0xFFFF } |
Definition at line 388 of file wstag375.c.
| u16 actor12Talk1Conditions[] = { (( 0xA ) << 8 | ( 0 )) , 1, 0xFFFF } |
Definition at line 389 of file wstag375.c.
| u16 actor13Talk0Conditions[] = { (( 0xA ) << 8 | ( 0 )) , 0, 0xFFFF } |
Definition at line 390 of file wstag375.c.
| u16 actor13Talk0Actions[] = { (( 0xA ) << 8 | ( 0 )) , 1, (0x9000 | ( 0x35 )) , 1, 0xFFFF } |
Definition at line 391 of file wstag375.c.
| u16 actor13Talk1Conditions[] = { (( 0xA ) << 8 | ( 0 )) , 1, 0xFFFF } |
Definition at line 392 of file wstag375.c.
| u16 actor14Talk0Conditions[] = { (( 0xA ) << 8 | ( 0 )) , 0, 0xFFFF } |
Definition at line 393 of file wstag375.c.
| u16 actor14Talk0Actions[] = { (( 0xA ) << 8 | ( 0 )) , 1, (0x9000 | ( 0x35 )) , 1, 0xFFFF } |
Definition at line 394 of file wstag375.c.
| u16 actor14Talk1Conditions[] = { (( 0xA ) << 8 | ( 0 )) , 1, 0xFFFF } |
Definition at line 395 of file wstag375.c.
| u16 actor15Talk0Conditions[] = { (( 0xA ) << 8 | ( 0 )) , 0, 0xFFFF } |
Definition at line 396 of file wstag375.c.
| u16 actor15Talk0Actions[] = { (( 0xA ) << 8 | ( 0 )) , 1, (0x9000 | ( 0x35 )) , 1, 0xFFFF } |
Definition at line 397 of file wstag375.c.
| u16 actor15Talk1Conditions[] = { (( 0xA ) << 8 | ( 0 )) , 1, 0xFFFF } |
Definition at line 398 of file wstag375.c.
| u16 actor16Talk0Conditions[] = { (( 0xA ) << 8 | ( 0 )) , 0, 0xFFFF } |
Definition at line 399 of file wstag375.c.
| u16 actor16Talk0Actions[] = { (0x9000 | ( 0x35 )) , 1, (( 0xA ) << 8 | ( 0 )) , 1, 0xFFFF } |
Definition at line 400 of file wstag375.c.
| u16 actor16Talk1Conditions[] = { (( 0xA ) << 8 | ( 0 )) , 1, 0xFFFF } |
Definition at line 401 of file wstag375.c.
| u16 actor17Talk0Conditions[] = { (( 0x1C ) << 8 | ( 0xF )) , 0, 0xFFFF } |
Definition at line 402 of file wstag375.c.
| u16 actor17Talk1Conditions[] = { (( 0x1C ) << 8 | ( 0xF )) , 1, (( 0 ) << 8 | ( 5 )) , 0, 0xFFFF } |
Definition at line 403 of file wstag375.c.
| u16 actor17Talk1Actions[] = { (( 0x1C ) << 8 | ( 0x10 )) , 1, (( 0 ) << 8 | ( 5 )) , 1, 0xFFFF } |
Definition at line 404 of file wstag375.c.
| u16 actor17Talk2Conditions[] = { (( 0x1C ) << 8 | ( 0xF )) , 1, (( 0 ) << 8 | ( 5 )) , 1, 0xFFFF } |
Definition at line 405 of file wstag375.c.
| u16 actor18Talk0Conditions[] = { (( 0x1A ) << 8 | ( 0x17 )) , 0, 0xFFFF } |
Definition at line 406 of file wstag375.c.
| u16 actor18Talk1Conditions[] |
Definition at line 407 of file wstag375.c.
| u16 actor18Talk1Actions[] = { (( 0x1A ) << 8 | ( 0x18 )) , 1, 0xFFFF } |
Definition at line 412 of file wstag375.c.
| u16 actor18Talk2Conditions[] |
Definition at line 413 of file wstag375.c.
| u16 actor21Talk0Conditions[] = { (0x8000 | ( 0 ) << 9 | ( 0xE )), 0, (( 0x1A ) << 8 | ( 0x2B )) , 0, 0xFFFF } |
Definition at line 418 of file wstag375.c.
| u16 actor21Talk1Conditions[] |
Definition at line 419 of file wstag375.c.
| u16 actor21Talk1Actions[] = { (( 0x1C ) << 8 | ( 0x4F )) , 1, 0xFFFF } |
Definition at line 425 of file wstag375.c.
| u16 actor21Talk2Conditions[] |
Definition at line 426 of file wstag375.c.
| u16 actor21Talk3Conditions[] |
Definition at line 433 of file wstag375.c.
| u16 actor21Talk3Actions[] = { (0x7000 | ( 0x13 )) , 1, (0x8000 | ( 0 ) << 9 | ( 0xE )), 1, 0xFFFF } |
Definition at line 440 of file wstag375.c.
| u16 actor21Talk4Conditions[] = { (0x8000 | ( 0 ) << 9 | ( 0xE )), 1, 0xFFFF } |
Definition at line 441 of file wstag375.c.
| FieldTalk actor0Talks[] |
Definition at line 442 of file wstag375.c.
| FieldTalk actor1Talks[] |
Definition at line 446 of file wstag375.c.
| FieldTalk actor2Talks[] |
Definition at line 450 of file wstag375.c.
| FieldTalk actor3Talks[] |
Definition at line 455 of file wstag375.c.
| FieldTalk actor4Talks[] |
Definition at line 462 of file wstag375.c.
| FieldTalk actor5Talks[] |
Definition at line 467 of file wstag375.c.
| FieldTalk actor6Talks[] |
Definition at line 474 of file wstag375.c.
| FieldTalk actor7Talks[] |
Definition at line 479 of file wstag375.c.
| FieldTalk actor8Talks[] |
Definition at line 484 of file wstag375.c.
| FieldTalk actor9Talks[] |
Definition at line 489 of file wstag375.c.
| FieldTalk actor10Talks[] |
Definition at line 494 of file wstag375.c.
| FieldTalk actor11Talks[] |
Definition at line 499 of file wstag375.c.
| FieldTalk actor12Talks[] |
Definition at line 504 of file wstag375.c.
| FieldTalk actor13Talks[] |
Definition at line 509 of file wstag375.c.
| FieldTalk actor14Talks[] |
Definition at line 514 of file wstag375.c.
| FieldTalk actor15Talks[] |
Definition at line 519 of file wstag375.c.
| FieldTalk actor16Talks[] |
Definition at line 524 of file wstag375.c.
| FieldTalk actor17Talks[] |
Definition at line 529 of file wstag375.c.
| FieldTalk actor18Talks[] |
Definition at line 535 of file wstag375.c.
| FieldTalk actor19Talks[] |
Definition at line 541 of file wstag375.c.
| FieldTalk actor20Talks[] |
Definition at line 545 of file wstag375.c.
| FieldTalk actor21Talks[] |
Definition at line 549 of file wstag375.c.
| FieldTalk actor22Talks[] |
Definition at line 557 of file wstag375.c.
| FieldTalk actor23Talks[] |
Definition at line 561 of file wstag375.c.
| u16 actor0Conditions[] = { (( 0x1C ) << 8 | ( 0x11 )) , 0, (0x6000 | ( STORY_GENJI_BEATEN )) , 1, 0xFFFF } |
Definition at line 565 of file wstag375.c.
| u16 actor1Conditions[] = { (( 0x1C ) << 8 | ( 0x11 )) , 0, (0x6000 | ( STORY_GENJI_BEATEN )) , 1, 0xFFFF } |
Definition at line 566 of file wstag375.c.
| u16 actor2Conditions[] |
Definition at line 567 of file wstag375.c.
| u16 actor3Conditions[] = { (0x6000 | ( STORY_MOVIE_BATTLES )) , 1, (0x8000 | ( 0 ) << 9 | ( 0x23 )), 0, 0xFFFF } |
Definition at line 572 of file wstag375.c.
| u16 actor4Conditions[] = { (0x6000 | ( STORY_MOVIE_BATTLES )) , 1, (0x8000 | ( 0 ) << 9 | ( 0x23 )), 1, 0xFFFF } |
Definition at line 573 of file wstag375.c.
| u16 actor5Conditions[] |
Definition at line 574 of file wstag375.c.
| u16 actor6Conditions[] = { (0x6000 | ( STORY_MOVIE_BATTLES )) , 1, 0xFFFF } |
Definition at line 579 of file wstag375.c.
| u16 actor7Conditions[] = { (0x6000 | ( STORY_LOOKING_FOR_TEDDY )) , 1, 0xFFFF } |
Definition at line 580 of file wstag375.c.
| u16 actor8Conditions[] = { (0x6000 | ( STORY_TEDDY_FOUND )) , 1, 0xFFFF } |
Definition at line 581 of file wstag375.c.
| u16 actor9Conditions[] = { (0x7000 | ( 0x16 )) , 1, 0xFFFF } |
Definition at line 582 of file wstag375.c.
| u16 actor10Conditions[] = { (0x7000 | ( 0x17 )) , 1, 0xFFFF } |
Definition at line 583 of file wstag375.c.
| u16 actor11Conditions[] = { (0x7000 | ( 0x18 )) , 1, 0xFFFF } |
Definition at line 584 of file wstag375.c.
| u16 actor12Conditions[] = { (0x7000 | ( 0x19 )) , 1, 0xFFFF } |
Definition at line 585 of file wstag375.c.
| u16 actor13Conditions[] = { (0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 1, 0xFFFF } |
Definition at line 586 of file wstag375.c.
| u16 actor14Conditions[] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF } |
Definition at line 587 of file wstag375.c.
| u16 actor15Conditions[] = { (0x7000 | ( 0x15 )) , 1, 0xFFFF } |
Definition at line 588 of file wstag375.c.
| u16 actor16Conditions[] = { (0x6000 | ( STORY_GENJI_BEATEN )) , 1, 0xFFFF } |
Definition at line 589 of file wstag375.c.
| u16 actor17Conditions[] = { (( 0x1C ) << 8 | ( 0x11 )) , 0, (0x6000 | ( STORY_GENJI_BEATEN )) , 1, 0xFFFF } |
Definition at line 590 of file wstag375.c.
| u16 actor18Conditions[] = { (0x6000 | ( STORY_SEPIKMON_MASK_LOST )) , 1, 0xFFFF } |
Definition at line 591 of file wstag375.c.
| u16 actor19Conditions[] = { (0x6000 | ( STORY_AGUMON_SUITS )) , 1, 0xFFFF } |
Definition at line 592 of file wstag375.c.
| u16 actor20Conditions[] = { (0x7000 | ( 0x3C )) , 1, 0xFFFF } |
Definition at line 593 of file wstag375.c.
| u16 actor21Conditions[] = { (0x6000 | ( STORY_TEDDY_FOUND )) , 1, 0xFFFF } |
Definition at line 594 of file wstag375.c.
| u16 actor22Conditions[] = { (( 0x1C ) << 8 | ( 0x11 )) , 0, (0x6000 | ( STORY_GENJI_BEATEN )) , 1, 0xFFFF } |
Definition at line 595 of file wstag375.c.
| u16 actor23Conditions[] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF } |
Definition at line 596 of file wstag375.c.
| FieldActorEntry actor0 = { actor0Conditions, actor0Talks, 0x22, 4, 505, 213, 7 } |
Definition at line 597 of file wstag375.c.
| FieldActorEntry actor1 = { actor1Conditions, actor1Talks, 0x23, 5, 480, 225, 7 } |
Definition at line 598 of file wstag375.c.
| FieldActorEntry actor2 = { actor2Conditions, actor2Talks, 0x2B, 6, 304, 328, 1 } |
Definition at line 599 of file wstag375.c.
| FieldActorEntry actor3 = { actor3Conditions, actor3Talks, 0x2B, 6, 304, 328, 1 } |
Definition at line 600 of file wstag375.c.
| FieldActorEntry actor4 = { actor4Conditions, actor4Talks, 0x2B, 6, 304, 328, 1 } |
Definition at line 601 of file wstag375.c.
| FieldActorEntry actor5 = { actor5Conditions, actor5Talks, 0x2B, 6, 304, 328, 1 } |
Definition at line 602 of file wstag375.c.
| FieldActorEntry actor6 = { actor6Conditions, actor6Talks, 0x3B, 7, 1073, 145, 1 } |
Definition at line 603 of file wstag375.c.
| FieldActorEntry actor7 = { actor7Conditions, actor7Talks, 0x3B, 7, 1073, 145, 1 } |
Definition at line 604 of file wstag375.c.
| FieldActorEntry actor8 = { actor8Conditions, actor8Talks, 0x3B, 7, 1073, 145, 1 } |
Definition at line 605 of file wstag375.c.
| FieldActorEntry actor9 = { actor9Conditions, actor9Talks, 0x3B, 7, 1073, 145, 1 } |
Definition at line 606 of file wstag375.c.
| FieldActorEntry actor10 = { actor10Conditions, actor10Talks, 0x3B, 7, 1073, 145, 1 } |
Definition at line 607 of file wstag375.c.
| FieldActorEntry actor11 = { actor11Conditions, actor11Talks, 0x3B, 7, 1073, 145, 1 } |
Definition at line 608 of file wstag375.c.
| FieldActorEntry actor12 = { actor12Conditions, actor12Talks, 0x3B, 7, 1073, 145, 1 } |
Definition at line 609 of file wstag375.c.
| FieldActorEntry actor13 = { actor13Conditions, actor13Talks, 0x3B, 7, 1073, 145, 1 } |
Definition at line 610 of file wstag375.c.
| FieldActorEntry actor14 = { actor14Conditions, actor14Talks, 0x3B, 7, 1073, 145, 1 } |
Definition at line 611 of file wstag375.c.
| FieldActorEntry actor15 = { actor15Conditions, actor15Talks, 0x3B, 7, 1073, 145, 1 } |
Definition at line 612 of file wstag375.c.
| FieldActorEntry actor16 = { actor16Conditions, actor16Talks, 0x3B, 7, 1073, 145, 1 } |
Definition at line 613 of file wstag375.c.
| FieldActorEntry actor17 = { actor17Conditions, actor17Talks, 0x3C, 8, 560, 240, 3 } |
Definition at line 614 of file wstag375.c.
| FieldActorEntry actor18 = { actor18Conditions, actor18Talks, 0x3D, 9, 97, 242, 7 } |
Definition at line 615 of file wstag375.c.
| FieldActorEntry actor19 = { actor19Conditions, actor19Talks, 0x3D, 9, 97, 242, 7 } |
Definition at line 616 of file wstag375.c.
| FieldActorEntry actor20 = { actor20Conditions, actor20Talks, 0x3D, 9, 97, 242, 7 } |
Definition at line 617 of file wstag375.c.
| FieldActorEntry actor21 = { actor21Conditions, actor21Talks, 0x3D, 9, 97, 242, 7 } |
Definition at line 618 of file wstag375.c.
| FieldActorEntry actor22 = { actor22Conditions, actor22Talks, 0x40, 0xA, 529, 201, 7 } |
Definition at line 619 of file wstag375.c.
| FieldActorEntry actor23 = { actor23Conditions, actor23Talks, 0x9D, 0xB, 304, 328, 1 } |
Definition at line 620 of file wstag375.c.
| FieldActorEntry* stageActors[] |
Definition at line 621 of file wstag375.c.
Referenced by setupStage().
| StageTile stageObjects[] |
The tables and color setupStage gives FIELDSTG_state (FieldState)
Definition at line 648 of file wstag375.c.
Referenced by setupStage().
| StageSlot stageSlots[] |
Definition at line 651 of file wstag375.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 664 of file wstag375.c.
| FieldEvent stageEvents[] |
Definition at line 667 of file wstag375.c.
Referenced by setupStage().