This Aseprite extension lets you copy images/subimages from Aseprite to PICO-8 or Picotron.
- save this script to your aseprite scripts folder (File > Scripts > Open Scripts Folder) then reopen aseprite (or click "Rescan Scripts")
- load an image with the picotron palette (or pico-8 extended palette)
- (optional) change the image's color mode to "indexed" (Sprite > Color Mode > Indexed)
- if you skip this step, picotron will find the "closest" color for each pixel when you import. (but, the "closest" algorithm isn't very smart)
- be sure aseprite's palette is in the right order! you can load the palette (above) into aseprite and then press the "remap colors" button that pops up
- launch this script, press "Copy" to copy to clipboard. (alt-c should work too)