summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-12-30 21:14:17 -0300
committerJesusaves <cpntb1@ymail.com>2020-12-30 21:14:17 -0300
commit17e1e2211f56cb62e086c6cc12cd988ca09be9da (patch)
treee10e8acfe2ab9ec78f74017b338bcccb5581d5d4
parentd11572fdb5e267e7b24240bd8de0c8f5cb2255c3 (diff)
downloadclient-17e1e2211f56cb62e086c6cc12cd988ca09be9da.tar.gz
client-17e1e2211f56cb62e086c6cc12cd988ca09be9da.tar.bz2
client-17e1e2211f56cb62e086c6cc12cd988ca09be9da.tar.xz
client-17e1e2211f56cb62e086c6cc12cd988ca09be9da.zip
Show monster elemental along name
-rw-r--r--game/gui/battle.rpy12
1 files changed, 9 insertions, 3 deletions
diff --git a/game/gui/battle.rpy b/game/gui/battle.rpy
index a909abb..3c0c685 100644
--- a/game/gui/battle.rpy
+++ b/game/gui/battle.rpy
@@ -98,7 +98,9 @@ screen battle_mobs():
ypos 0.24
xmaximum 180
ymaximum 20
- text en1["name"]
+ hbox:
+ add "gfx/gui/ele_%d.png" % en1["ele"]
+ text " %s" % en1["name"]
bar value en1["hp"] range en1["max_hp"]
# Enemy 2
@@ -110,7 +112,9 @@ screen battle_mobs():
ypos 0.24
xmaximum 180
ymaximum 20
- text en2["name"]
+ hbox:
+ add "gfx/gui/ele_%d.png" % en2["ele"]
+ text " %s" % en2["name"]
bar value en2["hp"] range en2["max_hp"]
# Enemy 3
@@ -122,7 +126,9 @@ screen battle_mobs():
ypos 0.24
xmaximum 180
ymaximum 20
- text en3["name"]
+ hbox:
+ add "gfx/gui/ele_%d.png" % en3["ele"]
+ text " %s" % en3["name"]
bar value en3["hp"] range en3["max_hp"]
#############################################################################