Multiplayer engine: player mocking and player turn rotation stuff [Commit 3] (#40)

This commit is contained in:
xCrystal
2024-03-03 14:24:01 +01:00
parent 49040c9bdd
commit fb8edba97e
13 changed files with 177 additions and 41 deletions

View File

@@ -14,6 +14,7 @@ MapSetupScripts:
dw MapSetupScript_Fly
dw MapSetupScript_EnterLevel
dw MapSetupScript_ExitViewMap
dw MapSetupScript_NextPlayer
assert_table_length NUM_MAPSETUP_SCRIPTS
; valid commands are listed in MapSetupCommands (see data/maps/setup_script_pointers.asm)
@@ -136,6 +137,34 @@ MapSetupScript_Train:
mapsetup MapCallbackAtEndMapSetup
db -1 ; end
MapSetupScript_NextPlayer:
mapsetup DisableLCD
mapsetup InitSound
mapsetup BackupMapObjects
mapsetup EnterMapSpawnPoint
mapsetup LoadMapAttributes
mapsetup HandleNewMap
mapsetup SpawnPlayer
mapsetup RefreshPlayerCoords
mapsetup GetMapScreenCoords
mapsetup LoadBlockData
mapsetup LoadDisabledSpaces
mapsetup BufferScreen
mapsetup LoadMapGraphics
mapsetup LoadMapTimeOfDay
mapsetup LoadMapObjects
mapsetup EnableLCD
mapsetup LoadMapPalettes
mapsetup SpawnInFacingDown
mapsetup RefreshMapSprites
mapsetup PlayMapMusicBike
mapsetup FadeInToMusic
mapsetup FadeInFromWhite
mapsetup ActivateMapAnims
mapsetup LoadWildMonData
mapsetup MapCallbackAtEndMapSetup
db -1 ; end
MapSetupScript_ReloadMap:
mapsetup FadeMapMusicAndPalettes
mapsetup ClearBGPalettes