From af6b87ae494668ff32f6398bca0b5d5c746e0115 Mon Sep 17 00:00:00 2001 From: Bryan Bishop Date: Sun, 17 Nov 2013 11:09:24 -0600 Subject: fix syntax error in audio.py --- pokemontools/audio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pokemontools/audio.py b/pokemontools/audio.py index 1cce1fe..e783b8f 100644 --- a/pokemontools/audio.py +++ b/pokemontools/audio.py @@ -209,7 +209,7 @@ class Channel: for class_ in sound_classes: if class_.id == i: return class_ - if self.channel in [4. 8]: return Noise + if self.channel in [4, 8]: return Noise return Note -- cgit v1.2.3 From 726d6f213470b09347326fb9dddb988de1e143b9 Mon Sep 17 00:00:00 2001 From: Bryan Bishop Date: Sun, 17 Nov 2013 11:09:36 -0600 Subject: fix configuration import in audio.py --- pokemontools/audio.py | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/pokemontools/audio.py b/pokemontools/audio.py index e783b8f..38fd65f 100644 --- a/pokemontools/audio.py +++ b/pokemontools/audio.py @@ -8,14 +8,19 @@ from gbz80disasm import get_global_address, get_local_address import crystal from crystal import music_classes as sound_classes -from crystal import Command -from crystal import load_rom +from crystal import ( + Command, + SingleByteParam, + MultiByteParam, + load_rom, +) + rom = load_rom() rom = bytearray(rom) -import config -conf = config.Config() +import configuration +conf = configuration.Config() def sort_asms(asms): -- cgit v1.2.3