diff options
author | yenatch <yenatch@gmail.com> | 2013-11-07 02:11:00 -0500 |
---|---|---|
committer | yenatch <yenatch@gmail.com> | 2013-11-07 02:11:00 -0500 |
commit | 6b434d223046af3cb93cc23a34c96aaace38ba35 (patch) | |
tree | 22be55e139a1df7998316577c5c22aaaf2d5e59b | |
parent | a9aae368887caac706def81f0b991c7e778ad341 (diff) |
oops forgot the cries
-rw-r--r-- | pokemontools/audio.py | 8 | ||||
-rw-r--r-- | pokemontools/cry_names.py | 4 |
2 files changed, 12 insertions, 0 deletions
diff --git a/pokemontools/audio.py b/pokemontools/audio.py index 247ef87..00d3fdc 100644 --- a/pokemontools/audio.py +++ b/pokemontools/audio.py @@ -326,6 +326,14 @@ 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) +def dump_crystal_cries(): + from cry_names import cry_names + dump_sounds(0xe91b0, cry_names, os.path.join(conf.path, 'audio', 'cries'), 'Cry_') + +def generate_crystal_cry_pointers(): + from cry_names import cry_names + return '\n'.join('\tdbw BANK({0}), {0}'.format('Cry_' + label) for label in cry_names) + if __name__ == '__main__': dump_crystal_music() diff --git a/pokemontools/cry_names.py b/pokemontools/cry_names.py new file mode 100644 index 0000000..bee335f --- /dev/null +++ b/pokemontools/cry_names.py @@ -0,0 +1,4 @@ +# coding: utf-8 + +cry_names = ['%X' % x for x in xrange(0x44)] + |