summaryrefslogtreecommitdiff
path: root/engine/menu
diff options
context:
space:
mode:
authorluckytyphlosion <alan.rj.huang@gmail.com>2015-11-01 15:42:29 -0500
committerluckytyphlosion <alan.rj.huang@gmail.com>2015-11-01 15:42:29 -0500
commit335bf36311e24f9b652a3970ab07413a03bba056 (patch)
tree658c8bde184a9fdeb4e23d56c71880ed20a8bc1c /engine/menu
parent3bc05852e57bd4eb0ece8fa79369aa75a47a0876 (diff)
oak_speech2.asm
Also replace W_RIVALNAME with wRivalName
Diffstat (limited to 'engine/menu')
-rwxr-xr-xengine/menu/naming_screen.asm6
1 files changed, 4 insertions, 2 deletions
diff --git a/engine/menu/naming_screen.asm b/engine/menu/naming_screen.asm
index b60de733..fd9a55af 100755
--- a/engine/menu/naming_screen.asm
+++ b/engine/menu/naming_screen.asm
@@ -322,8 +322,10 @@ DisplayNamingScreen: ; 6307 (1:6307)
jp EraseMenuCursor
LoadEDTile: ; 675b (1:675b)
-; Because yellow uses the MBC5, loading $0 into $2000 - $2fff range will load bank0 instead of bank1
-; instead of defining the correct bank, GameFreak decided to simply copy the ED_Tile in the function during HBlank
+; In Red/Blue, the bank for the ED_tile was defined incorrectly as bank0
+; Luckily, the MBC3 treats loading $0 into $2000-$2fff range as loading bank1 into $4000-$7fff range
+; Because Yellow uses the MBC5, loading $0 into $2000 - $2fff range will load bank0 instead of bank1 and thus incorrectly load the tile
+; Instead of defining the correct bank, GameFreak decided to simply copy the ED_Tile in the function during HBlank
ld de, ED_Tile
ld hl, vFont + $700
ld c, $4 ; number of copies needed