Temp fixes
This commit is contained in:
parent
00241cf569
commit
0b8aa7b0dc
@ -898,12 +898,14 @@ void UpdateSpritePaletteWithWeather(u8 spritePaletteIndex, bool8 allowFog)
|
||||
// If faded out, i.e due to fadescreenswapbuffers,
|
||||
// Copy unfaded palette to pal decomp buffer
|
||||
// so it will be restored on fade-in
|
||||
/*
|
||||
if (gPaletteFade.y == 16)
|
||||
CpuFastCopy(
|
||||
gPlttBufferUnfaded + OBJ_PLTT_ID(spritePaletteIndex),
|
||||
gDecompressionBuffer + 2 * OBJ_PLTT_ID(spritePaletteIndex),
|
||||
PLTT_SIZE_4BPP
|
||||
);
|
||||
*/
|
||||
}
|
||||
|
||||
void ApplyWeatherColorMapToPals(u8 startPalIndex, u8 numPalettes)
|
||||
|
||||
@ -901,7 +901,7 @@ static void LoadTilesetPalette(struct Tileset const *tileset, u16 destOffset, u1
|
||||
// All 'gTilesetPalettes_' arrays should have ALIGNED(4) in them,
|
||||
// but we use SmartCopy here just in case they don't
|
||||
if (skipFaded) {
|
||||
CpuSmartCopy16(tileset->palettes[NUM_PALS_IN_PRIMARY], &gPlttBufferUnfaded[destOffset], size);
|
||||
CpuCopy16(tileset->palettes[NUM_PALS_IN_PRIMARY], &gPlttBufferUnfaded[destOffset], size);
|
||||
} else
|
||||
LoadPaletteFast(tileset->palettes[NUM_PALS_IN_PRIMARY], destOffset, size);
|
||||
low = NUM_PALS_IN_PRIMARY;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user