diff pytouhou/formats/ecl.py @ 59:4fe37a620b22

Handle set_random_angle properly! At last!
author Thibaut Girka <thib@sitedethib.com>
date Wed, 24 Aug 2011 01:34:11 +0200
parents 3da4de9decd0
children 8527fe640844
line wrap: on
line diff
--- a/pytouhou/formats/ecl.py
+++ b/pytouhou/formats/ecl.py
@@ -29,7 +29,7 @@ class ECL(object):
                      5: ('if', 'set_float'),
                      6: ('ii', 'set_random_int'),
                      8: ('if', 'set_random_float'),
-                     9: ('iff', None),
+                     9: ('iff', 'set_random_float2'),
                      10: ('i', None),
                      13: ('iii', None),
                      14: ('iii', None),
@@ -59,7 +59,7 @@ class ECL(object):
                      47: ('f', 'set_speed'),
                      48: ('f', 'set_acceleration'),
                      49: ('ff', None),
-                     50: ('ff', None),
+                     50: ('ff', 'set_random_angle'),
                      51: ('ff', 'set_speed_towards_player'),
                      52: ('iff', None),
                      56: ('iffi', None),