```
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/scripts/adventuring/battle.rpy", line 2433, in script call
call screen adventure_screen(adventure)
File "game/scripts/adventuring/battle.rpy", line 2433, in script call
call screen adventure_screen(adventure)
File "game/scripts/adventuring/battle.rpy", line 2430, in script call
$ adventure.battle.next_unit_turn_start()
File "game/scripts/adventuring/battle.rpy", line 2430, in script call
$ adventure.battle.next_unit_turn_start()
File "game/scripts/adventuring/battle.rpy", line 2433, in script call
call screen adventure_screen(adventure)
File "game/scripts/adventuring/battle.rpy", line 2433, in script call
call screen adventure_screen(adventure)
File "game/scripts/adventuring/battle.rpy", line 2430, in script call
$ adventure.battle.next_unit_turn_start()
File "game/scripts/adventuring/battle.rpy", line 2433, in script call
call screen adventure_screen(adventure)
File "game/scripts/adventuring/battle.rpy", line 2433, in script call
call screen adventure_screen(adventure)
File "game/scripts/adventuring/battle.rpy", line 2430, in script call
$ adventure.battle.next_unit_turn_start()
File "game/scripts/adventuring/battle.rpy", line 2430, in script call
$ adventure.battle.next_unit_turn_start()
File "game/scripts/adventuring/battle.rpy", line 2433, in script call
call screen adventure_screen(adventure)
File "game/scripts/adventuring/battle.rpy", line 2433, in script call
call screen adventure_screen(adventure)
File "game/scripts/adventuring/battle.rpy", line 2433, in script call
call screen adventure_screen(adventure)
[Previous line repeated 1 more time]
File "game/scripts/adventuring/battle.rpy", line 2430, in script call
$ adventure.battle.next_unit_turn_start()
File "game/scripts/adventuring/battle.rpy", line 2433, in script call
call screen adventure_screen(adventure)
File "game/scripts/adventuring/battle.rpy", line 2433, in script call
call screen adventure_screen(adventure)
File "game/scripts/adventuring/battle.rpy", line 2430, in script call
$ adventure.battle.next_unit_turn_start()
File "game/scripts/adventuring/battle.rpy", line 2433, in script call
call screen adventure_screen(adventure)
File "game/scripts/adventuring/battle.rpy", line 2430, in script call
$ adventure.battle.next_unit_turn_start()
File "game/scripts/adventuring/battle.rpy", line 2433, in script call
call screen adventure_screen(adventure)
File "game/scripts/adventuring/adventuring.rpy", line 1048, in script call
$ adventure.on_room_enter()
File "game/scripts/adventuring/battle.rpy", line 2433, in script call
call screen adventure_screen(adventure)
File "game/scripts/adventuring/battle.rpy", line 2430, in script call
$ adventure.battle.next_unit_turn_start()
File "game/scripts/adventuring/battle.rpy", line 2407, in script
pause 0.5
File "renpy/common/000statements.rpy", line 459, in execute_pause
renpy.pause(delay)
File "game/scripts/adventuring/party.rpy", line 1067, in execute
screen hero_info(unit, party):
File "game/scripts/adventuring/party.rpy", line 1067, in execute
screen hero_info(unit, party):
File "game/scripts/adventuring/party.rpy", line 1072, in execute
fixed:
File "game/scripts/adventuring/party.rpy", line 1072, in keywords
fixed:
File "game/scripts/adventuring/party.rpy", line 1073, in keywords
if unit==party.selected_unit:
File "game/scripts/adventuring/party.rpy", line 1073, in <module>
if unit==party.selected_unit:
File "game/scripts/adventuring/party.rpy", line 229, in selected_unit
if self.selected_index >= 0:
TypeError: '>=' not supported between instances of 'NoneType' and 'int'
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "game/scripts/adventuring/battle.rpy", line 2433, in script call
call screen adventure_screen(adventure)
File "game/scripts/adventuring/battle.rpy", line 2433, in script call
call screen adventure_screen(adventure)
File "game/scripts/adventuring/battle.rpy", line 2430, in script call
$ adventure.battle.next_unit_turn_start()
File "game/scripts/adventuring/battle.rpy", line 2430, in script call
$ adventure.battle.next_unit_turn_start()
File "game/scripts/adventuring/battle.rpy", line 2433, in script call
call screen adventure_screen(adventure)
File "game/scripts/adventuring/battle.rpy", line 2433, in script call
call screen adventure_screen(adventure)
File "game/scripts/adventuring/battle.rpy", line 2430, in script call
$ adventure.battle.next_unit_turn_start()
File "game/scripts/adventuring/battle.rpy", line 2433, in script call
call screen adventure_screen(adventure)
File "game/scripts/adventuring/battle.rpy", line 2433, in script call
call screen adventure_screen(adventure)
File "game/scripts/adventuring/battle.rpy", line 2430, in script call
$ adventure.battle.next_unit_turn_start()
File "game/scripts/adventuring/battle.rpy", line 2430, in script call
$ adventure.battle.next_unit_turn_start()
File "game/scripts/adventuring/battle.rpy", line 2433, in script call
call screen adventure_screen(adventure)
File "game/scripts/adventuring/battle.rpy", line 2433, in script call
call screen adventure_screen(adventure)
File "game/scripts/adventuring/battle.rpy", line 2433, in script call
call screen adventure_screen(adventure)
[Previous line repeated 1 more time]
File "game/scripts/adventuring/battle.rpy", line 2430, in script call
$ adventure.battle.next_unit_turn_start()
File "game/scripts/adventuring/battle.rpy", line 2433, in script call
call screen adventure_screen(adventure)
File "game/scripts/adventuring/battle.rpy", line 2433, in script call
call screen adventure_screen(adventure)
File "game/scripts/adventuring/battle.rpy", line 2430, in script call
$ adventure.battle.next_unit_turn_start()
File "game/scripts/adventuring/battle.rpy", line 2433, in script call
call screen adventure_screen(adventure)
File "game/scripts/adventuring/battle.rpy", line 2430, in script call
$ adventure.battle.next_unit_turn_start()
File "game/scripts/adventuring/battle.rpy", line 2433, in script call
call screen adventure_screen(adventure)
File "game/scripts/adventuring/adventuring.rpy", line 1048, in script call
$ adventure.on_room_enter()
File "game/scripts/adventuring/battle.rpy", line 2433, in script call
call screen adventure_screen(adventure)
File "game/scripts/adventuring/battle.rpy", line 2430, in script call
$ adventure.battle.next_unit_turn_start()
File "game/scripts/adventuring/battle.rpy", line 2407, in script
pause 0.5
File "E:\Error\Game\Adventurer Trainer\renpy\ast.py", line 2259, in execute
self.call("execute")
File "E:\Error\Game\Adventurer Trainer\renpy\ast.py", line 2241, in call
return renpy.statements.call(method, parsed, *args, **kwargs)
File "E:\Error\Game\Adventurer Trainer\renpy\statements.py", line 342, in call
return method(parsed, *args, **kwargs)
File "renpy/common/000statements.rpy", line 459, in execute_pause
renpy.pause(delay)
File "E:\Error\Game\Adventurer Trainer\renpy\exports.py", line 1641, in pause
rv = renpy.ui.interact(mouse='pause', type='pause', roll_forward=roll_forward, pause=delay, pause_modal=modal)
File "E:\Error\Game\Adventurer Trainer\renpy\ui.py", line 299, in interact
rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
File "E:\Error\Game\Adventurer Trainer\renpy\display\core.py", line 3587, 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 "E:\Error\Game\Adventurer Trainer\renpy\display\core.py", line 4060, in interact_core
root_widget.visit_all(lambda d : d.per_interact())
File "E:\Error\Game\Adventurer Trainer\renpy\display\core.py", line 684, in visit_all
d.visit_all(callback, seen)
File "E:\Error\Game\Adventurer Trainer\renpy\display\core.py", line 684, in visit_all
d.visit_all(callback, seen)
File "E:\Error\Game\Adventurer Trainer\renpy\display\core.py", line 684, in visit_all
d.visit_all(callback, seen)
File "E:\Error\Game\Adventurer Trainer\renpy\display\screen.py", line 476, in visit_all
callback(self)
File "E:\Error\Game\Adventurer Trainer\renpy\display\core.py", line 4060, in <lambda>
root_widget.visit_all(lambda d : d.per_interact())
File "E:\Error\Game\Adventurer Trainer\renpy\display\screen.py", line 487, in per_interact
self.update()
File "E:\Error\Game\Adventurer Trainer\renpy\display\screen.py", line 680, in update
self.screen.function(**self.scope)
File "game/scripts/adventuring/party.rpy", line 1067, in execute
screen hero_info(unit, party):
File "game/scripts/adventuring/party.rpy", line 1067, in execute
screen hero_info(unit, party):
File "game/scripts/adventuring/party.rpy", line 1072, in execute
fixed:
File "game/scripts/adventuring/party.rpy", line 1072, in keywords
fixed:
File "game/scripts/adventuring/party.rpy", line 1073, in keywords
if unit==party.selected_unit:
File "game/scripts/adventuring/party.rpy", line 1073, in <module>
if unit==party.selected_unit:
File "game/scripts/adventuring/party.rpy", line 229, in selected_unit
if self.selected_index >= 0:
TypeError: '>=' not supported between instances of 'NoneType' and 'int'
Windows-10-10.0.26100 AMD64
Ren'Py 8.1.2-Pastry0.5
Adventurer Trainer 0.2.1a 0.2.1a
Sun May 4 19:52:33 2025
```