mirror of https://github.com/pret/pokeemerald.git
minor fix
parent
f26e8eec9e
commit
f8f18dfe2c
|
@ -296,7 +296,7 @@ static void InitLevelUpBanner(void)
|
||||||
gBattle_BG2_X = LEVEL_UP_BANNER_START;
|
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
|
## Fixing the BG shift
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue