I get this error when i use the apparition potion.
I'm sorry, but an uncaught exception occurred.
Compiling ATL code at game/scripts/plot/act_1/chapter_5/menus.rpy:2861
NameError: name 'xpos' is not defined
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "script.rpyc", line 63, in script call
File "scripts/plot/plot_menu.rpyc", line 156, in script call
File "scripts/plot/act_1/act1_menu.rpyc", line 49, in script call
File "scripts/plot/act_1/chapter_5/menus.rpyc", line 388, in script call
File "mechanics/inventory.rpyc", line 142, in script call
File "scripts/plot/act_1/chapter_5/menus.rpyc", line 2747, in script call
File "scripts/plot/act_1/chapter_5/menus.rpyc", line 2913, in script
File "renpy/ast.py", line 2010, in execute
self.call("execute")
File "renpy/ast.py", line 1998, in call
return renpy.statements.call(method, parsed, *args, **kwargs)
File "renpy/statements.py", line 278, in call
return method(parsed, *args, **kwargs)
File "game/modules/parse_utilities/main.rpym", line 1074, in wrap_call
func(self)
File "game/modules/parse_utilities/main.rpym", line 264, in wrap
return func(self, *args, **kwargs)
File "game/modules/statements.rpym", line 28, in execute
renpy.pause(delay_arg, hard=self.hard)
File "game/modules/early_definitions.rpym", line 660, in pause
rv = renpy.ui.interact(mouse="pause", type="pause", roll_forward=roll_forward, pause=delay)
File "renpy/ui.py", line 298, in interact
rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
File "renpy/display/core.py", line 3276, in interact
repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, **kwargs)
File "renpy/display/core.py", line 3518, in interact_core
i()
File "renpy/gl2/live2d.py", line 468, in update_states
d.visit_all(visit)
File "renpy/display/core.py", line 558, in visit_all
for d in self.visit():
File "renpy/atl.py", line 603, in visit
block = self.compile()
File "renpy/atl.py", line 510, in compile
block = self.atl.compile(self.context)
File "game/modules/ATL.rpym", line 91, in compile
statements = [ i.compile(ctx) for i in self.statements ]
File "renpy/atl.py", line 953, in compile
value = ctx.eval(expr)
File "renpy/atl.py", line 260, in eval
return eval(expr, renpy.store.__dict__, self.context) # @UndefinedVariable
File "<string>", line 1, in <module>
NameError: name 'xpos' is not defined
Windows-10-10.0.19041
Ren'Py 7.4.8.1895
Innocent Witches 0.7.2-beta
Sat Sep 25 15:28:58 2021