summaryrefslogtreecommitdiff
path: root/src/item_use.c
diff options
context:
space:
mode:
authorMarcus Huderle <huderlem@gmail.com>2018-05-21 08:50:36 -0700
committerMarcus Huderle <huderlem@gmail.com>2018-05-21 09:02:30 -0700
commit4ee671c9bf6e4ba920f58cd8d4a6facc8bed431d (patch)
treec27468d8581731d2b035372fcc8a534f552549a0 /src/item_use.c
parentbfdd1d2cebd1d4f4469afce5b10b99090df17f45 (diff)
Standardize args to palette blend functions
Diffstat (limited to 'src/item_use.c')
-rw-r--r--src/item_use.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/item_use.c b/src/item_use.c
index 19c298850..97ef83ddc 100644
--- a/src/item_use.c
+++ b/src/item_use.c
@@ -93,7 +93,7 @@ void ExecuteSwitchToOverworldFromItemUse(u8 taskId)
void ItemMenu_ConfirmNormalFade(u8 var)
{
ExecuteSwitchToOverworldFromItemUse(var);
- BeginNormalPaletteFade(0xFFFFFFFF, 0, 0, 16, 0);
+ BeginNormalPaletteFade(0xFFFFFFFF, 0, 0, 16, RGB(0, 0, 0));
}
void ItemMenu_ConfirmComplexFade(u8 var)
@@ -165,7 +165,7 @@ void ItemMenu_ReadMail(u8 taskId)
void ItemUseOutOfBattle_Mail(u8 taskId)
{
- BeginNormalPaletteFade(0xFFFFFFFF, 0, 0, 16, 0);
+ BeginNormalPaletteFade(0xFFFFFFFF, 0, 0, 16, RGB(0, 0, 0));
gTasks[taskId].func = ItemMenu_ReadMail;
}
@@ -787,7 +787,7 @@ void sub_80C9C7C(u8 taskId)
gTasks[taskId].data[8] = (u32)c2_exit_to_overworld_2_switch >> 16;
gTasks[taskId].data[9] = (u32)c2_exit_to_overworld_2_switch;
gTasks[taskId].func = HandleItemMenuPaletteFade;
- BeginNormalPaletteFade(0xFFFFFFFF, 0, 0, 0x10, 0);
+ BeginNormalPaletteFade(0xFFFFFFFF, 0, 0, 0x10, RGB(0, 0, 0));
}
else
{
@@ -1072,7 +1072,7 @@ void sub_80CA394(u8 taskId)
void sub_80CA3C0(u8 taskId)
{
gTasks[taskId].func = sub_80CA394;
- BeginNormalPaletteFade(0xFFFFFFFF, 0, 0, 16, 0);
+ BeginNormalPaletteFade(0xFFFFFFFF, 0, 0, 16, RGB(0, 0, 0));
}
void ItemUseInBattle_Medicine(u8 var)