diff --git a/data/maps/landmarks.asm b/data/maps/landmarks.asm index 5a4cdbb..4d5a4f1 100644 --- a/data/maps/landmarks.asm +++ b/data/maps/landmarks.asm @@ -210,4 +210,4 @@ TohjoFallsName: db "TOHJO FALLS@" UndergroundName: db "UNDERGROUND@" BattleTowerName: db "BATTLE¯TOWER@" SpecialMapName: db "SPECIAL@" -SilentHillsName: db "SILENT HILLS@" +SilentHillsName: db "SILENT¯HILLS@" diff --git a/engine/pokegear/pokegear.asm b/engine/pokegear/pokegear.asm index 5cc11be..22dec4b 100644 --- a/engine/pokegear/pokegear.asm +++ b/engine/pokegear/pokegear.asm @@ -540,12 +540,12 @@ Pokegear_UpdateClock: PokegearMap_CheckRegion: ld a, [wPokegearMapPlayerIconLandmark] - cp NIHON_LANDMARK - jr z, .nihon cp LANDMARK_FAST_SHIP jr z, .johto cp KANTO_LANDMARK jr nc, .kanto + cp NIHON_LANDMARK + jr c, .nihon .johto ld a, POKEGEARSTATE_JOHTOMAPINIT jr .done @@ -2059,10 +2059,17 @@ PokegearMap: ret .kanto + cp NIHON_LANDMARK + jr c, .nihon call LoadTownMapGFX call FillKantoMap ret +.nihon + call LoadTownMapGFX + call FillNihonMap + ret + _FlyMap: call ClearBGPalettes call ClearTilemap @@ -2305,10 +2312,10 @@ FlyMap: call GetWorldMapLocation .CheckRegion: ; The first 46 locations are part of Johto. The rest are in Kanto. - cp KANTO_LANDMARK - jr nc, .KantoFlyMap cp NIHON_LANDMARK jr nc, .NihonFlyMap + cp KANTO_LANDMARK + jr nc, .KantoFlyMap ; Johto fly map ; Note that .NoKanto should be modified in tandem with this branch push af @@ -2341,7 +2348,7 @@ FlyMap: ; Kanto's map is only loaded if we've visited Indigo Plateau ld a, KANTO_FLYPOINT ; first Kanto flypoint ld [wStartFlypoint], a - ld a, NUM_FLYPOINTS - 1 ; last Kanto flypoint + ld a, NIHON_FLYPOINT - 1 ; last Kanto flypoint ld [wEndFlypoint], a ld [wTownMapPlayerIconLandmark], a ; last one is default (Indigo Plateau) ; Fill out the map @@ -2366,9 +2373,9 @@ FlyMap: and a jr z, .NoKanto ; Kanto's map is only loaded if we've visited Indigo Plateau - ld a, NIHON_FLYPOINT ; first Kanto flypoint + ld a, NIHON_FLYPOINT ; first Nihon flypoint ld [wStartFlypoint], a - ld a, NUM_FLYPOINTS - 1 ; last Kanto flypoint + ld a, NUM_FLYPOINTS - 1 ; last Nihon flypoint ld [wEndFlypoint], a ld [wTownMapPlayerIconLandmark], a ; last one is default (Indigo Plateau) ; Fill out the map @@ -2985,11 +2992,19 @@ EntireFlyMap: ; unreferenced ld a, [wTownMapPlayerIconLandmark] cp KANTO_FLYPOINT jr c, .InJohto + cp NIHON_FLYPOINT + jr nc, .InNihon call FillKantoMap xor a ld b, HIGH(vBGMap1) jr .Finally +.InNihon: + call FillNihonMap + ld a, SCREEN_HEIGHT_PX + ld b, HIGH(vBGMap0) + jr .Finally + .InJohto: call FillJohtoMap ld a, SCREEN_HEIGHT_PX diff --git a/gfx/pokegear/nihon.bin b/gfx/pokegear/nihon.bin index b2281b7..65954ed 100644 Binary files a/gfx/pokegear/nihon.bin and b/gfx/pokegear/nihon.bin differ diff --git a/maps/SilentHills.asm b/maps/SilentHills.asm index d96def4..c7b8778 100644 --- a/maps/SilentHills.asm +++ b/maps/SilentHills.asm @@ -15,7 +15,7 @@ SilentHills_MapEvents: db 0, 0 ; filler def_warp_events - ;warp_event 8, 13, GLOBAL_TERMINAL_1F, 1 + warp_event 11, 5, PLAYERS_HOUSE_1F, 1 def_coord_events