redriders180
Mastermind of Pokemon Glazed
- 314
- Posts
- 14
- Years
- Path of Victory, Tunod
- Seen Dec 17, 2016
It's easy...
Follow these steps:
1. Open your Snivy sprite in Paint
2. Fill the background with any color that doesn't match with sprite color (I think Snivy doesn't have red so you can use red)
3. Save your sprite as PNG file (I recommend Snivy.png)
4. Download IrfanView
5. Open your Snivy.png in IrfanView
6. Click Image->Decrease Color Depth...
7. Choose 16 Colors (4 BPP) and click OK
8. Click Image->Palette->Edit palette...
9. Swap the first color with the background color (so if you have first green and second red, then make the first color red and the second green)
10. Your sprite looks now strange but it's OK
11. Save your image as (I recommend) Snivy_indexed.png
12. Open your Snivy.png in Paint
13. Choose "Select all" and then "copy"
14. Then open Snivy_indexed.png in Paint
15. Now paste the previously copied sprite (Snivy.png) and then save
16. Congratulations! You have indexed a sprite!
Sorry for my english... :)
I just feel like I should add on to this a little. When I first tried indexing, MS Paint wouldn't retain the index, and it would be erased when i opened it in paint. This might be some kind of idiosyncrasy with my Paint (I'm using the one from windows 7). Anyway, if paint does the same for you, I'd try Gimp. It works nicely, and its basically the same process, but it retains the index. Just in case :)
I'm really sorry if this has been posted before but I couldn't seem to find it.
I know how to use hidesprite to make a sprite disappear after a particular event, and then how to use showsprite to show them again. But what I don't get is how to have a sprite hidden in the first place (before any event is activated) and then have them appear for a particular event. So for example, I want my player character to choose their starter Pokemon, and then the rival to walk into the room to choose his. How would I do this? Do I need to use hidesprite/showsprite in a particular way, or is there a different command or what?
I'm using XSE if it helps. Thanks!
There are probably fancier ways, but this is basically what I do (I'm assuming you dont understand about flags permanently hiding sprites, but if you do, you can skip a bit)
1. Give the Rival a Person ID (by clicking on the rival in A-Map and near the bottom it says "Person ID". Make sure it's NOT the same as any other flags you might have used.
2. Place a script outside of lab that simply says "setflag 0x[RIVAL PERSON ID]"
Setting the flag makes all person IDs that match that flag disappear (clearflag makes them show up again). When you write the script for the rival popping up, just say clearflag 0x[PERSON ID], and I usually include showsprite just in case. Then, at the end, just use hidesprite and setflag 0x[PERSON ID] to make them disappear again. I would also say when you write the applymovement for the rival leaving, i would include #raw 0x60, which hides the sprite as well, just to be extra sure it hides.
Hope this helped :)