aboutsummaryrefslogtreecommitdiffstats
path: root/home/pathfinding.asm
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/pathfinding.asm
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/pathfinding.asm')
-rw-r--r--home/pathfinding.asm2
1 files changed, 1 insertions, 1 deletions
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