@@ -20,19 +20,19 @@ def mod_info(self):
20
20
def mod_load (self ):
21
21
# This is called due to renpy's screen cache. Any modifications to screens with an
22
22
# enabled cache will fail!
23
- ml .disable_slast_cache ()
23
+ modast .disable_slast_cache ()
24
24
25
25
# Hook every point where the chapter is changed and set mod_currentChapter to the
26
26
# integer value of the current chapter. This will allow route mods to make comparisons.
27
27
home_hook = ml .get_home_hook ()
28
28
home_hook .hook_chapter_1 (modast .find_label ("_core_updateChapter" ))
29
29
30
30
stmt = modast .find_python_statement ('chapter2unplayed = False' )
31
- ml .call_hook (stmt , modast .find_label ("_core_updateChapter" ))
31
+ modast .call_hook (stmt , modast .find_label ("_core_updateChapter" ))
32
32
stmt = modast .find_python_statement ('chapter3unplayed = False' )
33
- ml .call_hook (stmt , modast .find_label ("_core_updateChapter" ))
33
+ modast .call_hook (stmt , modast .find_label ("_core_updateChapter" ))
34
34
stmt = modast .find_python_statement ('chapter4unplayed = False' )
35
- ml .call_hook (stmt , modast .find_label ("_core_updateChapter" ))
35
+ modast .call_hook (stmt , modast .find_label ("_core_updateChapter" ))
36
36
37
37
# How to abuse the ren'py parser for your own personal gain!
38
38
target_display = None
@@ -54,4 +54,4 @@ def mod_load(self):
54
54
def mod_complete (self ):
55
55
# This is called after all mods are loaded, preventing us from getting a partial list of
56
56
# mods (say, if core was loaded before myMod1).
57
- ml .set_renpy_global ('modsDesc' , ', ' .join ([mod_name for mod_name in modinfo .modlist ]))
57
+ modast .set_renpy_global ('modsDesc' , ', ' .join ([mod_name for mod_name in modinfo .modlist ]))
0 commit comments