mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
wPreviousLandmark → wPrevLandmark
This commit is contained in:
parent
14a2ea835e
commit
603bcfe2ae
@ -34,7 +34,7 @@ ReturnFromMapSetupScript::
|
||||
call .CheckMovingWithinLandmark
|
||||
jr z, .dont_do_map_sign
|
||||
ld a, [wCurLandmark]
|
||||
ld [wPreviousLandmark], a
|
||||
ld [wPrevLandmark], a
|
||||
|
||||
call .CheckSpecialMap
|
||||
jr z, .dont_do_map_sign
|
||||
@ -49,7 +49,7 @@ ReturnFromMapSetupScript::
|
||||
|
||||
.dont_do_map_sign
|
||||
ld a, [wCurLandmark]
|
||||
ld [wPreviousLandmark], a
|
||||
ld [wPrevLandmark], a
|
||||
ld a, $90
|
||||
ldh [rWY], a
|
||||
ldh [hWY], a
|
||||
@ -60,7 +60,7 @@ ReturnFromMapSetupScript::
|
||||
.CheckMovingWithinLandmark:
|
||||
ld a, [wCurLandmark]
|
||||
ld c, a
|
||||
ld a, [wPreviousLandmark]
|
||||
ld a, [wPrevLandmark]
|
||||
cp c
|
||||
ret z
|
||||
cp SPECIAL_MAP
|
||||
|
@ -67,7 +67,7 @@ NewGame:
|
||||
call OakSpeech
|
||||
call InitializeWorld
|
||||
ld a, 1
|
||||
ld [wPreviousLandmark], a
|
||||
ld [wPrevLandmark], a
|
||||
|
||||
ld a, SPAWN_HOME
|
||||
ld [wDefaultSpawnpoint], a
|
||||
|
Loading…
Reference in New Issue
Block a user