summaryrefslogtreecommitdiff
path: root/src/egg_hatch.c
diff options
context:
space:
mode:
authorTetrable <atiftetra@gmail.com>2018-09-01 12:36:33 +0100
committerGitHub <noreply@github.com>2018-09-01 12:36:33 +0100
commit5a53d6d1fb304736c1fb3c222192a3b722707bca (patch)
treeeb1794c8da8a8b51caa4abc0de8b797c49ead358 /src/egg_hatch.c
parentd8f6da035015393339ea6391d293e5ff88558844 (diff)
parent1895383352da3bd5a4f4990fab045ae3610937fc (diff)
Merge pull request #2 from pret/master
Update
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++;