summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2014-02-06 18:39:03 -0500
committeryenatch <yenatch@gmail.com>2014-02-06 18:39:03 -0500
commit45833dcbafb71715159e07b563b3cf4b6f5471cb (patch)
tree1d4f4d8b31c63246aafe6a48e22e6b8b83b03710
parent108086fcf387afabc6216d5621edbf9944b4ca72 (diff)
audio: Add a comment to generate_crystal_sfx_pointers output
-rw-r--r--pokemontools/audio.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/pokemontools/audio.py b/pokemontools/audio.py
index 44bc051..b585eca 100644
--- a/pokemontools/audio.py
+++ b/pokemontools/audio.py
@@ -512,7 +512,10 @@ def dump_crystal_sfx():
def generate_crystal_sfx_pointers():
from sfx_names import sfx_names
- return '\n'.join('\tdbw BANK({0}), {0}'.format('Sfx_' + label) for label in sfx_names)
+ lines = ['\tdbw BANK({0}), {0}'.format('Sfx_' + label) for label in sfx_names]
+ first_crystal_sfx = 190
+ lines = lines[:first_crystal_sfx] + ['\n; Crystal adds the following SFX:\n'] + lines[first_crystal_sfx:]
+ return '\n'.join(lines)
def dump_crystal_cries():
from cry_names import cry_names