diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2021-11-03 23:02:06 -0400 |
---|---|---|
committer | GriffinR <griffin.g.richards@gmail.com> | 2021-11-03 23:02:06 -0400 |
commit | c291fa8e7fc8f823544e483eccb9b87fd7f99206 (patch) | |
tree | fc62de29e8df9dfdac646f9db3b8c6d37e19f072 /src/pokenav_main_menu.c | |
parent | d6f873ba69af5e4dd9733c2f9f3f75be0d4c6816 (diff) |
Propagate BG_COORD constants
Diffstat (limited to 'src/pokenav_main_menu.c')
-rw-r--r-- | src/pokenav_main_menu.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pokenav_main_menu.c b/src/pokenav_main_menu.c index 5936ef9d2..714c8221a 100644 --- a/src/pokenav_main_menu.c +++ b/src/pokenav_main_menu.c @@ -421,9 +421,9 @@ static u32 LoopedTask_SlideMenuHeaderUp(s32 a0) case 0: return LT_INC_AND_PAUSE; case 2: - if (ChangeBgY(0, 384, 1) >= 0x2000u) + if (ChangeBgY(0, 384, BG_COORD_ADD) >= 0x2000u) { - ChangeBgY(0, 0x2000, 0); + ChangeBgY(0, 0x2000, BG_COORD_SET); return LT_FINISH; } @@ -433,9 +433,9 @@ static u32 LoopedTask_SlideMenuHeaderUp(s32 a0) static u32 LoopedTask_SlideMenuHeaderDown(s32 a0) { - if (ChangeBgY(0, 384, 2) <= 0) + if (ChangeBgY(0, 384, BG_COORD_SUB) <= 0) { - ChangeBgY(0, 0, 0); + ChangeBgY(0, 0, BG_COORD_SET); return LT_FINISH; } return LT_PAUSE; |