game
This commit is contained in:
@@ -122,12 +122,16 @@ public partial class DoorView : Control
|
||||
|
||||
public void TrickPressed()
|
||||
{
|
||||
trick_bool = true;
|
||||
int s = (int)menu.Get("spell");
|
||||
menu.Set("spell", ++s);
|
||||
text_mob.Text = "-You have casted : " + txt[s-1] + "\n- It : ...?";
|
||||
butA.Text = "##############";
|
||||
butB.Text = "##############";
|
||||
anim.Play("question");
|
||||
if ((int)menu.Get("spell") < 8)
|
||||
{
|
||||
trick_bool = true;
|
||||
int s = (int)menu.Get("spell");
|
||||
menu.Set("spell", ++s);
|
||||
text_mob.Text = "-You have casted : " + txt[s-1] + "\n- It : ...?";
|
||||
butA.Text = "##############";
|
||||
butB.Text = "##############";
|
||||
anim.Play("question");
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user