aboutsummaryrefslogtreecommitdiffstats
path: root/engine/printer
diff options
context:
space:
mode:
authorColton G. Rushton <colton51919@gmail.com>2022-07-09 18:18:20 -0300
committerGitHub <noreply@github.com>2022-07-09 17:18:20 -0400
commitc0085ea1b21a171ef9f4c73ad28a5306558f2cc3 (patch)
tree311a4a64f13395e2f711b46f8b13bbc1b5ff849e /engine/printer
parentFix typo: HeatButt -> HeadButt (diff)
downloadpokeyellow-c0085ea1b21a171ef9f4c73ad28a5306558f2cc3.tar.gz
pokeyellow-c0085ea1b21a171ef9f4c73ad28a5306558f2cc3.tar.xz
pokeyellow-c0085ea1b21a171ef9f4c73ad28a5306558f2cc3.zip
wOAMBuffer -> wShadowOAM (#95)
Diffstat (limited to 'engine/printer')
-rw-r--r--engine/printer/printer.asm2
-rw-r--r--engine/printer/printer2.asm6
2 files changed, 4 insertions, 4 deletions
diff --git a/engine/printer/printer.asm b/engine/printer/printer.asm
index 18bb18a6..d75dfbde 100644
--- a/engine/printer/printer.asm
+++ b/engine/printer/printer.asm
@@ -416,7 +416,7 @@ PrinterDebug:
xor a
ld [wPrinterConnectionOpen], a
ld [wPrinterOpcode], a
- ld hl, wOAMBuffer + 32 * 4
+ ld hl, wShadowOAMSprite32
ld bc, 8 * 4
xor a
call FillMemory
diff --git a/engine/printer/printer2.asm b/engine/printer/printer2.asm
index 1f8ac975..407aee8a 100644
--- a/engine/printer/printer2.asm
+++ b/engine/printer/printer2.asm
@@ -190,7 +190,7 @@ PrinterDebug_LoadGFX:
lb bc, BANK(GFX_ea597), (GFX_ea597End - GFX_ea597) / 16
call CopyVideoData
- ld hl, wOAMBuffer + 32 * 4
+ ld hl, wShadowOAMSprite32
ld a, $8
ld c, $8
.loop
@@ -212,7 +212,7 @@ INCBIN "gfx/printer/01.2bpp"
GFX_ea597End:
PrinterDebug_ConvertStatusFlagsToTiles:
- ld hl, wOAMBuffer + 32 * 4 + 2
+ ld hl, wShadowOAMSprite32TileID
ld de, 4
ld a, [wPrinterStatusFlags]
ld c, 8
@@ -610,7 +610,7 @@ PrinterDebug_PrepOAMForPrinting:
ld bc, $20
xor a
call FillMemory
- ld hl, wOAMBuffer
+ ld hl, wShadowOAM
ld c, $28
.master_loop
push bc