I'm not sure how to word this for search, so if someone else has asked this before, i'd appreciate being sent to that post. Essentially, i'm trying to make a "Mystery" command for battle, using variables. Essentially, i've been trying to make it so if the "Mystery" command is used in battle, a variable is rolled from 1-X, depending on how many random events can happen in that battle. The biggest problem is, it keeps looping! This is hard for me to explain, so let me link some pictures to show what i'm doing. Here are examples of what i'm trying to do. All I can find is a "If variable 0001 is above [x], and Gared uses the [Mystery] command, do y." The problem is, that can loop the mystery command stuff. Is there some better way of rolling a random event in battle? There must be, as i've seen something like this before. I really just want a number to be rolled, or some other way for the game to randomly select one of the battle events I set for the mystery command when It's selected in game. Then I want to change it so it cannot be used again in that battle. Anyone have any ideas for this kind of thing?