summaryrefslogtreecommitdiff
path: root/src/object/graveyardKey.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/object/graveyardKey.c')
-rw-r--r--src/object/graveyardKey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object/graveyardKey.c b/src/object/graveyardKey.c
index 699bb95a..577d4b09 100644
--- a/src/object/graveyardKey.c
+++ b/src/object/graveyardKey.c
@@ -124,7 +124,7 @@ void GraveyardKey_Action2(Entity* this, const struct_gUnk_08123FB0* param_2) {
u8 type;
LinearMoveUpdate(this);
- if (sub_080044EC(this, param_2->unk14) < 2) {
+ if (BounceUpdate(this, param_2->unk14) < BOUNCE_AIRBORNE) {
if (this->timer) {
this->timer--;
this->zVelocity = param_2->unk14 << 3;