shithub: pokecrystal

Download patch

ref: dd7989cef8e393980f482b69ab2472170ee44da8
parent: 4bb8c82d8a2d45d046fea048fefe7edf6291f4bf
author: yenatch <[email protected]>
date: Wed Dec 18 23:49:20 EST 2013

preprocessor: battle animation macros

--- a/preprocessor.py
+++ b/preprocessor.py
@@ -25,6 +25,11 @@
     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 @@
         ChannelCommand,
         OctaveCommand,
         Note,
+        Wait,
     ]
 
     ourmacros += command_classes
@@ -48,6 +54,7 @@
     ourmacros += movement_command_classes
     ourmacros += music_classes
     ourmacros += effect_classes
+    ourmacros += battle_animation_classes
 
     return ourmacros