summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2013-11-13 12:46:18 -0500
committeryenatch <yenatch@gmail.com>2013-11-13 12:46:18 -0500
commitf5ad14d634973ff6b340853df8b61bbdf61e0060 (patch)
tree146ac553b896f01f5519e40af1ae36a6cfcbb7fc
parent7c4f12dec9e2e5049a6f6ade4e3d51356e2ffeca (diff)
audio: pass in a channel id to sound commands
-rw-r--r--pokemontools/audio.py2
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':