diff --git a/game/scripts/characters/cho/common.rpy b/game/scripts/characters/cho/common.rpy index 23570703..70a433ee 100644 --- a/game/scripts/characters/cho/common.rpy +++ b/game/scripts/characters/cho/common.rpy @@ -47,8 +47,8 @@ init python in character: layer = renpy.store.cho.layer if xpos is not None or ypos is not None: - xpos = renpy.store.cho.pos[0] if xpos is None else sprite_pos.get("x").get(xpos, xpos) - ypos = renpy.store.cho.pos[1] if ypos is None else sprite_pos.get("y").get(ypos, ypos) + xpos = renpy.store.cho.pos[0] if xpos is None else renpy.store.sprite_pos.get("x").get(xpos, xpos) + ypos = renpy.store.cho.pos[1] if ypos is None else renpy.store.sprite_pos.get("y").get(ypos, ypos) renpy.store.cho.pos = (xpos, ypos) redraw = True