diff options
| author | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-07-16 12:32:19 -0400 |
|---|---|---|
| committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-07-16 12:32:19 -0400 |
| commit | 76b882d9523915ca8ced96e8c5e889ca2728241e (patch) | |
| tree | df360d4315b6627348a72ccad346391077fd5bb2 /home | |
| parent | Revise some map scripts, mostly for getting items (diff) | |
| download | pokeyellow-76b882d9523915ca8ced96e8c5e889ca2728241e.tar.gz pokeyellow-76b882d9523915ca8ced96e8c5e889ca2728241e.tar.xz pokeyellow-76b882d9523915ca8ced96e8c5e889ca2728241e.zip | |
Reformat map scripts' coordinate and movement data
'dbmapcoord' has X, Y order like other coordinate-related data macros
Diffstat (limited to 'home')
| -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 |
