summaryrefslogtreecommitdiff
path: root/pokemontools/crystal.py
diff options
context:
space:
mode:
authorU-Fish-PC\Daniel <corrnondacqb@yahoo.com>2013-10-13 10:49:07 -0400
committerU-Fish-PC\Daniel <corrnondacqb@yahoo.com>2013-10-13 10:49:07 -0400
commit1b56d95aa0f39146a37043a36cf19f46b00f68c3 (patch)
tree8234d29544f65a7d4fc8816d9740d46491294a29 /pokemontools/crystal.py
parent1089cf99d09ffe057660d8022fe8f82da1463a38 (diff)
Add pokered music commands
Diffstat (limited to 'pokemontools/crystal.py')
-rw-r--r--pokemontools/crystal.py17
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'],