diff options
author | DizzyEggg <jajkodizzy@wp.pl> | 2017-10-01 18:54:01 +0200 |
---|---|---|
committer | DizzyEggg <jajkodizzy@wp.pl> | 2017-10-01 18:54:01 +0200 |
commit | 1fcafaf35aaf92251e7802e1e3ea36e8d5a6067b (patch) | |
tree | afcfa3b51d96b15bcddfcfc9665bb95b46b2a972 /src/egg_hatch.c | |
parent | 729f4e10ed8a53155d992b8904926a10181acafa (diff) |
more of battle2 done
Diffstat (limited to 'src/egg_hatch.c')
-rw-r--r-- | src/egg_hatch.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/egg_hatch.c b/src/egg_hatch.c index c5cee6357..4e4c10090 100644 --- a/src/egg_hatch.c +++ b/src/egg_hatch.c @@ -65,7 +65,7 @@ extern void fade_screen(u8, u8); extern void overworld_free_bg_tilemaps(void); extern void sub_80AF168(void); extern void AllocateMonSpritesGfx(void); -extern void sub_805F094(void); +extern void FreeMonSpritesGfx(void); extern void remove_some_task(void); extern void reset_temp_tile_data_buffers(void); extern void c2_exit_to_overworld_2_switch(void); @@ -570,7 +570,7 @@ static void CB2_EggHatch_0(void) static void EggHatchSetMonNickname(void) { SetMonData(&gPlayerParty[gSpecialVar_0x8004], MON_DATA_NICKNAME, gStringVar3); - sub_805F094(); + FreeMonSpritesGfx(); Free(sEggHatchData); SetMainCallback2(c2_exit_to_overworld_2_switch); } @@ -691,7 +691,7 @@ static void CB2_EggHatch_1(void) case 12: if (!gPaletteFade.active) { - sub_805F094(); + FreeMonSpritesGfx(); RemoveWindow(sEggHatchData->windowId); UnsetBgTilemapBuffer(0); UnsetBgTilemapBuffer(1); |