comparison pytouhou/formats/ecl.py @ 286:4838e9bab0f9

Implement dialogs (MSG files).
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sun, 12 Feb 2012 16:06:03 +0100
parents b6c068c8f7f2
children 3be4c1078095
comparison
equal deleted inserted replaced
285:2100276c289d 286:4838e9bab0f9
155 155
156 _main_instructions = {0: ('fffhhI', 'spawn_enemy'), 156 _main_instructions = {0: ('fffhhI', 'spawn_enemy'),
157 2: ('fffhhI', 'spawn_enemy_mirrored'), 157 2: ('fffhhI', 'spawn_enemy_mirrored'),
158 4: ('fffhhI', 'spawn_enemy_random'), 158 4: ('fffhhI', 'spawn_enemy_random'),
159 6: ('fffhhI', 'spawn_enemy_mirrored_random'), 159 6: ('fffhhI', 'spawn_enemy_mirrored_random'),
160 8: ('', None), 160 8: ('', 'call_msg'),
161 9: ('', None), 161 9: ('', 'wait_msg'),
162 10: ('II', None), 162 10: ('II', 'resume_ecl'),
163 12: ('', 'stop_time')} 163 12: ('', 'stop_time')}
164 164
165 165
166 def __init__(self): 166 def __init__(self):
167 self.main = [] 167 self.main = []