On the menus of my game, I use extend "" to keep the text box in place while a user makes a choice. After the player makes a choice, I have a call set up that shows the player if they've made a good/bad choice. The intended effect is that the text box stays in place during the little animation. During regular play (if you started a new game or loaded a game), everything works fine.
Here is the code I have set up for a menu:
Code: Select all
menu:
extend ""
"I'm busy.":
play sound "sfx/button.mp3"
$ max_affection +=10
$ max_affection_action = "up"
call max_affection_animation
Not sure if this will help, but here is the code for the corresponding call statement:
Code: Select all
label max_affection_animation:
if max_affection_action == "up":
show max_affection_base:
xalign 0.29 yalign .74
show affection_arrow:
xalign .29 yalign .74
linear 1.0 xalign .33
with dissolve
hide max_affection_base
hide affection_arrow
with dissolve
elif max_affection_action == "down":
show max_affection_base:
xalign 0.29 yalign .74
show affection_arrow:
xalign .33 yalign .74
linear 1.0 xalign .29
with dissolve
hide max_affection_base
hide affection_arrow
with dissolve
return