So I'm making a game where there is a party screen in which people can check on the stats of their current members. I wanted to have it so that you can see different versions of the characters depending on their status (greyscale if they're dead, a lock if they haven't been met yet, etc.). So far it works... Kinda. Right now only one button seems to work at a time. I've implemented both Sheehan & Audrey (characters) and I'm only able to see one button at a time. Hopefully someone can help me out? OTL
Code: Select all
screen party():
tag menu
imagemap:
ground "ground.png"
if stataudrey == "Alive":
idle "audreyicon1.png"
hover "audreyicon3.png"
hotspot (33, 36, 207, 202) clicked ShowMenu('audrey')
elif stataudrey == "Dead":
image "audreyicon2.png"
if statsheehan == "Alive" and sparty == 1:
idle "sheehanicon1.png"
hover "sheehanicon3.png"
hotspot (298, 271, 218, 253) clicked ShowMenu('sheehan')
elif statsheehan == "Dead":
image "sheehanicon2.png"
if statkyu == "Alive" and kparty == 1:
hotspot (551, 30, 222, 233) clicked ShowMenu('kyu')
idle "kyuicon1.png"
elif statkyu == "Dead":
image "kyuicon2.png"
if stathayley == "Alive" and hparty == 1:
hotspot (300, 38, 205, 205) clicked ShowMenu('hayley')
idle "hayleyicon1.png"
elif stathayley == "Dead":
image "hayleyicon2.png"
if statdylan == "Alive" and dparty == 1:
hotspot (12, 290, 236, 238) clicked ShowMenu('dylan')
idle "dylanicon1.png"
elif statdylan == "Dead":
image "dylanicon2.png"
if statkait == "Alive" and kkparty == 1:
hotspot (560, 323, 203, 205) clicked ShowMenu('kait')
idle "kaiticon1.png"
elif statkait == "Dead":
image "kaiticon2.png"
image "partyscreen.png"
hbox:
xalign 1.0
yalign 1.0
textbutton("Back") action Return()