From f8f18dfe2c50415317ed19f149ca99cfa468c64e Mon Sep 17 00:00:00 2001 From: DavidJCobb <831497+DavidJCobb@users.noreply.github.com> Date: Thu, 16 Nov 2023 02:28:16 +0100 Subject: [PATCH] minor fix --- Implementing-Catch-EXP.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Implementing-Catch-EXP.md b/Implementing-Catch-EXP.md index 0ea5bd3..30630bf 100644 --- a/Implementing-Catch-EXP.md +++ b/Implementing-Catch-EXP.md @@ -296,7 +296,7 @@ static void InitLevelUpBanner(void) gBattle_BG2_X = LEVEL_UP_BANNER_START; ``` -Aha! They're placing that banner on BG layer 2, so they want to shift the layer for it. Keep running Ctrl + F for `LEVEL_UP_BANNER_START` and you'll find that it's a constant set to 416, the exact amount by which our background was shifted! +Aha! They're placing that banner on BG layer 2, so they want to shift the layer for it. Keep running Ctrl + F for `LEVEL_UP_BANNER_START` and you'll find that it's a constant set to 416, the exact amount by which our background was shifted! You may also find the function that we actually hit in our test: `SlideOutLevelUpBanner`, which shifts BG layer 2 back to `LEVEL_UP_BANNER_START` even if we never slid the level-up banner *in* in the first place. ## Fixing the BG shift