You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
Fix some mobile script and map sign things
This commit is contained in:
@@ -15,13 +15,13 @@ ReturnFromMapSetupScript::
|
||||
call GetWorldMapLocation
|
||||
ld [wCurLandmark], a
|
||||
call .CheckNationalParkGate
|
||||
jr z, .nationalparkgate
|
||||
jr z, .gate
|
||||
|
||||
call GetMapEnvironment
|
||||
cp GATE
|
||||
jr nz, .not_gate
|
||||
|
||||
.nationalparkgate
|
||||
.gate
|
||||
ld a, -1
|
||||
ld [wCurLandmark], a
|
||||
|
||||
@@ -70,7 +70,7 @@ ReturnFromMapSetupScript::
|
||||
; These landmarks do not get pop-up signs.
|
||||
cp -1
|
||||
ret z
|
||||
cp SPECIAL_MAP
|
||||
cp SPECIAL_MAP ; redundant check
|
||||
ret z
|
||||
cp RADIO_TOWER
|
||||
ret z
|
||||
@@ -105,11 +105,11 @@ PlaceMapNameSign::
|
||||
cp 60
|
||||
ret z
|
||||
cp 59
|
||||
jr nz, .skip2
|
||||
jr nz, .already_initialized
|
||||
call InitMapNameFrame
|
||||
call PlaceMapNameCenterAlign
|
||||
farcall HDMATransfer_OnlyTopFourRows
|
||||
.skip2
|
||||
.already_initialized
|
||||
ld a, $80
|
||||
ld a, $70
|
||||
ldh [rWY], a
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
HandleNewMap:
|
||||
call ClearUnusedMapBuffer
|
||||
call ResetMapBufferEventFlags
|
||||
|
||||
Reference in New Issue
Block a user