diff options
author | ProjectRevoTPP <projectrevotpp@hotmail.com> | 2017-11-06 03:46:09 -0500 |
---|---|---|
committer | ProjectRevoTPP <projectrevotpp@hotmail.com> | 2017-11-06 03:46:09 -0500 |
commit | 5711615c6067e49c3254f9568be55dc6ed3d5c2f (patch) | |
tree | ac0e55b1797d8b2a913bb500cb31e2fff67c8211 /src/scene/contest_painting.c | |
parent | 618240c62639bc4da73d400965b6df67b2c3619e (diff) |
finish refactoring ewram defines into ewram.h.
Diffstat (limited to 'src/scene/contest_painting.c')
-rw-r--r-- | src/scene/contest_painting.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/scene/contest_painting.c b/src/scene/contest_painting.c index 928b59760..9df2d56da 100644 --- a/src/scene/contest_painting.c +++ b/src/scene/contest_painting.c @@ -12,8 +12,7 @@ #include "strings.h" #include "text.h" #include "unknown_task.h" - -extern u8 ewram[]; +#include "ewram.h" static u8 gUnknown_03000750; static u16 gUnknown_03000752; @@ -184,15 +183,15 @@ static void ShowContestPainting(void) case 2: SeedRng(gMain.vblankCounter1); InitKeys(); - ContestPaintingInitWindow(ewram[0x15DDF]); + ContestPaintingInitWindow(ewram15DDF); gMain.state++; break; case 3: - sub_8107090(ewram[0x15DDE], ewram[0x15DDF]); + sub_8107090(ewram15DDE, ewram15DDF); gMain.state++; break; case 4: - ContestPaintingPrintCaption(ewram[0x15DDE], ewram[0x15DDF]); + ContestPaintingPrintCaption(ewram15DDE, ewram15DDF); LoadPalette(gUnknown_083F6140, 0, 1 * 2); DmaClear32(3, PLTT, 0x400); BeginFastPaletteFade(2); |