Ok, I'm not sure if this has anything to do with the script that I'm using, but it should work...
So, my problem is, I made a script where you see a poké ball, you click it, it shows a picture of a pokemon, asks if you want it yes/no. If no, then ok, choose another one, end script. When you press yes you go on, get the pokemon, fanfair, your rival picks a pokemon and then he leaves...
This all takes place in the lab, with an aid and your rival. Now, my problem is... that after you choose your pokemon, you can choose if you want to give it a name. When you press no the script runs fine and it works as it should. When you press yes the script also works fine... but at the end of the script you don't control the player but the lab assistant... Why's this?
I don't think the script is need... but I'm still posting it xD
Oh, and it's a level script.
I'll try if it helps to do the name choosing later in the game...
But I'm still wondering why this happens, so if anyone has an answer please answer :D