pokecrystal-board/data/maps/setup_script_pointers.asm
xCrystal ce4ca85494 Implement Flash technique through a map callback of type MAPCALLBACK_ENDMAPSETUP (#34)
This callback type is executed in a new map setup command at the very end of every map setup script. Maps that should trigger the use of Flash automatically should use an instance of this callback with fixed functionality
2023-12-31 15:05:07 +01:00

60 lines
2.0 KiB
NASM

MACRO add_mapsetup
\1_MapSetupCmd:
dba \1
ENDM
MapSetupCommands:
add_mapsetup EnableLCD ; 00
add_mapsetup DisableLCD ; 01
add_mapsetup InitSound ; 02
add_mapsetup PlayMapMusic ; 03
add_mapsetup RestartMapMusic ; 04
add_mapsetup FadeToMapMusic ; 05
add_mapsetup FadeMapMusicAndPalettes ; 06
add_mapsetup PlayMapMusicBike ; 07
add_mapsetup ForceMapMusic ; 08
add_mapsetup FadeInToMusic ; 09
add_mapsetup LoadBlockData ; 0a (callback 1)
add_mapsetup LoadConnectionBlockData ; 0b
add_mapsetup SaveScreen ; 0c
add_mapsetup BufferScreen ; 0d
add_mapsetup LoadMapGraphics ; 0e
add_mapsetup LoadMapTileset ; 0f
add_mapsetup LoadMapTimeOfDay ; 10
add_mapsetup LoadMapPalettes ; 11
add_mapsetup LoadWildMonData ; 12
add_mapsetup RefreshMapSprites ; 13
add_mapsetup HandleNewMap ; 14
add_mapsetup HandleContinueMap ; 15
add_mapsetup LoadMapObjects ; 16
add_mapsetup EnterMapSpawnPoint ; 17
add_mapsetup EnterMapConnection ; 18
add_mapsetup EnterMapWarp ; 19
add_mapsetup LoadMapAttributes ; 1a
add_mapsetup LoadMapAttributes_SkipObjects ; 1b
add_mapsetup ClearBGPalettes ; 1c
add_mapsetup FadeOutPalettesToWhite ; 1d
add_mapsetup FadeInPalettesFromWhite ; 1e
add_mapsetup GetMapScreenCoords ; 1f
add_mapsetup GetWarpDestCoords ; 20
add_mapsetup SpawnInFacingDown ; 21
add_mapsetup SpawnPlayer ; 22
add_mapsetup RefreshPlayerCoords ; 23
add_mapsetup ResetPlayerObjectAction ; 24
add_mapsetup SkipUpdateMapSprites ; 25
add_mapsetup UpdateRoamMons ; 26
add_mapsetup JumpRoamMons ; 27
add_mapsetup FadeOutMapMusic ; 28
add_mapsetup ActivateMapAnims ; 29
add_mapsetup SuspendMapAnims ; 2a
add_mapsetup ApplyMapPalettes ; 2b
add_mapsetup EnableTextAcceleration ; 2c
add_mapsetup ConstructAndEnableOverworldHUD ; 2d
add_mapsetup EnableOverworldHUD ; 2e
add_mapsetup SpawnInCustomFacing ; 2f
add_mapsetup ResetLevelScopedEventFlags ; 30
add_mapsetup AnchorPointAfterWarp ; 31
add_mapsetup BackupMapObjects ; 32
add_mapsetup LoadDisabledSpaces ; 33
add_mapsetup MapCallbackAtEndMapSetup ; 34