Ensure anchor points are applied when landing after warp by creating a new setup script

This commit is contained in:
xCrystal
2023-12-14 17:11:15 +01:00
parent 429aad6798
commit af9ab166c4
6 changed files with 28 additions and 3 deletions

View File

@@ -53,3 +53,4 @@ MapSetupCommands:
add_mapsetup EnableOverworldHUD ; 2e
add_mapsetup SpawnInCustomFacing ; 2f
add_mapsetup ResetLevelScopedEventFlags ; 30
add_mapsetup AnchorPointAfterWarp ; 31

View File

@@ -78,6 +78,7 @@ MapSetupScript_Warp:
mapsetup FadeInPalettesFromWhite
mapsetup ActivateMapAnims
mapsetup LoadWildMonData
mapsetup AnchorPointAfterWarp
db -1 ; end
MapSetupScript_BadWarp:
@@ -102,6 +103,7 @@ MapSetupScript_BadWarp:
mapsetup FadeInPalettesFromWhite
mapsetup ActivateMapAnims
mapsetup LoadWildMonData
mapsetup AnchorPointAfterWarp
db -1 ; end
MapSetupScript_Connection:
@@ -147,6 +149,7 @@ MapSetupScript_Train:
mapsetup ActivateMapAnims
mapsetup LoadWildMonData
mapsetup UpdateRoamMons
mapsetup AnchorPointAfterWarp
db -1 ; end
MapSetupScript_ReloadMap: