diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2021-06-29 20:40:25 -0400 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2021-06-29 20:40:25 -0400 |
commit | a3a160964ddaae34383e884434132e35d6dbb158 (patch) | |
tree | 54ece5a7f2c9d6b92bfa5f92e0b4542ddec68799 | |
parent | ce62efbcecec4465c1b03578957513ca33dd3b80 (diff) |
This array is part of a contest buffer
-rw-r--r-- | include/ewram.h | 1 | ||||
-rw-r--r-- | src/contest_2.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/include/ewram.h b/include/ewram.h index 8aa244907..85085e075 100644 --- a/include/ewram.h +++ b/include/ewram.h @@ -138,7 +138,6 @@ extern u8 gSharedMem[]; #define ewram16108arr(i) (gSharedMem[0x16108 + i]) #define ewram16400 (gSharedMem + 0x16400) #define AI_ARRAY_160CC(i) (gSharedMem[0x160CC + i * 2]) -#define ewram16800 (&gSharedMem[0x16800]) // gBattleResources #define AI_THINKING_STRUCT ((struct AI_ThinkingStruct *)(gSharedMem + 0x16800)) diff --git a/src/contest_2.c b/src/contest_2.c index 0217c02c4..5d33c3d2f 100644 --- a/src/contest_2.c +++ b/src/contest_2.c @@ -3579,7 +3579,7 @@ void Task_AnimateAudience(u8 taskId) gTasks[taskId].data[10] = 0; if (gTasks[taskId].data[11] == 0) { - DmaCopy32Defvars(3, ewram16800, (void *)(VRAM + 0x2000), 0x1000); + DmaCopy32Defvars(3, eUnzippedContestAudience_Gfx + 0x1000, (void *)(VRAM + 0x2000), 0x1000); } else { |