ref: e51339f01a52603820749249b625d2093b611a8e
parent: 4b4c53c7ae7f61499304c69b60e39406c5d47126
author: Rangi <remy.oukaour+rangi42@gmail.com>
date: Sun Dec 9 13:13:37 EST 2018
Formatting and comments
--- a/engine/overworld/map_objects.asm
+++ b/engine/overworld/map_objects.asm
@@ -1822,6 +1822,7 @@
.y
db -4, -6, -8, -10, -11, -12, -12, -12
db -11, -10, -9, -8, -6, -4, 0, 0
+
Function5000: ; unscripted?
; copy [wPlayerNextMovement] to [wPlayerMovement]
ld a, [wPlayerNextMovement]
--- a/engine/overworld/player_movement.asm
+++ b/engine/overworld/player_movement.asm
@@ -469,6 +469,7 @@
ret
.Steps:
+; entries correspond to STEP_* constants
dw .SlowStep
dw .NormalStep
dw .FastStep
@@ -514,10 +515,10 @@
turn_step LEFT
turn_step RIGHT
.FinishFacing:
- db $80 + DOWN
- db $80 + UP
- db $80 + LEFT
- db $80 + RIGHT
+ db $80 | DOWN
+ db $80 | UP
+ db $80 | LEFT
+ db $80 | RIGHT
.StandInPlace:
ld a, 0