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/status_screen.asm | |
parent | f8a9c37a0019eb085c22c6e3ae53b16ff0cd4f6a (diff) |
Replace some hardcoded data sizes
Diffstat (limited to 'engine/menu/status_screen.asm')
-rwxr-xr-x | engine/menu/status_screen.asm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engine/menu/status_screen.asm b/engine/menu/status_screen.asm index d8a504bb..c959400a 100755 --- a/engine/menu/status_screen.asm +++ b/engine/menu/status_screen.asm @@ -99,7 +99,7 @@ StatusScreen: ; 12953 (4:6953) call CopyVideoDataDouble ; ─┘ ld de, PTile ld hl, vChars2 + $720 - lb bc, BANK(PTile), $01 + lb bc, BANK(PTile), (PTileEnd - PTile) / $8 call CopyVideoDataDouble ; P (for PP), inline ld a, [hTilesetType] push af @@ -242,6 +242,7 @@ DrawLineBox: ; 0x12ac7 PTile: ; 12adc (4:6adc) ; This is a single 1bpp "P" tile INCBIN "gfx/p_tile.1bpp" +PTileEnd: PrintStatsBox: ; 12ae4 (4:6ae4) ld a, d |