summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWasabiRaptor <ketchupraptor@gmail.com>2019-02-10 03:46:42 -0500
committerWasabiRaptor <ketchupraptor@gmail.com>2019-02-10 03:46:42 -0500
commitd5abe7fbc2a946c075a239afab514732a95aab42 (patch)
tree673a7565aa38fbdc0fb41bf0290a167abde31b10
parentbd412262aac63b176aedc2810cd44d6891005a8b (diff)
ok its 3AM I needd to sleep write this tomorrow lol
-rw-r--r--Diagonal-stairs.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/Diagonal-stairs.md b/Diagonal-stairs.md
index c47e5df..1c1377d 100644
--- a/Diagonal-stairs.md
+++ b/Diagonal-stairs.md
@@ -27,6 +27,8 @@ edit constants/collision_constants.asm
HI_NYBBLE_UNUSED_C0 EQU $c0
+HI_NYBBLE_DIAGONAL_STAIRS EQU $d0
```
+the collision constants will let us apply the diagonal step to the player once it is programmed
+
edit constants/map_object_constants.asm
```diff
; StepTypesJumptable indexes (see engine/overworld/map_objects.asm)
@@ -52,4 +54,4 @@ edit constants/map_object_constants.asm
const STEP_BACK_LEDGE ; 6
const STEP_WALK_IN_PLACE ; 7
+ const STEP_DIAGONAL_STAIRS
-``` \ No newline at end of file
+```