diff options
Diffstat (limited to 'src/egg_hatch.c')
-rw-r--r-- | src/egg_hatch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/egg_hatch.c b/src/egg_hatch.c index f0c8f232a..d6410391e 100644 --- a/src/egg_hatch.c +++ b/src/egg_hatch.c @@ -419,8 +419,8 @@ static void CB2_EggHatch_0(void) break; case 2: LZDecompressVram(&gBattleTextboxTiles, (void*)(VRAM)); - CpuSet(&gBattleTextboxTilemap, ewram0_7, 0x800); - DmaCopy16(3, ewram0_7, (void*)(VRAM + 0x2800), 0x500); + CpuSet(&gBattleTextboxTilemap, gSharedMem, 0x800); + DmaCopy16(3, gSharedMem, (void*)(VRAM + 0x2800), 0x500); LoadCompressedPalette(&gBattleTextboxPalette, 0, 0x20); gMain.state++; break; |