Mercurial > touhou
diff pytouhou/formats/ecl.py @ 64:d469012368b3
Implement conditional jumps.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Wed, 24 Aug 2011 22:44:40 -0700 |
parents | 8527fe640844 |
children | a701a89192a9 |
line wrap: on
line diff
--- a/pytouhou/formats/ecl.py +++ b/pytouhou/formats/ecl.py @@ -44,12 +44,12 @@ class ECL(object): 26: ('i', None), 27: ('ii', 'compare_ints'), 28: ('ff', 'compare_floats'), - 29: ('ii', 'relative_jump?'), - 30: ('ii', 'relative_jump?'), + 29: ('ii', 'relative_jump_if_lower_than'), + 30: ('ii', 'relative_jump_if_lower_or_equal'), 31: ('ii', 'relative_jump_if_equal'), - 32: ('ii', 'relative_jump?'), - 33: ('ii', 'relative_jump?'), - 34: ('ii', 'relative_jump?'), + 32: ('ii', 'relative_jump_if_greater_than'), + 33: ('ii', 'relative_jump_if_greater_or_equal'), + 34: ('ii', 'relative_jump_if_not_equal'), 35: ('iif', 'call'), 36: ('', 'return?'), 39: ('iifii', 'call_if_equal'),