Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
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.
I have an idea for a move that makes the opponent use a random move for that turn, similar to sleep talk, but for the opponent and doesn't require sleep. How should I go about scripting it? Should I just take from Sleep Talk?
I'd base it on James Davy's code from here, but populate the move list from the foe's moves (maybe you could look at something like Mimic to find out how to get that list).
Are there any moves that cannot be selected for your move? For example Metronome cannot select Struggle, Snore, Chatter, Mimic, Sketch, Transform, Counter, Mirror Coat, Metal Burst and several others.