summaryrefslogtreecommitdiff
path: root/pokemontools/redmusicdisasm.py
diff options
context:
space:
mode:
Diffstat (limited to 'pokemontools/redmusicdisasm.py')
-rwxr-xr-xpokemontools/redmusicdisasm.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/pokemontools/redmusicdisasm.py b/pokemontools/redmusicdisasm.py
index d21e22a..6d4d3c3 100755
--- a/pokemontools/redmusicdisasm.py
+++ b/pokemontools/redmusicdisasm.py
@@ -83,10 +83,10 @@ alternate_start_songs = [
# music command names and parameter lists
music_commands = {
0x00: { "name": "note", "params": [ "note", "lower_nibble_off_by_one" ] },
- 0xb0: { "name": "dnote", "params": [ "byte", "lower_nibble_off_by_one" ] },
+ 0xb0: { "name": "drum_note", "params": [ "byte", "lower_nibble_off_by_one" ] },
0xc0: { "name": "rest", "params": [ "lower_nibble_off_by_one" ] },
0xd0: { "name": "note_type", "params": [ "lower_nibble", "nibbles_unsigned_signed" ] },
- 0xd1: { "name": "dspeed", "params": [ "lower_nibble" ] },
+ 0xd1: { "name": "drum_speed", "params": [ "lower_nibble" ] },
0xe0: { "name": "octave", "params": [ "octave" ] },
0xe8: { "name": "toggle_perfect_pitch", "params": [] },
0xea: { "name": "vibrato", "params": [ "byte", "nibbles" ] },
@@ -144,10 +144,10 @@ def get_command_length(command_id):
return length
def get_base_command_id(command_id, channel):
- # dnote
+ # drum_note
if command_id < 0xc0 and channel == 4:
return 0xb0
- # dspeed
+ # drum_speed
elif command_id >= 0xd0 and command_id < 0xe0 and channel == 4:
return 0xd1
# note