Sorry, couldn't think of the correct terminology but anyways, following in from a previous thread where i wanted to streamline my code, I have this for the moment:
Code: Select all
screen ava_card_text(x1,y1,x2,y2,y3,y4,y5,y6):
text "Affection: " style "ultd":
xanchor 1.0
xpos x1
ypos y1
text "[ava_stats.affection]" style "ultd":
xanchor 0
xpos x2
ypos y1
...repeatCode: Select all
screen card_text(x1,y1,x2,y2,y3,y4,y5,y6,char_name):
text "affection: " style "ultd":
xanchor 1.0
xpos x1
ypos y1
text "["+char_name+"_stats.affection]" style "ultd":
xanchor 0
xpos x2
ypos y1
...repeat