diff options
Diffstat (limited to 'home/pathfinding.asm')
-rw-r--r-- | home/pathfinding.asm | 2 |
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 |