Akiba
[img]http://i.imgur.com/o3RYT4v.png[/img]
- 4,262
- Posts
- 14
- Years
- Age 25
- in a gap
- Seen Apr 10, 2017
I have been doing some research on the Unknown Values for Overworld Strings in Fire Red.
This thread may also serve as a somewhat sketchy Advanced Tutorial for OW Palette modification.
For reference on adding new OWs: [Other] Adding New Overworlds into FireRed for Dummies
For reference on adding new OW Palettes: [Other] New palettes in Fire Red for OW's!
In the game, the first byte after the two FF bytes coincides with the ID of the Palette used by the overworld. However, editing this byte by itself does not seem to affect the game. I have tested and confirmed this. Instead, the first byte of the four OAM data bytes appear to dictate which palette is used by the OW.
The byte conversion originally appears to be [Palette ID]+[0xF].
(Refer to the latter section of the post)
Following this pattern, Palette 0x20 should be called with byte 0x2F.
However, when that is put into practice:
We get this:
That Axew seems a bit black, does it not?
After experimentation, I found that Palette 0x20 is called with byte 0x2A:
And we get this:
Much better.
But now, we must play a game of Psychiatrist, and deduce how this unknown byte actually points to the Palette of our desire.
Consider the following strings from the original Fire Red:
Palette 0x0 is called with byte 0x10.
Palette 0x3 is called with byte 0x12.
Palette 0x4 is called with byte 0x13.
However, as I insert my own palettes and new tables, the pattern becomes increasingly elusive.
Palette 0x21 is called with byte 0x22.
Palette 0x23 is called with byte 0x30.
Furthermore, as I add more sprites and palettes, I must constantly change the bytes, as they seem to point to different palettes each time.
If anyone has a revelation about this, please contribute to this research.
This thread may also serve as a somewhat sketchy Advanced Tutorial for OW Palette modification.
For reference on adding new OWs: [Other] Adding New Overworlds into FireRed for Dummies
For reference on adding new OW Palettes: [Other] New palettes in Fire Red for OW's!
In the game, the first byte after the two FF bytes coincides with the ID of the Palette used by the overworld. However, editing this byte by itself does not seem to affect the game. I have tested and confirmed this. Instead, the first byte of the four OAM data bytes appear to dictate which palette is used by the OW.
The byte conversion originally appears to be [Palette ID]+[0xF].
(Refer to the latter section of the post)
Following this pattern, Palette 0x20 should be called with byte 0x2F.
However, when that is put into practice:
![[PokeCommunity.com] Fire Red Overworld Unknown Byte [PokeCommunity.com] Fire Red Overworld Unknown Byte](https://i1274.photobucket.com/albums/y422/encryptedredux/OWR6_zpsc9960bde.png)
We get this:
![[PokeCommunity.com] Fire Red Overworld Unknown Byte [PokeCommunity.com] Fire Red Overworld Unknown Byte](https://i1274.photobucket.com/albums/y422/encryptedredux/OWR7_zpseac846b8.png)
That Axew seems a bit black, does it not?
After experimentation, I found that Palette 0x20 is called with byte 0x2A:
![[PokeCommunity.com] Fire Red Overworld Unknown Byte [PokeCommunity.com] Fire Red Overworld Unknown Byte](https://i1274.photobucket.com/albums/y422/encryptedredux/OWR8_zps2979d8f1.png)
And we get this:
![[PokeCommunity.com] Fire Red Overworld Unknown Byte [PokeCommunity.com] Fire Red Overworld Unknown Byte](https://i1274.photobucket.com/albums/y422/encryptedredux/OWR9_zps6835daa7.png)
Much better.
But now, we must play a game of Psychiatrist, and deduce how this unknown byte actually points to the Palette of our desire.
Consider the following strings from the original Fire Red:
Palette 0x0 is called with byte 0x10.
![[PokeCommunity.com] Fire Red Overworld Unknown Byte [PokeCommunity.com] Fire Red Overworld Unknown Byte](https://i1274.photobucket.com/albums/y422/encryptedredux/OWR1_zps7ce82e81.png)
Palette 0x3 is called with byte 0x12.
![[PokeCommunity.com] Fire Red Overworld Unknown Byte [PokeCommunity.com] Fire Red Overworld Unknown Byte](https://i1274.photobucket.com/albums/y422/encryptedredux/OWR2_zpsc8b18dec.png)
Palette 0x4 is called with byte 0x13.
![[PokeCommunity.com] Fire Red Overworld Unknown Byte [PokeCommunity.com] Fire Red Overworld Unknown Byte](https://i1274.photobucket.com/albums/y422/encryptedredux/OWR3_zpsaa4f85c9.png)
However, as I insert my own palettes and new tables, the pattern becomes increasingly elusive.
Palette 0x21 is called with byte 0x22.
![[PokeCommunity.com] Fire Red Overworld Unknown Byte [PokeCommunity.com] Fire Red Overworld Unknown Byte](https://i1274.photobucket.com/albums/y422/encryptedredux/OWR4_zps66bf6c59.png)
Palette 0x23 is called with byte 0x30.
![[PokeCommunity.com] Fire Red Overworld Unknown Byte [PokeCommunity.com] Fire Red Overworld Unknown Byte](https://i1274.photobucket.com/albums/y422/encryptedredux/OWR5_zps84abaa74.png)
Furthermore, as I add more sprites and palettes, I must constantly change the bytes, as they seem to point to different palettes each time.
If anyone has a revelation about this, please contribute to this research.
Last edited: