I have many questions, so please bear with me. All of these questions pertain to Fire Red.
1: Is there a way to change the gender of an overworld? You know how a male overworld has blue text, and a female has red text. Is that all part of the script? Or is it the overworld itself?
2: How can you go into the script of a Gym Leader and change the TM that they give you? I have no scripting experience and have always failed whenever I attempted one.
3: Whenever I try to change the gym badges, the black outline becomes transparent. No matter which palette I try to use in unLZ, it always ends up being transparent. What am I doing wrong?
4: How can you change the color of the battle background when doing an Elite Four match. Like if I want to change the blue setting of Lorelei's battle to red.
I would appreciate it greatly if anyone can answer these questions.
1. This function actually IS automatic...open up any OW's script in Firered, and you won't see anything that changes the text's color. There's most likely a table somewhere in the ROM that chooses the color depending on the gender. Of course, you can fake it as well, by using [blue_fr] or [red_fr] for blue and red text, respectively. Place these at the beginning of the string...for example:
Code:
#dynamic 0x800000
#org @start
msgbox @message MSG_FACE
release
end
#org @message
= [red_fr]I speak with red text!
The above is for XSE. I don't know Pokescript, so I don't know what command, if any, it uses for text color change. XSE also has a command called "textcolor" that changes the text to black, blue, or red depending on the parameter specified (I never use this command, so I don't remember the bytes. Check a tutorial for more details).
2. There is a command in all gym leader's scripts that is called "giveitem", which gives an item. Additionally, there's a command called "giveitem2", which will display a custom text, as opposed to the generic "Obtained a _______!". There's only one, or maybe two (one for if you have enough room for it when you finish the battle, another if you didn't have enough room and had to go back), so change the values of both to the item you want. The command is laid out as so:
giveitem2 [
Item_Number] [Quantity] [Jingle Number]
Once you do that, you need to edit the custom string. You could actually be getting the right TM, but it still displays the custom message. The custom message is dictated by the "loadpointer" command, and is usually located right around the giveitem2 command. Change that text to the correct TM, and you'll be all set
3. I don't know how much experience you have with indexing, but I'd read a tutorial on inserting Pokemon sprites (the process is virtually identical). The first color in the index is always considered "transparent". So if black is the first color in the index, then it'll be the transparent color.
4. The palettes of battle platforms are stored in the wonkiest way possible. I don't want to explain it here...it would take way too long to explain. I recommend just waiting until you have more experience.