Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.
To take BadSamaritan's example a step further, couldn't you put in a global switch(yeah, the road to hell is paved with globals) of isSpinning, repeating the move pattern, and terminating the spinning when you land on an "end" tile or bump into a wall.