I figured it out. I made each instance of the random number vector location into its own individual my.status. By doing that, once the random number is generated inside the "dragonRetreatFromPlayer" state, if it is any particular random number, it will make my.status equal the status of the individual vector location to travel. It therefore knocks out of the "dragonRetreatFromPlayer" state, and goes to the new my.state that tells the program to move the dragon to a particular location.