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
|
call .CheckMovingWithinLandmark
|
||||||
jr z, .dont_do_map_sign
|
jr z, .dont_do_map_sign
|
||||||
ld a, [wCurLandmark]
|
ld a, [wCurLandmark]
|
||||||
ld [wPreviousLandmark], a
|
ld [wPrevLandmark], a
|
||||||
|
|
||||||
call .CheckSpecialMap
|
call .CheckSpecialMap
|
||||||
jr z, .dont_do_map_sign
|
jr z, .dont_do_map_sign
|
||||||
@ -49,7 +49,7 @@ ReturnFromMapSetupScript::
|
|||||||
|
|
||||||
.dont_do_map_sign
|
.dont_do_map_sign
|
||||||
ld a, [wCurLandmark]
|
ld a, [wCurLandmark]
|
||||||
ld [wPreviousLandmark], a
|
ld [wPrevLandmark], a
|
||||||
ld a, $90
|
ld a, $90
|
||||||
ldh [rWY], a
|
ldh [rWY], a
|
||||||
ldh [hWY], a
|
ldh [hWY], a
|
||||||
@ -60,7 +60,7 @@ ReturnFromMapSetupScript::
|
|||||||
.CheckMovingWithinLandmark:
|
.CheckMovingWithinLandmark:
|
||||||
ld a, [wCurLandmark]
|
ld a, [wCurLandmark]
|
||||||
ld c, a
|
ld c, a
|
||||||
ld a, [wPreviousLandmark]
|
ld a, [wPrevLandmark]
|
||||||
cp c
|
cp c
|
||||||
ret z
|
ret z
|
||||||
cp SPECIAL_MAP
|
cp SPECIAL_MAP
|
||||||
|
@ -67,7 +67,7 @@ NewGame:
|
|||||||
call OakSpeech
|
call OakSpeech
|
||||||
call InitializeWorld
|
call InitializeWorld
|
||||||
ld a, 1
|
ld a, 1
|
||||||
ld [wPreviousLandmark], a
|
ld [wPrevLandmark], a
|
||||||
|
|
||||||
ld a, SPAWN_HOME
|
ld a, SPAWN_HOME
|
||||||
ld [wDefaultSpawnpoint], a
|
ld [wDefaultSpawnpoint], a
|
||||||
|
2
wram.asm
2
wram.asm
@ -155,7 +155,7 @@ wPrinterConnectionOpen:: db
|
|||||||
wPrinterOpcode:: db
|
wPrinterOpcode:: db
|
||||||
wPrevDexEntry:: db
|
wPrevDexEntry:: db
|
||||||
wDisableTextAcceleration:: db
|
wDisableTextAcceleration:: db
|
||||||
wPreviousLandmark:: db
|
wPrevLandmark:: db
|
||||||
wCurLandmark:: db
|
wCurLandmark:: db
|
||||||
wLandmarkSignTimer:: dw
|
wLandmarkSignTimer:: dw
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user