mirror of
https://github.com/thornAvery/jep-hack.git
synced 2025-09-16 18:20:50 +12:00
Fix Sepia City flypoint
HOW WERE YOU BUILDING?????
This commit is contained in:
parent
e43decef70
commit
fa99cbc839
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue