well, if it's the old cartridge game it could be like one of mine and has become a bit glitchy with age.
if it's an emulated version you have it is either poorly created or not compatible with your emulator.
How to change your username
How to add a user avatar
Why was my post hidden?
Flags vs Downvotes
Official PokemonDb League
Type a Pokemon name, type, move or ability to see instant results.