diff pytouhou/formats/ecl.py @ 75:b3bd421bb895

Handle a few more ECL instructions
author Thibaut Girka <thib@sitedethib.com>
date Tue, 30 Aug 2011 16:30:40 +0200
parents 7c1f20407b3e
children f305c0e406d6
line wrap: on
line diff
--- a/pytouhou/formats/ecl.py
+++ b/pytouhou/formats/ecl.py
@@ -30,7 +30,7 @@ class ECL(object):
                      6: ('ii', 'set_random_int'),
                      8: ('if', 'set_random_float'),
                      9: ('iff', 'set_random_float2'),
-                     10: ('i', None),
+                     10: ('i', 'store_x'),
                      13: ('iii', 'set_random_int2'),
                      14: ('iii', 'substract_int'),
                      15: ('iii', 'multiply_int'),
@@ -66,7 +66,7 @@ class ECL(object):
                      57: ('ifff', 'move_to'),
                      59: ('iffi', 'move_to2'),
                      61: ('i', 'stop_in'),
-                     63: ('i', None),
+                     63: ('i', 'stop_in_accel'),
                      65: ('ffff', 'set_screen_box'),
                      66: ('', 'clear_screen_box'),
                      67: ('hhiiffffi', 'set_bullet_attributes'),
@@ -104,7 +104,7 @@ class ECL(object):
                      104: ('i', None),
                      105: ('i', 'set_damageable'),
                      106: ('i', 'play_sound'),
-                     107: ('i', None),
+                     107: ('i', 'set_death_flags'),
                      108: ('i', 'set_death_callback?'),
                      109: ('ii', 'memory_write_int'),
                      111: ('i', 'set_life'),
@@ -116,10 +116,10 @@ class ECL(object):
                      117: ('i', 'set_touchable'),
                      118: ('iihh', None),
                      119: ('i', 'drop_bonus'),
-                     120: ('i', None),
+                     120: ('i', 'set_automatic_orientation'),
                      121: ('ii', None),
                      122: ('i', None),
-                     123: ('i', None),
+                     123: ('i', 'skip_frames'),
                      124: ('i', None),
                      125: ('', None),
                      126: ('i', 'set_remaining_lives'),