Verified Commit 6f7020fa authored by Jesusaves's avatar Jesusaves
Browse files

Hotfix for unreferenced variable. But you could use Summons outside combat?

parent 1618c4b3
......@@ -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"))
......
......@@ -352,6 +352,7 @@ init python:
#default quick_menu = True
default tr_loading = False
default story_mode = False
default battle_mode = False
default hud_interface = False
style quick_button is default
......@@ -401,7 +402,7 @@ screen navigation():
textbutton _("Help") action ShowMenu("help")
if not (main_menu or story_mode or hud_interface): # FIXME
if battle_mode: # FIXME
if Player["quest"] >= 5:
textbutton _("Summons") action ShowMenu("sumconf")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment