Fixed palette weather shading (again).
This commit is contained in:
parent
28ec60a776
commit
f623406731
1 changed files with 2 additions and 0 deletions
|
@ -1716,6 +1716,8 @@ static u8 LoadDynamicFollowerPalette(u16 species, u8 form, bool8 shiny) {
|
|||
if ((paletteNum = IndexOfSpritePaletteTag(spritePalette->tag)) == 0xFF) { // Load compressed palette
|
||||
LoadCompressedSpritePalette(spritePalette);
|
||||
paletteNum = IndexOfSpritePaletteTag(spritePalette->tag); // Tag is always present
|
||||
if (gWeatherPtr->currWeather != WEATHER_FOG_HORIZONTAL) // don't want to weather blend in fog
|
||||
UpdateSpritePaletteWithWeather(paletteNum);
|
||||
}
|
||||
return paletteNum;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue