From 85c903036a0ac90826ec0682c8af86f020259b33 Mon Sep 17 00:00:00 2001 From: Tal Hayon Date: Wed, 13 Jul 2022 15:28:23 +0300 Subject: [PATCH] Redoing some constant changes in sub_0802810C --- src/enemy/likeLike.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/enemy/likeLike.c b/src/enemy/likeLike.c index e271cc66..b6352861 100644 --- a/src/enemy/likeLike.c +++ b/src/enemy/likeLike.c @@ -218,9 +218,9 @@ void sub_0802810C(Entity* this) { #endif gPlayerState.jump_status = 0x41; gPlayerState.field_0xa = 0; - gPlayerState.flags &= 0xffffffef; - gPlayerEntity.flags |= 0x80; - gPlayerEntity.zVelocity = 0x18000; + gPlayerState.flags &= ~PL_CAPTURED; + gPlayerEntity.flags |= ENT_COLLIDE; + gPlayerEntity.zVelocity = Q_16_16(1.5); gPlayerEntity.iframes = -60; tmp = 0; gPlayerEntity.direction = gPlayerEntity.animationState << 2; @@ -228,7 +228,7 @@ void sub_0802810C(Entity* this) { gPlayerEntity.z.HALF.HI = gPlayerEntity.spriteOffsetY; gPlayerEntity.spriteOffsetY = tmp; this->action = 4; - this->timer = 0x50; + this->timer = 80; this->subtimer = tmp; this->flags2 |= 2; if (this->iframes == 0) {