diff options
author | yenatch <yenatch@gmail.com> | 2013-11-13 12:46:18 -0500 |
---|---|---|
committer | yenatch <yenatch@gmail.com> | 2013-11-13 12:46:18 -0500 |
commit | f5ad14d634973ff6b340853df8b61bbdf61e0060 (patch) | |
tree | 146ac553b896f01f5519e40af1ae36a6cfcbb7fc | |
parent | 7c4f12dec9e2e5049a6f6ade4e3d51356e2ffeca (diff) |
audio: pass in a channel id to sound commands
-rw-r--r-- | pokemontools/audio.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pokemontools/audio.py b/pokemontools/audio.py index 1ace4b1..1cce1fe 100644 --- a/pokemontools/audio.py +++ b/pokemontools/audio.py @@ -131,7 +131,7 @@ class Channel: while not done: cmd = rom[self.address] - class_ = self.get_sound_class(cmd)(address=self.address) + class_ = self.get_sound_class(cmd)(address=self.address, channel=self.channel) # notetype loses the intensity param on channel 4 if class_.macro_name == 'notetype': |