aboutsummaryrefslogtreecommitdiffstats
path: root/home
diff options
context:
space:
mode:
authorRangi <35663410+Rangi42@users.noreply.github.com>2020-07-16 17:00:57 -0400
committerGitHub <noreply@github.com>2020-07-16 17:00:57 -0400
commitd44c7c305c3f94b59e3e2c008408779836a0020a (patch)
tree2cdc51be4a22992701038b959d6c964e9ee8fc58 /home
parentMerge pull request #276 from TheFakeMateo/master (diff)
parentDefine constants for audio commands (diff)
downloadpokeyellow-d44c7c305c3f94b59e3e2c008408779836a0020a.tar.gz
pokeyellow-d44c7c305c3f94b59e3e2c008408779836a0020a.tar.xz
pokeyellow-d44c7c305c3f94b59e3e2c008408779836a0020a.zip
Merge pull request #277 from Rangi42/master
Miscellaneous constant and label updates
Diffstat (limited to 'home')
-rw-r--r--home/list_menu.asm2
-rw-r--r--home/pathfinding.asm2
-rw-r--r--home/window.asm4
3 files changed, 4 insertions, 4 deletions
diff --git a/home/list_menu.asm b/home/list_menu.asm
index ec775331..f8ddeeef 100644
--- a/home/list_menu.asm
+++ b/home/list_menu.asm
@@ -504,7 +504,7 @@ PrintListMenuEntries::
cp c ; is it this item?
jr nz, .nextListEntry
dec hl
- ld a, $ec ; unfilled right arrow menu cursor to indicate an item being swapped
+ ld a, "▷"
ld [hli], a
.nextListEntry
ld bc, 2 * SCREEN_WIDTH ; 2 rows
diff --git a/home/pathfinding.asm b/home/pathfinding.asm
index aca5a763..53f98847 100644
--- a/home/pathfinding.asm
+++ b/home/pathfinding.asm
@@ -25,7 +25,7 @@ MoveSprite_::
ld [hli], a
inc de
inc c
- cp $FF ; have we reached the end of the movement data?
+ cp -1 ; have we reached the end of the movement data?
jr nz, .loop
ld a, c
diff --git a/home/window.asm b/home/window.asm
index e83f9585..f86e39c6 100644
--- a/home/window.asm
+++ b/home/window.asm
@@ -201,7 +201,7 @@ PlaceUnfilledArrowMenuCursor::
ld l, a
ld a, [wMenuCursorLocation + 1]
ld h, a
- ld [hl], $ec ; outline of right arrow
+ ld [hl], "▷"
ld a, b
ret
@@ -272,7 +272,7 @@ EnableAutoTextBoxDrawing::
jr AutoTextBoxDrawingCommon
DisableAutoTextBoxDrawing::
- ld a, $01
+ ld a, TRUE
AutoTextBoxDrawingCommon::
ld [wAutoTextBoxDrawingControl], a