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
This commit is contained in:
xCrystal
2023-12-31 15:05:07 +01:00
parent c5e3179059
commit ce4ca85494
7 changed files with 38 additions and 2 deletions

View File

@@ -4,6 +4,11 @@ DebugLevel2_Map1_MapScripts:
def_scene_scripts
def_callbacks
callback MAPCALLBACK_ENDMAPSETUP, .FlashAutoScript
.FlashAutoScript:
callasm UseFlashAuto
endcallback
DebugLevel2_Map1_MapEvents:
db 0, 0 ; filler