diff options
author | kiliwily <69381603+kiliwily@users.noreply.github.com> | 2020-09-12 18:43:20 +0200 |
---|---|---|
committer | kiliwily <69381603+kiliwily@users.noreply.github.com> | 2020-09-12 18:43:20 +0200 |
commit | 5c3669e0cd49ccc210d7c57228820685fef11230 (patch) | |
tree | e35581dc740febcc9049b442a9059a0e6e38fadb /docs/bugs_and_glitches.md | |
parent | 58a2b62bae1406d2c768698ed13efcd6a5ffbeec (diff) |
Bug documenting
Diffstat (limited to 'docs/bugs_and_glitches.md')
-rw-r--r-- | docs/bugs_and_glitches.md | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/docs/bugs_and_glitches.md b/docs/bugs_and_glitches.md index e23379cfb..e7b40a089 100644 --- a/docs/bugs_and_glitches.md +++ b/docs/bugs_and_glitches.md @@ -42,6 +42,24 @@ And edit `AgbMain`: ... ``` +**Altenate Fix:**Edit the following function in [src/title_screen.c](https://github.com/pret/pokeemerald/blob/master/src/title_screen.c): + +```diff +void CB2_InitTitleScreen(void) +{ + switch (gMain.state) + { + default: + case 0: + SetVBlankCallback(NULL); + + StartTimer1(); + SetGpuReg(REG_OFFSET_BLDCNT, 0); + SetGpuReg(REG_OFFSET_BLDALPHA, 0); + SetGpuReg(REG_OFFSET_BLDY, 0); + ... +``` +That matches the code of FR/LG and does what GF originally wanted to do. + ## Scrolling through items in the bag causes the image to flicker **Fix:** Add the following function to [src/item_menu_icons.c](https://github.com/pret/pokeemerald/blob/master/src/item_menu_icons.c): |