Here's all the relevant code:
Code: Select all
$ renpy.layer_at_list([ZoomList[MapZoom][0]], layer='mapdisplay')
if UnitPlaced == True:
$ ActiveDeployment = []
$ UnitPlaced = False
$ PlaceUnit = False
if AddZoom == 1:
python:
MapZoom += 1
AddZoom = 0
for y in range(0, len(CurrentOverlay)):
for x in range(0, len(CurrentOverlay[y])):
CurrentOverlay[y][x].XPos = FindPos(x, zoomlist[MapZoom][1])
CurrentOverlay[y][x].YPos = FindPos(y, zoomlist[MapZoom][1])
renpy.layer_at_list([ZoomList[MapZoom][0]], layer='mapdisplay')
if MinusZoom == 1:
python:
MapZoom -= 1
MinusZoom = 0
for y in range(0, len(CurrentOverlay)):
for x in range(0, len(CurrentOverlay[y])):
CurrentOverlay[y][x].XPos = FindPos(x, zoomlist[MapZoom][1])
CurrentOverlay[y][x].YPos = FindPos(y, zoomlist[MapZoom][1])
renpy.layer_at_list([ZoomList[MapZoom][0]], layer='mapdisplay')
Code: Select all
show screen CurrentMap onlayer mapdisplay
call screen ZoomScreen
Code: Select all
I'm sorry, but errors were detected in your script. Please correct the
errors listed below, and try again.
File "game/CombatEngine.rpy", line 601: end of line expected.
show screen CurrentMap onlayer mapdisplay
Ren'Py Version: Ren'Py 6.99.11.1749