Add pokered music commands

This commit is contained in:
U-Fish-PC\Daniel
2013-10-13 10:49:07 -04:00
parent 1089cf99d0
commit 1b56d95aa0

View File

@@ -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'],