aboutsummaryrefslogtreecommitdiffstats
path: root/engine/printer/printer.asm
diff options
context:
space:
mode:
authorRangi42 <sylvie.oukaour+rangi42@gmail.com>2025-07-02 23:39:15 -0400
committerRangi42 <sylvie.oukaour+rangi42@gmail.com>2025-07-02 23:39:15 -0400
commit5a142e3fee043ad950c361bdd0e5d7e9e9f1e467 (patch)
treeaf8573a5f2683de5467cf5ffb0a4cdc7cd0a7d4c /engine/printer/printer.asm
parentMerge branch 'master' of https://github.com/pret/pokered (diff)
downloadpokeyellow-5a142e3fee043ad950c361bdd0e5d7e9e9f1e467.tar.gz
pokeyellow-5a142e3fee043ad950c361bdd0e5d7e9e9f1e467.tar.xz
pokeyellow-5a142e3fee043ad950c361bdd0e5d7e9e9f1e467.zip
Use hardware.inc constants in places unique to Yellow
Diffstat (limited to 'engine/printer/printer.asm')
-rw-r--r--engine/printer/printer.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/printer/printer.asm b/engine/printer/printer.asm
index f0d2cb34..18161e6a 100644
--- a/engine/printer/printer.asm
+++ b/engine/printer/printer.asm
@@ -466,14 +466,14 @@ Printer_CheckPressingB:
Printer_CopyTileMapToPrinterTileBuffer:
hlcoord 0, 0
decoord 0, 0, wPrinterTileBuffer
- ld bc, SCREEN_HEIGHT * SCREEN_WIDTH
+ ld bc, SCREEN_AREA
call CopyData
ret
Printer_CopyTileMapFromPrinterTileBuffer:
hlcoord 0, 0, wPrinterTileBuffer
decoord 0, 0
- ld bc, SCREEN_HEIGHT * SCREEN_WIDTH
+ ld bc, SCREEN_AREA
call CopyData
ret