summaryrefslogtreecommitdiff
path: root/src/enemy/moldworm.c
diff options
context:
space:
mode:
authorTal Hayon <talhayon1@gmail.com>2022-01-29 16:21:57 +0200
committerTal Hayon <talhayon1@gmail.com>2022-01-30 00:32:10 +0200
commitb4f8429a2c951dbf6b92edd865f6a63c166301cb (patch)
tree898ba9d60e688da0ba432f7d70e421c898ea34da /src/enemy/moldworm.c
parentd34aa9166f5d9f7958e586ae1daee3224eb11fa5 (diff)
Use PlayerFlags where possible
Diffstat (limited to 'src/enemy/moldworm.c')
-rw-r--r--src/enemy/moldworm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/enemy/moldworm.c b/src/enemy/moldworm.c
index 695271ae..652f0136 100644
--- a/src/enemy/moldworm.c
+++ b/src/enemy/moldworm.c
@@ -91,7 +91,7 @@ void sub_080230E4(Entity* this) {
gPlayerEntity.direction = 0xff;
gPlayerEntity.iframes = -0x14;
gPlayerState.jump_status = 0x41;
- gPlayerState.flags &= 0xfff7ffff;
+ gPlayerState.flags &= ~PL_MOLDWORM_CAPTURED;
}
sub_0804AA30(this, gUnk_080CBC38);