diff options
author | dannye <corrnondacqb@yahoo.com> | 2015-08-09 23:56:20 -0500 |
---|---|---|
committer | dannye <corrnondacqb@yahoo.com> | 2015-08-09 23:56:20 -0500 |
commit | 8a6d46f3d9ba4fb6939eb9ea9949f47aa8608d4a (patch) | |
tree | c369228491bdaca750da4a24baa3190836320710 /engine/menu/naming_screen.asm | |
parent | f8a9c37a0019eb085c22c6e3ae53b16ff0cd4f6a (diff) |
Replace some hardcoded data sizes
Diffstat (limited to 'engine/menu/naming_screen.asm')
-rwxr-xr-x | engine/menu/naming_screen.asm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/engine/menu/naming_screen.asm b/engine/menu/naming_screen.asm index 967f11e8..e64a4bee 100755 --- a/engine/menu/naming_screen.asm +++ b/engine/menu/naming_screen.asm @@ -326,11 +326,14 @@ DisplayNamingScreen: ; 6596 (1:6596) LoadEDTile: ; 675b (1:675b) ld de, ED_Tile ld hl, vFont + $700 - ld bc, $1 + ld bc, (ED_TileEnd - ED_Tile) / $8 + ; to fix the graphical bug on poor emulators + ;lb bc, BANK(ED_Tile), (ED_TileEnd - ED_Tile) / $8 jp CopyVideoDataDouble ED_Tile: ; 6767 (1:6767) INCBIN "gfx/ED_tile.1bpp" +ED_TileEnd: PrintAlphabet: ; 676f (1:676f) xor a |