diff pytouhou/formats/ecl.py @ 171:2f3665a77f11

Add support for the last unknown value of the enemy spawning.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Thu, 20 Oct 2011 06:34:35 -0700
parents c8c60291c56f
children 88361534c77e
line wrap: on
line diff
--- a/pytouhou/formats/ecl.py
+++ b/pytouhou/formats/ecl.py
@@ -132,10 +132,10 @@ class ECL(object):
                      134: ('', None),
                      135: ('i', None)} #TODO
 
-    _main_instructions = {0: ('fffhhHH', 'spawn_enemy'),
-                          2: ('fffhhHH', 'spawn_enemy_mirrored'),
-                          4: ('fffhhHH', 'spawn_enemy_random'),
-                          6: ('fffhhHH', 'spawn_enemy_mirrored_random'),
+    _main_instructions = {0: ('fffhhI', 'spawn_enemy'),
+                          2: ('fffhhI', 'spawn_enemy_mirrored'),
+                          4: ('fffhhI', 'spawn_enemy_random'),
+                          6: ('fffhhI', 'spawn_enemy_mirrored_random'),
                           8: ('', None),
                           9: ('', None),
                           10: ('II', None),