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 /engine/overworld/movement.asm | |
| 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 'engine/overworld/movement.asm')
| -rw-r--r-- | engine/overworld/movement.asm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/overworld/movement.asm b/engine/overworld/movement.asm index 58481613..61bcf02f 100644 --- a/engine/overworld/movement.asm +++ b/engine/overworld/movement.asm @@ -169,7 +169,7 @@ UpdateNPCSprite: pop hl ld de, wNPCMovementDirections call LoadDEPlusA ; a = [wNPCMovementDirections + movement byte 1] - cp $e0 + cp NPC_CHANGE_FACING jp z, ChangeFacingDirection cp STAY jr nz, .next |
