Getting the below exception during the battle-scene right before the scene with Zanarak (Markus, Kiara and MC fight scene), if Kiara and/or MC takes a health potion mid-fight. I'm not entirely sure if it's a specific health potion that's triggering it. I was able to finish the fight without Kiara or MC taking one, but it makes things hard....
Code:
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/data/world_quests/main/Prologue/script_prologue.rpy", line 2688, in <module>
File "game/engine/battle/CombatEncounter.rpy", line 49, in perform
File "game/engine/battle/BattleScene.rpy", line 364, in performBattle
File "game/engine/callbacks/periodicTick.rpy", line 5, in periodicTick
File "game/engine/callbacks/DelayedCBManager.rpy", line 38, in tick
File "game/engine/callbacks/DelayedCBManager.rpy", line 60, in _processIterObj
File "game/engine/utility/RecursiveIterator.rpy", line 24, in next
File "game/engine/battle/BattleScene.rpy", line 134, in tempUseItemIter
File "game/engine/inventory/functions.rpy", line 139, in RemItemByIndex
KeyError: 2
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "engine/locations/coreLoop.rpyc", line 61, in script call
File "engine/locations/coreLoop.rpyc", line 28, in script call
File "data/world_quests/main/Prologue/qst_prologue.rpyc", line 126, in script call
File "data/world_quests/main/Prologue/script_prologue.rpyc", line 2688, in script
File "F:\f95\ParasiteBlack-0.148-pc\renpy\ast.py", line 1131, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "F:\f95\ParasiteBlack-0.148-pc\renpy\python.py", line 1061, in py_exec_bytecode
exec(bytecode, globals, locals)
File "game/data/world_quests/main/Prologue/script_prologue.rpy", line 2688, in <module>
File "game/engine/battle/CombatEncounter.rpy", line 49, in perform
File "game/engine/battle/BattleScene.rpy", line 364, in performBattle
File "F:\f95\ParasiteBlack-0.148-pc\renpy\exports.py", line 3181, in call_screen
rv = renpy.ui.interact(mouse="screen", type="screen", roll_forward=roll_forward)
File "F:\f95\ParasiteBlack-0.148-pc\renpy\ui.py", line 299, in interact
rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
File "F:\f95\ParasiteBlack-0.148-pc\renpy\display\core.py", line 3377, in interact
repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, pause_modal=pause_modal, **kwargs) # type: ignore
File "F:\f95\ParasiteBlack-0.148-pc\renpy\display\core.py", line 4101, in interact_core
i()
File "game/engine/callbacks/periodicTick.rpy", line 5, in periodicTick
File "game/engine/callbacks/DelayedCBManager.rpy", line 38, in tick
File "game/engine/callbacks/DelayedCBManager.rpy", line 60, in _processIterObj
File "game/engine/utility/RecursiveIterator.rpy", line 24, in next
File "game/engine/battle/BattleScene.rpy", line 134, in tempUseItemIter
File "game/engine/inventory/functions.rpy", line 139, in RemItemByIndex
KeyError: 2
Windows-10-10.0.19044 AMD64
Ren'Py 8.0.3.22090809
Parasite Black 0.148
Mon May 15 23:11:07 2023