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/menu.c | |
parent | d6f873ba69af5e4dd9733c2f9f3f75be0d4c6816 (diff) |
Propagate BG_COORD constants
Diffstat (limited to 'src/menu.c')
-rw-r--r-- | src/menu.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/menu.c b/src/menu.c index 0e7c0c6e4..ddbc82686 100644 --- a/src/menu.c +++ b/src/menu.c @@ -153,8 +153,8 @@ void FreeAllOverworldWindowBuffers(void) void InitTextBoxGfxAndPrinters(void) { - ChangeBgX(0, 0, 0); - ChangeBgY(0, 0, 0); + ChangeBgX(0, 0, BG_COORD_SET); + ChangeBgY(0, 0, BG_COORD_SET); DeactivateAllTextPrinters(); LoadMessageBoxAndBorderGfx(); } @@ -1922,14 +1922,14 @@ void AddValToTilemapBuffer(void *ptr, int delta, int width, int height, bool32 i void ResetBgPositions(void) { - ChangeBgX(0, 0, 0); - ChangeBgX(1, 0, 0); - ChangeBgX(2, 0, 0); - ChangeBgX(3, 0, 0); - ChangeBgY(0, 0, 0); - ChangeBgY(1, 0, 0); - ChangeBgY(2, 0, 0); - ChangeBgY(3, 0, 0); + ChangeBgX(0, 0, BG_COORD_SET); + ChangeBgX(1, 0, BG_COORD_SET); + ChangeBgX(2, 0, BG_COORD_SET); + ChangeBgX(3, 0, BG_COORD_SET); + ChangeBgY(0, 0, BG_COORD_SET); + ChangeBgY(1, 0, BG_COORD_SET); + ChangeBgY(2, 0, BG_COORD_SET); + ChangeBgY(3, 0, BG_COORD_SET); } void sub_8199DF0(u32 bg, u8 a1, int a2, int a3) |