Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit)

No worries, it's all part of game dev =P  Hope it's ok if I keep posting these (I'm really enjoying the demo, haha!)

This one happened when Cody used Heartbreaker, though I was able to choose ignore and continue. (Although now that I think about it, I loaded a save mid-battle, which maybe I shouldn't have...)  

I'm sorry, but an uncaught exception occurred.
While running game code:
  File "game/script.rpy", line 572, in script call
    call ironFistChapter1 from _call_ironFistChapter1
  File "game/script_ironFist.rpy", line 924, in script call
    $ mapTransition()
  File "game/script_ironFist.rpy", line 1190, in script call
    $ mapTransition()
  File "game/script_ironFist2.rpy", line 158, in script call
    $ phoneTransition()
  File "game/script_ironFist2.rpy", line 257, in script call
    call blueYellowFight from _call_blueYellowFight
  File "game/scripts/other/setup.rpy", line 117, in script call
    call battle pass (fixedset = 'blueyellow', party_list = party_list, skipEnd = False, battle_music ="An Unwavering Will", preambleScreen="blueYellowFight") from _call_battle
  File "game/scripts/battle/battle.rpy", line 663, in script call
    call turn_actions from _call_turn_actions
  File "game/scripts/battle/player_actions.rpy", line 22, in script
    $ endTurn()
  File "game/scripts/battle/player_actions.rpy", line 22, in <module>
    $ endTurn()
  File "game/scripts/define/battle_def.rpy", line 597, in endTurn
    audienceChk(currentplayer)
  File "game/scripts/define/battle_def.rpy", line 990, in audienceChk
    globalCards.append(pickevi)
UnboundLocalError: local variable 'pickevi' referenced before assignment
-- Full Traceback ------------------------------------------------------------
Full traceback:
  File "game/script.rpy", line 572, in script call
    call ironFistChapter1 from _call_ironFistChapter1
  File "game/script_ironFist.rpy", line 924, in script call
    $ mapTransition()
  File "game/script_ironFist.rpy", line 1190, in script call
    $ mapTransition()
  File "game/script_ironFist2.rpy", line 158, in script call
    $ phoneTransition()
  File "game/script_ironFist2.rpy", line 257, in script call
    call blueYellowFight from _call_blueYellowFight
  File "game/scripts/other/setup.rpy", line 117, in script call
    call battle pass (fixedset = 'blueyellow', party_list = party_list, skipEnd = False, battle_music ="An Unwavering Will", preambleScreen="blueYellowFight") from _call_battle
  File "game/scripts/battle/battle.rpy", line 663, in script call
    call turn_actions from _call_turn_actions
  File "game/scripts/battle/player_actions.rpy", line 22, in script
    $ endTurn()
  File "E:\SteamLibrary\steamapps\common\CHI Project Demo\renpy\ast.py", line 823, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "E:\SteamLibrary\steamapps\common\CHI Project Demo\renpy\python.py", line 1178, in py_exec_bytecode
    exec(bytecode, globals, locals)
  File "game/scripts/battle/player_actions.rpy", line 22, in <module>
    $ endTurn()
  File "game/scripts/define/battle_def.rpy", line 597, in endTurn
    audienceChk(currentplayer)
  File "game/scripts/define/battle_def.rpy", line 990, in audienceChk
    globalCards.append(pickevi)
UnboundLocalError: local variable 'pickevi' referenced before assignment
Windows-10-10.0.19045 AMD64
Ren'Py 8.2.3.24061702
CHI Project 2.0
Wed Dec 18 17:29:15 2024

alright, I think I fixed this new one!

as for saving mid-battle, it's a little finicky. It's more stable if you save during your turn, without any animations running, but it's not a guarantee.

Thanks! I just finished the demo without other issues =)

phew...