minor fix

DavidJCobb 2023-11-16 02:28:16 +01:00
parent f26e8eec9e
commit f8f18dfe2c
1 changed files with 1 additions and 1 deletions

@ -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