summaryrefslogtreecommitdiff
path: root/src/egg_hatch.c
diff options
context:
space:
mode:
authorjiangzhengwenjz <jiangzhengwenjzw@qq.com>2019-06-28 01:56:26 +0800
committerjiangzhengwenjz <jiangzhengwenjzw@qq.com>2019-06-28 01:56:43 +0800
commitf52d439a8588f82268ed199ce08ce3c792071ff3 (patch)
tree0735d9cd082a7103225ae1040ab6395ee1ab2910 /src/egg_hatch.c
parentfd543fd799caf59cabf55721e561fcfb0f59315d (diff)
finished decompress (1 failed attempt)
Diffstat (limited to 'src/egg_hatch.c')
-rw-r--r--src/egg_hatch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/egg_hatch.c b/src/egg_hatch.c
index 5e27a6482..f8d1044f6 100644
--- a/src/egg_hatch.c
+++ b/src/egg_hatch.c
@@ -437,8 +437,8 @@ static u8 EggHatchCreateMonSprite(u8 a0, u8 switchID, u8 pokeID, u16* speciesLoc
{
u16 species = GetMonData(mon, MON_DATA_SPECIES);
u32 pid = GetMonData(mon, MON_DATA_PERSONALITY);
- sub_800ECC4(&gMonFrontPicTable[species], gMonSpritesGfxPtr->sprites[(a0 * 2) + 1], species, pid);
- LoadCompressedObjectPalette(GetMonSpritePalStruct(mon));
+ HandleLoadSpecialPokePic(&gMonFrontPicTable[species], gMonSpritesGfxPtr->sprites[(a0 * 2) + 1], species, pid);
+ LoadCompressedSpritePalette(GetMonSpritePalStruct(mon));
*speciesLoc = species;
}
break;