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 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:
@@ -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
|
||||
|
Reference in New Issue
Block a user