diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2018-01-21 19:49:52 -0500 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2018-01-21 19:49:52 -0500 |
commit | 79b322918594737d7dc8405e2ad823335693b9ae (patch) | |
tree | 4826b774febbed88a50d22116fd896c34447997e /src/scene/intro.c | |
parent | 5ffd006acfe8ad12e88fa53a93a55b6f59e77779 (diff) | |
parent | 68a402883f780a61f54c2f0c8740429d0b2b3a81 (diff) |
Merge branch 'master' into pokemon_storage_system
Diffstat (limited to 'src/scene/intro.c')
-rw-r--r-- | src/scene/intro.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/scene/intro.c b/src/scene/intro.c index f7e196133..4da341744 100644 --- a/src/scene/intro.c +++ b/src/scene/intro.c @@ -1217,7 +1217,6 @@ static void Task_IntroWaitToSetupPart3DoubleFight(u8 taskId) static void Task_IntroLoadPart3Streaks(u8 taskId) { u16 i; - void *vram; intro_reset_and_hide_bgs(); for (i = 0; i < 32; i++) @@ -1226,8 +1225,7 @@ static void Task_IntroLoadPart3Streaks(u8 taskId) ewram0arr[1][i] = 17; ewram0arr[2][i] = 34; } - vram = (void *)VRAM; - DmaCopy16(3, gSharedMem, vram, 0x60); + DmaCopy16Defvars(3, gSharedMem, (void *)(VRAM + 0x0), 0x60); for (i = 0; i < 0x280; i++) ((u16 *)(VRAM + 0x3000))[i] = 0xF001; for (i = 0; i < 0x80; i++) |