Here's a couple of buttons:
Code: Select all
vbox:
pos(1413, 217)
spacing 5
frame at flashup1:
style "interfacebutton"
textbutton "{font=fonts/Friz Quadrata Regular.ttf}Formation{/font}":
text_size 25
align (0.5,0.5)
hovered SetVariable("helptext", "Change your party configuration. Select the party slot first, then the character you want to swap from the combatant list.")
unhovered SetVariable("helptext", "")
if party != party1:
action NullAction()
else:
if renpy.get_screen("partyselector"):
action Hide("partyselector")
else:
action Show("partyselector"), Hide("RedeemCode"), Hide("CharacterEquipement"), Hide("CombatItems"), Hide("DateInfo"), SetVariable("selected_potion", 0), Hide("character_attributes"), SetVariable("selected_date", None)
frame at flashup2:
style "interfacebutton"
textbutton "{font=fonts/Friz Quadrata Regular.ttf}Combat Items{/font}":
text_size 25
align (0.5,0.5)
hovered SetVariable("helptext", "Change the available items during combat. Select the item slot first, then the item you want to swap from the battle inventory.")
unhovered SetVariable("helptext", "")
if renpy.get_screen("CombatItems"):
action Hide("CombatItems"), SetVariable("selected_potion", 0)
else:
action Hide("partyselector"), Hide("RedeemCode"), Hide("CharacterEquipement"), Hide("DateInfo"), Show("CombatItems"), Hide("character_attributes"), SetVariable("selected_date", None)