Use WASD (or the arrow keys) to move. To use the moves, you can click on the buttons or use 1, 2, 3, & 4. (Avoid pressing multiple keys at the same time or the movement system won't work) You can't catch a Pokemon unless its health is under 30%
Almost the exact same code as WingedLizard38, but I added shiny sprites to make the game a little more exciting In most Pokemon games the chance of encountering a shiny is 1/4096, but to make it likely for you to encounter a shiny Pokemon, the chance was reduced to 1/100 I added Mew, which has a 1% of being encountered and a 1/10000 chance of encountering a shiny Mew