summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorMarcus Huderle <huderlem@gmail.com>2016-08-06 11:21:42 -0700
committerMarcus Huderle <huderlem@gmail.com>2016-08-06 11:21:42 -0700
commite33834d9676f395d6819a9edfa8298a9f5e3fbf5 (patch)
tree69ad9a2d0d46ea1203705371bbab05bfcb1bc164 /data
parent4b40adf1bdc3ea666e944468e0ae3fdd114478a3 (diff)
Improve labels for jump landing.
Diffstat (limited to 'data')
-rw-r--r--data/data2.s20
1 files changed, 11 insertions, 9 deletions
diff --git a/data/data2.s b/data/data2.s
index ca7e207c3..a3ede4b6b 100644
--- a/data/data2.s
+++ b/data/data2.s
@@ -6985,7 +6985,9 @@ gUnknown_08376008:: @ 8376008
.incbin "baserom.gba", 0x00376008, 0x8
.align 2
-gUnknown_08376010:: @ 8376010
+@ Functions used to determine which category of tile the player is landing
+@ on after jumping over a ledge.
+gJumpLanding_MetatileFunctionPointers:: @ 8376010
.4byte MetatileBehavior_IsTallGrass
.4byte MetatileBehavior_IsLongGrass
.4byte MetatileBehavior_IsPuddle
@@ -6994,14 +6996,14 @@ gUnknown_08376010:: @ 8376010
.4byte sub_8056D9C
@ This table contains bitmasks used for determining the animation that happens when the player lands on
-@ the ground after jumping over a ledge.
-gUnknown_08376028:: @ 8376028
- .4byte 0x00001000 @ Landing in regular grass
- .4byte 0x00002000 @ Landing in tall grass (?)
- .4byte 0x00004000 @ Landing on firm surface
- .4byte 0x00008000 @ Landing on water
- .4byte 0x00004000 @ Landing on firm surface
- .4byte 0x00010000 @ Landing on normal ground (dirt)
+@ the ground after jumping over a ledge. Each entry corresponds to the gJumpLanding_MetatileFunctionPointers table.
+gJumpLanding_Bitmasks:: @ 8376028
+ .4byte 0x00001000 @ Landing in tall grass
+ .4byte 0x00002000 @ Landing in long grass
+ .4byte 0x00004000 @ Landing on puddle
+ .4byte 0x00008000 @ Landing on surfable water or underwater
+ .4byte 0x00004000 @ Landing on shallow flowing water
+ .4byte 0x00010000 @ Landing on any other type of ground
.align 2
gUnknown_08376040:: @ 8376040