summaryrefslogtreecommitdiff
path: root/src/egg_hatch.c
diff options
context:
space:
mode:
authorDiegoisawesome <Diegoisawesome@users.noreply.github.com>2018-08-29 14:13:39 -0500
committerGitHub <noreply@github.com>2018-08-29 14:13:39 -0500
commit8e5c72766c2efd2d3d4e490232fcd5f6c265fe06 (patch)
treeac0ff8a6501ac194c9123a2c4273630c3d8b33c5 /src/egg_hatch.c
parentaca96b07f063f2d4d6543f5dd6f415a0a4c427db (diff)
parent3dea8fa2658cb1055fb835983e8a738cf543e232 (diff)
Merge pull request #300 from DizzyEggg/decompile_battle_frontier_1
Decompile battle_dome
Diffstat (limited to 'src/egg_hatch.c')
-rw-r--r--src/egg_hatch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/egg_hatch.c b/src/egg_hatch.c
index ab0cd92a2..1c626cc86 100644
--- a/src/egg_hatch.c
+++ b/src/egg_hatch.c
@@ -512,7 +512,7 @@ static void CB2_EggHatch_0(void)
gMain.state++;
break;
case 2:
- copy_decompressed_tile_data_to_vram_autofree(0, gBattleTextboxTiles, 0, 0, 0);
+ DecompressAndLoadBgGfxUsingHeap(0, gBattleTextboxTiles, 0, 0, 0);
CopyToBgTilemapBuffer(0, gBattleTextboxTilemap, 0, 0);
LoadCompressedPalette(gBattleTextboxPalette, 0, 0x20);
gMain.state++;