diff options
author | dannye <33dannye@gmail.com> | 2021-01-07 00:21:51 -0600 |
---|---|---|
committer | dannye <33dannye@gmail.com> | 2021-01-07 00:21:51 -0600 |
commit | 62de45a387eb955c730aa08400cd1895e35ce2d7 (patch) | |
tree | 46622e8cb412565d7b58b41a664c5a5153062fd4 /src/macros | |
parent | 6370bdeaeea201c215c1c667f06d72218c6da6a7 (diff) |
Add Script_Tech1
and fix play_song script command
Diffstat (limited to 'src/macros')
-rw-r--r-- | src/macros/scripts.asm | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/macros/scripts.asm b/src/macros/scripts.asm index 6836b4d..54f78e9 100644 --- a/src/macros/scripts.asm +++ b/src/macros/scripts.asm @@ -77,7 +77,7 @@ ENDM const Func_d3e0_index ; $45 const Func_d3fe_index ; $46 const Func_d408_index ; $47 - const Func_d40f_index ; $48 + const ScriptCommand_PlaySong_index ; $48 const ScriptCommand_PlaySFX_index ; $49 const ScriptCommand_PauseSong_index ; $4a const ScriptCommand_ResumeSong_index ; $4b @@ -346,6 +346,12 @@ script_nop: MACRO run_command ScriptCommand_nop ENDM +; Plays a song +play_song: MACRO + run_command ScriptCommand_PlaySong + db \1 ; Song ID (ex MUSIC_BOOSTER_PACK) +ENDM + ; Plays a sound effect play_sfx: MACRO run_command ScriptCommand_PlaySFX |