summaryrefslogtreecommitdiff
path: root/src/code_80086E70.c
diff options
context:
space:
mode:
authorcoco875 <59367621+coco875@users.noreply.github.com>2023-10-19 20:06:12 +0200
committerGitHub <noreply@github.com>2023-10-19 12:06:12 -0600
commit134e126cd99e052473b9c1eaa85f39d5023a2aec (patch)
tree297e118c60442d9637178ad1f18ba0be63e5c1e6 /src/code_80086E70.c
parentac17d943be70c15667f285eaff1cea6aa8422674 (diff)
some define comment and replace number by const (#469)
Diffstat (limited to 'src/code_80086E70.c')
-rw-r--r--src/code_80086E70.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code_80086E70.c b/src/code_80086E70.c
index 97f6afe82..f2ce9f82e 100644
--- a/src/code_80086E70.c
+++ b/src/code_80086E70.c
@@ -1052,7 +1052,7 @@ s32 func_80089CBC(s32 objectIndex, f32 arg1) {
if (is_obj_index_flag_unk_054_active(objectIndex, 0x00000200) != 0) {
for (var_s1 = 0; var_s1 < D_8018D158; var_s1++, player++) {
if ((gObjectList[objectIndex].state != 0) && !(player->effects & 0x81000000)) {
- if ((player->type & PLAYER_EXISTS) && !(player->type & 0x100) && (func_80088E98(objectIndex, player, arg1) != 0)) {
+ if ((player->type & PLAYER_EXISTS) && !(player->type & PLAYER_INVISIBLE_OR_BOMB) && (func_80088E98(objectIndex, player, arg1) != 0)) {
if (!(player->effects & 0x200)) {
player->statusEffects |= REVERSE_EFFECT;
if (is_obj_index_flag_unk_054_active(objectIndex, 0x04000000) != 0) {