summaryrefslogtreecommitdiff
path: root/game/gui/battle.rpy
diff options
context:
space:
mode:
Diffstat (limited to 'game/gui/battle.rpy')
-rw-r--r--game/gui/battle.rpy4
1 files changed, 2 insertions, 2 deletions
diff --git a/game/gui/battle.rpy b/game/gui/battle.rpy
index 0a4caa2..7579dce 100644
--- a/game/gui/battle.rpy
+++ b/game/gui/battle.rpy
@@ -401,7 +401,7 @@ screen battle():
yalign 0.0
# Preferences button
null width 20
- imagebutton auto "gfx/gui/cog_%s.png" action ShowMenu('preferences')
+ imagebutton auto "gfx/gui/cog_%s.png" action ShowMenu('sumconf')
null width 20
text "%d " % (Battle["turn"])
text _(" Turn")
@@ -427,7 +427,7 @@ screen battle():
insensitive "gfx/gui/summon_none.png"
idle "gfx/gui/summon_idle.png"
hover "gfx/gui/summon_hover.png"
- action ifte(Battle["bp"] > 10 or debug, Return(ACT_SUMMON), None)
+ action ifte(Battle["bp"] >= allsummons[persistent.summon]["cost"], Return(ACT_SUMMON), None)