summaryrefslogtreecommitdiff
path: root/preprocessor.py
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2013-12-19 04:49:20 -0500
committeryenatch <yenatch@gmail.com>2013-12-19 04:49:20 -0500
commitdd7989cef8e393980f482b69ab2472170ee44da8 (patch)
tree4302f471d2021cce3a909e162f2fc12bb2e611cc /preprocessor.py
parent4bb8c82d8a2d45d046fea048fefe7edf6291f4bf (diff)
preprocessor: battle animation macros
Diffstat (limited to 'preprocessor.py')
-rw-r--r--preprocessor.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/preprocessor.py b/preprocessor.py
index c9f90553b..93508c027 100644
--- a/preprocessor.py
+++ b/preprocessor.py
@@ -25,6 +25,11 @@ from extras.pokemontools.audio import (
Note,
)
+from extras.pokemontools.battle_animations import (
+ Wait,
+ battle_animation_classes,
+)
+
def load_pokecrystal_macros():
"""
Construct a list of macros that are needed for pokecrystal preprocessing.
@@ -40,6 +45,7 @@ def load_pokecrystal_macros():
ChannelCommand,
OctaveCommand,
Note,
+ Wait,
]
ourmacros += command_classes
@@ -48,6 +54,7 @@ def load_pokecrystal_macros():
ourmacros += movement_command_classes
ourmacros += music_classes
ourmacros += effect_classes
+ ourmacros += battle_animation_classes
return ourmacros