aboutsummaryrefslogtreecommitdiffstats
path: root/engine/printer/printer2.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-11-05 10:51:02 -0500
committerRangi <remy.oukaour+rangi42@gmail.com>2020-11-05 10:51:02 -0500
commit6fe56af2cd63abaf30040cc5031e3db5358cf638 (patch)
treeb024aa8480912ebf2667184068466ee7f354012c /engine/printer/printer2.asm
parentMerge pull request #59 from Rangi42/master (diff)
downloadpokeyellow-6fe56af2cd63abaf30040cc5031e3db5358cf638.tar.gz
pokeyellow-6fe56af2cd63abaf30040cc5031e3db5358cf638.tar.xz
pokeyellow-6fe56af2cd63abaf30040cc5031e3db5358cf638.zip
Organize home and macro code
Diffstat (limited to 'engine/printer/printer2.asm')
-rwxr-xr-xengine/printer/printer2.asm10
1 files changed, 5 insertions, 5 deletions
diff --git a/engine/printer/printer2.asm b/engine/printer/printer2.asm
index 180f044c..b257aff4 100755
--- a/engine/printer/printer2.asm
+++ b/engine/printer/printer2.asm
@@ -356,7 +356,7 @@ Func_ea6af:
ld hl, wPrinterSerialFrameDelay
inc [hl]
ld a, [hl]
- cp a, $6
+ cp $6
ret c
xor a
ld [hl], a
@@ -381,17 +381,17 @@ Func_ea6d2:
call Func_ea742
ret c
ld a, [wPrinterHandshake]
- cp a, $ff
+ cp $ff
jr nz, .asm_ea6e4
ld a, [wPrinterStatusFlags]
- cp a, $ff
+ cp $ff
jr z, .asm_ea6fb
.asm_ea6e4
ld a, [wPrinterHandshake]
- cp a, $81
+ cp $81
jr nz, .asm_ea6fb
ld a, [wPrinterStatusFlags]
- cp a, $0
+ cp $0
jr nz, .asm_ea6fb
ld hl, wPrinterConnectionOpen
set 1, [hl]