Hello

I was trying to create a script who can catch Water Pokemon on Vermillion City (using surf) but when I launch the script he just buy Pokeball and stop, he cant use surf
If someone can help me, Im not a good scripter and my english is soo bad