Font color depends on overworld sprite
View Single Post
December 19th, 2010, 09:49 AM
Not the Script Help Thread
Join Date: Dec 2007
Location: Goldenrod City, Johto
Originally Posted by
The table you're looking for is at 08464300. It has 4-bit entries. (Firered)
EDIT: How I found this out:
As you probably know the C7-Script-Commands overwrites the color to use for the next textbox. This commands writes its argument to 020370DA. Now I put a writing breakpoint on 020370DA. 0xFF is written to this position in every frame by 080CBDF0 so I turn the writing breakpoint off and replace it with a reading breakpoint. This one triggers at 080CBE04. The code shows: If 080CBDF0 isn't 0xFF it is used as the color. Otherwise a function (0813CD24) is called to read the color out of the table mentioned above.
Awesome! Exactly what I wanted/needed.
I thought about doing that, but decided it wasn't as MUCH of a priority as other things.
Also, I'm guessing that each 4 bits are flipped? (Ex. Sprite 1= Male; Sprite 2 = Female, = 10)
My other resources:
diegoisawesome's MEGA-HUGE XSE Scripting Tutorial
diegoisawesome's Miscellaneous Finds
The Ruins of Alph Puzzles
View Public Profile
Send a private message to diegoisawesome
Visit diegoisawesome's homepage!
Find all posts by diegoisawesome
Find threads started by diegoisawesome
Ignore Posts by diegoisawesome