diff options
author | Bryan Bishop <kanzure@gmail.com> | 2013-11-01 07:48:48 -0700 |
---|---|---|
committer | Bryan Bishop <kanzure@gmail.com> | 2013-11-01 07:48:48 -0700 |
commit | dafb5518df768f93ac94c59d4bf5981e95f7aba0 (patch) | |
tree | e24c31270762b331830e851fc306b45e46d439ed /pokemontools/crystal.py | |
parent | 1089cf99d09ffe057660d8022fe8f82da1463a38 (diff) | |
parent | 71204998edd39b6bdb531b66294ede643dd452fe (diff) |
Merge pull request #44 from dannye/master
Red Music Tools
Diffstat (limited to 'pokemontools/crystal.py')
-rw-r--r-- | pokemontools/crystal.py | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/pokemontools/crystal.py b/pokemontools/crystal.py index 45eb306..5d602c9 100644 --- a/pokemontools/crystal.py +++ b/pokemontools/crystal.py @@ -2453,7 +2453,22 @@ def create_music_command_classes(debug=False): return klasses music_classes = create_music_command_classes() - +class callchannel(Command): + id = 0xFD + macro_name = "callchannel" + size = 3 + param_types = { + 0: {"name": "address", "class": PointerLabelParam}, + } + +class loopchannel(Command): + id = 0xFE + macro_name = "loopchannel" + size = 4 + param_types = { + 0: {"name": "count", "class": SingleByteParam}, + 1: {"name": "address", "class": PointerLabelParam}, + } effect_commands = { 0x1: ['checkturn'], |