diff options
Diffstat (limited to 'game/battle.rpy')
-rw-r--r-- | game/battle.rpy | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/game/battle.rpy b/game/battle.rpy index 4b6d5e0..86831d7 100644 --- a/game/battle.rpy +++ b/game/battle.rpy @@ -29,6 +29,7 @@ init python: label combat: # Implement combat view + $stdout("================= prepare for combat") $ hud_clear() $ show_img("bg battle", False) scene bg battle @@ -151,12 +152,16 @@ label results: expmsg="PLAYER {b}RANK UP!{/b} (Max Ap: %d -> %d)" % (Player["max_ap"]-response["rank"]+1, Player["max_ap"]) # Report screen - renpy.call_screen("msgbox", "Result:\n%s\n\nGp: %d\n%s\nLoot:\n%s" % ( + try: + renpy.call_screen("msgbox", "Result:\n%s\n\nGp: %d\n%s\nLoot:\n%s" % ( _("VICTORY!"), response["gp"], expmsg, "{size=12}"+loot+"{/size}" - )) + )) + except: + stdout("ERROR SHOWING VICTORY BOX") + pass # Update inventory data and restore $ inv=get_inventory() |