diff options
author | huderlem <huderlem@gmail.com> | 2019-04-08 17:30:28 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-08 17:30:28 -0500 |
commit | ce93d3ab9ac460ba771863df60e36be8497b7c78 (patch) | |
tree | c0b78fe2cd3bd406c16d244dd257ccd5d751f9ef /src/easy_chat.c | |
parent | c8ce1a0a1f533a265d5134660c31b1ec6e8b86e0 (diff) | |
parent | 50350cc2e1c26082f9d852e97e1698f7254d4145 (diff) |
Merge pull request #661 from Phlosioneer/contest-ai-cleanup
contest & contest_ai cleanup
Diffstat (limited to 'src/easy_chat.c')
-rw-r--r-- | src/easy_chat.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/easy_chat.c b/src/easy_chat.c index b29a05bab..93456631a 100644 --- a/src/easy_chat.c +++ b/src/easy_chat.c @@ -32,6 +32,7 @@ #include "constants/flags.h" #include "constants/songs.h" #include "constants/species.h" +#include "constants/rgb.h" #define EZCHAT_TASK_STATE 0 #define EZCHAT_TASK_TYPE 1 @@ -1139,20 +1140,20 @@ static void sub_811A2FC(u8 taskId) case 0: SetVBlankCallback(VBlankCallback_EasyChatScreen); BlendPalettes(0xFFFFFFFF, 16, 0); - BeginNormalPaletteFade(0xFFFFFFFF, -1, 16, 0, 0); + BeginNormalPaletteFade(0xFFFFFFFF, -1, 16, 0, RGB_BLACK); data[EZCHAT_TASK_STATE] = 5; break; case 1: v0 = sub_811AAAC(); if (sub_811A88C(v0)) { - BeginNormalPaletteFade(0xFFFFFFFF, -2, 0, 16, 0); + BeginNormalPaletteFade(0xFFFFFFFF, -2, 0, 16, RGB_BLACK); data[EZCHAT_TASK_STATE] = 3; data[EZCHAT_TASK_UNK06] = v0; } else if (v0 == 0x18) { - BeginNormalPaletteFade(0xFFFFFFFF, -1, 0, 16, 0); + BeginNormalPaletteFade(0xFFFFFFFF, -1, 0, 16, RGB_BLACK); data[EZCHAT_TASK_STATE] = 4; } else if (v0 != 0) |