Document Trainer Tower scripts
This commit is contained in:
1 parent
e97d3532d4
commit
ef1f9ead0b
123 files changed
+2142
-2002
No files matched your search
@@ -1330,10 +1330,10 @@ _0806D2F0:
|
||||
lsrs r0, 24
|
||||
cmp r0, 0x1
|
||||
bne _0806D308
|
||||
ldr r0, _0806D304 @ =EventScript_1C549C
|
||||
ldr r0, _0806D304 @ =TrainerTower_EventScript_ShowTime
|
||||
b _0806D53E
|
||||
.align 2, 0
|
||||
_0806D304: .4byte EventScript_1C549C
|
||||
_0806D304: .4byte TrainerTower_EventScript_ShowTime
|
||||
_0806D308:
|
||||
adds r0, r4, 0
|
||||
adds r1, r5, 0
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
.include "asm/macros/ec.inc"
|
||||
.include "asm/macros/map.inc"
|
||||
.include "asm/macros/m4a.inc"
|
||||
.include "asm/macros/trainer_tower.inc"
|
||||
|
||||
.macro region_map_location x, y, width, height, name
|
||||
.byte \x
|
||||
|
||||
@@ -0,0 +1,133 @@
|
||||
@ Sets NPC gfx and the floor layout depending on current challenge and floor
|
||||
.macro ttower_initfloor
|
||||
setvar VAR_0x8004, TRAINER_TOWER_FUNC_INIT_FLOOR
|
||||
special CallTrainerTowerFunc
|
||||
.endm
|
||||
|
||||
@ Buffers the opponents battle speech to gStringVar4. speech is any TRAINER_TOWER_TEXT_*.
|
||||
.macro ttower_getspeech speech:req, trainer=0xFF
|
||||
setvar VAR_0x8004, TRAINER_TOWER_FUNC_GET_SPEECH
|
||||
setvar VAR_0x8005, \speech
|
||||
.if \trainer >= VARS_START && \trainer != 0xFF
|
||||
copyvar VAR_0x8006, \trainer
|
||||
.elseif \trainer != 0xFF
|
||||
setvar VAR_0x8006, \trainer
|
||||
.endif
|
||||
special CallTrainerTowerFunc
|
||||
.endm
|
||||
|
||||
@ Starts a trainer tower battle. VAR_0x8005 is unused
|
||||
.macro ttower_dobattle
|
||||
setvar VAR_0x8004, TRAINER_TOWER_FUNC_DO_BATTLE
|
||||
setvar VAR_0x8005, 0
|
||||
special CallTrainerTowerFunc
|
||||
.endm
|
||||
|
||||
@ Returns the current challenge type (CHALLENGE_TYPE_*). Mixed challenges use different types for each floor. If VAR_0x8005 is != FALSE, does nothing
|
||||
.macro ttower_getchallengetype
|
||||
setvar VAR_0x8004, TRAINER_TOWER_FUNC_GET_CHALLENGE_TYPE
|
||||
setvar VAR_0x8005, FALSE
|
||||
special CallTrainerTowerFunc
|
||||
.endm
|
||||
|
||||
@ Adds 1 to the number of floors cleared (all trainers on floor defeated)
|
||||
.macro ttower_clearedfloor
|
||||
setvar VAR_0x8004, TRAINER_TOWER_FUNC_CLEARED_FLOOR
|
||||
special CallTrainerTowerFunc
|
||||
.endm
|
||||
|
||||
@ TRUE if the trainers on this floor were already beaten, FALSE otherwise
|
||||
.macro ttower_isfloorbeaten
|
||||
setvar VAR_0x8004, TRAINER_TOWER_FUNC_GET_FLOOR_BEATEN
|
||||
special CallTrainerTowerFunc
|
||||
.endm
|
||||
|
||||
@ Initializes the Trainer Tower challenge and starts the timer
|
||||
.macro ttower_startchallenge
|
||||
setvar VAR_0x8004, TRAINER_TOWER_FUNC_START_CHALLENGE
|
||||
special CallTrainerTowerFunc
|
||||
.endm
|
||||
|
||||
@ 0 if not spoken to yet, 1 if spoken to but not received prize, 2 if received prize
|
||||
.macro ttower_getownerstate
|
||||
setvar VAR_0x8004, TRAINER_TOWER_FUNC_GET_OWNER_STATE
|
||||
special CallTrainerTowerFunc
|
||||
.endm
|
||||
|
||||
@ Tries to give prize. 0 if given successfully, 1 if no room for prize, 2 if giving prize should be skipped
|
||||
.macro ttower_giveprize
|
||||
setvar VAR_0x8004, TRAINER_TOWER_FUNC_GIVE_PRIZE
|
||||
special CallTrainerTowerFunc
|
||||
.endm
|
||||
|
||||
@ Checks the final challenge time. 0 if new record, 1 if not, 2 if time has already been checked
|
||||
.macro ttower_checkfinaltime
|
||||
setvar VAR_0x8004, TRAINER_TOWER_FUNC_CHECK_FINAL_TIME
|
||||
special CallTrainerTowerFunc
|
||||
.endm
|
||||
|
||||
@ Resumes the challenge timer (or starts, if the timer is 0)
|
||||
.macro ttower_resumetimer
|
||||
setvar VAR_0x8004, TRAINER_TOWER_FUNC_RESUME_TIMER
|
||||
special CallTrainerTowerFunc
|
||||
.endm
|
||||
|
||||
@ Sets that the player lost the challenge
|
||||
.macro ttower_setlost
|
||||
setvar VAR_0x8004, TRAINER_TOWER_FUNC_SET_LOST
|
||||
special CallTrainerTowerFunc
|
||||
.endm
|
||||
|
||||
@ Returns the status of the current Trainer Tower challenge (CHALLENGE_STATUS_*)
|
||||
.macro ttower_getchallengestatus
|
||||
setvar VAR_0x8004, TRAINER_TOWER_FUNC_GET_CHALLENGE_STATUS
|
||||
special CallTrainerTowerFunc
|
||||
.endm
|
||||
|
||||
@ Buffers the current challenge time (min in gStringVar1, sec in gStringVar2, fraction sec in gStringVar3)
|
||||
.macro ttower_gettime
|
||||
setvar VAR_0x8004, TRAINER_TOWER_FUNC_GET_TIME
|
||||
special CallTrainerTowerFunc
|
||||
.endm
|
||||
|
||||
@ Unused. Displays Trainer Tower results. Handled by Special_BattleRecords instead
|
||||
.macro ttower_showresults
|
||||
setvar VAR_0x8004, TRAINER_TOWER_FUNC_SHOW_RESULTS
|
||||
special CallTrainerTowerFunc
|
||||
.endm
|
||||
|
||||
@ Unused. See above
|
||||
.macro ttower_closeresults
|
||||
setvar VAR_0x8004, TRAINER_TOWER_FUNC_CLOSE_RESULTS
|
||||
special CallTrainerTowerFunc
|
||||
.endm
|
||||
|
||||
@ Returns the eligibility of the players party for a double battle (using GetMonsStateToDoubles)
|
||||
.macro ttower_checkdoubles
|
||||
setvar VAR_0x8004, TRAINER_TOWER_FUNC_CHECK_DOUBLES
|
||||
special CallTrainerTowerFunc
|
||||
.endm
|
||||
|
||||
@ For the unused E-Reader challenges, gets the number of floors used. Otherwise returns FALSE (all floors used)
|
||||
.macro ttower_getnumfloors
|
||||
setvar VAR_0x8004, TRAINER_TOWER_FUNC_GET_NUM_FLOORS
|
||||
special CallTrainerTowerFunc
|
||||
.endm
|
||||
|
||||
@ Dummied, always returns FALSE
|
||||
.macro ttower_shouldexit
|
||||
setvar VAR_0x8004, TRAINER_TOWER_FUNC_SHOULD_WARP_TO_COUNTER
|
||||
special CallTrainerTowerFunc
|
||||
.endm
|
||||
|
||||
@ Plays the encounter music for the trainer number in VAR_TEMP_1
|
||||
.macro ttower_encountermusic
|
||||
setvar VAR_0x8004, TRAINER_TOWER_FUNC_ENCOUNTER_MUSIC
|
||||
special CallTrainerTowerFunc
|
||||
.endm
|
||||
|
||||
@ TRUE if the player reached the Battle Tower owner, FALSE otherwise
|
||||
.macro ttower_getbeatchallenge
|
||||
setvar VAR_0x8004, TRAINER_TOWER_FUNC_GET_BEAT_CHALLENGE
|
||||
special CallTrainerTowerFunc
|
||||
.endm
|
||||
+14
-13
@@ -17,6 +17,7 @@
|
||||
#include "constants/spawn_points.h"
|
||||
#include "constants/field_effects.h"
|
||||
#include "constants/trainers.h"
|
||||
#include "constants/trainer_tower.h"
|
||||
#include "constants/object_events.h"
|
||||
#include "constants/fame_checker.h"
|
||||
#include "constants/seagallop.h"
|
||||
@@ -208,17 +209,17 @@ gStdScriptsEnd::
|
||||
.include "data/maps/SixIsland_PatternBush/scripts.inc"
|
||||
.include "data/maps/SixIsland_AlteringCave/scripts.inc"
|
||||
.include "data/maps/NavelRock_Exterior/scripts.inc"
|
||||
.include "data/maps/SevenIsland_TrainerTower_1F/scripts.inc"
|
||||
.include "data/maps/SevenIsland_TrainerTower_2F/scripts.inc"
|
||||
.include "data/maps/SevenIsland_TrainerTower_3F/scripts.inc"
|
||||
.include "data/maps/SevenIsland_TrainerTower_4F/scripts.inc"
|
||||
.include "data/maps/SevenIsland_TrainerTower_5F/scripts.inc"
|
||||
.include "data/maps/SevenIsland_TrainerTower_6F/scripts.inc"
|
||||
.include "data/maps/SevenIsland_TrainerTower_7F/scripts.inc"
|
||||
.include "data/maps/SevenIsland_TrainerTower_8F/scripts.inc"
|
||||
.include "data/maps/SevenIsland_TrainerTower_Roof/scripts.inc"
|
||||
.include "data/maps/SevenIsland_TrainerTower_Lobby/scripts.inc"
|
||||
.include "data/maps/SevenIsland_TrainerTower_Elevator/scripts.inc"
|
||||
.include "data/maps/TrainerTower_1F/scripts.inc"
|
||||
.include "data/maps/TrainerTower_2F/scripts.inc"
|
||||
.include "data/maps/TrainerTower_3F/scripts.inc"
|
||||
.include "data/maps/TrainerTower_4F/scripts.inc"
|
||||
.include "data/maps/TrainerTower_5F/scripts.inc"
|
||||
.include "data/maps/TrainerTower_6F/scripts.inc"
|
||||
.include "data/maps/TrainerTower_7F/scripts.inc"
|
||||
.include "data/maps/TrainerTower_8F/scripts.inc"
|
||||
.include "data/maps/TrainerTower_Roof/scripts.inc"
|
||||
.include "data/maps/TrainerTower_Lobby/scripts.inc"
|
||||
.include "data/maps/TrainerTower_Elevator/scripts.inc"
|
||||
.include "data/maps/FiveIsland_LostCave_Entrance/scripts.inc"
|
||||
.include "data/maps/FiveIsland_LostCave_Room1/scripts.inc"
|
||||
.include "data/maps/FiveIsland_LostCave_Room2/scripts.inc"
|
||||
@@ -593,7 +594,7 @@ gStdScriptsEnd::
|
||||
.include "data/maps/FiveIsland_RocketWarehouse/text.inc"
|
||||
.include "data/maps/SixIsland_DottedHole_SapphireRoom/text.inc"
|
||||
.include "data/maps/SixIsland_PatternBush/text.inc"
|
||||
.include "data/maps/SevenIsland_TrainerTower_Lobby/text.inc"
|
||||
.include "data/maps/TrainerTower_Lobby/text.inc"
|
||||
.include "data/maps/FiveIsland_LostCave_Room1/text.inc"
|
||||
.include "data/maps/FiveIsland_LostCave_Room4/text.inc"
|
||||
.include "data/maps/FiveIsland_LostCave_Room10/text.inc"
|
||||
@@ -1462,7 +1463,7 @@ Route18_EastEntrance_1F_EventScript_1A77C1:: @ 81A77C1
|
||||
|
||||
.include "data/scripts/route23.inc"
|
||||
|
||||
EventScript_1A7AB9:: @ 81A7AB9
|
||||
EventScript_GetElevatorFloor:: @ 81A7AB9
|
||||
special Special_GetElevatorFloor
|
||||
return
|
||||
|
||||
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+108
-108
@@ -3356,136 +3356,136 @@
|
||||
"blockdata_filepath": "data/layouts/FourIsland_IcefallCave_Back/map.bin"
|
||||
},
|
||||
{
|
||||
"id": "LAYOUT_SEVEN_ISLAND_TRAINER_TOWER_LOBBY",
|
||||
"name": "SevenIsland_TrainerTower_Lobby_Layout",
|
||||
"id": "LAYOUT_TRAINER_TOWER_LOBBY",
|
||||
"name": "TrainerTower_Lobby_Layout",
|
||||
"width": 19,
|
||||
"height": 17,
|
||||
"border_width": 2,
|
||||
"border_height": 2,
|
||||
"primary_tileset": "gTileset_82D4BB4",
|
||||
"secondary_tileset": "gTileset_82D5094",
|
||||
"border_filepath": "data/layouts/SevenIsland_TrainerTower_Lobby/border.bin",
|
||||
"blockdata_filepath": "data/layouts/SevenIsland_TrainerTower_Lobby/map.bin"
|
||||
"border_filepath": "data/layouts/TrainerTower_Lobby/border.bin",
|
||||
"blockdata_filepath": "data/layouts/TrainerTower_Lobby/map.bin"
|
||||
},
|
||||
{
|
||||
"id": "LAYOUT_SEVEN_ISLAND_TRAINER_TOWER_1F",
|
||||
"name": "SevenIsland_TrainerTower_1F_Layout",
|
||||
"id": "LAYOUT_TRAINER_TOWER_1F",
|
||||
"name": "TrainerTower_1F_Layout",
|
||||
"width": 18,
|
||||
"height": 17,
|
||||
"border_width": 2,
|
||||
"border_height": 2,
|
||||
"primary_tileset": "gTileset_82D4BB4",
|
||||
"secondary_tileset": "gTileset_82D5094",
|
||||
"border_filepath": "data/layouts/SevenIsland_TrainerTower_1F/border.bin",
|
||||
"blockdata_filepath": "data/layouts/SevenIsland_TrainerTower_1F/map.bin"
|
||||
"border_filepath": "data/layouts/TrainerTower_1F/border.bin",
|
||||
"blockdata_filepath": "data/layouts/TrainerTower_1F/map.bin"
|
||||
},
|
||||
{
|
||||
"id": "LAYOUT_SEVEN_ISLAND_TRAINER_TOWER_2F",
|
||||
"name": "SevenIsland_TrainerTower_2F_Layout",
|
||||
"id": "LAYOUT_TRAINER_TOWER_2F",
|
||||
"name": "TrainerTower_2F_Layout",
|
||||
"width": 18,
|
||||
"height": 17,
|
||||
"border_width": 2,
|
||||
"border_height": 2,
|
||||
"primary_tileset": "gTileset_82D4BB4",
|
||||
"secondary_tileset": "gTileset_82D5094",
|
||||
"border_filepath": "data/layouts/SevenIsland_TrainerTower_2F/border.bin",
|
||||
"blockdata_filepath": "data/layouts/SevenIsland_TrainerTower_2F/map.bin"
|
||||
"border_filepath": "data/layouts/TrainerTower_2F/border.bin",
|
||||
"blockdata_filepath": "data/layouts/TrainerTower_2F/map.bin"
|
||||
},
|
||||
{
|
||||
"id": "LAYOUT_SEVEN_ISLAND_TRAINER_TOWER_3F",
|
||||
"name": "SevenIsland_TrainerTower_3F_Layout",
|
||||
"id": "LAYOUT_TRAINER_TOWER_3F",
|
||||
"name": "TrainerTower_3F_Layout",
|
||||
"width": 18,
|
||||
"height": 17,
|
||||
"border_width": 2,
|
||||
"border_height": 2,
|
||||
"primary_tileset": "gTileset_82D4BB4",
|
||||
"secondary_tileset": "gTileset_82D5094",
|
||||
"border_filepath": "data/layouts/SevenIsland_TrainerTower_3F/border.bin",
|
||||
"blockdata_filepath": "data/layouts/SevenIsland_TrainerTower_3F/map.bin"
|
||||
"border_filepath": "data/layouts/TrainerTower_3F/border.bin",
|
||||
"blockdata_filepath": "data/layouts/TrainerTower_3F/map.bin"
|
||||
},
|
||||
{
|
||||
"id": "LAYOUT_SEVEN_ISLAND_TRAINER_TOWER_4F",
|
||||
"name": "SevenIsland_TrainerTower_4F_Layout",
|
||||
"id": "LAYOUT_TRAINER_TOWER_4F",
|
||||
"name": "TrainerTower_4F_Layout",
|
||||
"width": 18,
|
||||
"height": 17,
|
||||
"border_width": 2,
|
||||
"border_height": 2,
|
||||
"primary_tileset": "gTileset_82D4BB4",
|
||||
"secondary_tileset": "gTileset_82D5094",
|
||||
"border_filepath": "data/layouts/SevenIsland_TrainerTower_4F/border.bin",
|
||||
"blockdata_filepath": "data/layouts/SevenIsland_TrainerTower_4F/map.bin"
|
||||
"border_filepath": "data/layouts/TrainerTower_4F/border.bin",
|
||||
"blockdata_filepath": "data/layouts/TrainerTower_4F/map.bin"
|
||||
},
|
||||
{
|
||||
"id": "LAYOUT_SEVEN_ISLAND_TRAINER_TOWER_5F",
|
||||
"name": "SevenIsland_TrainerTower_5F_Layout",
|
||||
"id": "LAYOUT_TRAINER_TOWER_5F",
|
||||
"name": "TrainerTower_5F_Layout",
|
||||
"width": 18,
|
||||
"height": 17,
|
||||
"border_width": 2,
|
||||
"border_height": 2,
|
||||
"primary_tileset": "gTileset_82D4BB4",
|
||||
"secondary_tileset": "gTileset_82D5094",
|
||||
"border_filepath": "data/layouts/SevenIsland_TrainerTower_5F/border.bin",
|
||||
"blockdata_filepath": "data/layouts/SevenIsland_TrainerTower_5F/map.bin"
|
||||
"border_filepath": "data/layouts/TrainerTower_5F/border.bin",
|
||||
"blockdata_filepath": "data/layouts/TrainerTower_5F/map.bin"
|
||||
},
|
||||
{
|
||||
"id": "LAYOUT_SEVEN_ISLAND_TRAINER_TOWER_6F",
|
||||
"name": "SevenIsland_TrainerTower_6F_Layout",
|
||||
"id": "LAYOUT_TRAINER_TOWER_6F",
|
||||
"name": "TrainerTower_6F_Layout",
|
||||
"width": 18,
|
||||
"height": 17,
|
||||
"border_width": 2,
|
||||
"border_height": 2,
|
||||
"primary_tileset": "gTileset_82D4BB4",
|
||||
"secondary_tileset": "gTileset_82D5094",
|
||||
"border_filepath": "data/layouts/SevenIsland_TrainerTower_6F/border.bin",
|
||||
"blockdata_filepath": "data/layouts/SevenIsland_TrainerTower_6F/map.bin"
|
||||
"border_filepath": "data/layouts/TrainerTower_6F/border.bin",
|
||||
"blockdata_filepath": "data/layouts/TrainerTower_6F/map.bin"
|
||||
},
|
||||
{
|
||||
"id": "LAYOUT_SEVEN_ISLAND_TRAINER_TOWER_7F",
|
||||
"name": "SevenIsland_TrainerTower_7F_Layout",
|
||||
"id": "LAYOUT_TRAINER_TOWER_7F",
|
||||
"name": "TrainerTower_7F_Layout",
|
||||
"width": 18,
|
||||
"height": 17,
|
||||
"border_width": 2,
|
||||
"border_height": 2,
|
||||
"primary_tileset": "gTileset_82D4BB4",
|
||||
"secondary_tileset": "gTileset_82D5094",
|
||||
"border_filepath": "data/layouts/SevenIsland_TrainerTower_7F/border.bin",
|
||||
"blockdata_filepath": "data/layouts/SevenIsland_TrainerTower_7F/map.bin"
|
||||
"border_filepath": "data/layouts/TrainerTower_7F/border.bin",
|
||||
"blockdata_filepath": "data/layouts/TrainerTower_7F/map.bin"
|
||||
},
|
||||
{
|
||||
"id": "LAYOUT_SEVEN_ISLAND_TRAINER_TOWER_8F",
|
||||
"name": "SevenIsland_TrainerTower_8F_Layout",
|
||||
"id": "LAYOUT_TRAINER_TOWER_8F",
|
||||
"name": "TrainerTower_8F_Layout",
|
||||
"width": 18,
|
||||
"height": 17,
|
||||
"border_width": 2,
|
||||
"border_height": 2,
|
||||
"primary_tileset": "gTileset_82D4BB4",
|
||||
"secondary_tileset": "gTileset_82D5094",
|
||||
"border_filepath": "data/layouts/SevenIsland_TrainerTower_8F/border.bin",
|
||||
"blockdata_filepath": "data/layouts/SevenIsland_TrainerTower_8F/map.bin"
|
||||
"border_filepath": "data/layouts/TrainerTower_8F/border.bin",
|
||||
"blockdata_filepath": "data/layouts/TrainerTower_8F/map.bin"
|
||||
},
|
||||
{
|
||||
"id": "LAYOUT_SEVEN_ISLAND_TRAINER_TOWER_ROOF",
|
||||
"name": "SevenIsland_TrainerTower_Roof_Layout",
|
||||
"id": "LAYOUT_TRAINER_TOWER_ROOF",
|
||||
"name": "TrainerTower_Roof_Layout",
|
||||
"width": 18,
|
||||
"height": 16,
|
||||
"border_width": 2,
|
||||
"border_height": 2,
|
||||
"primary_tileset": "gTileset_82D4BB4",
|
||||
"secondary_tileset": "gTileset_82D5094",
|
||||
"border_filepath": "data/layouts/SevenIsland_TrainerTower_Roof/border.bin",
|
||||
"blockdata_filepath": "data/layouts/SevenIsland_TrainerTower_Roof/map.bin"
|
||||
"border_filepath": "data/layouts/TrainerTower_Roof/border.bin",
|
||||
"blockdata_filepath": "data/layouts/TrainerTower_Roof/map.bin"
|
||||
},
|
||||
{
|
||||
"id": "LAYOUT_SEVEN_ISLAND_TRAINER_TOWER_ELEVATOR",
|
||||
"name": "SevenIsland_TrainerTower_Elevator_Layout",
|
||||
"id": "LAYOUT_TRAINER_TOWER_ELEVATOR",
|
||||
"name": "TrainerTower_Elevator_Layout",
|
||||
"width": 5,
|
||||
"height": 7,
|
||||
"border_width": 2,
|
||||
"border_height": 2,
|
||||
"primary_tileset": "gTileset_82D4BB4",
|
||||
"secondary_tileset": "gTileset_82D4ECC",
|
||||
"border_filepath": "data/layouts/SevenIsland_TrainerTower_Elevator/border.bin",
|
||||
"blockdata_filepath": "data/layouts/SevenIsland_TrainerTower_Elevator/map.bin"
|
||||
"border_filepath": "data/layouts/TrainerTower_Elevator/border.bin",
|
||||
"blockdata_filepath": "data/layouts/TrainerTower_Elevator/map.bin"
|
||||
},
|
||||
{
|
||||
"id": "LAYOUT_CERULEAN_CITY_HOUSE5",
|
||||
@@ -4184,196 +4184,196 @@
|
||||
"blockdata_filepath": "data/layouts/NavelRock_Fork/map.bin"
|
||||
},
|
||||
{
|
||||
"id": "LAYOUT_UNUSED_LAYOUT_834BC2C",
|
||||
"name": "UnusedLayout_834BC2C_Layout",
|
||||
"id": "LAYOUT_TRAINER_TOWER_1F_DOUBLES",
|
||||
"name": "TrainerTower_1F_Doubles_Layout",
|
||||
"width": 18,
|
||||
"height": 17,
|
||||
"border_width": 2,
|
||||
"border_height": 2,
|
||||
"primary_tileset": "gTileset_82D4BB4",
|
||||
"secondary_tileset": "gTileset_82D5094",
|
||||
"border_filepath": "data/layouts/UnusedLayout_834BC2C/border.bin",
|
||||
"blockdata_filepath": "data/layouts/UnusedLayout_834BC2C/map.bin"
|
||||
"border_filepath": "data/layouts/TrainerTower_1F_Doubles/border.bin",
|
||||
"blockdata_filepath": "data/layouts/TrainerTower_1F_Doubles/map.bin"
|
||||
},
|
||||
{
|
||||
"id": "LAYOUT_UNUSED_LAYOUT_834BEB4",
|
||||
"name": "UnusedLayout_834BEB4_Layout",
|
||||
"id": "LAYOUT_TRAINER_TOWER_2F_DOUBLES",
|
||||
"name": "TrainerTower_2F_Doubles_Layout",
|
||||
"width": 18,
|
||||
"height": 17,
|
||||
"border_width": 2,
|
||||
"border_height": 2,
|
||||
"primary_tileset": "gTileset_82D4BB4",
|
||||
"secondary_tileset": "gTileset_82D5094",
|
||||
"border_filepath": "data/layouts/UnusedLayout_834BEB4/border.bin",
|
||||
"blockdata_filepath": "data/layouts/UnusedLayout_834BEB4/map.bin"
|
||||
"border_filepath": "data/layouts/TrainerTower_2F_Doubles/border.bin",
|
||||
"blockdata_filepath": "data/layouts/TrainerTower_2F_Doubles/map.bin"
|
||||
},
|
||||
{
|
||||
"id": "LAYOUT_UNUSED_LAYOUT_834C13C",
|
||||
"name": "UnusedLayout_834C13C_Layout",
|
||||
"id": "LAYOUT_TRAINER_TOWER_3F_DOUBLES",
|
||||
"name": "TrainerTower_3F_Doubles_Layout",
|
||||
"width": 18,
|
||||
"height": 17,
|
||||
"border_width": 2,
|
||||
"border_height": 2,
|
||||
"primary_tileset": "gTileset_82D4BB4",
|
||||
"secondary_tileset": "gTileset_82D5094",
|
||||
"border_filepath": "data/layouts/UnusedLayout_834C13C/border.bin",
|
||||
"blockdata_filepath": "data/layouts/UnusedLayout_834C13C/map.bin"
|
||||
"border_filepath": "data/layouts/TrainerTower_3F_Doubles/border.bin",
|
||||
"blockdata_filepath": "data/layouts/TrainerTower_3F_Doubles/map.bin"
|
||||
},
|
||||
{
|
||||
"id": "LAYOUT_UNUSED_LAYOUT_834C3C4",
|
||||
"name": "UnusedLayout_834C3C4_Layout",
|
||||
"id": "LAYOUT_TRAINER_TOWER_4F_DOUBLES",
|
||||
"name": "TrainerTower_4F_Doubles_Layout",
|
||||
"width": 18,
|
||||
"height": 17,
|
||||
"border_width": 2,
|
||||
"border_height": 2,
|
||||
"primary_tileset": "gTileset_82D4BB4",
|
||||
"secondary_tileset": "gTileset_82D5094",
|
||||
"border_filepath": "data/layouts/UnusedLayout_834C3C4/border.bin",
|
||||
"blockdata_filepath": "data/layouts/UnusedLayout_834C3C4/map.bin"
|
||||
"border_filepath": "data/layouts/TrainerTower_4F_Doubles/border.bin",
|
||||
"blockdata_filepath": "data/layouts/TrainerTower_4F_Doubles/map.bin"
|
||||
},
|
||||
{
|
||||
"id": "LAYOUT_UNUSED_LAYOUT_834C64C",
|
||||
"name": "UnusedLayout_834C64C_Layout",
|
||||
"id": "LAYOUT_TRAINER_TOWER_5F_DOUBLES",
|
||||
"name": "TrainerTower_5F_Doubles_Layout",
|
||||
"width": 18,
|
||||
"height": 17,
|
||||
"border_width": 2,
|
||||
"border_height": 2,
|
||||
"primary_tileset": "gTileset_82D4BB4",
|
||||
"secondary_tileset": "gTileset_82D5094",
|
||||
"border_filepath": "data/layouts/UnusedLayout_834C64C/border.bin",
|
||||
"blockdata_filepath": "data/layouts/UnusedLayout_834C64C/map.bin"
|
||||
"border_filepath": "data/layouts/TrainerTower_5F_Doubles/border.bin",
|
||||
"blockdata_filepath": "data/layouts/TrainerTower_5F_Doubles/map.bin"
|
||||
},
|
||||
{
|
||||
"id": "LAYOUT_UNUSED_LAYOUT_834C8D4",
|
||||
"name": "UnusedLayout_834C8D4_Layout",
|
||||
"id": "LAYOUT_TRAINER_TOWER_6F_DOUBLES",
|
||||
"name": "TrainerTower_6F_Doubles_Layout",
|
||||
"width": 18,
|
||||
"height": 17,
|
||||
"border_width": 2,
|
||||
"border_height": 2,
|
||||
"primary_tileset": "gTileset_82D4BB4",
|
||||
"secondary_tileset": "gTileset_82D5094",
|
||||
"border_filepath": "data/layouts/UnusedLayout_834C8D4/border.bin",
|
||||
"blockdata_filepath": "data/layouts/UnusedLayout_834C8D4/map.bin"
|
||||
"border_filepath": "data/layouts/TrainerTower_6F_Doubles/border.bin",
|
||||
"blockdata_filepath": "data/layouts/TrainerTower_6F_Doubles/map.bin"
|
||||
},
|
||||
{
|
||||
"id": "LAYOUT_UNUSED_LAYOUT_834CB5C",
|
||||
"name": "UnusedLayout_834CB5C_Layout",
|
||||
"id": "LAYOUT_TRAINER_TOWER_7F_DOUBLES",
|
||||
"name": "TrainerTower_7F_Doubles_Layout",
|
||||
"width": 18,
|
||||
"height": 17,
|
||||
"border_width": 2,
|
||||
"border_height": 2,
|
||||
"primary_tileset": "gTileset_82D4BB4",
|
||||
"secondary_tileset": "gTileset_82D5094",
|
||||
"border_filepath": "data/layouts/UnusedLayout_834CB5C/border.bin",
|
||||
"blockdata_filepath": "data/layouts/UnusedLayout_834CB5C/map.bin"
|
||||
"border_filepath": "data/layouts/TrainerTower_7F_Doubles/border.bin",
|
||||
"blockdata_filepath": "data/layouts/TrainerTower_7F_Doubles/map.bin"
|
||||
},
|
||||
{
|
||||
"id": "LAYOUT_UNUSED_LAYOUT_834CDE4",
|
||||
"name": "UnusedLayout_834CDE4_Layout",
|
||||
"id": "LAYOUT_TRAINER_TOWER_8F_DOUBLES",
|
||||
"name": "TrainerTower_8F_Doubles_Layout",
|
||||
"width": 18,
|
||||
"height": 17,
|
||||
"border_width": 2,
|
||||
"border_height": 2,
|
||||
"primary_tileset": "gTileset_82D4BB4",
|
||||
"secondary_tileset": "gTileset_82D5094",
|
||||
"border_filepath": "data/layouts/UnusedLayout_834CDE4/border.bin",
|
||||
"blockdata_filepath": "data/layouts/UnusedLayout_834CDE4/map.bin"
|
||||
"border_filepath": "data/layouts/TrainerTower_8F_Doubles/border.bin",
|
||||
"blockdata_filepath": "data/layouts/TrainerTower_8F_Doubles/map.bin"
|
||||
},
|
||||
{
|
||||
"id": "LAYOUT_UNUSED_LAYOUT_834D06C",
|
||||
"name": "UnusedLayout_834D06C_Layout",
|
||||
"id": "LAYOUT_TRAINER_TOWER_1F_KNOCKOUT",
|
||||
"name": "TrainerTower_1F_Knockout_Layout",
|
||||
"width": 18,
|
||||
"height": 17,
|
||||
"border_width": 2,
|
||||
"border_height": 2,
|
||||
"primary_tileset": "gTileset_82D4BB4",
|
||||
"secondary_tileset": "gTileset_82D5094",
|
||||
"border_filepath": "data/layouts/UnusedLayout_834D06C/border.bin",
|
||||
"blockdata_filepath": "data/layouts/UnusedLayout_834D06C/map.bin"
|
||||
"border_filepath": "data/layouts/TrainerTower_1F_Knockout/border.bin",
|
||||
"blockdata_filepath": "data/layouts/TrainerTower_1F_Knockout/map.bin"
|
||||
},
|
||||
{
|
||||
"id": "LAYOUT_UNUSED_LAYOUT_834D2F4",
|
||||
"name": "UnusedLayout_834D2F4_Layout",
|
||||
"id": "LAYOUT_TRAINER_TOWER_2F_KNOCKOUT",
|
||||
"name": "TrainerTower_2F_Knockout_Layout",
|
||||
"width": 18,
|
||||
"height": 17,
|
||||
"border_width": 2,
|
||||
"border_height": 2,
|
||||
"primary_tileset": "gTileset_82D4BB4",
|
||||
"secondary_tileset": "gTileset_82D5094",
|
||||
"border_filepath": "data/layouts/UnusedLayout_834D2F4/border.bin",
|
||||
"blockdata_filepath": "data/layouts/UnusedLayout_834D2F4/map.bin"
|
||||
"border_filepath": "data/layouts/TrainerTower_2F_Knockout/border.bin",
|
||||
"blockdata_filepath": "data/layouts/TrainerTower_2F_Knockout/map.bin"
|
||||
},
|
||||
{
|
||||
"id": "LAYOUT_UNUSED_LAYOUT_834D57C",
|
||||
"name": "UnusedLayout_834D57C_Layout",
|
||||
"id": "LAYOUT_TRAINER_TOWER_3F_KNOCKOUT",
|
||||
"name": "TrainerTower_3F_Knockout_Layout",
|
||||
"width": 18,
|
||||
"height": 17,
|
||||
"border_width": 2,
|
||||
"border_height": 2,
|
||||
"primary_tileset": "gTileset_82D4BB4",
|
||||
"secondary_tileset": "gTileset_82D5094",
|
||||
"border_filepath": "data/layouts/UnusedLayout_834D57C/border.bin",
|
||||
"blockdata_filepath": "data/layouts/UnusedLayout_834D57C/map.bin"
|
||||
"border_filepath": "data/layouts/TrainerTower_3F_Knockout/border.bin",
|
||||
"blockdata_filepath": "data/layouts/TrainerTower_3F_Knockout/map.bin"
|
||||
},
|
||||
{
|
||||
"id": "LAYOUT_UNUSED_LAYOUT_834D804",
|
||||
"name": "UnusedLayout_834D804_Layout",
|
||||
"id": "LAYOUT_TRAINER_TOWER_4F_KNOCKOUT",
|
||||
"name": "TrainerTower_4F_Knockout_Layout",
|
||||
"width": 18,
|
||||
"height": 17,
|
||||
"border_width": 2,
|
||||
"border_height": 2,
|
||||
"primary_tileset": "gTileset_82D4BB4",
|
||||
"secondary_tileset": "gTileset_82D5094",
|
||||
"border_filepath": "data/layouts/UnusedLayout_834D804/border.bin",
|
||||
"blockdata_filepath": "data/layouts/UnusedLayout_834D804/map.bin"
|
||||
"border_filepath": "data/layouts/TrainerTower_4F_Knockout/border.bin",
|
||||
"blockdata_filepath": "data/layouts/TrainerTower_4F_Knockout/map.bin"
|
||||
},
|
||||
{
|
||||
"id": "LAYOUT_UNUSED_LAYOUT_834DA8C",
|
||||
"name": "UnusedLayout_834DA8C_Layout",
|
||||
"id": "LAYOUT_TRAINER_TOWER_5F_KNOCKOUT",
|
||||
"name": "TrainerTower_5F_Knockout_Layout",
|
||||
"width": 18,
|
||||
"height": 17,
|
||||
"border_width": 2,
|
||||
"border_height": 2,
|
||||
"primary_tileset": "gTileset_82D4BB4",
|
||||
"secondary_tileset": "gTileset_82D5094",
|
||||
"border_filepath": "data/layouts/UnusedLayout_834DA8C/border.bin",
|
||||
"blockdata_filepath": "data/layouts/UnusedLayout_834DA8C/map.bin"
|
||||
"border_filepath": "data/layouts/TrainerTower_5F_Knockout/border.bin",
|
||||
"blockdata_filepath": "data/layouts/TrainerTower_5F_Knockout/map.bin"
|
||||
},
|
||||
{
|
||||
"id": "LAYOUT_UNUSED_LAYOUT_834DD14",
|
||||
"name": "UnusedLayout_834DD14_Layout",
|
||||
"id": "LAYOUT_TRAINER_TOWER_6F_KNOCKOUT",
|
||||
"name": "TrainerTower_6F_Knockout_Layout",
|
||||
"width": 18,
|
||||
"height": 17,
|
||||
"border_width": 2,
|
||||
"border_height": 2,
|
||||
"primary_tileset": "gTileset_82D4BB4",
|
||||
"secondary_tileset": "gTileset_82D5094",
|
||||
"border_filepath": "data/layouts/UnusedLayout_834DD14/border.bin",
|
||||
"blockdata_filepath": "data/layouts/UnusedLayout_834DD14/map.bin"
|
||||
"border_filepath": "data/layouts/TrainerTower_6F_Knockout/border.bin",
|
||||
"blockdata_filepath": "data/layouts/TrainerTower_6F_Knockout/map.bin"
|
||||
},
|
||||
{
|
||||
"id": "LAYOUT_UNUSED_LAYOUT_834DF9C",
|
||||
"name": "UnusedLayout_834DF9C_Layout",
|
||||
"id": "LAYOUT_TRAINER_TOWER_7F_KNOCKOUT",
|
||||
"name": "TrainerTower_7F_Knockout_Layout",
|
||||
"width": 18,
|
||||
"height": 17,
|
||||
"border_width": 2,
|
||||
"border_height": 2,
|
||||
"primary_tileset": "gTileset_82D4BB4",
|
||||
"secondary_tileset": "gTileset_82D5094",
|
||||
"border_filepath": "data/layouts/UnusedLayout_834DF9C/border.bin",
|
||||
"blockdata_filepath": "data/layouts/UnusedLayout_834DF9C/map.bin"
|
||||
"border_filepath": "data/layouts/TrainerTower_7F_Knockout/border.bin",
|
||||
"blockdata_filepath": "data/layouts/TrainerTower_7F_Knockout/map.bin"
|
||||
},
|
||||
{
|
||||
"id": "LAYOUT_UNUSED_LAYOUT_834E224",
|
||||
"name": "UnusedLayout_834E224_Layout",
|
||||
"id": "LAYOUT_TRAINER_TOWER_8F_KNOCKOUT",
|
||||
"name": "TrainerTower_8F_Knockout_Layout",
|
||||
"width": 18,
|
||||
"height": 17,
|
||||
"border_width": 2,
|
||||
"border_height": 2,
|
||||
"primary_tileset": "gTileset_82D4BB4",
|
||||
"secondary_tileset": "gTileset_82D5094",
|
||||
"border_filepath": "data/layouts/UnusedLayout_834E224/border.bin",
|
||||
"blockdata_filepath": "data/layouts/UnusedLayout_834E224/map.bin"
|
||||
"border_filepath": "data/layouts/TrainerTower_8F_Knockout/border.bin",
|
||||
"blockdata_filepath": "data/layouts/TrainerTower_8F_Knockout/map.bin"
|
||||
},
|
||||
{
|
||||
"id": "LAYOUT_SEVEN_ISLAND_HOUSE_ROOM1",
|
||||
|
||||
@@ -4,7 +4,7 @@ CeladonCity_DepartmentStore_Elevator_MapScripts:: @ 816C152
|
||||
CeladonCity_DepartmentStore_Elevator_EventScript_16C153:: @ 816C153
|
||||
lockall
|
||||
setvar VAR_0x8004, 3
|
||||
call_if_unset FLAG_TEMP_2, EventScript_1A7AB9
|
||||
call_if_unset FLAG_TEMP_2, EventScript_GetElevatorFloor
|
||||
copyvar VAR_0x8005, VAR_ELEVATOR_FLOOR
|
||||
special Special_DrawElevatorCurrentFloorWindow
|
||||
message Text_WantWhichFloor
|
||||
|
||||
@@ -5,7 +5,7 @@ RocketHideout_Elevator_EventScript_1614D9:: @ 81614D9
|
||||
lockall
|
||||
goto_if_unset FLAG_CAN_USE_ROCKET_HIDEOUT_LIFT, EventScript_16161B
|
||||
setvar VAR_0x8004, 2
|
||||
call_if_unset FLAG_TEMP_2, EventScript_1A7AB9
|
||||
call_if_unset FLAG_TEMP_2, EventScript_GetElevatorFloor
|
||||
copyvar VAR_0x8005, VAR_ELEVATOR_FLOOR
|
||||
special Special_DrawElevatorCurrentFloorWindow
|
||||
message Text_WantWhichFloor
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
"x": 58,
|
||||
"y": 7,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_SEVEN_ISLAND_TRAINER_TOWER_LOBBY",
|
||||
"dest_map": "MAP_TRAINER_TOWER_LOBBY",
|
||||
"dest_warp_id": 1
|
||||
}
|
||||
],
|
||||
|
||||
@@ -1,60 +0,0 @@
|
||||
SevenIsland_TrainerTower_1F_MapScripts:: @ 81646B8
|
||||
map_script MAP_SCRIPT_ON_RESUME, SevenIsland_TrainerTower_1F_MapScript1_1C4F54
|
||||
map_script MAP_SCRIPT_ON_TRANSITION, SevenIsland_TrainerTower_1F_MapScript2_1C4F62
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, SevenIsland_TrainerTower_1F_MapScript3_1C5046
|
||||
.byte 0
|
||||
|
||||
SevenIsland_TrainerTower_2F_EventScript_1646C8:: @ 81646C8
|
||||
SevenIsland_TrainerTower_4F_EventScript_1646C8:: @ 81646C8
|
||||
SevenIsland_TrainerTower_6F_EventScript_1646C8:: @ 81646C8
|
||||
SevenIsland_TrainerTower_8F_EventScript_1646C8:: @ 81646C8
|
||||
SevenIsland_TrainerTower_5F_EventScript_1646C8:: @ 81646C8
|
||||
SevenIsland_TrainerTower_7F_EventScript_1646C8:: @ 81646C8
|
||||
SevenIsland_TrainerTower_3F_EventScript_1646C8:: @ 81646C8
|
||||
SevenIsland_TrainerTower_1F_EventScript_1646C8:: @ 81646C8
|
||||
call EventScript_1C52F4
|
||||
end
|
||||
|
||||
SevenIsland_TrainerTower_2F_EventScript_1646CE:: @ 81646CE
|
||||
SevenIsland_TrainerTower_4F_EventScript_1646CE:: @ 81646CE
|
||||
SevenIsland_TrainerTower_6F_EventScript_1646CE:: @ 81646CE
|
||||
SevenIsland_TrainerTower_8F_EventScript_1646CE:: @ 81646CE
|
||||
SevenIsland_TrainerTower_5F_EventScript_1646CE:: @ 81646CE
|
||||
SevenIsland_TrainerTower_7F_EventScript_1646CE:: @ 81646CE
|
||||
SevenIsland_TrainerTower_3F_EventScript_1646CE:: @ 81646CE
|
||||
SevenIsland_TrainerTower_1F_EventScript_1646CE:: @ 81646CE
|
||||
call EventScript_1C533B
|
||||
end
|
||||
|
||||
SevenIsland_TrainerTower_2F_EventScript_1646D4:: @ 81646D4
|
||||
SevenIsland_TrainerTower_4F_EventScript_1646D4:: @ 81646D4
|
||||
SevenIsland_TrainerTower_6F_EventScript_1646D4:: @ 81646D4
|
||||
SevenIsland_TrainerTower_8F_EventScript_1646D4:: @ 81646D4
|
||||
SevenIsland_TrainerTower_5F_EventScript_1646D4:: @ 81646D4
|
||||
SevenIsland_TrainerTower_7F_EventScript_1646D4:: @ 81646D4
|
||||
SevenIsland_TrainerTower_3F_EventScript_1646D4:: @ 81646D4
|
||||
SevenIsland_TrainerTower_1F_EventScript_1646D4:: @ 81646D4
|
||||
call EventScript_1C5382
|
||||
end
|
||||
|
||||
SevenIsland_TrainerTower_2F_EventScript_1646DA:: @ 81646DA
|
||||
SevenIsland_TrainerTower_4F_EventScript_1646DA:: @ 81646DA
|
||||
SevenIsland_TrainerTower_6F_EventScript_1646DA:: @ 81646DA
|
||||
SevenIsland_TrainerTower_8F_EventScript_1646DA:: @ 81646DA
|
||||
SevenIsland_TrainerTower_5F_EventScript_1646DA:: @ 81646DA
|
||||
SevenIsland_TrainerTower_7F_EventScript_1646DA:: @ 81646DA
|
||||
SevenIsland_TrainerTower_3F_EventScript_1646DA:: @ 81646DA
|
||||
SevenIsland_TrainerTower_1F_EventScript_1646DA:: @ 81646DA
|
||||
call EventScript_1C538C
|
||||
end
|
||||
|
||||
SevenIsland_TrainerTower_2F_EventScript_1646E0:: @ 81646E0
|
||||
SevenIsland_TrainerTower_4F_EventScript_1646E0:: @ 81646E0
|
||||
SevenIsland_TrainerTower_6F_EventScript_1646E0:: @ 81646E0
|
||||
SevenIsland_TrainerTower_8F_EventScript_1646E0:: @ 81646E0
|
||||
SevenIsland_TrainerTower_7F_EventScript_1646E0:: @ 81646E0
|
||||
SevenIsland_TrainerTower_Roof_EventScript_1646E0:: @ 81646E0
|
||||
SevenIsland_TrainerTower_5F_EventScript_1646E0:: @ 81646E0
|
||||
SevenIsland_TrainerTower_3F_EventScript_1646E0:: @ 81646E0
|
||||
call EventScript_1C53AA
|
||||
end
|
||||
@@ -1,25 +0,0 @@
|
||||
SevenIsland_TrainerTower_2F_MapScripts:: @ 81646E6
|
||||
map_script MAP_SCRIPT_ON_RESUME, SevenIsland_TrainerTower_2F_MapScript1_1C4F54
|
||||
map_script MAP_SCRIPT_ON_TRANSITION, SevenIsland_TrainerTower_2F_MapScript2_1C4F62
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, SevenIsland_TrainerTower_2F_MapScript3_1C5046
|
||||
.byte 0
|
||||
|
||||
SevenIsland_TrainerTower_2F_EventScript_1646F6:: @ 81646F6
|
||||
call EventScript_1C52F4
|
||||
end
|
||||
|
||||
EventScript_1646FC:: @ 81646FC
|
||||
call EventScript_1C533B
|
||||
end
|
||||
|
||||
EventScript_164702:: @ 8164702
|
||||
call EventScript_1C5382
|
||||
end
|
||||
|
||||
EventScript_164708:: @ 8164708
|
||||
call EventScript_1C538C
|
||||
end
|
||||
|
||||
EventScript_16470E:: @ 816470E
|
||||
call EventScript_1C53AA
|
||||
end
|
||||
@@ -1,25 +0,0 @@
|
||||
SevenIsland_TrainerTower_3F_MapScripts:: @ 8164714
|
||||
map_script MAP_SCRIPT_ON_RESUME, SevenIsland_TrainerTower_3F_MapScript1_1C4F54
|
||||
map_script MAP_SCRIPT_ON_TRANSITION, SevenIsland_TrainerTower_3F_MapScript2_1C4F62
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, SevenIsland_TrainerTower_3F_MapScript3_1C5046
|
||||
.byte 0
|
||||
|
||||
SevenIsland_TrainerTower_3F_EventScript_164724:: @ 8164724
|
||||
call EventScript_1C52F4
|
||||
end
|
||||
|
||||
EventScript_16472A:: @ 816472A
|
||||
call EventScript_1C533B
|
||||
end
|
||||
|
||||
EventScript_164730:: @ 8164730
|
||||
call EventScript_1C5382
|
||||
end
|
||||
|
||||
EventScript_164736:: @ 8164736
|
||||
call EventScript_1C538C
|
||||
end
|
||||
|
||||
EventScript_16473C:: @ 816473C
|
||||
call EventScript_1C53AA
|
||||
end
|
||||
@@ -1,25 +0,0 @@
|
||||
SevenIsland_TrainerTower_4F_MapScripts:: @ 8164742
|
||||
map_script MAP_SCRIPT_ON_RESUME, SevenIsland_TrainerTower_4F_MapScript1_1C4F54
|
||||
map_script MAP_SCRIPT_ON_TRANSITION, SevenIsland_TrainerTower_4F_MapScript2_1C4F62
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, SevenIsland_TrainerTower_4F_MapScript3_1C5046
|
||||
.byte 0
|
||||
|
||||
SevenIsland_TrainerTower_4F_EventScript_164752:: @ 8164752
|
||||
call EventScript_1C52F4
|
||||
end
|
||||
|
||||
EventScript_164758:: @ 8164758
|
||||
call EventScript_1C533B
|
||||
end
|
||||
|
||||
EventScript_16475E:: @ 816475E
|
||||
call EventScript_1C5382
|
||||
end
|
||||
|
||||
EventScript_164764:: @ 8164764
|
||||
call EventScript_1C538C
|
||||
end
|
||||
|
||||
EventScript_16476A:: @ 816476A
|
||||
call EventScript_1C53AA
|
||||
end
|
||||
@@ -1,25 +0,0 @@
|
||||
SevenIsland_TrainerTower_5F_MapScripts:: @ 8164770
|
||||
map_script MAP_SCRIPT_ON_RESUME, SevenIsland_TrainerTower_5F_MapScript1_1C4F54
|
||||
map_script MAP_SCRIPT_ON_TRANSITION, SevenIsland_TrainerTower_5F_MapScript2_1C4F62
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, SevenIsland_TrainerTower_5F_MapScript3_1C5046
|
||||
.byte 0
|
||||
|
||||
SevenIsland_TrainerTower_5F_EventScript_164780:: @ 8164780
|
||||
call EventScript_1C52F4
|
||||
end
|
||||
|
||||
EventScript_164786:: @ 8164786
|
||||
call EventScript_1C533B
|
||||
end
|
||||
|
||||
EventScript_16478C:: @ 816478C
|
||||
call EventScript_1C5382
|
||||
end
|
||||
|
||||
EventScript_164792:: @ 8164792
|
||||
call EventScript_1C538C
|
||||
end
|
||||
|
||||
EventScript_164798:: @ 8164798
|
||||
call EventScript_1C53AA
|
||||
end
|
||||
@@ -1,135 +0,0 @@
|
||||
{
|
||||
"id": "MAP_SEVEN_ISLAND_TRAINER_TOWER_6F",
|
||||
"name": "SevenIsland_TrainerTower_6F",
|
||||
"layout": "LAYOUT_SEVEN_ISLAND_TRAINER_TOWER_6F",
|
||||
"music": "MUS_T_TOWER",
|
||||
"region_map_section": "MAPSEC_TRAINER_TOWER_2",
|
||||
"requires_flash": false,
|
||||
"weather": "WEATHER_NONE",
|
||||
"map_type": "MAP_TYPE_8",
|
||||
"unknown_18": 0,
|
||||
"unknown_19": 2,
|
||||
"elevator_flag": 0,
|
||||
"battle_scene": "BATTLE_SCENE_0",
|
||||
"connections": null,
|
||||
"object_events": [
|
||||
{
|
||||
"graphics_id": "OBJECT_EVENT_GFX_TRAINER_TOWER_DUDE",
|
||||
"x": 9,
|
||||
"y": 7,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "SevenIsland_TrainerTower_6F_EventScript_1646E0",
|
||||
"flag": "FLAG_TEMP_6"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJECT_EVENT_GFX_VAR_0",
|
||||
"x": 10,
|
||||
"y": 10,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "SevenIsland_TrainerTower_6F_EventScript_1646C8",
|
||||
"flag": "FLAG_TEMP_2"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJECT_EVENT_GFX_VAR_1",
|
||||
"x": 15,
|
||||
"y": 13,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "SevenIsland_TrainerTower_6F_EventScript_1646CE",
|
||||
"flag": "FLAG_TEMP_3"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJECT_EVENT_GFX_VAR_2",
|
||||
"x": 10,
|
||||
"y": 16,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_UP",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "SevenIsland_TrainerTower_6F_EventScript_1646D4",
|
||||
"flag": "FLAG_TEMP_4"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJECT_EVENT_GFX_VAR_3",
|
||||
"x": 11,
|
||||
"y": 10,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "SevenIsland_TrainerTower_6F_EventScript_1646DA",
|
||||
"flag": "FLAG_TEMP_5"
|
||||
}
|
||||
],
|
||||
"warp_events": [
|
||||
{
|
||||
"x": 15,
|
||||
"y": 6,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_SEVEN_ISLAND_TRAINER_TOWER_7F",
|
||||
"dest_warp_id": 1
|
||||
},
|
||||
{
|
||||
"x": 4,
|
||||
"y": 6,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_SEVEN_ISLAND_TRAINER_TOWER_5F",
|
||||
"dest_warp_id": 0
|
||||
},
|
||||
{
|
||||
"x": 13,
|
||||
"y": 5,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_SEVEN_ISLAND_TRAINER_TOWER_ELEVATOR",
|
||||
"dest_warp_id": 0
|
||||
}
|
||||
],
|
||||
"coord_events": [
|
||||
{
|
||||
"type": "trigger",
|
||||
"x": 10,
|
||||
"y": 13,
|
||||
"elevation": 3,
|
||||
"var": "VAR_TEMP_E",
|
||||
"var_value": 0,
|
||||
"script": "SevenIsland_TrainerTower_6F_EventScript_1C54AF"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
"x": 9,
|
||||
"y": 12,
|
||||
"elevation": 3,
|
||||
"var": "VAR_TEMP_F",
|
||||
"var_value": 0,
|
||||
"script": "SevenIsland_TrainerTower_6F_EventScript_1C54B4"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
"x": 9,
|
||||
"y": 13,
|
||||
"elevation": 3,
|
||||
"var": "VAR_TEMP_F",
|
||||
"var_value": 0,
|
||||
"script": "SevenIsland_TrainerTower_6F_EventScript_1C54EA"
|
||||
}
|
||||
],
|
||||
"bg_events": []
|
||||
}
|
||||
@@ -1,25 +0,0 @@
|
||||
SevenIsland_TrainerTower_6F_MapScripts:: @ 816479E
|
||||
map_script MAP_SCRIPT_ON_RESUME, SevenIsland_TrainerTower_6F_MapScript1_1C4F54
|
||||
map_script MAP_SCRIPT_ON_TRANSITION, SevenIsland_TrainerTower_6F_MapScript2_1C4F62
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, SevenIsland_TrainerTower_6F_MapScript3_1C5046
|
||||
.byte 0
|
||||
|
||||
SevenIsland_TrainerTower_6F_EventScript_1647AE:: @ 81647AE
|
||||
call EventScript_1C52F4
|
||||
end
|
||||
|
||||
EventScript_1647B4:: @ 81647B4
|
||||
call EventScript_1C533B
|
||||
end
|
||||
|
||||
EventScript_1647BA:: @ 81647BA
|
||||
call EventScript_1C5382
|
||||
end
|
||||
|
||||
EventScript_1647C0:: @ 81647C0
|
||||
call EventScript_1C538C
|
||||
end
|
||||
|
||||
EventScript_1647C6:: @ 81647C6
|
||||
call EventScript_1C53AA
|
||||
end
|
||||
@@ -1,135 +0,0 @@
|
||||
{
|
||||
"id": "MAP_SEVEN_ISLAND_TRAINER_TOWER_7F",
|
||||
"name": "SevenIsland_TrainerTower_7F",
|
||||
"layout": "LAYOUT_SEVEN_ISLAND_TRAINER_TOWER_7F",
|
||||
"music": "MUS_T_TOWER",
|
||||
"region_map_section": "MAPSEC_TRAINER_TOWER_2",
|
||||
"requires_flash": false,
|
||||
"weather": "WEATHER_NONE",
|
||||
"map_type": "MAP_TYPE_8",
|
||||
"unknown_18": 0,
|
||||
"unknown_19": 2,
|
||||
"elevator_flag": 0,
|
||||
"battle_scene": "BATTLE_SCENE_0",
|
||||
"connections": null,
|
||||
"object_events": [
|
||||
{
|
||||
"graphics_id": "OBJECT_EVENT_GFX_TRAINER_TOWER_DUDE",
|
||||
"x": 9,
|
||||
"y": 7,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "SevenIsland_TrainerTower_7F_EventScript_1646E0",
|
||||
"flag": "FLAG_TEMP_6"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJECT_EVENT_GFX_VAR_0",
|
||||
"x": 10,
|
||||
"y": 10,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "SevenIsland_TrainerTower_7F_EventScript_1646C8",
|
||||
"flag": "FLAG_TEMP_2"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJECT_EVENT_GFX_VAR_1",
|
||||
"x": 15,
|
||||
"y": 13,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "SevenIsland_TrainerTower_7F_EventScript_1646CE",
|
||||
"flag": "FLAG_TEMP_3"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJECT_EVENT_GFX_VAR_2",
|
||||
"x": 10,
|
||||
"y": 16,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_UP",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "SevenIsland_TrainerTower_7F_EventScript_1646D4",
|
||||
"flag": "FLAG_TEMP_4"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJECT_EVENT_GFX_VAR_3",
|
||||
"x": 11,
|
||||
"y": 10,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "SevenIsland_TrainerTower_7F_EventScript_1646DA",
|
||||
"flag": "FLAG_TEMP_5"
|
||||
}
|
||||
],
|
||||
"warp_events": [
|
||||
{
|
||||
"x": 15,
|
||||
"y": 6,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_SEVEN_ISLAND_TRAINER_TOWER_8F",
|
||||
"dest_warp_id": 1
|
||||
},
|
||||
{
|
||||
"x": 4,
|
||||
"y": 6,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_SEVEN_ISLAND_TRAINER_TOWER_6F",
|
||||
"dest_warp_id": 0
|
||||
},
|
||||
{
|
||||
"x": 13,
|
||||
"y": 5,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_SEVEN_ISLAND_TRAINER_TOWER_ELEVATOR",
|
||||
"dest_warp_id": 0
|
||||
}
|
||||
],
|
||||
"coord_events": [
|
||||
{
|
||||
"type": "trigger",
|
||||
"x": 10,
|
||||
"y": 13,
|
||||
"elevation": 3,
|
||||
"var": "VAR_TEMP_E",
|
||||
"var_value": 0,
|
||||
"script": "SevenIsland_TrainerTower_7F_EventScript_1C54AF"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
"x": 9,
|
||||
"y": 12,
|
||||
"elevation": 3,
|
||||
"var": "VAR_TEMP_F",
|
||||
"var_value": 0,
|
||||
"script": "SevenIsland_TrainerTower_7F_EventScript_1C54B4"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
"x": 9,
|
||||
"y": 13,
|
||||
"elevation": 3,
|
||||
"var": "VAR_TEMP_F",
|
||||
"var_value": 0,
|
||||
"script": "SevenIsland_TrainerTower_7F_EventScript_1C54EA"
|
||||
}
|
||||
],
|
||||
"bg_events": []
|
||||
}
|
||||
@@ -1,25 +0,0 @@
|
||||
SevenIsland_TrainerTower_7F_MapScripts:: @ 81647CC
|
||||
map_script MAP_SCRIPT_ON_RESUME, SevenIsland_TrainerTower_7F_MapScript1_1C4F54
|
||||
map_script MAP_SCRIPT_ON_TRANSITION, SevenIsland_TrainerTower_7F_MapScript2_1C4F62
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, SevenIsland_TrainerTower_7F_MapScript3_1C5046
|
||||
.byte 0
|
||||
|
||||
SevenIsland_TrainerTower_7F_EventScript_1647DC:: @ 81647DC
|
||||
call EventScript_1C52F4
|
||||
end
|
||||
|
||||
EventScript_1647E2:: @ 81647E2
|
||||
call EventScript_1C533B
|
||||
end
|
||||
|
||||
EventScript_1647E8:: @ 81647E8
|
||||
call EventScript_1C5382
|
||||
end
|
||||
|
||||
EventScript_1647EE:: @ 81647EE
|
||||
call EventScript_1C538C
|
||||
end
|
||||
|
||||
EventScript_1647F4:: @ 81647F4
|
||||
call EventScript_1C53AA
|
||||
end
|
||||
@@ -1,135 +0,0 @@
|
||||
{
|
||||
"id": "MAP_SEVEN_ISLAND_TRAINER_TOWER_8F",
|
||||
"name": "SevenIsland_TrainerTower_8F",
|
||||
"layout": "LAYOUT_SEVEN_ISLAND_TRAINER_TOWER_8F",
|
||||
"music": "MUS_T_TOWER",
|
||||
"region_map_section": "MAPSEC_TRAINER_TOWER_2",
|
||||
"requires_flash": false,
|
||||
"weather": "WEATHER_NONE",
|
||||
"map_type": "MAP_TYPE_8",
|
||||
"unknown_18": 0,
|
||||
"unknown_19": 2,
|
||||
"elevator_flag": 0,
|
||||
"battle_scene": "BATTLE_SCENE_0",
|
||||
"connections": null,
|
||||
"object_events": [
|
||||
{
|
||||
"graphics_id": "OBJECT_EVENT_GFX_TRAINER_TOWER_DUDE",
|
||||
"x": 9,
|
||||
"y": 7,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "SevenIsland_TrainerTower_8F_EventScript_1646E0",
|
||||
"flag": "FLAG_TEMP_6"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJECT_EVENT_GFX_VAR_0",
|
||||
"x": 10,
|
||||
"y": 10,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "SevenIsland_TrainerTower_8F_EventScript_1646C8",
|
||||
"flag": "FLAG_TEMP_2"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJECT_EVENT_GFX_VAR_1",
|
||||
"x": 15,
|
||||
"y": 13,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "SevenIsland_TrainerTower_8F_EventScript_1646CE",
|
||||
"flag": "FLAG_TEMP_3"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJECT_EVENT_GFX_VAR_2",
|
||||
"x": 10,
|
||||
"y": 16,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_UP",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "SevenIsland_TrainerTower_8F_EventScript_1646D4",
|
||||
"flag": "FLAG_TEMP_4"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJECT_EVENT_GFX_VAR_3",
|
||||
"x": 11,
|
||||
"y": 10,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "SevenIsland_TrainerTower_8F_EventScript_1646DA",
|
||||
"flag": "FLAG_TEMP_5"
|
||||
}
|
||||
],
|
||||
"warp_events": [
|
||||
{
|
||||
"x": 15,
|
||||
"y": 6,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_SEVEN_ISLAND_TRAINER_TOWER_ROOF",
|
||||
"dest_warp_id": 1
|
||||
},
|
||||
{
|
||||
"x": 4,
|
||||
"y": 6,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_SEVEN_ISLAND_TRAINER_TOWER_7F",
|
||||
"dest_warp_id": 0
|
||||
},
|
||||
{
|
||||
"x": 13,
|
||||
"y": 5,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_SEVEN_ISLAND_TRAINER_TOWER_ELEVATOR",
|
||||
"dest_warp_id": 0
|
||||
}
|
||||
],
|
||||
"coord_events": [
|
||||
{
|
||||
"type": "trigger",
|
||||
"x": 10,
|
||||
"y": 13,
|
||||
"elevation": 3,
|
||||
"var": "VAR_TEMP_E",
|
||||
"var_value": 0,
|
||||
"script": "SevenIsland_TrainerTower_8F_EventScript_1C54AF"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
"x": 9,
|
||||
"y": 12,
|
||||
"elevation": 3,
|
||||
"var": "VAR_TEMP_F",
|
||||
"var_value": 0,
|
||||
"script": "SevenIsland_TrainerTower_8F_EventScript_1C54B4"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
"x": 9,
|
||||
"y": 13,
|
||||
"elevation": 3,
|
||||
"var": "VAR_TEMP_F",
|
||||
"var_value": 0,
|
||||
"script": "SevenIsland_TrainerTower_8F_EventScript_1C54EA"
|
||||
}
|
||||
],
|
||||
"bg_events": []
|
||||
}
|
||||
@@ -1,25 +0,0 @@
|
||||
SevenIsland_TrainerTower_8F_MapScripts:: @ 81647FA
|
||||
map_script MAP_SCRIPT_ON_RESUME, SevenIsland_TrainerTower_8F_MapScript1_1C4F54
|
||||
map_script MAP_SCRIPT_ON_TRANSITION, SevenIsland_TrainerTower_8F_MapScript2_1C4F62
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, SevenIsland_TrainerTower_8F_MapScript3_1C5046
|
||||
.byte 0
|
||||
|
||||
SevenIsland_TrainerTower_8F_EventScript_16480A:: @ 816480A
|
||||
call EventScript_1C52F4
|
||||
end
|
||||
|
||||
EventScript_164810:: @ 8164810
|
||||
call EventScript_1C533B
|
||||
end
|
||||
|
||||
EventScript_164816:: @ 8164816
|
||||
call EventScript_1C5382
|
||||
end
|
||||
|
||||
EventScript_16481C:: @ 816481C
|
||||
call EventScript_1C538C
|
||||
end
|
||||
|
||||
EventScript_164822:: @ 8164822
|
||||
call EventScript_1C53AA
|
||||
end
|
||||
@@ -1,80 +0,0 @@
|
||||
SevenIsland_TrainerTower_Elevator_MapScripts:: @ 8164AF8
|
||||
map_script MAP_SCRIPT_ON_RESUME, SevenIsland_TrainerTower_Elevator_MapScript1_1C4F54
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, SevenIsland_TrainerTower_Elevator_MapScript2_1C5046
|
||||
.byte 0
|
||||
|
||||
SevenIsland_TrainerTower_Elevator_EventScript_164B03:: @ 8164B03
|
||||
lockall
|
||||
setvar VAR_0x8004, 6
|
||||
call_if_unset FLAG_TEMP_2, EventScript_1A7AB9
|
||||
copyvar VAR_0x8005, VAR_ELEVATOR_FLOOR
|
||||
special Special_DrawElevatorCurrentFloorWindow
|
||||
message Text_WantWhichFloor
|
||||
waitmessage
|
||||
setvar VAR_0x8004, 6
|
||||
specialvar VAR_RESULT, Special_InitElevatorFloorSelectMenuPos
|
||||
switch VAR_RESULT
|
||||
case 0, EventScript_164B46
|
||||
case 1, EventScript_164B52
|
||||
end
|
||||
|
||||
EventScript_164B46:: @ 8164B46
|
||||
multichoicedefault 0, 0, MULTICHOICE_ROOFTOP_B1F, 0, FALSE
|
||||
goto EventScript_164B5E
|
||||
end
|
||||
|
||||
EventScript_164B52:: @ 8164B52
|
||||
multichoicedefault 0, 0, MULTICHOICE_ROOFTOP_B1F, 1, FALSE
|
||||
goto EventScript_164B5E
|
||||
end
|
||||
|
||||
EventScript_164B5E:: @ 8164B5E
|
||||
switch VAR_RESULT
|
||||
case 0, EventScript_164BCD
|
||||
case 1, EventScript_164B90
|
||||
case 2, EventScript_164BD3
|
||||
case 127, EventScript_164BD3
|
||||
end
|
||||
|
||||
EventScript_164B90:: @ 8164B90
|
||||
setvar VAR_0x8006, 3
|
||||
setdynamicwarp MAP_SEVEN_ISLAND_TRAINER_TOWER_LOBBY, 255, 17, 8
|
||||
compare VAR_ELEVATOR_FLOOR, 3
|
||||
goto_if_eq EventScript_164BD3
|
||||
call EventScript_164BD8
|
||||
setvar VAR_ELEVATOR_FLOOR, 3
|
||||
special Special_CloseElevatorCurrentFloorWindow
|
||||
delay 25
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Movement_164BE5
|
||||
waitmovement 0
|
||||
warp MAP_SEVEN_ISLAND_TRAINER_TOWER_LOBBY, 255, 17, 8
|
||||
waitstate
|
||||
releaseall
|
||||
end
|
||||
|
||||
EventScript_164BCD:: @ 8164BCD
|
||||
goto EventScript_164BD3
|
||||
end
|
||||
|
||||
EventScript_164BD3:: @ 8164BD3
|
||||
special Special_CloseElevatorCurrentFloorWindow
|
||||
releaseall
|
||||
end
|
||||
|
||||
EventScript_164BD8:: @ 8164BD8
|
||||
special Special_CloseElevatorCurrentFloorWindow
|
||||
closemessage
|
||||
waitse
|
||||
special Special_AnimateElevator
|
||||
waitstate
|
||||
setflag FLAG_TEMP_2
|
||||
return
|
||||
|
||||
Movement_164BE5:: @ 8164BE5
|
||||
walk_in_place_fastest_down
|
||||
delay_16
|
||||
walk_down
|
||||
walk_right
|
||||
walk_right
|
||||
walk_down
|
||||
step_end
|
||||
@@ -1,235 +0,0 @@
|
||||
SevenIsland_TrainerTower_Lobby_MapScripts:: @ 8164839
|
||||
map_script MAP_SCRIPT_ON_RESUME, SevenIsland_TrainerTower_Lobby_OnResume
|
||||
map_script MAP_SCRIPT_ON_RETURN_TO_FIELD, SevenIsland_TrainerTower_Lobby_OnReturnToField
|
||||
map_script MAP_SCRIPT_ON_TRANSITION, SevenIsland_TrainerTower_Lobby_OnTransition
|
||||
map_script MAP_SCRIPT_ON_LOAD, SevenIsland_TrainerTower_Lobby_OnLoad
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, SevenIsland_TrainerTower_Lobby_OnFrame
|
||||
.byte 0
|
||||
|
||||
SevenIsland_TrainerTower_Lobby_OnResume:: @ 8164853
|
||||
setvar VAR_TEMP_2, 0
|
||||
setvar VAR_0x8004, 10
|
||||
special sub_815D9E8
|
||||
setvar VAR_0x8004, 18
|
||||
special sub_815D9E8
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq EventScript_164886
|
||||
setvar VAR_TEMP_0, 0
|
||||
setobjectxy OBJ_EVENT_ID_PLAYER, 9, 7
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Movement_164AD4
|
||||
|
||||
EventScript_164886:: @ 8164886
|
||||
end
|
||||
|
||||
SevenIsland_TrainerTower_Lobby_OnReturnToField:: @ 8164887
|
||||
addobject 1
|
||||
addobject 2
|
||||
addobject 3
|
||||
addobject 4
|
||||
addobject 5
|
||||
end
|
||||
|
||||
SevenIsland_TrainerTower_Lobby_OnLoad:: @ 8164897
|
||||
compare VAR_TEMP_D, 17
|
||||
call_if_eq EventScript_1648A3
|
||||
end
|
||||
|
||||
EventScript_1648A3:: @ 81648A3
|
||||
setmetatile 17, 10, 647, 0
|
||||
return
|
||||
|
||||
SevenIsland_TrainerTower_Lobby_OnTransition:: @ 81648AD
|
||||
setworldmapflag FLAG_WORLD_MAP_SEVEN_ISLAND_TRAINER_TOWER_LOBBY
|
||||
getplayerxy VAR_TEMP_D, VAR_RESULT
|
||||
end
|
||||
|
||||
SevenIsland_TrainerTower_Lobby_OnFrame:: @ 81648B6
|
||||
map_script_2 VAR_TEMP_0, 0, EventScript_1648ED
|
||||
map_script_2 VAR_TEMP_D, 0x11, EventScript_1648C8
|
||||
.2byte 0
|
||||
|
||||
EventScript_1648C8:: @ 81648C8
|
||||
lockall
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Movement_1648EA
|
||||
waitmovement 0
|
||||
setmetatile 17, 10, 692, 1
|
||||
special DrawWholeMapView
|
||||
playse SE_TK_KASYA
|
||||
waitse
|
||||
setvar VAR_TEMP_D, 0
|
||||
releaseall
|
||||
end
|
||||
|
||||
Movement_1648EA:: @ 81648EA
|
||||
walk_down
|
||||
walk_down
|
||||
step_end
|
||||
|
||||
EventScript_1648ED:: @ 81648ED
|
||||
setvar VAR_TEMP_0, 1
|
||||
setvar VAR_0x8004, 12
|
||||
special sub_815D9E8
|
||||
switch VAR_RESULT
|
||||
case 0, EventScript_164920
|
||||
case 1, EventScript_164938
|
||||
case 2, EventScript_16495C
|
||||
|
||||
EventScript_164920:: @ 8164920
|
||||
lock
|
||||
faceplayer
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Movement_164AD4
|
||||
textcolor 1
|
||||
msgbox gUnknown_817C937
|
||||
goto EventScript_16494B
|
||||
|
||||
EventScript_164938:: @ 8164938
|
||||
lock
|
||||
faceplayer
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Movement_164AD4
|
||||
textcolor 1
|
||||
msgbox gUnknown_817C9C0
|
||||
|
||||
EventScript_16494B:: @ 816494B
|
||||
closemessage
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Movement_164AD6
|
||||
waitmovement 0
|
||||
setvar VAR_MAP_SCENE_TRAINER_TOWER, 0
|
||||
release
|
||||
|
||||
EventScript_16495C:: @ 816495C
|
||||
end
|
||||
|
||||
SevenIsland_TrainerTower_Lobby_EventScript_16495D:: @ 816495D
|
||||
lock
|
||||
faceplayer
|
||||
call EventScript_PkmnCenterNurse
|
||||
release
|
||||
end
|
||||
|
||||
SevenIsland_TrainerTower_Lobby_EventScript_164966:: @ 8164966
|
||||
lock
|
||||
faceplayer
|
||||
setvar VAR_0x8004, 20
|
||||
special sub_815D9E8
|
||||
compare VAR_RESULT, 1
|
||||
goto_if_eq EventScript_164988
|
||||
msgbox gUnknown_817C9A2
|
||||
goto EventScript_164990
|
||||
|
||||
EventScript_164988:: @ 8164988
|
||||
msgbox gUnknown_817CE1F
|
||||
|
||||
EventScript_164990:: @ 8164990
|
||||
release
|
||||
end
|
||||
|
||||
SevenIsland_TrainerTower_Lobby_EventScript_164992:: @ 8164992
|
||||
goto_if_questlog EventScript_ReleaseEnd
|
||||
lock
|
||||
faceplayer
|
||||
message Text_MayIHelpYou
|
||||
waitmessage
|
||||
pokemart Items_1649B8
|
||||
msgbox Text_PleaseComeAgain
|
||||
release
|
||||
end
|
||||
|
||||
.align 2
|
||||
Items_1649B8:: @ 81649B8
|
||||
.2byte ITEM_ULTRA_BALL
|
||||
.2byte ITEM_GREAT_BALL
|
||||
.2byte ITEM_FULL_RESTORE
|
||||
.2byte ITEM_MAX_POTION
|
||||
.2byte ITEM_HYPER_POTION
|
||||
.2byte ITEM_REVIVE
|
||||
.2byte ITEM_FULL_HEAL
|
||||
.2byte ITEM_ESCAPE_ROPE
|
||||
.2byte ITEM_MAX_REPEL
|
||||
.2byte ITEM_NONE
|
||||
release
|
||||
end
|
||||
|
||||
SevenIsland_TrainerTower_Lobby_EventScript_1649CE:: @ 81649CE
|
||||
lockall
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Movement_164AD4
|
||||
textcolor 1
|
||||
msgbox gUnknown_817C794
|
||||
setvar VAR_0x8004, 17
|
||||
special sub_815D9E8
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq EventScript_164A00
|
||||
msgbox gUnknown_817C7D9
|
||||
goto EventScript_164A08
|
||||
|
||||
EventScript_164A00:: @ 8164A00
|
||||
msgbox gUnknown_817C850
|
||||
|
||||
EventScript_164A08:: @ 8164A08
|
||||
message Text_17C88D
|
||||
waitmessage
|
||||
multichoice 18, 6, MULTICHOICE_YES_NO_INFO, FALSE
|
||||
switch VAR_RESULT
|
||||
case 0, EventScript_164A53
|
||||
case 1, EventScript_164ABF
|
||||
case 2, EventScript_164A45
|
||||
case 127, EventScript_164ABF
|
||||
end
|
||||
|
||||
EventScript_164A45:: @ 8164A45
|
||||
msgbox gUnknown_817CCC9
|
||||
goto EventScript_164A08
|
||||
end
|
||||
|
||||
EventScript_164A53:: @ 8164A53
|
||||
multichoice 13, 3, MULTICHOICE_TRAINER_TOWER_MODE, FALSE
|
||||
switch VAR_RESULT
|
||||
case 0, EventScript_164AA0
|
||||
case 1, EventScript_164AA0
|
||||
case 2, EventScript_164AA0
|
||||
case 3, EventScript_164AA0
|
||||
case 4, EventScript_164ABF
|
||||
case 127, EventScript_164ABF
|
||||
end
|
||||
|
||||
EventScript_164AA0:: @ 8164AA0
|
||||
copyvar VAR_0x8005, VAR_RESULT
|
||||
setvar VAR_MAP_SCENE_TRAINER_TOWER, 1
|
||||
special HealPlayerParty
|
||||
msgbox gUnknown_817C8BF
|
||||
setvar VAR_0x8004, 6
|
||||
special sub_815D9E8
|
||||
releaseall
|
||||
end
|
||||
|
||||
EventScript_164ABF:: @ 8164ABF
|
||||
msgbox gUnknown_817C91D
|
||||
closemessage
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Movement_164AD6
|
||||
waitmovement 0
|
||||
releaseall
|
||||
end
|
||||
|
||||
Movement_164AD4:: @ 8164AD4
|
||||
face_right
|
||||
step_end
|
||||
|
||||
Movement_164AD6:: @ 8164AD6
|
||||
walk_down
|
||||
step_end
|
||||
|
||||
SevenIsland_TrainerTower_Lobby_EventScript_164AD8:: @ 8164AD8
|
||||
lockall
|
||||
fadescreen FADE_TO_BLACK
|
||||
setvar VAR_0x8004, 1
|
||||
special Special_BattleRecords
|
||||
waitstate
|
||||
releaseall
|
||||
end
|
||||
|
||||
SevenIsland_TrainerTower_Lobby_EventScript_164AE6:: @ 8164AE6
|
||||
msgbox gUnknown_817CE38, MSGBOX_NPC
|
||||
end
|
||||
|
||||
SevenIsland_TrainerTower_Lobby_EventScript_164AEF:: @ 8164AEF
|
||||
msgbox gUnknown_817CE9F, MSGBOX_NPC
|
||||
end
|
||||
@@ -1,8 +0,0 @@
|
||||
SevenIsland_TrainerTower_Roof_MapScripts:: @ 8164828
|
||||
map_script MAP_SCRIPT_ON_RESUME, SevenIsland_TrainerTower_Roof_MapScript1_1C4F54
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, SevenIsland_TrainerTower_Roof_MapScript2_1C5046
|
||||
.byte 0
|
||||
|
||||
SevenIsland_TrainerTower_Roof_EventScript_164833:: @ 8164833
|
||||
call EventScript_1C53AA
|
||||
end
|
||||
@@ -4,7 +4,7 @@ SilphCo_Elevator_MapScripts:: @ 8161F6E
|
||||
SilphCo_Elevator_EventScript_161F6F:: @ 8161F6F
|
||||
lockall
|
||||
setvar VAR_0x8004, 1
|
||||
call_if_unset FLAG_TEMP_2, EventScript_1A7AB9
|
||||
call_if_unset FLAG_TEMP_2, EventScript_GetElevatorFloor
|
||||
copyvar VAR_0x8005, VAR_ELEVATOR_FLOOR
|
||||
special Special_DrawElevatorCurrentFloorWindow
|
||||
message Text_WantWhichFloor
|
||||
|
||||
+12
-12
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "MAP_SEVEN_ISLAND_TRAINER_TOWER_1F",
|
||||
"name": "SevenIsland_TrainerTower_1F",
|
||||
"layout": "LAYOUT_SEVEN_ISLAND_TRAINER_TOWER_1F",
|
||||
"id": "MAP_TRAINER_TOWER_1F",
|
||||
"name": "TrainerTower_1F",
|
||||
"layout": "LAYOUT_TRAINER_TOWER_1F",
|
||||
"music": "MUS_T_TOWER",
|
||||
"region_map_section": "MAPSEC_TRAINER_TOWER_2",
|
||||
"requires_flash": false,
|
||||
@@ -36,7 +36,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "SevenIsland_TrainerTower_1F_EventScript_1646C8",
|
||||
"script": "TrainerTower_EventScript_DoublesTrainer1",
|
||||
"flag": "FLAG_TEMP_2"
|
||||
},
|
||||
{
|
||||
@@ -49,7 +49,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "SevenIsland_TrainerTower_1F_EventScript_1646CE",
|
||||
"script": "TrainerTower_EventScript_SinglesTrainer",
|
||||
"flag": "FLAG_TEMP_3"
|
||||
},
|
||||
{
|
||||
@@ -62,7 +62,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "SevenIsland_TrainerTower_1F_EventScript_1646D4",
|
||||
"script": "TrainerTower_EventScript_KnockoutTrainer",
|
||||
"flag": "FLAG_TEMP_4"
|
||||
},
|
||||
{
|
||||
@@ -75,7 +75,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "SevenIsland_TrainerTower_1F_EventScript_1646DA",
|
||||
"script": "TrainerTower_EventScript_DoublesTrainer2",
|
||||
"flag": "FLAG_TEMP_5"
|
||||
}
|
||||
],
|
||||
@@ -84,14 +84,14 @@
|
||||
"x": 15,
|
||||
"y": 6,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_SEVEN_ISLAND_TRAINER_TOWER_2F",
|
||||
"dest_map": "MAP_TRAINER_TOWER_2F",
|
||||
"dest_warp_id": 1
|
||||
},
|
||||
{
|
||||
"x": 4,
|
||||
"y": 6,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_SEVEN_ISLAND_TRAINER_TOWER_LOBBY",
|
||||
"dest_map": "MAP_TRAINER_TOWER_LOBBY",
|
||||
"dest_warp_id": 0
|
||||
}
|
||||
],
|
||||
@@ -103,7 +103,7 @@
|
||||
"elevation": 3,
|
||||
"var": "VAR_TEMP_E",
|
||||
"var_value": 0,
|
||||
"script": "SevenIsland_TrainerTower_1F_EventScript_1C54AF"
|
||||
"script": "TrainerTower_EventScript_SingleBattleTrigger"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
@@ -112,7 +112,7 @@
|
||||
"elevation": 0,
|
||||
"var": "VAR_TEMP_F",
|
||||
"var_value": 0,
|
||||
"script": "SevenIsland_TrainerTower_1F_EventScript_1C54B4"
|
||||
"script": "TrainerTower_EventScript_DoubleBattleTriggerTop"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
@@ -121,7 +121,7 @@
|
||||
"elevation": 3,
|
||||
"var": "VAR_TEMP_F",
|
||||
"var_value": 0,
|
||||
"script": "SevenIsland_TrainerTower_1F_EventScript_1C54EA"
|
||||
"script": "TrainerTower_EventScript_DoubleBattleTriggerBottom"
|
||||
}
|
||||
],
|
||||
"bg_events": []
|
||||
@@ -0,0 +1,27 @@
|
||||
TrainerTower_1F_MapScripts:: @ 81646B8
|
||||
map_script MAP_SCRIPT_ON_RESUME, TrainerTower_OnResume
|
||||
map_script MAP_SCRIPT_ON_TRANSITION, TrainerTower_OnTransition
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, TrainerTower_OnFrame
|
||||
.byte 0
|
||||
|
||||
@ All Trainer Tower floors/roof share these scripts for their object events
|
||||
|
||||
TrainerTower_EventScript_DoublesTrainer1:: @ 81646C8
|
||||
call TrainerTower_EventScript_SpeakToDoublesTrainer1
|
||||
end
|
||||
|
||||
TrainerTower_EventScript_SinglesTrainer:: @ 81646CE
|
||||
call TrainerTower_EventScript_SpeakToSinglesTrainer
|
||||
end
|
||||
|
||||
TrainerTower_EventScript_KnockoutTrainer:: @ 81646D4
|
||||
call TrainerTower_EventScript_SpeakToKnockoutTrainer
|
||||
end
|
||||
|
||||
TrainerTower_EventScript_DoublesTrainer2:: @ 81646DA
|
||||
call TrainerTower_EventScript_SpeakToDoublesTrainer2
|
||||
end
|
||||
|
||||
TrainerTower_EventScript_Owner:: @ 81646E0
|
||||
call TrainerTower_EventScript_SpeakToOwner
|
||||
end
|
||||
+14
-14
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "MAP_SEVEN_ISLAND_TRAINER_TOWER_5F",
|
||||
"name": "SevenIsland_TrainerTower_5F",
|
||||
"layout": "LAYOUT_SEVEN_ISLAND_TRAINER_TOWER_5F",
|
||||
"id": "MAP_TRAINER_TOWER_2F",
|
||||
"name": "TrainerTower_2F",
|
||||
"layout": "LAYOUT_TRAINER_TOWER_2F",
|
||||
"music": "MUS_T_TOWER",
|
||||
"region_map_section": "MAPSEC_TRAINER_TOWER_2",
|
||||
"requires_flash": false,
|
||||
@@ -23,7 +23,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "SevenIsland_TrainerTower_5F_EventScript_1646E0",
|
||||
"script": "TrainerTower_EventScript_Owner",
|
||||
"flag": "FLAG_TEMP_6"
|
||||
},
|
||||
{
|
||||
@@ -36,7 +36,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "SevenIsland_TrainerTower_5F_EventScript_1646C8",
|
||||
"script": "TrainerTower_EventScript_DoublesTrainer1",
|
||||
"flag": "FLAG_TEMP_2"
|
||||
},
|
||||
{
|
||||
@@ -49,7 +49,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "SevenIsland_TrainerTower_5F_EventScript_1646CE",
|
||||
"script": "TrainerTower_EventScript_SinglesTrainer",
|
||||
"flag": "FLAG_TEMP_3"
|
||||
},
|
||||
{
|
||||
@@ -62,7 +62,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "SevenIsland_TrainerTower_5F_EventScript_1646D4",
|
||||
"script": "TrainerTower_EventScript_KnockoutTrainer",
|
||||
"flag": "FLAG_TEMP_4"
|
||||
},
|
||||
{
|
||||
@@ -75,7 +75,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "SevenIsland_TrainerTower_5F_EventScript_1646DA",
|
||||
"script": "TrainerTower_EventScript_DoublesTrainer2",
|
||||
"flag": "FLAG_TEMP_5"
|
||||
}
|
||||
],
|
||||
@@ -84,21 +84,21 @@
|
||||
"x": 15,
|
||||
"y": 6,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_SEVEN_ISLAND_TRAINER_TOWER_6F",
|
||||
"dest_map": "MAP_TRAINER_TOWER_3F",
|
||||
"dest_warp_id": 1
|
||||
},
|
||||
{
|
||||
"x": 4,
|
||||
"y": 6,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_SEVEN_ISLAND_TRAINER_TOWER_4F",
|
||||
"dest_map": "MAP_TRAINER_TOWER_1F",
|
||||
"dest_warp_id": 0
|
||||
},
|
||||
{
|
||||
"x": 13,
|
||||
"y": 5,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_SEVEN_ISLAND_TRAINER_TOWER_ELEVATOR",
|
||||
"dest_map": "MAP_TRAINER_TOWER_ELEVATOR",
|
||||
"dest_warp_id": 0
|
||||
}
|
||||
],
|
||||
@@ -110,7 +110,7 @@
|
||||
"elevation": 3,
|
||||
"var": "VAR_TEMP_E",
|
||||
"var_value": 0,
|
||||
"script": "SevenIsland_TrainerTower_5F_EventScript_1C54AF"
|
||||
"script": "TrainerTower_EventScript_SingleBattleTrigger"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
@@ -119,7 +119,7 @@
|
||||
"elevation": 3,
|
||||
"var": "VAR_TEMP_F",
|
||||
"var_value": 0,
|
||||
"script": "SevenIsland_TrainerTower_5F_EventScript_1C54B4"
|
||||
"script": "TrainerTower_EventScript_DoubleBattleTriggerTop"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
@@ -128,7 +128,7 @@
|
||||
"elevation": 3,
|
||||
"var": "VAR_TEMP_F",
|
||||
"var_value": 0,
|
||||
"script": "SevenIsland_TrainerTower_5F_EventScript_1C54EA"
|
||||
"script": "TrainerTower_EventScript_DoubleBattleTriggerBottom"
|
||||
}
|
||||
],
|
||||
"bg_events": []
|
||||
@@ -0,0 +1,27 @@
|
||||
TrainerTower_2F_MapScripts:: @ 81646E6
|
||||
map_script MAP_SCRIPT_ON_RESUME, TrainerTower_OnResume
|
||||
map_script MAP_SCRIPT_ON_TRANSITION, TrainerTower_OnTransition
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, TrainerTower_OnFrame
|
||||
.byte 0
|
||||
|
||||
@ Below scripts are unused, the identical versions in the 1F script are used instead
|
||||
|
||||
TrainerTower_2F_EventScript_DoublesTrainer1:: @ 81646F6
|
||||
call TrainerTower_EventScript_SpeakToDoublesTrainer1
|
||||
end
|
||||
|
||||
TrainerTower_2F_EventScript_SinglesTrainer:: @ 81646FC
|
||||
call TrainerTower_EventScript_SpeakToSinglesTrainer
|
||||
end
|
||||
|
||||
TrainerTower_2F_EventScript_KnockoutTrainer:: @ 8164702
|
||||
call TrainerTower_EventScript_SpeakToKnockoutTrainer
|
||||
end
|
||||
|
||||
TrainerTower_2F_EventScript_DoublesTrainer2:: @ 8164708
|
||||
call TrainerTower_EventScript_SpeakToDoublesTrainer2
|
||||
end
|
||||
|
||||
TrainerTower_2F_EventScript_Owner:: @ 816470E
|
||||
call TrainerTower_EventScript_SpeakToOwner
|
||||
end
|
||||
+14
-14
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "MAP_SEVEN_ISLAND_TRAINER_TOWER_3F",
|
||||
"name": "SevenIsland_TrainerTower_3F",
|
||||
"layout": "LAYOUT_SEVEN_ISLAND_TRAINER_TOWER_3F",
|
||||
"id": "MAP_TRAINER_TOWER_3F",
|
||||
"name": "TrainerTower_3F",
|
||||
"layout": "LAYOUT_TRAINER_TOWER_3F",
|
||||
"music": "MUS_T_TOWER",
|
||||
"region_map_section": "MAPSEC_TRAINER_TOWER_2",
|
||||
"requires_flash": false,
|
||||
@@ -23,7 +23,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "SevenIsland_TrainerTower_3F_EventScript_1646E0",
|
||||
"script": "TrainerTower_EventScript_Owner",
|
||||
"flag": "FLAG_TEMP_6"
|
||||
},
|
||||
{
|
||||
@@ -36,7 +36,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "SevenIsland_TrainerTower_3F_EventScript_1646C8",
|
||||
"script": "TrainerTower_EventScript_DoublesTrainer1",
|
||||
"flag": "FLAG_TEMP_2"
|
||||
},
|
||||
{
|
||||
@@ -49,7 +49,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "SevenIsland_TrainerTower_3F_EventScript_1646CE",
|
||||
"script": "TrainerTower_EventScript_SinglesTrainer",
|
||||
"flag": "FLAG_TEMP_3"
|
||||
},
|
||||
{
|
||||
@@ -62,7 +62,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "SevenIsland_TrainerTower_3F_EventScript_1646D4",
|
||||
"script": "TrainerTower_EventScript_KnockoutTrainer",
|
||||
"flag": "FLAG_TEMP_4"
|
||||
},
|
||||
{
|
||||
@@ -75,7 +75,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "SevenIsland_TrainerTower_3F_EventScript_1646DA",
|
||||
"script": "TrainerTower_EventScript_DoublesTrainer2",
|
||||
"flag": "FLAG_TEMP_5"
|
||||
}
|
||||
],
|
||||
@@ -84,21 +84,21 @@
|
||||
"x": 15,
|
||||
"y": 6,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_SEVEN_ISLAND_TRAINER_TOWER_4F",
|
||||
"dest_map": "MAP_TRAINER_TOWER_4F",
|
||||
"dest_warp_id": 1
|
||||
},
|
||||
{
|
||||
"x": 4,
|
||||
"y": 6,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_SEVEN_ISLAND_TRAINER_TOWER_2F",
|
||||
"dest_map": "MAP_TRAINER_TOWER_2F",
|
||||
"dest_warp_id": 0
|
||||
},
|
||||
{
|
||||
"x": 13,
|
||||
"y": 5,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_SEVEN_ISLAND_TRAINER_TOWER_ELEVATOR",
|
||||
"dest_map": "MAP_TRAINER_TOWER_ELEVATOR",
|
||||
"dest_warp_id": 0
|
||||
}
|
||||
],
|
||||
@@ -110,7 +110,7 @@
|
||||
"elevation": 3,
|
||||
"var": "VAR_TEMP_E",
|
||||
"var_value": 0,
|
||||
"script": "SevenIsland_TrainerTower_3F_EventScript_1C54AF"
|
||||
"script": "TrainerTower_EventScript_SingleBattleTrigger"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
@@ -119,7 +119,7 @@
|
||||
"elevation": 3,
|
||||
"var": "VAR_TEMP_F",
|
||||
"var_value": 0,
|
||||
"script": "SevenIsland_TrainerTower_3F_EventScript_1C54B4"
|
||||
"script": "TrainerTower_EventScript_DoubleBattleTriggerTop"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
@@ -128,7 +128,7 @@
|
||||
"elevation": 3,
|
||||
"var": "VAR_TEMP_F",
|
||||
"var_value": 0,
|
||||
"script": "SevenIsland_TrainerTower_3F_EventScript_1C54EA"
|
||||
"script": "TrainerTower_EventScript_DoubleBattleTriggerBottom"
|
||||
}
|
||||
],
|
||||
"bg_events": []
|
||||
@@ -0,0 +1,27 @@
|
||||
TrainerTower_3F_MapScripts:: @ 8164714
|
||||
map_script MAP_SCRIPT_ON_RESUME, TrainerTower_OnResume
|
||||
map_script MAP_SCRIPT_ON_TRANSITION, TrainerTower_OnTransition
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, TrainerTower_OnFrame
|
||||
.byte 0
|
||||
|
||||
@ Below scripts are unused, the identical versions in the 1F script are used instead
|
||||
|
||||
TrainerTower_3F_EventScript_DoublesTrainer1:: @ 8164724
|
||||
call TrainerTower_EventScript_SpeakToDoublesTrainer1
|
||||
end
|
||||
|
||||
TrainerTower_3F_EventScript_SinglesTrainer:: @ 816472A
|
||||
call TrainerTower_EventScript_SpeakToSinglesTrainer
|
||||
end
|
||||
|
||||
TrainerTower_3F_EventScript_KnockoutTrainer:: @ 8164730
|
||||
call TrainerTower_EventScript_SpeakToKnockoutTrainer
|
||||
end
|
||||
|
||||
TrainerTower_3F_EventScript_DoublesTrainer2:: @ 8164736
|
||||
call TrainerTower_EventScript_SpeakToDoublesTrainer2
|
||||
end
|
||||
|
||||
TrainerTower_3F_EventScript_Owner:: @ 816473C
|
||||
call TrainerTower_EventScript_SpeakToOwner
|
||||
end
|
||||
+14
-14
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "MAP_SEVEN_ISLAND_TRAINER_TOWER_2F",
|
||||
"name": "SevenIsland_TrainerTower_2F",
|
||||
"layout": "LAYOUT_SEVEN_ISLAND_TRAINER_TOWER_2F",
|
||||
"id": "MAP_TRAINER_TOWER_4F",
|
||||
"name": "TrainerTower_4F",
|
||||
"layout": "LAYOUT_TRAINER_TOWER_4F",
|
||||
"music": "MUS_T_TOWER",
|
||||
"region_map_section": "MAPSEC_TRAINER_TOWER_2",
|
||||
"requires_flash": false,
|
||||
@@ -23,7 +23,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "SevenIsland_TrainerTower_2F_EventScript_1646E0",
|
||||
"script": "TrainerTower_EventScript_Owner",
|
||||
"flag": "FLAG_TEMP_6"
|
||||
},
|
||||
{
|
||||
@@ -36,7 +36,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "SevenIsland_TrainerTower_2F_EventScript_1646C8",
|
||||
"script": "TrainerTower_EventScript_DoublesTrainer1",
|
||||
"flag": "FLAG_TEMP_2"
|
||||
},
|
||||
{
|
||||
@@ -49,7 +49,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "SevenIsland_TrainerTower_2F_EventScript_1646CE",
|
||||
"script": "TrainerTower_EventScript_SinglesTrainer",
|
||||
"flag": "FLAG_TEMP_3"
|
||||
},
|
||||
{
|
||||
@@ -62,7 +62,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "SevenIsland_TrainerTower_2F_EventScript_1646D4",
|
||||
"script": "TrainerTower_EventScript_KnockoutTrainer",
|
||||
"flag": "FLAG_TEMP_4"
|
||||
},
|
||||
{
|
||||
@@ -75,7 +75,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "SevenIsland_TrainerTower_2F_EventScript_1646DA",
|
||||
"script": "TrainerTower_EventScript_DoublesTrainer2",
|
||||
"flag": "FLAG_TEMP_5"
|
||||
}
|
||||
],
|
||||
@@ -84,21 +84,21 @@
|
||||
"x": 15,
|
||||
"y": 6,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_SEVEN_ISLAND_TRAINER_TOWER_3F",
|
||||
"dest_map": "MAP_TRAINER_TOWER_5F",
|
||||
"dest_warp_id": 1
|
||||
},
|
||||
{
|
||||
"x": 4,
|
||||
"y": 6,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_SEVEN_ISLAND_TRAINER_TOWER_1F",
|
||||
"dest_map": "MAP_TRAINER_TOWER_3F",
|
||||
"dest_warp_id": 0
|
||||
},
|
||||
{
|
||||
"x": 13,
|
||||
"y": 5,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_SEVEN_ISLAND_TRAINER_TOWER_ELEVATOR",
|
||||
"dest_map": "MAP_TRAINER_TOWER_ELEVATOR",
|
||||
"dest_warp_id": 0
|
||||
}
|
||||
],
|
||||
@@ -110,7 +110,7 @@
|
||||
"elevation": 3,
|
||||
"var": "VAR_TEMP_E",
|
||||
"var_value": 0,
|
||||
"script": "SevenIsland_TrainerTower_2F_EventScript_1C54AF"
|
||||
"script": "TrainerTower_EventScript_SingleBattleTrigger"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
@@ -119,7 +119,7 @@
|
||||
"elevation": 3,
|
||||
"var": "VAR_TEMP_F",
|
||||
"var_value": 0,
|
||||
"script": "SevenIsland_TrainerTower_2F_EventScript_1C54B4"
|
||||
"script": "TrainerTower_EventScript_DoubleBattleTriggerTop"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
@@ -128,7 +128,7 @@
|
||||
"elevation": 3,
|
||||
"var": "VAR_TEMP_F",
|
||||
"var_value": 0,
|
||||
"script": "SevenIsland_TrainerTower_2F_EventScript_1C54EA"
|
||||
"script": "TrainerTower_EventScript_DoubleBattleTriggerBottom"
|
||||
}
|
||||
],
|
||||
"bg_events": []
|
||||
@@ -0,0 +1,27 @@
|
||||
TrainerTower_4F_MapScripts:: @ 8164742
|
||||
map_script MAP_SCRIPT_ON_RESUME, TrainerTower_OnResume
|
||||
map_script MAP_SCRIPT_ON_TRANSITION, TrainerTower_OnTransition
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, TrainerTower_OnFrame
|
||||
.byte 0
|
||||
|
||||
@ Below scripts are unused, the identical versions in the 1F script are used instead
|
||||
|
||||
TrainerTower_4F_EventScript_DoublesTrainer1:: @ 8164752
|
||||
call TrainerTower_EventScript_SpeakToDoublesTrainer1
|
||||
end
|
||||
|
||||
TrainerTower_4F_EventScript_SinglesTrainer:: @ 8164758
|
||||
call TrainerTower_EventScript_SpeakToSinglesTrainer
|
||||
end
|
||||
|
||||
TrainerTower_4F_EventScript_KnockoutTrainer:: @ 816475E
|
||||
call TrainerTower_EventScript_SpeakToKnockoutTrainer
|
||||
end
|
||||
|
||||
TrainerTower_4F_EventScript_DoublesTrainer2:: @ 8164764
|
||||
call TrainerTower_EventScript_SpeakToDoublesTrainer2
|
||||
end
|
||||
|
||||
TrainerTower_4F_EventScript_Owner:: @ 816476A
|
||||
call TrainerTower_EventScript_SpeakToOwner
|
||||
end
|
||||
+14
-14
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "MAP_SEVEN_ISLAND_TRAINER_TOWER_4F",
|
||||
"name": "SevenIsland_TrainerTower_4F",
|
||||
"layout": "LAYOUT_SEVEN_ISLAND_TRAINER_TOWER_4F",
|
||||
"id": "MAP_TRAINER_TOWER_5F",
|
||||
"name": "TrainerTower_5F",
|
||||
"layout": "LAYOUT_TRAINER_TOWER_5F",
|
||||
"music": "MUS_T_TOWER",
|
||||
"region_map_section": "MAPSEC_TRAINER_TOWER_2",
|
||||
"requires_flash": false,
|
||||
@@ -23,7 +23,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "SevenIsland_TrainerTower_4F_EventScript_1646E0",
|
||||
"script": "TrainerTower_EventScript_Owner",
|
||||
"flag": "FLAG_TEMP_6"
|
||||
},
|
||||
{
|
||||
@@ -36,7 +36,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "SevenIsland_TrainerTower_4F_EventScript_1646C8",
|
||||
"script": "TrainerTower_EventScript_DoublesTrainer1",
|
||||
"flag": "FLAG_TEMP_2"
|
||||
},
|
||||
{
|
||||
@@ -49,7 +49,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "SevenIsland_TrainerTower_4F_EventScript_1646CE",
|
||||
"script": "TrainerTower_EventScript_SinglesTrainer",
|
||||
"flag": "FLAG_TEMP_3"
|
||||
},
|
||||
{
|
||||
@@ -62,7 +62,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "SevenIsland_TrainerTower_4F_EventScript_1646D4",
|
||||
"script": "TrainerTower_EventScript_KnockoutTrainer",
|
||||
"flag": "FLAG_TEMP_4"
|
||||
},
|
||||
{
|
||||
@@ -75,7 +75,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "SevenIsland_TrainerTower_4F_EventScript_1646DA",
|
||||
"script": "TrainerTower_EventScript_DoublesTrainer2",
|
||||
"flag": "FLAG_TEMP_5"
|
||||
}
|
||||
],
|
||||
@@ -84,21 +84,21 @@
|
||||
"x": 15,
|
||||
"y": 6,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_SEVEN_ISLAND_TRAINER_TOWER_5F",
|
||||
"dest_map": "MAP_TRAINER_TOWER_6F",
|
||||
"dest_warp_id": 1
|
||||
},
|
||||
{
|
||||
"x": 4,
|
||||
"y": 6,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_SEVEN_ISLAND_TRAINER_TOWER_3F",
|
||||
"dest_map": "MAP_TRAINER_TOWER_4F",
|
||||
"dest_warp_id": 0
|
||||
},
|
||||
{
|
||||
"x": 13,
|
||||
"y": 5,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_SEVEN_ISLAND_TRAINER_TOWER_ELEVATOR",
|
||||
"dest_map": "MAP_TRAINER_TOWER_ELEVATOR",
|
||||
"dest_warp_id": 0
|
||||
}
|
||||
],
|
||||
@@ -110,7 +110,7 @@
|
||||
"elevation": 3,
|
||||
"var": "VAR_TEMP_E",
|
||||
"var_value": 0,
|
||||
"script": "SevenIsland_TrainerTower_4F_EventScript_1C54AF"
|
||||
"script": "TrainerTower_EventScript_SingleBattleTrigger"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
@@ -119,7 +119,7 @@
|
||||
"elevation": 3,
|
||||
"var": "VAR_TEMP_F",
|
||||
"var_value": 0,
|
||||
"script": "SevenIsland_TrainerTower_4F_EventScript_1C54B4"
|
||||
"script": "TrainerTower_EventScript_DoubleBattleTriggerTop"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
@@ -128,7 +128,7 @@
|
||||
"elevation": 3,
|
||||
"var": "VAR_TEMP_F",
|
||||
"var_value": 0,
|
||||
"script": "SevenIsland_TrainerTower_4F_EventScript_1C54EA"
|
||||
"script": "TrainerTower_EventScript_DoubleBattleTriggerBottom"
|
||||
}
|
||||
],
|
||||
"bg_events": []
|
||||
@@ -0,0 +1,27 @@
|
||||
TrainerTower_5F_MapScripts:: @ 8164770
|
||||
map_script MAP_SCRIPT_ON_RESUME, TrainerTower_OnResume
|
||||
map_script MAP_SCRIPT_ON_TRANSITION, TrainerTower_OnTransition
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, TrainerTower_OnFrame
|
||||
.byte 0
|
||||
|
||||
@ Below scripts are unused, the identical versions in the 1F script are used instead
|
||||
|
||||
TrainerTower_5F_EventScript_DoublesTrainer1:: @ 8164780
|
||||
call TrainerTower_EventScript_SpeakToDoublesTrainer1
|
||||
end
|
||||
|
||||
TrainerTower_5F_EventScript_SinglesTrainer:: @ 8164786
|
||||
call TrainerTower_EventScript_SpeakToSinglesTrainer
|
||||
end
|
||||
|
||||
TrainerTower_5F_EventScript_KnockoutTrainer:: @ 816478C
|
||||
call TrainerTower_EventScript_SpeakToKnockoutTrainer
|
||||
end
|
||||
|
||||
TrainerTower_5F_EventScript_DoublesTrainer2:: @ 8164792
|
||||
call TrainerTower_EventScript_SpeakToDoublesTrainer2
|
||||
end
|
||||
|
||||
TrainerTower_5F_EventScript_Owner:: @ 8164798
|
||||
call TrainerTower_EventScript_SpeakToOwner
|
||||
end
|
||||
@@ -0,0 +1,135 @@
|
||||
{
|
||||
"id": "MAP_TRAINER_TOWER_6F",
|
||||
"name": "TrainerTower_6F",
|
||||
"layout": "LAYOUT_TRAINER_TOWER_6F",
|
||||
"music": "MUS_T_TOWER",
|
||||
"region_map_section": "MAPSEC_TRAINER_TOWER_2",
|
||||
"requires_flash": false,
|
||||
"weather": "WEATHER_NONE",
|
||||
"map_type": "MAP_TYPE_8",
|
||||
"unknown_18": 0,
|
||||
"unknown_19": 2,
|
||||
"elevator_flag": 0,
|
||||
"battle_scene": "BATTLE_SCENE_0",
|
||||
"connections": null,
|
||||
"object_events": [
|
||||
{
|
||||
"graphics_id": "OBJECT_EVENT_GFX_TRAINER_TOWER_DUDE",
|
||||
"x": 9,
|
||||
"y": 7,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "TrainerTower_EventScript_Owner",
|
||||
"flag": "FLAG_TEMP_6"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJECT_EVENT_GFX_VAR_0",
|
||||
"x": 10,
|
||||
"y": 10,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "TrainerTower_EventScript_DoublesTrainer1",
|
||||
"flag": "FLAG_TEMP_2"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJECT_EVENT_GFX_VAR_1",
|
||||
"x": 15,
|
||||
"y": 13,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "TrainerTower_EventScript_SinglesTrainer",
|
||||
"flag": "FLAG_TEMP_3"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJECT_EVENT_GFX_VAR_2",
|
||||
"x": 10,
|
||||
"y": 16,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_UP",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "TrainerTower_EventScript_KnockoutTrainer",
|
||||
"flag": "FLAG_TEMP_4"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJECT_EVENT_GFX_VAR_3",
|
||||
"x": 11,
|
||||
"y": 10,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "TrainerTower_EventScript_DoublesTrainer2",
|
||||
"flag": "FLAG_TEMP_5"
|
||||
}
|
||||
],
|
||||
"warp_events": [
|
||||
{
|
||||
"x": 15,
|
||||
"y": 6,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_TRAINER_TOWER_7F",
|
||||
"dest_warp_id": 1
|
||||
},
|
||||
{
|
||||
"x": 4,
|
||||
"y": 6,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_TRAINER_TOWER_5F",
|
||||
"dest_warp_id": 0
|
||||
},
|
||||
{
|
||||
"x": 13,
|
||||
"y": 5,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_TRAINER_TOWER_ELEVATOR",
|
||||
"dest_warp_id": 0
|
||||
}
|
||||
],
|
||||
"coord_events": [
|
||||
{
|
||||
"type": "trigger",
|
||||
"x": 10,
|
||||
"y": 13,
|
||||
"elevation": 3,
|
||||
"var": "VAR_TEMP_E",
|
||||
"var_value": 0,
|
||||
"script": "TrainerTower_EventScript_SingleBattleTrigger"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
"x": 9,
|
||||
"y": 12,
|
||||
"elevation": 3,
|
||||
"var": "VAR_TEMP_F",
|
||||
"var_value": 0,
|
||||
"script": "TrainerTower_EventScript_DoubleBattleTriggerTop"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
"x": 9,
|
||||
"y": 13,
|
||||
"elevation": 3,
|
||||
"var": "VAR_TEMP_F",
|
||||
"var_value": 0,
|
||||
"script": "TrainerTower_EventScript_DoubleBattleTriggerBottom"
|
||||
}
|
||||
],
|
||||
"bg_events": []
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
TrainerTower_6F_MapScripts:: @ 816479E
|
||||
map_script MAP_SCRIPT_ON_RESUME, TrainerTower_OnResume
|
||||
map_script MAP_SCRIPT_ON_TRANSITION, TrainerTower_OnTransition
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, TrainerTower_OnFrame
|
||||
.byte 0
|
||||
|
||||
@ Below scripts are unused, the identical versions in the 1F script are used instead
|
||||
|
||||
TrainerTower_6F_EventScript_DoublesTrainer1:: @ 81647AE
|
||||
call TrainerTower_EventScript_SpeakToDoublesTrainer1
|
||||
end
|
||||
|
||||
TrainerTower_6F_EventScript_SinglesTrainer:: @ 81647B4
|
||||
call TrainerTower_EventScript_SpeakToSinglesTrainer
|
||||
end
|
||||
|
||||
TrainerTower_6F_EventScript_KnockoutTrainer:: @ 81647BA
|
||||
call TrainerTower_EventScript_SpeakToKnockoutTrainer
|
||||
end
|
||||
|
||||
TrainerTower_6F_EventScript_DoublesTrainer2:: @ 81647C0
|
||||
call TrainerTower_EventScript_SpeakToDoublesTrainer2
|
||||
end
|
||||
|
||||
TrainerTower_6F_EventScript_Owner:: @ 81647C6
|
||||
call TrainerTower_EventScript_SpeakToOwner
|
||||
end
|
||||
@@ -0,0 +1,135 @@
|
||||
{
|
||||
"id": "MAP_TRAINER_TOWER_7F",
|
||||
"name": "TrainerTower_7F",
|
||||
"layout": "LAYOUT_TRAINER_TOWER_7F",
|
||||
"music": "MUS_T_TOWER",
|
||||
"region_map_section": "MAPSEC_TRAINER_TOWER_2",
|
||||
"requires_flash": false,
|
||||
"weather": "WEATHER_NONE",
|
||||
"map_type": "MAP_TYPE_8",
|
||||
"unknown_18": 0,
|
||||
"unknown_19": 2,
|
||||
"elevator_flag": 0,
|
||||
"battle_scene": "BATTLE_SCENE_0",
|
||||
"connections": null,
|
||||
"object_events": [
|
||||
{
|
||||
"graphics_id": "OBJECT_EVENT_GFX_TRAINER_TOWER_DUDE",
|
||||
"x": 9,
|
||||
"y": 7,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "TrainerTower_EventScript_Owner",
|
||||
"flag": "FLAG_TEMP_6"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJECT_EVENT_GFX_VAR_0",
|
||||
"x": 10,
|
||||
"y": 10,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "TrainerTower_EventScript_DoublesTrainer1",
|
||||
"flag": "FLAG_TEMP_2"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJECT_EVENT_GFX_VAR_1",
|
||||
"x": 15,
|
||||
"y": 13,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "TrainerTower_EventScript_SinglesTrainer",
|
||||
"flag": "FLAG_TEMP_3"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJECT_EVENT_GFX_VAR_2",
|
||||
"x": 10,
|
||||
"y": 16,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_UP",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "TrainerTower_EventScript_KnockoutTrainer",
|
||||
"flag": "FLAG_TEMP_4"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJECT_EVENT_GFX_VAR_3",
|
||||
"x": 11,
|
||||
"y": 10,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "TrainerTower_EventScript_DoublesTrainer2",
|
||||
"flag": "FLAG_TEMP_5"
|
||||
}
|
||||
],
|
||||
"warp_events": [
|
||||
{
|
||||
"x": 15,
|
||||
"y": 6,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_TRAINER_TOWER_8F",
|
||||
"dest_warp_id": 1
|
||||
},
|
||||
{
|
||||
"x": 4,
|
||||
"y": 6,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_TRAINER_TOWER_6F",
|
||||
"dest_warp_id": 0
|
||||
},
|
||||
{
|
||||
"x": 13,
|
||||
"y": 5,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_TRAINER_TOWER_ELEVATOR",
|
||||
"dest_warp_id": 0
|
||||
}
|
||||
],
|
||||
"coord_events": [
|
||||
{
|
||||
"type": "trigger",
|
||||
"x": 10,
|
||||
"y": 13,
|
||||
"elevation": 3,
|
||||
"var": "VAR_TEMP_E",
|
||||
"var_value": 0,
|
||||
"script": "TrainerTower_EventScript_SingleBattleTrigger"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
"x": 9,
|
||||
"y": 12,
|
||||
"elevation": 3,
|
||||
"var": "VAR_TEMP_F",
|
||||
"var_value": 0,
|
||||
"script": "TrainerTower_EventScript_DoubleBattleTriggerTop"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
"x": 9,
|
||||
"y": 13,
|
||||
"elevation": 3,
|
||||
"var": "VAR_TEMP_F",
|
||||
"var_value": 0,
|
||||
"script": "TrainerTower_EventScript_DoubleBattleTriggerBottom"
|
||||
}
|
||||
],
|
||||
"bg_events": []
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
TrainerTower_7F_MapScripts:: @ 81647CC
|
||||
map_script MAP_SCRIPT_ON_RESUME, TrainerTower_OnResume
|
||||
map_script MAP_SCRIPT_ON_TRANSITION, TrainerTower_OnTransition
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, TrainerTower_OnFrame
|
||||
.byte 0
|
||||
|
||||
@ Below scripts are unused, the identical versions in the 1F script are used instead
|
||||
|
||||
TrainerTower_7F_EventScript_DoublesTrainer1:: @ 81647DC
|
||||
call TrainerTower_EventScript_SpeakToDoublesTrainer1
|
||||
end
|
||||
|
||||
TrainerTower_7F_EventScript_SinglesTrainer:: @ 81647E2
|
||||
call TrainerTower_EventScript_SpeakToSinglesTrainer
|
||||
end
|
||||
|
||||
TrainerTower_7F_EventScript_KnockoutTrainer:: @ 81647E8
|
||||
call TrainerTower_EventScript_SpeakToKnockoutTrainer
|
||||
end
|
||||
|
||||
TrainerTower_7F_EventScript_DoublesTrainer2:: @ 81647EE
|
||||
call TrainerTower_EventScript_SpeakToDoublesTrainer2
|
||||
end
|
||||
|
||||
TrainerTower_7F_EventScript_Owner:: @ 81647F4
|
||||
call TrainerTower_EventScript_SpeakToOwner
|
||||
end
|
||||
@@ -0,0 +1,135 @@
|
||||
{
|
||||
"id": "MAP_TRAINER_TOWER_8F",
|
||||
"name": "TrainerTower_8F",
|
||||
"layout": "LAYOUT_TRAINER_TOWER_8F",
|
||||
"music": "MUS_T_TOWER",
|
||||
"region_map_section": "MAPSEC_TRAINER_TOWER_2",
|
||||
"requires_flash": false,
|
||||
"weather": "WEATHER_NONE",
|
||||
"map_type": "MAP_TYPE_8",
|
||||
"unknown_18": 0,
|
||||
"unknown_19": 2,
|
||||
"elevator_flag": 0,
|
||||
"battle_scene": "BATTLE_SCENE_0",
|
||||
"connections": null,
|
||||
"object_events": [
|
||||
{
|
||||
"graphics_id": "OBJECT_EVENT_GFX_TRAINER_TOWER_DUDE",
|
||||
"x": 9,
|
||||
"y": 7,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "TrainerTower_EventScript_Owner",
|
||||
"flag": "FLAG_TEMP_6"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJECT_EVENT_GFX_VAR_0",
|
||||
"x": 10,
|
||||
"y": 10,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "TrainerTower_EventScript_DoublesTrainer1",
|
||||
"flag": "FLAG_TEMP_2"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJECT_EVENT_GFX_VAR_1",
|
||||
"x": 15,
|
||||
"y": 13,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "TrainerTower_EventScript_SinglesTrainer",
|
||||
"flag": "FLAG_TEMP_3"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJECT_EVENT_GFX_VAR_2",
|
||||
"x": 10,
|
||||
"y": 16,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_UP",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "TrainerTower_EventScript_KnockoutTrainer",
|
||||
"flag": "FLAG_TEMP_4"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJECT_EVENT_GFX_VAR_3",
|
||||
"x": 11,
|
||||
"y": 10,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "TrainerTower_EventScript_DoublesTrainer2",
|
||||
"flag": "FLAG_TEMP_5"
|
||||
}
|
||||
],
|
||||
"warp_events": [
|
||||
{
|
||||
"x": 15,
|
||||
"y": 6,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_TRAINER_TOWER_ROOF",
|
||||
"dest_warp_id": 1
|
||||
},
|
||||
{
|
||||
"x": 4,
|
||||
"y": 6,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_TRAINER_TOWER_7F",
|
||||
"dest_warp_id": 0
|
||||
},
|
||||
{
|
||||
"x": 13,
|
||||
"y": 5,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_TRAINER_TOWER_ELEVATOR",
|
||||
"dest_warp_id": 0
|
||||
}
|
||||
],
|
||||
"coord_events": [
|
||||
{
|
||||
"type": "trigger",
|
||||
"x": 10,
|
||||
"y": 13,
|
||||
"elevation": 3,
|
||||
"var": "VAR_TEMP_E",
|
||||
"var_value": 0,
|
||||
"script": "TrainerTower_EventScript_SingleBattleTrigger"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
"x": 9,
|
||||
"y": 12,
|
||||
"elevation": 3,
|
||||
"var": "VAR_TEMP_F",
|
||||
"var_value": 0,
|
||||
"script": "TrainerTower_EventScript_DoubleBattleTriggerTop"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
"x": 9,
|
||||
"y": 13,
|
||||
"elevation": 3,
|
||||
"var": "VAR_TEMP_F",
|
||||
"var_value": 0,
|
||||
"script": "TrainerTower_EventScript_DoubleBattleTriggerBottom"
|
||||
}
|
||||
],
|
||||
"bg_events": []
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
TrainerTower_8F_MapScripts:: @ 81647FA
|
||||
map_script MAP_SCRIPT_ON_RESUME, TrainerTower_OnResume
|
||||
map_script MAP_SCRIPT_ON_TRANSITION, TrainerTower_OnTransition
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, TrainerTower_OnFrame
|
||||
.byte 0
|
||||
|
||||
@ Below scripts are unused, the identical versions in the 1F script are used instead
|
||||
|
||||
TrainerTower_8F_EventScript_DoublesTrainer1:: @ 816480A
|
||||
call TrainerTower_EventScript_SpeakToDoublesTrainer1
|
||||
end
|
||||
|
||||
TrainerTower_8F_EventScript_SinglesTrainer:: @ 8164810
|
||||
call TrainerTower_EventScript_SpeakToSinglesTrainer
|
||||
end
|
||||
|
||||
TrainerTower_8F_EventScript_KnockoutTrainer:: @ 8164816
|
||||
call TrainerTower_EventScript_SpeakToKnockoutTrainer
|
||||
end
|
||||
|
||||
TrainerTower_8F_EventScript_DoublesTrainer2:: @ 816481C
|
||||
call TrainerTower_EventScript_SpeakToDoublesTrainer2
|
||||
end
|
||||
|
||||
TrainerTower_8F_EventScript_Owner:: @ 8164822
|
||||
call TrainerTower_EventScript_SpeakToOwner
|
||||
end
|
||||
+4
-4
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "MAP_SEVEN_ISLAND_TRAINER_TOWER_ELEVATOR",
|
||||
"name": "SevenIsland_TrainerTower_Elevator",
|
||||
"layout": "LAYOUT_SEVEN_ISLAND_TRAINER_TOWER_ELEVATOR",
|
||||
"id": "MAP_TRAINER_TOWER_ELEVATOR",
|
||||
"name": "TrainerTower_Elevator",
|
||||
"layout": "LAYOUT_TRAINER_TOWER_ELEVATOR",
|
||||
"music": "MUS_T_TOWER",
|
||||
"region_map_section": "MAPSEC_TRAINER_TOWER_2",
|
||||
"requires_flash": false,
|
||||
@@ -29,7 +29,7 @@
|
||||
"x": 0,
|
||||
"y": 2,
|
||||
"elevation": 0,
|
||||
"script": "SevenIsland_TrainerTower_Elevator_EventScript_164B03"
|
||||
"script": "TrainerTower_Elevator_EventScript_FloorSelect"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,80 @@
|
||||
TrainerTower_Elevator_MapScripts:: @ 8164AF8
|
||||
map_script MAP_SCRIPT_ON_RESUME, TrainerTower_OnResume
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, TrainerTower_OnFrame
|
||||
.byte 0
|
||||
|
||||
TrainerTower_Elevator_EventScript_FloorSelect:: @ 8164B03
|
||||
lockall
|
||||
setvar VAR_0x8004, 6
|
||||
call_if_unset FLAG_TEMP_2, EventScript_GetElevatorFloor
|
||||
copyvar VAR_0x8005, VAR_ELEVATOR_FLOOR
|
||||
special Special_DrawElevatorCurrentFloorWindow
|
||||
message Text_WantWhichFloor
|
||||
waitmessage
|
||||
setvar VAR_0x8004, 6
|
||||
specialvar VAR_RESULT, Special_InitElevatorFloorSelectMenuPos
|
||||
switch VAR_RESULT
|
||||
case 0, TrainerTower_Elevator_EventScript_FloorSelectFromRoof
|
||||
case 1, TrainerTower_Elevator_EventScript_FloorSelectFromLobby
|
||||
end
|
||||
|
||||
TrainerTower_Elevator_EventScript_FloorSelectFromRoof:: @ 8164B46
|
||||
multichoicedefault 0, 0, MULTICHOICE_ROOFTOP_B1F, 0, FALSE
|
||||
goto TrainerTower_Elevator_EventScript_ChooseFloor
|
||||
end
|
||||
|
||||
TrainerTower_Elevator_EventScript_FloorSelectFromLobby:: @ 8164B52
|
||||
multichoicedefault 0, 0, MULTICHOICE_ROOFTOP_B1F, 1, FALSE
|
||||
goto TrainerTower_Elevator_EventScript_ChooseFloor
|
||||
end
|
||||
|
||||
TrainerTower_Elevator_EventScript_ChooseFloor:: @ 8164B5E
|
||||
switch VAR_RESULT
|
||||
case 0, TrainerTower_Elevator_EventScript_SelectRoof
|
||||
case 1, TrainerTower_Elevator_EventScript_SelectLobby
|
||||
case 2, TrainerTower_Elevator_EventScript_CloseFloorSelect
|
||||
case SCR_MENU_CANCEL, TrainerTower_Elevator_EventScript_CloseFloorSelect
|
||||
end
|
||||
|
||||
TrainerTower_Elevator_EventScript_SelectLobby:: @ 8164B90
|
||||
setvar VAR_0x8006, 3
|
||||
setdynamicwarp MAP_TRAINER_TOWER_LOBBY, 255, 17, 8
|
||||
compare VAR_ELEVATOR_FLOOR, 3
|
||||
goto_if_eq TrainerTower_Elevator_EventScript_CloseFloorSelect
|
||||
call TrainerTower_Elevator_EventScript_MoveElevator
|
||||
setvar VAR_ELEVATOR_FLOOR, 3
|
||||
special Special_CloseElevatorCurrentFloorWindow
|
||||
delay 25
|
||||
applymovement OBJ_EVENT_ID_PLAYER, TrainerTower_Elevator_Movement_ExitElevator
|
||||
waitmovement 0
|
||||
warp MAP_TRAINER_TOWER_LOBBY, 255, 17, 8
|
||||
waitstate
|
||||
releaseall
|
||||
end
|
||||
|
||||
TrainerTower_Elevator_EventScript_SelectRoof:: @ 8164BCD
|
||||
goto TrainerTower_Elevator_EventScript_CloseFloorSelect
|
||||
end
|
||||
|
||||
TrainerTower_Elevator_EventScript_CloseFloorSelect:: @ 8164BD3
|
||||
special Special_CloseElevatorCurrentFloorWindow
|
||||
releaseall
|
||||
end
|
||||
|
||||
TrainerTower_Elevator_EventScript_MoveElevator:: @ 8164BD8
|
||||
special Special_CloseElevatorCurrentFloorWindow
|
||||
closemessage
|
||||
waitse
|
||||
special Special_AnimateElevator
|
||||
waitstate
|
||||
setflag FLAG_TEMP_2
|
||||
return
|
||||
|
||||
TrainerTower_Elevator_Movement_ExitElevator:: @ 8164BE5
|
||||
walk_in_place_fastest_down
|
||||
delay_16
|
||||
walk_down
|
||||
walk_right
|
||||
walk_right
|
||||
walk_down
|
||||
step_end
|
||||
+12
-12
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "MAP_SEVEN_ISLAND_TRAINER_TOWER_LOBBY",
|
||||
"name": "SevenIsland_TrainerTower_Lobby",
|
||||
"layout": "LAYOUT_SEVEN_ISLAND_TRAINER_TOWER_LOBBY",
|
||||
"id": "MAP_TRAINER_TOWER_LOBBY",
|
||||
"name": "TrainerTower_Lobby",
|
||||
"layout": "LAYOUT_TRAINER_TOWER_LOBBY",
|
||||
"music": "MUS_T_TOWER",
|
||||
"region_map_section": "MAPSEC_TRAINER_TOWER_2",
|
||||
"requires_flash": false,
|
||||
@@ -23,7 +23,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "SevenIsland_TrainerTower_Lobby_EventScript_16495D",
|
||||
"script": "TrainerTower_Lobby_EventScript_Nurse",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -36,7 +36,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "SevenIsland_TrainerTower_Lobby_EventScript_164992",
|
||||
"script": "TrainerTower_Lobby_EventScript_MartClerk",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -49,7 +49,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "SevenIsland_TrainerTower_Lobby_EventScript_164966",
|
||||
"script": "TrainerTower_Lobby_EventScript_Receptionist",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -62,7 +62,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "SevenIsland_TrainerTower_Lobby_EventScript_164AE6",
|
||||
"script": "TrainerTower_Lobby_EventScript_CooltrainerF",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -75,7 +75,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "SevenIsland_TrainerTower_Lobby_EventScript_164AEF",
|
||||
"script": "TrainerTower_Lobby_EventScript_BaldingMan",
|
||||
"flag": "0"
|
||||
}
|
||||
],
|
||||
@@ -84,7 +84,7 @@
|
||||
"x": 9,
|
||||
"y": 2,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_SEVEN_ISLAND_TRAINER_TOWER_1F",
|
||||
"dest_map": "MAP_TRAINER_TOWER_1F",
|
||||
"dest_warp_id": 1
|
||||
},
|
||||
{
|
||||
@@ -98,7 +98,7 @@
|
||||
"x": 17,
|
||||
"y": 8,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_SEVEN_ISLAND_TRAINER_TOWER_ELEVATOR",
|
||||
"dest_map": "MAP_TRAINER_TOWER_ELEVATOR",
|
||||
"dest_warp_id": 0
|
||||
}
|
||||
],
|
||||
@@ -110,7 +110,7 @@
|
||||
"elevation": 3,
|
||||
"var": "VAR_MAP_SCENE_TRAINER_TOWER",
|
||||
"var_value": 0,
|
||||
"script": "SevenIsland_TrainerTower_Lobby_EventScript_1649CE"
|
||||
"script": "TrainerTower_Lobby_EventScript_EntryTrigger"
|
||||
}
|
||||
],
|
||||
"bg_events": [
|
||||
@@ -119,7 +119,7 @@
|
||||
"x": 8,
|
||||
"y": 10,
|
||||
"elevation": 0,
|
||||
"script": "SevenIsland_TrainerTower_Lobby_EventScript_164AD8"
|
||||
"script": "TrainerTower_Lobby_EventScript_ShowRecords"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,226 @@
|
||||
TrainerTower_Lobby_MapScripts:: @ 8164839
|
||||
map_script MAP_SCRIPT_ON_RESUME, TrainerTower_Lobby_OnResume
|
||||
map_script MAP_SCRIPT_ON_RETURN_TO_FIELD, TrainerTower_Lobby_OnReturnToField
|
||||
map_script MAP_SCRIPT_ON_TRANSITION, TrainerTower_Lobby_OnTransition
|
||||
map_script MAP_SCRIPT_ON_LOAD, TrainerTower_Lobby_OnLoad
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, TrainerTower_Lobby_OnFrame
|
||||
.byte 0
|
||||
|
||||
TrainerTower_Lobby_OnResume:: @ 8164853
|
||||
setvar VAR_TEMP_2, 0
|
||||
ttower_resumetimer
|
||||
ttower_shouldexit
|
||||
compare VAR_RESULT, FALSE
|
||||
goto_if_eq TrainerTower_Lobby_OnResumeEnd
|
||||
@ Never reached, above always FALSE
|
||||
setvar VAR_TEMP_0, 0
|
||||
setobjectxy OBJ_EVENT_ID_PLAYER, 9, 7
|
||||
applymovement OBJ_EVENT_ID_PLAYER, TrainerTower_Lobby_Movement_FaceReceptionist
|
||||
TrainerTower_Lobby_OnResumeEnd:: @ 8164886
|
||||
end
|
||||
|
||||
TrainerTower_Lobby_OnReturnToField:: @ 8164887
|
||||
addobject 1
|
||||
addobject 2
|
||||
addobject 3
|
||||
addobject 4
|
||||
addobject 5
|
||||
end
|
||||
|
||||
TrainerTower_Lobby_OnLoad:: @ 8164897
|
||||
compare VAR_TEMP_D, 17
|
||||
call_if_eq TrainerTower_Lobby_OpenCounterBarrier
|
||||
end
|
||||
|
||||
TrainerTower_Lobby_OpenCounterBarrier:: @ 81648A3
|
||||
setmetatile 17, 10, METATILE_TrainerTower_Floor_ShadeBottomLeft, 0
|
||||
return
|
||||
|
||||
TrainerTower_Lobby_OnTransition:: @ 81648AD
|
||||
setworldmapflag FLAG_WORLD_MAP_TRAINER_TOWER_LOBBY
|
||||
getplayerxy VAR_TEMP_D, VAR_RESULT
|
||||
end
|
||||
|
||||
TrainerTower_Lobby_OnFrame:: @ 81648B6
|
||||
map_script_2 VAR_TEMP_0, 0, TrainerTower_Lobby_EventScript_Enter
|
||||
map_script_2 VAR_TEMP_D, 17, TrainerTower_Lobby_EventScript_ExitElevator
|
||||
.2byte 0
|
||||
|
||||
TrainerTower_Lobby_EventScript_ExitElevator:: @ 81648C8
|
||||
lockall
|
||||
applymovement OBJ_EVENT_ID_PLAYER, TrainerTower_Lobby_Movement_ExitElevator
|
||||
waitmovement 0
|
||||
setmetatile 17, 10, METATILE_TrainerTower_CounterBarrier, 1
|
||||
special DrawWholeMapView
|
||||
playse SE_TK_KASYA
|
||||
waitse
|
||||
setvar VAR_TEMP_D, 0
|
||||
releaseall
|
||||
end
|
||||
|
||||
TrainerTower_Lobby_Movement_ExitElevator:: @ 81648EA
|
||||
walk_down
|
||||
walk_down
|
||||
step_end
|
||||
|
||||
TrainerTower_Lobby_EventScript_Enter:: @ 81648ED
|
||||
setvar VAR_TEMP_0, 1
|
||||
ttower_getchallengestatus
|
||||
switch VAR_RESULT
|
||||
case CHALLENGE_STATUS_LOST, TrainerTower_Lobby_EventScript_LostChallenge
|
||||
case CHALLENGE_STATUS_UNK, TrainerTower_Lobby_EventScript_164938
|
||||
case CHALLENGE_STATUS_NORMAL, TrainerTower_Lobby_EventScript_EnterEnd
|
||||
|
||||
TrainerTower_Lobby_EventScript_LostChallenge:: @ 8164920
|
||||
lock
|
||||
faceplayer
|
||||
applymovement OBJ_EVENT_ID_PLAYER, TrainerTower_Lobby_Movement_FaceReceptionist
|
||||
textcolor 1
|
||||
msgbox TrainerTower_Lobby_Text_TooBadComeBackTryAgain
|
||||
goto TrainerTower_Lobby_EventScript_ExitChallenge
|
||||
|
||||
@ Presumably E-Reader related
|
||||
TrainerTower_Lobby_EventScript_164938:: @ 8164938
|
||||
lock
|
||||
faceplayer
|
||||
applymovement OBJ_EVENT_ID_PLAYER, TrainerTower_Lobby_Movement_FaceReceptionist
|
||||
textcolor 1
|
||||
msgbox TrainerTower_Lobby_Text_MoveCounterHereWhenTrainersSwitch
|
||||
TrainerTower_Lobby_EventScript_ExitChallenge:: @ 816494B
|
||||
closemessage
|
||||
applymovement OBJ_EVENT_ID_PLAYER, TrainerTower_Lobby_Movement_WalkDown
|
||||
waitmovement 0
|
||||
setvar VAR_MAP_SCENE_TRAINER_TOWER, 0
|
||||
release
|
||||
TrainerTower_Lobby_EventScript_EnterEnd:: @ 816495C
|
||||
end
|
||||
|
||||
TrainerTower_Lobby_EventScript_Nurse:: @ 816495D
|
||||
lock
|
||||
faceplayer
|
||||
call EventScript_PkmnCenterNurse
|
||||
release
|
||||
end
|
||||
|
||||
TrainerTower_Lobby_EventScript_Receptionist:: @ 8164966
|
||||
lock
|
||||
faceplayer
|
||||
ttower_getbeatchallenge
|
||||
compare VAR_RESULT, TRUE
|
||||
goto_if_eq TrainerTower_Lobby_EventScript_ThanksForCompeting
|
||||
msgbox TrainerTower_Lobby_Text_GiveItYourBest
|
||||
goto TrainerTower_Lobby_EventScript_ReceptionistEnd
|
||||
|
||||
TrainerTower_Lobby_EventScript_ThanksForCompeting:: @ 8164988
|
||||
msgbox TrainerTower_Lobby_Text_ThanksForCompeting
|
||||
TrainerTower_Lobby_EventScript_ReceptionistEnd:: @ 8164990
|
||||
release
|
||||
end
|
||||
|
||||
TrainerTower_Lobby_EventScript_MartClerk:: @ 8164992
|
||||
goto_if_questlog EventScript_ReleaseEnd
|
||||
lock
|
||||
faceplayer
|
||||
message Text_MayIHelpYou
|
||||
waitmessage
|
||||
pokemart TrainerTower_Lobby_Mart_Items
|
||||
msgbox Text_PleaseComeAgain
|
||||
release
|
||||
end
|
||||
|
||||
.align 2
|
||||
TrainerTower_Lobby_Mart_Items:: @ 81649B8
|
||||
.2byte ITEM_ULTRA_BALL
|
||||
.2byte ITEM_GREAT_BALL
|
||||
.2byte ITEM_FULL_RESTORE
|
||||
.2byte ITEM_MAX_POTION
|
||||
.2byte ITEM_HYPER_POTION
|
||||
.2byte ITEM_REVIVE
|
||||
.2byte ITEM_FULL_HEAL
|
||||
.2byte ITEM_ESCAPE_ROPE
|
||||
.2byte ITEM_MAX_REPEL
|
||||
.2byte ITEM_NONE
|
||||
release
|
||||
end
|
||||
|
||||
TrainerTower_Lobby_EventScript_EntryTrigger:: @ 81649CE
|
||||
lockall
|
||||
applymovement OBJ_EVENT_ID_PLAYER, TrainerTower_Lobby_Movement_FaceReceptionist
|
||||
textcolor 1
|
||||
msgbox TrainerTower_Lobby_Text_WelcomeToTrainerTower
|
||||
ttower_getnumfloors
|
||||
compare VAR_RESULT, FALSE
|
||||
goto_if_eq TrainerTower_Lobby_EventScript_AllFloorsUsed
|
||||
msgbox TrainerTower_Lobby_Text_TrainersUpToFloorNum
|
||||
goto TrainerTower_Lobby_EventScript_AskEnterChallenge
|
||||
|
||||
TrainerTower_Lobby_EventScript_AllFloorsUsed:: @ 8164A00
|
||||
msgbox TrainerTower_Lobby_Text_TrainersUpEighthFloor
|
||||
TrainerTower_Lobby_EventScript_AskEnterChallenge:: @ 8164A08
|
||||
message TrainerTower_Lobby_Text_LikeToChallengeTrainers
|
||||
waitmessage
|
||||
multichoice 18, 6, MULTICHOICE_YES_NO_INFO, FALSE
|
||||
switch VAR_RESULT
|
||||
case 0, TrainerTower_Lobby_EventScript_ChooseChallenge
|
||||
case 1, TrainerTower_Lobby_EventScript_DeclineChallenge
|
||||
case 2, TrainerTower_Lobby_EventScript_ChallengeInfo
|
||||
case SCR_MENU_CANCEL, TrainerTower_Lobby_EventScript_DeclineChallenge
|
||||
end
|
||||
|
||||
TrainerTower_Lobby_EventScript_ChallengeInfo:: @ 8164A45
|
||||
msgbox TrainerTower_Lobby_Text_ExplainTrainerTower
|
||||
goto TrainerTower_Lobby_EventScript_AskEnterChallenge
|
||||
end
|
||||
|
||||
TrainerTower_Lobby_EventScript_ChooseChallenge:: @ 8164A53
|
||||
multichoice 13, 3, MULTICHOICE_TRAINER_TOWER_MODE, FALSE
|
||||
switch VAR_RESULT
|
||||
case 0, TrainerTower_Lobby_EventScript_BeginChallenge
|
||||
case 1, TrainerTower_Lobby_EventScript_BeginChallenge
|
||||
case 2, TrainerTower_Lobby_EventScript_BeginChallenge
|
||||
case 3, TrainerTower_Lobby_EventScript_BeginChallenge
|
||||
case 4, TrainerTower_Lobby_EventScript_DeclineChallenge
|
||||
case SCR_MENU_CANCEL, TrainerTower_Lobby_EventScript_DeclineChallenge
|
||||
end
|
||||
|
||||
TrainerTower_Lobby_EventScript_BeginChallenge:: @ 8164AA0
|
||||
copyvar VAR_0x8005, VAR_RESULT
|
||||
setvar VAR_MAP_SCENE_TRAINER_TOWER, 1
|
||||
special HealPlayerParty
|
||||
msgbox TrainerTower_Lobby_Text_StartClockGetSetGo
|
||||
ttower_startchallenge
|
||||
releaseall
|
||||
end
|
||||
|
||||
TrainerTower_Lobby_EventScript_DeclineChallenge:: @ 8164ABF
|
||||
msgbox TrainerTower_Lobby_Text_PleaseVisitUsAgain
|
||||
closemessage
|
||||
applymovement OBJ_EVENT_ID_PLAYER, TrainerTower_Lobby_Movement_WalkDown
|
||||
waitmovement 0
|
||||
releaseall
|
||||
end
|
||||
|
||||
TrainerTower_Lobby_Movement_FaceReceptionist:: @ 8164AD4
|
||||
face_right
|
||||
step_end
|
||||
|
||||
TrainerTower_Lobby_Movement_WalkDown:: @ 8164AD6
|
||||
walk_down
|
||||
step_end
|
||||
|
||||
TrainerTower_Lobby_EventScript_ShowRecords:: @ 8164AD8
|
||||
lockall
|
||||
fadescreen FADE_TO_BLACK
|
||||
setvar VAR_0x8004, 1
|
||||
special Special_BattleRecords
|
||||
waitstate
|
||||
releaseall
|
||||
end
|
||||
|
||||
TrainerTower_Lobby_EventScript_CooltrainerF:: @ 8164AE6
|
||||
msgbox TrainerTower_Lobby_Text_WonderWhatKindsOfTrainers, MSGBOX_NPC
|
||||
end
|
||||
|
||||
TrainerTower_Lobby_EventScript_BaldingMan:: @ 8164AEF
|
||||
msgbox TrainerTower_Lobby_Text_StairsTougherThanAnyBattle, MSGBOX_NPC
|
||||
end
|
||||
+23
-21
@@ -1,50 +1,52 @@
|
||||
gUnknown_817C794:: @ 817C794
|
||||
@ All Trainer Tower text (Lobby and Roof) is interleaved here
|
||||
|
||||
TrainerTower_Lobby_Text_WelcomeToTrainerTower:: @ 817C794
|
||||
.string "Hello!\p"
|
||||
.string "Welcome to TRAINER TOWER where\n"
|
||||
.string "TRAINERS gather from all over!$"
|
||||
|
||||
gUnknown_817C7D9:: @ 817C7D9
|
||||
TrainerTower_Lobby_Text_TrainersUpToFloorNum:: @ 817C7D9
|
||||
.string "TRAINERS from all over the world\n"
|
||||
.string "gather here to battle.\p"
|
||||
.string "Let me see…\p"
|
||||
.string "Right now, there are TRAINERS only\n"
|
||||
.string "up to Floor {STR_VAR_1}.$"
|
||||
|
||||
gUnknown_817C850:: @ 817C850
|
||||
TrainerTower_Lobby_Text_TrainersUpEighthFloor:: @ 817C850
|
||||
.string "TRAINERS are awaiting your\n"
|
||||
.string "challenge up to the eighth floor.$"
|
||||
|
||||
Text_17C88D:: @ 817C88D
|
||||
TrainerTower_Lobby_Text_LikeToChallengeTrainers:: @ 817C88D
|
||||
.string "Would you like to challenge the\n"
|
||||
.string "waiting TRAINERS?$"
|
||||
|
||||
gUnknown_817C8BF:: @ 817C8BF
|
||||
TrainerTower_Lobby_Text_StartClockGetSetGo:: @ 817C8BF
|
||||
.string "Okay, I'll get the clock started,\n"
|
||||
.string "so give it everything you have.\p"
|
||||
.string "On your marks…\p"
|
||||
.string "Get set…\p"
|
||||
.string "Go!$"
|
||||
|
||||
gUnknown_817C91D:: @ 817C91D
|
||||
TrainerTower_Lobby_Text_PleaseVisitUsAgain:: @ 817C91D
|
||||
.string "Please do visit us again!$"
|
||||
|
||||
gUnknown_817C937:: @ 817C937
|
||||
TrainerTower_Lobby_Text_TooBadComeBackTryAgain:: @ 817C937
|
||||
.string "That was too bad.\p"
|
||||
.string "I think you put in a tremendous\n"
|
||||
.string "effort in your battling.\p"
|
||||
.string "Please come back and try again!$"
|
||||
|
||||
gUnknown_817C9A2:: @ 817C9A2
|
||||
TrainerTower_Lobby_Text_GiveItYourBest:: @ 817C9A2
|
||||
.string "I hope you give it your best.$"
|
||||
|
||||
gUnknown_817C9C0:: @ 817C9C0
|
||||
TrainerTower_Lobby_Text_MoveCounterHereWhenTrainersSwitch:: @ 817C9C0
|
||||
.string "When the TRAINERS switch places,\n"
|
||||
.string "the movement can be hectic.\p"
|
||||
.string "To avoid the stampede, we moved\n"
|
||||
.string "the reception counter here.\p"
|
||||
.string "I'm sorry for the inconvenience.$"
|
||||
|
||||
Text_17CA5A:: @ 817CA5A
|
||||
TrainerTower_Roof_Text_ImOwnerBattledPerfectly:: @ 817CA5A
|
||||
.string "Hello…\p"
|
||||
.string "I am the owner of this TOWER…\p"
|
||||
.string "How the sky soars above this\n"
|
||||
@@ -54,10 +56,10 @@ Text_17CA5A:: @ 817CA5A
|
||||
.string "The way you battled…\n"
|
||||
.string "It, too, was perfection…$"
|
||||
|
||||
Text_17CB09:: @ 817CB09
|
||||
TrainerTower_Roof_Text_ThisIsForYou:: @ 817CB09
|
||||
.string "This is for you…$"
|
||||
|
||||
Text_17CB1A:: @ 817CB1A
|
||||
TrainerTower_Roof_Text_DoneItInRecordTime:: @ 817CB1A
|
||||
.string "Oh!\n"
|
||||
.string "Stupendous!\p"
|
||||
.string "It's marvelous how you've come up\n"
|
||||
@@ -67,28 +69,28 @@ Text_17CB1A:: @ 817CB1A
|
||||
.string "I'll have your record posted at\n"
|
||||
.string "the reception counter.$"
|
||||
|
||||
Text_17CBC0:: @ 817CBC0
|
||||
TrainerTower_Roof_Text_TookSweetTimeGettingHere:: @ 817CBC0
|
||||
.string "You seem to have taken your sweet\n"
|
||||
.string "time getting here…$"
|
||||
|
||||
Text_17CBF5:: @ 817CBF5
|
||||
TrainerTower_Roof_Text_IdLikeToSeeBetterTime:: @ 817CBF5
|
||||
.string "What I would like to see is a\n"
|
||||
.string "better time out of you…\p"
|
||||
.string "I'm counting on you.\p"
|
||||
.string "Until then, farewell…$"
|
||||
|
||||
Text_17CC56:: @ 817CC56
|
||||
TrainerTower_Text_XMinYZSec:: @ 817CC56
|
||||
.string "{STR_VAR_1} min. {STR_VAR_2}.{STR_VAR_3} sec.$"
|
||||
|
||||
Text_17CC69:: @ 817CC69
|
||||
TrainerTower_Lobby_Text_HereAreTheResults:: @ 817CC69
|
||||
.string "せいせきひょうです$"
|
||||
|
||||
Text_17CC73:: @ 817CC73
|
||||
TrainerTower_Lobby_Text_NeedTwoMonsForDouble:: @ 817CC73
|
||||
.string "This is a two-on-two battle.\p"
|
||||
.string "You may not battle unless you have\n"
|
||||
.string "at least two POKéMON.$"
|
||||
|
||||
gUnknown_817CCC9:: @ 817CCC9
|
||||
TrainerTower_Lobby_Text_ExplainTrainerTower:: @ 817CCC9
|
||||
.string "Here at TRAINER TOWER, there is an\n"
|
||||
.string "event called TIME ATTACK.\p"
|
||||
.string "You will be timed on how quickly\n"
|
||||
@@ -101,16 +103,16 @@ gUnknown_817CCC9:: @ 817CCC9
|
||||
.string "You will not earn any EXP. Points\n"
|
||||
.string "or money by beating TRAINERS here.$"
|
||||
|
||||
gUnknown_817CE1F:: @ 817CE1F
|
||||
TrainerTower_Lobby_Text_ThanksForCompeting:: @ 817CE1F
|
||||
.string "Thank you for competing!$"
|
||||
|
||||
gUnknown_817CE38:: @ 817CE38
|
||||
TrainerTower_Lobby_Text_WonderWhatKindsOfTrainers:: @ 817CE38
|
||||
.string "I'm here to see how good I am.\p"
|
||||
.string "I wonder what kinds of TRAINERS\n"
|
||||
.string "are waiting for me?\p"
|
||||
.string "It's nerve-racking!$"
|
||||
|
||||
gUnknown_817CE9F:: @ 817CE9F
|
||||
TrainerTower_Lobby_Text_StairsTougherThanAnyBattle:: @ 817CE9F
|
||||
.string "Gasp, gasp…\n"
|
||||
.string "Gasp…\p"
|
||||
.string "Never mind battling! These stairs…\n"
|
||||
+6
-6
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "MAP_SEVEN_ISLAND_TRAINER_TOWER_ROOF",
|
||||
"name": "SevenIsland_TrainerTower_Roof",
|
||||
"layout": "LAYOUT_SEVEN_ISLAND_TRAINER_TOWER_ROOF",
|
||||
"id": "MAP_TRAINER_TOWER_ROOF",
|
||||
"name": "TrainerTower_Roof",
|
||||
"layout": "LAYOUT_TRAINER_TOWER_ROOF",
|
||||
"music": "MUS_T_TOWER",
|
||||
"region_map_section": "MAPSEC_TRAINER_TOWER_2",
|
||||
"requires_flash": false,
|
||||
@@ -23,7 +23,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "SevenIsland_TrainerTower_Roof_EventScript_1646E0",
|
||||
"script": "TrainerTower_EventScript_Owner",
|
||||
"flag": "FLAG_TEMP_6"
|
||||
}
|
||||
],
|
||||
@@ -32,14 +32,14 @@
|
||||
"x": 13,
|
||||
"y": 5,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_SEVEN_ISLAND_TRAINER_TOWER_ELEVATOR",
|
||||
"dest_map": "MAP_TRAINER_TOWER_ELEVATOR",
|
||||
"dest_warp_id": 0
|
||||
},
|
||||
{
|
||||
"x": 4,
|
||||
"y": 6,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_SEVEN_ISLAND_TRAINER_TOWER_8F",
|
||||
"dest_map": "MAP_TRAINER_TOWER_8F",
|
||||
"dest_warp_id": 0
|
||||
}
|
||||
],
|
||||
@@ -0,0 +1,10 @@
|
||||
TrainerTower_Roof_MapScripts:: @ 8164828
|
||||
map_script MAP_SCRIPT_ON_RESUME, TrainerTower_OnResume
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, TrainerTower_OnFrame
|
||||
.byte 0
|
||||
|
||||
@ Below script is unused, the identical version in the 1F script is used instead
|
||||
|
||||
TrainerTower_Roof_EventScript_Owner:: @ 8164833
|
||||
call TrainerTower_EventScript_SpeakToOwner
|
||||
end
|
||||
Loaded 100 of 123 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user