aboutsummaryrefslogtreecommitdiffstats
path: root/engine/printer/printer.asm
diff options
context:
space:
mode:
authordannye <33dannye@gmail.com>2025-11-12 17:56:10 -0600
committerdannye <33dannye@gmail.com>2025-11-12 17:56:10 -0600
commit324ae167d15ae4eef3cda411e10201661e57d88d (patch)
tree86c2b73ce1262f12c1b3eb82874e8572e80e583f /engine/printer/printer.asm
parentSeparate surfing Pikachu graphics from audio engine code (diff)
parentUse features of RGBDS 1.0.0 (#537) (diff)
downloadpokeyellow-324ae167d15ae4eef3cda411e10201661e57d88d.tar.gz
pokeyellow-324ae167d15ae4eef3cda411e10201661e57d88d.tar.xz
pokeyellow-324ae167d15ae4eef3cda411e10201661e57d88d.zip
Merge branch 'master' of https://github.com/pret/pokered
Diffstat (limited to 'engine/printer/printer.asm')
-rw-r--r--engine/printer/printer.asm18
1 files changed, 9 insertions, 9 deletions
diff --git a/engine/printer/printer.asm b/engine/printer/printer.asm
index ee1bc73e..fa3a5afa 100644
--- a/engine/printer/printer.asm
+++ b/engine/printer/printer.asm
@@ -675,7 +675,7 @@ Printer_PrepareSurfingMinigameHighScoreTileMap::
.find_end_of_name
ld a, [hli]
inc c
- cp "@"
+ cp '@'
jr nz, .find_end_of_name
ld a, 8
sub c
@@ -778,7 +778,7 @@ PrintPCBox_DrawPage1:
call PrintPCBox_PlaceHorizontalLines
hlcoord 0, 0
ld bc, 11 * SCREEN_WIDTH
- ld a, " "
+ ld a, ' '
call FillMemory
call PrintPCBox_DrawLeftAndRightBorders
call PrintPCBox_DrawTopBorder
@@ -794,13 +794,13 @@ PrintPCBox_DrawPage1:
cp 9
jr c, .less_than_9
sub 9
- ld [hl], "1"
+ ld [hl], '1'
inc hl
- add "0"
+ add '0'
jr .placed_box_number
.less_than_9
- add "1"
+ add '1'
.placed_box_number
ld [hl], a
hlcoord 4, 9
@@ -846,7 +846,7 @@ PrintPCBox_DrawPage4:
call PrintPCBox_DrawBottomBorderAtHL
hlcoord 0, 16
ld bc, 2 * SCREEN_WIDTH
- ld a, " "
+ ld a, ' '
call FillMemory
ld a, [wBoxDataStart]
cp 16
@@ -872,14 +872,14 @@ PrintPCBox_PlaceBoxMonInfo:
push de
push hl
ld bc, 12
- ld a, " "
+ ld a, ' '
call FillMemory
pop hl
push hl
ld de, SCREEN_WIDTH
add hl, de
ld bc, 12
- ld a, " "
+ ld a, ' '
call FillMemory
pop hl
push hl
@@ -896,7 +896,7 @@ PrintPCBox_PlaceBoxMonInfo:
pop hl
ld bc, SCREEN_WIDTH + 1
add hl, bc
- ld [hl], " " ; blank tile instead of "/" separator in Yellow
+ ld [hl], ' ' ; blank tile instead of "/" separator in Yellow
inc hl
call PlaceString
ld hl, wBoxNumString