summaryrefslogtreecommitdiff
path: root/src/projectile/dekuSeedProjectile.c
diff options
context:
space:
mode:
authortheo3 <arisstephenson2@gmail.com>2023-12-30 21:07:06 -0800
committertheo3 <arisstephenson2@gmail.com>2023-12-30 21:07:06 -0800
commit5049daabc59d113152143d123aea2798d9487a0c (patch)
treeb502c841b46f25267be35f3986bd90ef45cba9da /src/projectile/dekuSeedProjectile.c
parentbd1be092aa85e4eb1d368bef05c88eaae2a0ae84 (diff)
label contact flags
Diffstat (limited to 'src/projectile/dekuSeedProjectile.c')
-rw-r--r--src/projectile/dekuSeedProjectile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/projectile/dekuSeedProjectile.c b/src/projectile/dekuSeedProjectile.c
index 132bf708..302615fe 100644
--- a/src/projectile/dekuSeedProjectile.c
+++ b/src/projectile/dekuSeedProjectile.c
@@ -24,7 +24,7 @@ void DekuSeedProjectile_OnTick(Entity* this) {
}
void DekuSeedProjectile_OnCollision(Entity* this) {
- if (this->contactFlags == 0x80) {
+ if (this->contactFlags == CONTACT_TAKE_DAMAGE) {
if (this->hitType == 0x68) {
EnqueueSFX(SFX_86);
}
@@ -75,7 +75,7 @@ void DekuSeedProjectile_Action1(Entity* this) {
if ((parent->next != NULL) && (IsColliding(this, parent) != 0)) {
this->iframes = 0x10;
this->knockbackDirection = -this->direction;
- this->contactFlags = 0x80;
+ this->contactFlags = CONTACT_TAKE_DAMAGE;
this->knockbackDuration = 0xc;
this->knockbackSpeed = 0;
parent->iframes = 0x10;