diff options
author | huderlem <huderlem@gmail.com> | 2019-03-03 09:28:35 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-03 09:28:35 -0600 |
commit | c9d2fcabefb149f259f97b59e15b4d635c52d2c6 (patch) | |
tree | 3122377a548140355ae1a3350212cc52827bc9ac /src/match_call.c | |
parent | 043071ae12aa6854119a44304a5facbd58fa3624 (diff) | |
parent | 9372731c3ef1ac5f7ed59a85b071bde7b87d2460 (diff) |
Merge pull request #553 from Phlosioneer/main-menu-state-machine
Document main_menu state machine, name window constants
Diffstat (limited to 'src/match_call.c')
-rw-r--r-- | src/match_call.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/match_call.c b/src/match_call.c index de1181e8b..cca55fcb6 100644 --- a/src/match_call.c +++ b/src/match_call.c @@ -1191,7 +1191,7 @@ static bool32 LoadMatchCallWindowGfx(u8 taskId) return FALSE; } - FillWindowPixelBuffer(taskData[2], 0x88); + FillWindowPixelBuffer(taskData[2], PIXEL_FILL(8)); LoadPalette(sUnknown_0860EA4C, 0xE0, 0x20); LoadPalette(sPokeNavIconPalette, 0xF0, 0x20); ChangeBgY(0, -0x2000, 0); @@ -1241,7 +1241,7 @@ static bool32 sub_81962D8(u8 taskId) s16 *taskData = gTasks[taskId].data; if (!ExecuteMatchCallTextPrinter(taskData[2])) { - FillWindowPixelBuffer(taskData[2], 0x88); + FillWindowPixelBuffer(taskData[2], PIXEL_FILL(8)); if (!gMatchCallState.triggeredFromScript) SelectMatchCallMessage(gMatchCallState.trainerId, gStringVar4); @@ -1257,7 +1257,7 @@ static bool32 sub_8196330(u8 taskId) s16 *taskData = gTasks[taskId].data; if (!ExecuteMatchCallTextPrinter(taskData[2]) && !IsSEPlaying() && gMain.newKeys & (A_BUTTON | B_BUTTON)) { - FillWindowPixelBuffer(taskData[2], 0x88); + FillWindowPixelBuffer(taskData[2], PIXEL_FILL(8)); CopyWindowToVram(taskData[2], 2); PlaySE(SE_TOREOFF); return TRUE; |