From fa99cbc8395c113ca8db3dd972e5a995388d84f1 Mon Sep 17 00:00:00 2001 From: Llinos Evans <36418502+PlagueVonKarma@users.noreply.github.com> Date: Fri, 26 Jul 2024 13:28:14 +0100 Subject: [PATCH] Fix Sepia City flypoint HOW WERE YOU BUILDING????? --- constants/map_data_constants.asm | 1 + engine/pokegear/pokegear.asm | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/constants/map_data_constants.asm b/constants/map_data_constants.asm index 9a15db2..3f5fe21 100644 --- a/constants/map_data_constants.asm +++ b/constants/map_data_constants.asm @@ -141,6 +141,7 @@ DEF KANTO_FLYPOINT EQU const_value const FLY_INDIGO DEF NIHON_FLYPOINT EQU const_value const FLY_SILENT_HILLS + const FLY_OLD_CITY DEF NUM_FLYPOINTS EQU const_value DEF MAX_OUTDOOR_SPRITES EQU 23 ; see engine/overworld/overworld.asm diff --git a/engine/pokegear/pokegear.asm b/engine/pokegear/pokegear.asm index f2a35e2..c9de376 100644 --- a/engine/pokegear/pokegear.asm +++ b/engine/pokegear/pokegear.asm @@ -764,7 +764,7 @@ TownMap_GetKantoLandmarkLimits: TownMap_GetNihonLandmarkLimits: ld a, [wStatusFlags] ld d, LANDMARK_SILENT_HILLS - ld e, LANDMARK_SILENT_HILLS ; Gonna need another map. + ld e, LANDMARK_WHITE_CITY ; Gonna need another map. ret PokegearRadio_Init: @@ -2375,12 +2375,12 @@ FlyMap: call HasVisitedSpawn and a jr z, .NoKanto -; Kanto's map is only loaded if we've visited Indigo Plateau +; Nihon's map is only loaded if we've visited Silent Hills ld a, NIHON_FLYPOINT ; first Nihon flypoint ld [wStartFlypoint], a ld a, NUM_FLYPOINTS - 1 ; last Nihon flypoint ld [wEndFlypoint], a - ld [wTownMapPlayerIconLandmark], a ; last one is default (Indigo Plateau) + ld [wTownMapPlayerIconLandmark], a ; last one is default (Silent Hills) ; Fill out the map call FillNihonMap call .MapHud