summaryrefslogtreecommitdiff
path: root/src/egg_hatch.c
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2021-11-03 23:02:06 -0400
committerGriffinR <griffin.g.richards@gmail.com>2021-11-03 23:02:06 -0400
commitc291fa8e7fc8f823544e483eccb9b87fd7f99206 (patch)
treefc62de29e8df9dfdac646f9db3b8c6d37e19f072 /src/egg_hatch.c
parentd6f873ba69af5e4dd9733c2f9f3f75be0d4c6816 (diff)
Propagate BG_COORD constants
Diffstat (limited to 'src/egg_hatch.c')
-rw-r--r--src/egg_hatch.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/egg_hatch.c b/src/egg_hatch.c
index 4c9456f2e..283ec753a 100644
--- a/src/egg_hatch.c
+++ b/src/egg_hatch.c
@@ -495,10 +495,10 @@ static void CB2_EggHatch_0(void)
ResetBgsAndClearDma3BusyFlags(0);
InitBgsFromTemplates(0, sBgTemplates_EggHatch, ARRAY_COUNT(sBgTemplates_EggHatch));
- ChangeBgX(1, 0, 0);
- ChangeBgY(1, 0, 0);
- ChangeBgX(0, 0, 0);
- ChangeBgY(0, 0, 0);
+ ChangeBgX(1, 0, BG_COORD_SET);
+ ChangeBgY(1, 0, BG_COORD_SET);
+ ChangeBgX(0, 0, BG_COORD_SET);
+ ChangeBgY(0, 0, BG_COORD_SET);
SetBgAttribute(1, BG_ATTR_PRIORITY, 2);
SetBgTilemapBuffer(1, Alloc(0x1000));