diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2020-03-09 09:43:37 -0400 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2020-03-09 09:43:37 -0400 |
commit | 6676e5bcb8345eaa2dc1e1999a8de3ac534bfdbf (patch) | |
tree | 0a07343644542af4d3f3936bcab2fab2295e45cd /src/shop.c | |
parent | 884c0000285b1f40bdb5de055d6b8bec1d411a2e (diff) |
Use FADE_TO_BLACK define in other files
Diffstat (limited to 'src/shop.c')
-rw-r--r-- | src/shop.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/shop.c b/src/shop.c index 5cc9ab3f0..ddeaf6a68 100644 --- a/src/shop.c +++ b/src/shop.c @@ -36,6 +36,7 @@ #include "constants/songs.h" #include "constants/items.h" #include "constants/game_stat.h" +#include "constants/field_weather.h" #define tItemCount data[1] #define tItemId data[5] @@ -292,14 +293,14 @@ static void Task_ShopMenu(u8 taskId) static void Task_HandleShopMenuBuy(u8 taskId) { SetWordTaskArg(taskId, 0xE, (u32)CB2_InitBuyMenu); - FadeScreen(1, 0); + FadeScreen(FADE_TO_BLACK, 0); gTasks[taskId].func = Task_GoToBuyOrSellMenu; } static void Task_HandleShopMenuSell(u8 taskId) { SetWordTaskArg(taskId, 0xE, (u32)CB2_GoToSellMenu); - FadeScreen(1, 0); + FadeScreen(FADE_TO_BLACK, 0); gTasks[taskId].func = Task_GoToBuyOrSellMenu; } |