diff options
author | U-Fish-PC\Daniel <corrnondacqb@yahoo.com> | 2013-11-01 10:25:40 -0400 |
---|---|---|
committer | U-Fish-PC\Daniel <corrnondacqb@yahoo.com> | 2013-11-01 10:25:40 -0400 |
commit | 71204998edd39b6bdb531b66294ede643dd452fe (patch) | |
tree | e24c31270762b331830e851fc306b45e46d439ed /pokemontools/redsfxdisasm.py | |
parent | ed174d243287d8c1fdae31d0b30e014d554c0241 (diff) |
Update red music tools
Diffstat (limited to 'pokemontools/redsfxdisasm.py')
-rwxr-xr-x | pokemontools/redsfxdisasm.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/pokemontools/redsfxdisasm.py b/pokemontools/redsfxdisasm.py index 3f145cf..9e9f01b 100755 --- a/pokemontools/redsfxdisasm.py +++ b/pokemontools/redsfxdisasm.py @@ -65,10 +65,7 @@ for bank in banks: while 1:
if address == 0x2062a or address == 0x2063d or address == 0x20930:
output += "\n{}_branch_{:02x}:\n".format(sfxname, address)
- if byte < 0x10 and not executemusic:
- output += "\tunknownsfx0x{:02x}".format(byte)
- command_length = 1
- elif byte == 0x10 and not executemusic:
+ if byte == 0x10 and not executemusic:
output += "\tunknownsfx0x{:02x} {}".format(byte, rom[address + 1])
command_length = 2
elif byte < 0x30 and not executemusic:
|