summaryrefslogtreecommitdiff
path: root/game/battle.rpy
diff options
context:
space:
mode:
Diffstat (limited to 'game/battle.rpy')
-rw-r--r--game/battle.rpy2
1 files changed, 2 insertions, 0 deletions
diff --git a/game/battle.rpy b/game/battle.rpy
index a0e96f5..fa93370 100644
--- a/game/battle.rpy
+++ b/game/battle.rpy
@@ -99,6 +99,7 @@ init python:
label combat:
# Implement combat view
$stdout("================= prepare for combat")
+ $ battle_mode = True
$ hud_clear()
$ show_img("bg %s" % TMP_BACKG, False)
scene bg battle
@@ -274,6 +275,7 @@ label combat:
jump combat
label results:
+ $ battle_mode = False
$ Player["status"]=ST_TOWN
if (response["result"] == "DEFEAT"):
$ renpy.call_screen("msgbox", "Result:\n%s" % _("DEFEAT"))