summaryrefslogtreecommitdiff
path: root/src/enemy
diff options
context:
space:
mode:
authoroctorock <79596758+octorock@users.noreply.github.com>2022-04-10 23:42:14 +0200
committeroctorock <79596758+octorock@users.noreply.github.com>2022-04-11 18:55:07 +0200
commit4fd8048c3cc36065e15faee67e50365dead51784 (patch)
tree87fcf28ac319e2df885df618f81843790daccffa /src/enemy
parent02cec8ca8d9b8f7373286fcd1c4c88c42beeeeb1 (diff)
Decompile some functions
Diffstat (limited to 'src/enemy')
-rw-r--r--src/enemy/enemy64.c2
-rw-r--r--src/enemy/ghini.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/enemy/enemy64.c b/src/enemy/enemy64.c
index 5017f1b4..bbcecf30 100644
--- a/src/enemy/enemy64.c
+++ b/src/enemy/enemy64.c
@@ -423,7 +423,7 @@ void sub_08049944(Enemy64Entity* this) {
if (EntityWithinDistance(super, gPlayerEntity.x.HALF.HI, gPlayerEntity.y.HALF.HI, 0x20)) {
gPlayerState.field_0x14 = 1;
if (gPlayerEntity.z.HALF.HI == 0) {
- gPlayerState.flags |= 2;
+ gPlayerState.flags |= PL_FLAGS2;
this->unk_7c |= 1;
}
}
diff --git a/src/enemy/ghini.c b/src/enemy/ghini.c
index 1fb426b7..80d63819 100644
--- a/src/enemy/ghini.c
+++ b/src/enemy/ghini.c
@@ -386,7 +386,7 @@ void sub_0803F6EC(GhiniEntity* this) {
gPlayerEntity.iframes = -0x3c;
gPlayerState.jump_status = 0x41;
}
- gPlayerState.flags &= 0xffffffef;
+ gPlayerState.flags &= ~PL_CAPTURED;
}
void sub_0803F738(GhiniEntity* this) {