Fix up some auto merge stuff
This commit is contained in:
parent
ad969c968c
commit
fc3a700357
@ -536,6 +536,8 @@ struct SaveBlock2
|
||||
|
||||
extern struct SaveBlock2 *gSaveBlock2Ptr;
|
||||
|
||||
extern u8 UpdateSpritePaletteWithTime(u8);
|
||||
|
||||
struct SecretBaseParty
|
||||
{
|
||||
u32 personality[PARTY_SIZE];
|
||||
|
||||
@ -25,6 +25,10 @@
|
||||
#define MOVEMENT_MODE_SCRIPTED 2
|
||||
|
||||
#define SKIP_OBJECT_EVENT_LOAD 1
|
||||
#define TIME_OF_DAY_NIGHT 0
|
||||
#define TIME_OF_DAY_TWILIGHT 1
|
||||
#define TIME_OF_DAY_DAY 2
|
||||
#define TIME_OF_DAY_MAX TIME_OF_DAY_DAY
|
||||
|
||||
struct InitialPlayerAvatarState
|
||||
{
|
||||
|
||||
@ -60,7 +60,7 @@ u16 LoadCompressedSpriteSheetByTemplate(const struct SpriteTemplate *template, s
|
||||
|
||||
// Check for LZ77 header and read uncompressed size, or fallback if not compressed (zero size)
|
||||
if ((size = IsLZ77Data(template->images->data, TILE_SIZE_4BPP, sizeof(gDecompressionBuffer))) == 0)
|
||||
return LoadSpriteSheetByTemplate(template, 0, offset);
|
||||
return LoadSpriteSheetByTemplateWithOffset(template, 0, offset);
|
||||
|
||||
LZ77UnCompWram(template->images->data, gDecompressionBuffer);
|
||||
myImage.data = gDecompressionBuffer;
|
||||
@ -68,7 +68,7 @@ u16 LoadCompressedSpriteSheetByTemplate(const struct SpriteTemplate *template, s
|
||||
myTemplate.images = &myImage;
|
||||
myTemplate.tileTag = template->tileTag;
|
||||
|
||||
return LoadSpriteSheetByTemplate(&myTemplate, 0, offset);
|
||||
return LoadSpriteSheetByTemplateWithOffset(&myTemplate, 0, offset);
|
||||
}
|
||||
|
||||
void LoadCompressedSpriteSheetOverrideBuffer(const struct CompressedSpriteSheet *src, void *buffer)
|
||||
|
||||
@ -1410,7 +1410,6 @@ void FogHorizontal_Main(void)
|
||||
case 0:
|
||||
CreateFogHorizontalSprites();
|
||||
if (gWeatherPtr->currWeather == WEATHER_FOG_HORIZONTAL) {
|
||||
u8 paletteNum = IndexOfSpritePaletteTag(TAG_WEATHER_START);
|
||||
Weather_SetTargetBlendCoeffs(12, 8, 3);
|
||||
UpdateShadowColor(0x3DEF); // Gray
|
||||
} else
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user