From 45833dcbafb71715159e07b563b3cf4b6f5471cb Mon Sep 17 00:00:00 2001 From: yenatch Date: Thu, 6 Feb 2014 18:39:03 -0500 Subject: audio: Add a comment to generate_crystal_sfx_pointers output --- pokemontools/audio.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3