You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Implement the engine to backup map objects when chaning maps (#32)
This commit is contained in:
@@ -54,3 +54,4 @@ MapSetupCommands:
|
||||
add_mapsetup SpawnInCustomFacing ; 2f
|
||||
add_mapsetup ResetLevelScopedEventFlags ; 30
|
||||
add_mapsetup AnchorPointAfterWarp ; 31
|
||||
add_mapsetup BackupMapObjects ; 32
|
||||
|
@@ -58,6 +58,7 @@ MapSetupScript_Fly:
|
||||
MapSetupScript_Warp:
|
||||
mapsetup DisableLCD
|
||||
mapsetup InitSound
|
||||
mapsetup BackupMapObjects
|
||||
mapsetup EnterMapSpawnPoint
|
||||
mapsetup LoadMapAttributes
|
||||
mapsetup HandleNewMap
|
||||
@@ -82,6 +83,7 @@ MapSetupScript_Warp:
|
||||
db -1 ; end
|
||||
|
||||
MapSetupScript_BadWarp:
|
||||
mapsetup BackupMapObjects
|
||||
mapsetup EnterMapSpawnPoint
|
||||
mapsetup LoadMapAttributes
|
||||
mapsetup HandleNewMap
|
||||
@@ -108,6 +110,7 @@ MapSetupScript_BadWarp:
|
||||
|
||||
MapSetupScript_Connection:
|
||||
mapsetup SuspendMapAnims
|
||||
mapsetup BackupMapObjects
|
||||
mapsetup EnterMapConnection
|
||||
mapsetup LoadMapAttributes
|
||||
mapsetup HandleNewMap
|
||||
@@ -129,6 +132,7 @@ MapSetupScript_Fall:
|
||||
MapSetupScript_Door:
|
||||
mapsetup FadeOutPalettesToWhite
|
||||
MapSetupScript_Train:
|
||||
mapsetup BackupMapObjects
|
||||
mapsetup EnterMapWarp
|
||||
mapsetup LoadMapAttributes
|
||||
mapsetup GetWarpDestCoords
|
||||
|
Reference in New Issue
Block a user