diff options
author | Bryan Bishop <kanzure@gmail.com> | 2013-11-09 15:16:48 -0600 |
---|---|---|
committer | Bryan Bishop <kanzure@gmail.com> | 2013-11-09 15:16:48 -0600 |
commit | 8c7e2bcae7d07e28ee229ae958d94ec3809dc763 (patch) | |
tree | 1d710e4654c3ac8420f7d5ee3bdd65b390975e25 /pokemontools/crystal.py | |
parent | cc403392982cfef8ccc9ed2b54ecda5934873a4f (diff) | |
parent | 1d2239e091e9cbf9026ec5afe7e86b718b9b8f38 (diff) |
Merge branch 'master' into vba-automation
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'], |