From c4c487b780cf718b39dc710aed427ec1e99bd74d Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 26 Dec 2020 15:51:03 -0300 Subject: Some optimizations to be more Python3 compliant (for when Renpy 8 comes out) Also, fix an edge scenario crash at tavern and a missed logging at battle story log --- game/units.rpy | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'game/units.rpy') diff --git a/game/units.rpy b/game/units.rpy index 74c9bf0..82fc834 100644 --- a/game/units.rpy +++ b/game/units.rpy @@ -20,12 +20,12 @@ init python: def evocheck(level, unit): # Does an evolved form exist? - print "evocheck lv %d" % level + #print("evocheck lv %d" % level) try: nu=unit["unit_id"]+1 - #print "nu is: %d" % int(nu) + #print("nu is: %d" % int(nu)) next_name=allunits[nu]["name"] - #print "next name: %s" % next_name + #print("next name: %s" % next_name) except: return False -- cgit v1.2.3-60-g2f50