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 /tools/script_extractor.py | |
parent | 6370bdeaeea201c215c1c667f06d72218c6da6a7 (diff) |
Add Script_Tech1
and fix play_song script command
Diffstat (limited to 'tools/script_extractor.py')
-rwxr-xr-x | tools/script_extractor.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/script_extractor.py b/tools/script_extractor.py index 8869c66..ed8eaf9 100755 --- a/tools/script_extractor.py +++ b/tools/script_extractor.py @@ -86,9 +86,9 @@ def decodeLine(scriptList, game_data, loc, ignore_broken, locList): wordLoc = (game_data[loc] + (game_data[loc+1]<<8)) if wordLoc == 0000: if macroMode: - ret += "NO_JUMP, " + ret += "NULL, " else: - ret += "\tdw NO_JUMP\n" + ret += "\tdw NULL\n" else: if macroMode: ret += ".ows_" + format(wordLoc+0x8000,"04x") + ", " @@ -285,7 +285,7 @@ def createList(): # this is a func just so all this can go at the bottom ("Func_d3e0", "", DO_NOT_QUIT,""), ("Func_d3fe", "q", DO_NOT_QUIT,""), ("Func_d408", "b", DO_NOT_QUIT,""), - ("Func_d40f", "q", DO_NOT_QUIT,""), + ("ScriptCommand_PlaySong", "b", DO_NOT_QUIT,"play_song"), ("ScriptCommand_PlaySFX", "b", DO_NOT_QUIT,"play_sfx"), ("ScriptCommand_PauseSong", "", DO_NOT_QUIT,"pause_song"), ("ScriptCommand_ResumeSong", "", DO_NOT_QUIT,"resume_song"), |