This is the ninth installment of my Pokemon RPG, a Pokemon Legends game taking place in the Alola Region (the story was changed). Press E to copy an existing tile (on the map). Make sure that it's on the right layer, because you can't copy tiles on a different layer. Press 0 to toggle editing on and off. Click on the tile you wish to select (in the tile palette on the right side of the screen in editing mode) Press 1, 2, and 3 for the layers. Press them again to toggle Onion Mode on and off. Press p to toggle the palette meta editor on and off. (You don't really need to, because I made all of the collision pins already for you.)
Thanks to @Griffpatcher2 for spot-checking my code in order to help fix bugs. Version update list: v0.01: Released the game. Only the player movement was added. v0.0.2: Added better map. DO NOT USE 100 FOR GMAX VARIABLE v0.0.3: The lag was reduced (barely any anymore). v0.0.4: Added editor and joystick. v0.0.5: Made editor better. v0.0.6: Added layers and onion skinning feature. v0.0.7: Added collision pin features v0.0.8: You can no longer go through tiles. v.0.0.9: Animated the game world and updated the editor. v0.1 coming soon!