diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2023-10-15 00:45:59 -0400 |
|---|---|---|
| committer | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2023-10-15 00:45:59 -0400 |
| commit | 0ca314c74652f51ce171ff74dee48f4ef8b8de28 (patch) | |
| tree | a0dd8893a9be2414a715c2aec659c96614a7c89c /src/c | |
| parent | 98140ed1cd23c873b0082193dcc34fb7732c841c (diff) | |
Add attention flags enum, use enums in more places
Diffstat (limited to 'src/c')
| -rw-r--r-- | src/c/c_damagereaction.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/c/c_damagereaction.cpp b/src/c/c_damagereaction.cpp index 50215f69..bed1f696 100644 --- a/src/c/c_damagereaction.cpp +++ b/src/c/c_damagereaction.cpp @@ -126,7 +126,7 @@ BOOL enemy_ice(enemyice* ei) { ac->mTevStr.mFogStartZ = 0.0f; ac->mTevStr.mFogEndZ = 2000.0f; fopAcM_seStart(ac, JA_SE_CM_L_ARROW_SHRINK, 0); - ac->mAttentionInfo.mFlags &= ~4; + ac->mAttentionInfo.mFlags &= ~fopAc_Attn_LOCKON_ENEMY_e; } else { ei->mLightShrinkTimer++; @@ -226,10 +226,10 @@ BOOL enemy_ice(enemyice* ei) { frozen = TRUE; moveAndCollide = TRUE; if (ei->m00C != 1) { - ac->mAttentionInfo.mFlags |= 0x10; + ac->mAttentionInfo.mFlags |= fopAc_Attn_ACTION_CARRY_e; ac->mAttentionInfo.mDistances[4] = 0x12; if (fopAcM_checkStatus(ac, fopAcStts_CARRY_e)) { - ac->mAttentionInfo.mFlags &= ~0x10; + ac->mAttentionInfo.mFlags &= ~fopAc_Attn_ACTION_CARRY_e; ei->mState = 3; if (ei->m00C == 2) { ei->m00C = 0; |
