mirror of
https://github.com/pret/pokemon-reverse-engineering-tools.git
synced 2026-09-11 03:35:12 -05:00
audio: pass in a channel id to sound commands
This commit is contained in:
@@ -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':
|
||||
|
||||
Reference in New Issue
Block a user