summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/bugs_and_glitches.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/bugs_and_glitches.md b/docs/bugs_and_glitches.md
index 03207c338..27156f980 100644
--- a/docs/bugs_and_glitches.md
+++ b/docs/bugs_and_glitches.md
@@ -1289,12 +1289,12 @@ Then edit `SurfStartStep` in [engine/overworld/player_object.asm](/engine/overwo
- ret
-
-.GetMovementData:
- ld a, [wPlayerDirection]
- srl a
- srl a
- maskbits NUM_DIRECTIONS
- ld e, a
- ld d, 0
+ ld a, [wPlayerDirection]
+ srl a
+ srl a
+ maskbits NUM_DIRECTIONS
+ ld e, a
+ ld d, 0
ld hl, .movement_data
add hl, de
- ld a, [hl]