summaryrefslogtreecommitdiff
path: root/src/enemy/ghini.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/enemy/ghini.c')
-rw-r--r--src/enemy/ghini.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/enemy/ghini.c b/src/enemy/ghini.c
index e49b8293..87a9c402 100644
--- a/src/enemy/ghini.c
+++ b/src/enemy/ghini.c
@@ -59,11 +59,11 @@ void Ghini_OnCollision(GhiniEntity* this) {
sub_0803F630(this);
sub_0803F6EC(this);
}
- if ((super->hitType == 0x25) && (super->contactFlags == 0x80)) {
+ if ((super->hitType == 0x25) && (super->contactFlags == CONTACT_TAKE_DAMAGE)) {
super->action = 8;
InitializeAnimation(super, 3);
} else {
- if (super->contactFlags == 0x9d) {
+ if (super->contactFlags == (CONTACT_TAKE_DAMAGE | 0x1d)) {
super->zVelocity = 0x18000;
}
if (super->confusedTime != 0) {