if (creature_ptr->is_dead) return FALSE;
- /* Open */
if (v)
{
if (creature_ptr->tim_mimic && (creature_ptr->mimic_form == p) && !do_dec)
}
}
- /* Shut */
else
{
if (creature_ptr->tim_mimic)
if (creature_ptr->is_dead) return FALSE;
- /* Open */
if (v)
{
if (!creature_ptr->blind)
}
}
- /* Shut */
else
{
if (creature_ptr->blind)
if (creature_ptr->is_dead) return FALSE;
- /* Open */
if (v)
{
if (!creature_ptr->confused)
}
}
- /* Shut */
else
{
if (creature_ptr->confused)
if (creature_ptr->is_dead) return FALSE;
- /* Open */
if (v)
{
if (!creature_ptr->poisoned)
}
}
- /* Shut */
else
{
if (creature_ptr->poisoned)
if (creature_ptr->is_dead) return FALSE;
- /* Open */
if (v)
{
if (!creature_ptr->afraid)
}
}
- /* Shut */
else
{
if (creature_ptr->afraid)
if (creature_ptr->is_dead) return FALSE;
- /* Open */
if (v)
{
if (!creature_ptr->paralyzed)
}
}
- /* Shut */
else
{
if (creature_ptr->paralyzed)
if (creature_ptr->is_dead) return FALSE;
if (creature_ptr->pseikaku == SEIKAKU_CHARGEMAN) v = 0;
- /* Open */
if (v)
{
set_tsuyoshi(creature_ptr, 0, TRUE);
}
}
- /* Shut */
else
{
if (creature_ptr->image)
if (creature_ptr->is_dead) return FALSE;
- /* Open */
if (v)
{
if (creature_ptr->fast && !do_dec)
}
}
- /* Shut */
else
{
if (creature_ptr->fast && !creature_ptr->lightspeed && !music_singing(p_ptr, MUSIC_SPEED) && !music_singing(p_ptr, MUSIC_SHERO))
if (creature_ptr->wild_mode) v = 0;
- /* Open */
if (v)
{
if (creature_ptr->lightspeed && !do_dec)
}
}
- /* Shut */
else
{
if (creature_ptr->lightspeed)
if (creature_ptr->is_dead) return FALSE;
- /* Open */
if (v)
{
if (creature_ptr->slow && !do_dec)
}
}
- /* Shut */
else
{
if (creature_ptr->slow)
if (creature_ptr->is_dead) return FALSE;
- /* Open */
if (v)
{
if (creature_ptr->shield && !do_dec)
}
}
- /* Shut */
else
{
if (creature_ptr->shield)
if (creature_ptr->is_dead) return FALSE;
- /* Open */
if (v)
{
if (creature_ptr->tsubureru && !do_dec)
}
}
- /* Shut */
else
{
if (creature_ptr->tsubureru)
if (creature_ptr->is_dead) return FALSE;
- /* Open */
if (v)
{
if (creature_ptr->magicdef && !do_dec)
}
}
- /* Shut */
else
{
if (creature_ptr->magicdef)
if (creature_ptr->is_dead) return FALSE;
- /* Open */
if (v)
{
if (creature_ptr->blessed && !do_dec)
}
}
- /* Shut */
else
{
if (creature_ptr->blessed && !music_singing(p_ptr, MUSIC_BLESS))
if (creature_ptr->is_dead) return FALSE;
- /* Open */
if (v)
{
if (creature_ptr->hero && !do_dec)
}
}
- /* Shut */
else
{
if (creature_ptr->hero && !music_singing(p_ptr, MUSIC_HERO) && !music_singing(p_ptr, MUSIC_SHERO))
if (creature_ptr->is_dead) return FALSE;
if (creature_ptr->pclass == CLASS_BERSERKER) v = 1;
- /* Open */
if (v)
{
if (creature_ptr->shero && !do_dec)
}
}
- /* Shut */
else
{
if (creature_ptr->shero)
if (creature_ptr->is_dead) return FALSE;
- /* Open */
if (v)
{
if (creature_ptr->protevil && !do_dec)
}
}
- /* Shut */
else
{
if (creature_ptr->protevil)
if (creature_ptr->is_dead) return FALSE;
- /* Open */
if (v)
{
if (creature_ptr->wraith_form && !do_dec)
}
}
- /* Shut */
else
{
if (creature_ptr->wraith_form)
if (creature_ptr->is_dead) return FALSE;
- /* Open */
if (v)
{
if (creature_ptr->invuln && !do_dec)
}
}
- /* Shut */
else
{
if (creature_ptr->invuln && !music_singing(p_ptr, MUSIC_INVULN))
if (creature_ptr->is_dead) return FALSE;
- /* Open */
if (v)
{
if (creature_ptr->tim_esp && !do_dec)
}
}
- /* Shut */
else
{
if (creature_ptr->tim_esp && !music_singing(p_ptr, MUSIC_MIND))
if (creature_ptr->is_dead) return FALSE;
- /* Open */
if (v)
{
if (creature_ptr->tim_invis && !do_dec)
}
}
- /* Shut */
else
{
if (creature_ptr->tim_invis)
if (creature_ptr->is_dead) return FALSE;
- /* Open */
if (v)
{
if (creature_ptr->tim_infra && !do_dec)
}
}
- /* Shut */
else
{
if (creature_ptr->tim_infra)
if (creature_ptr->is_dead) return FALSE;
- /* Open */
if (v)
{
if (creature_ptr->tim_regen && !do_dec)
}
}
- /* Shut */
else
{
if (creature_ptr->tim_regen)
if (creature_ptr->is_dead) return FALSE;
- /* Open */
if (v)
{
if (creature_ptr->tim_stealth && !do_dec)
}
}
- /* Shut */
else
{
if (creature_ptr->tim_stealth && !music_singing(p_ptr, MUSIC_STEALTH))
if (creature_ptr->is_dead) return FALSE;
- /* Open */
if (set)
{
if (!(creature_ptr->special_defense & NINJA_S_STEALTH))
}
}
- /* Shut */
else
{
if (creature_ptr->special_defense & NINJA_S_STEALTH)
if (creature_ptr->is_dead) return FALSE;
- /* Open */
if (v)
{
if (creature_ptr->tim_levitation && !do_dec)
}
}
- /* Shut */
else
{
if (creature_ptr->tim_levitation)
if (creature_ptr->is_dead) return FALSE;
- /* Open */
if (v)
{
if (creature_ptr->tim_sh_touki && !do_dec)
}
}
- /* Shut */
else
{
if (creature_ptr->tim_sh_touki)
if (creature_ptr->is_dead) return FALSE;
- /* Open */
if (v)
{
if (creature_ptr->tim_sh_fire && !do_dec)
}
}
- /* Shut */
else
{
if (creature_ptr->tim_sh_fire)
if (creature_ptr->is_dead) return FALSE;
- /* Open */
if (v)
{
if (creature_ptr->tim_sh_holy && !do_dec)
}
}
- /* Shut */
else
{
if (creature_ptr->tim_sh_holy)
if (creature_ptr->is_dead) return FALSE;
- /* Open */
if (v)
{
if (creature_ptr->tim_eyeeye && !do_dec)
}
}
- /* Shut */
else
{
if (creature_ptr->tim_eyeeye)
if (creature_ptr->is_dead) return FALSE;
- /* Open */
if (v)
{
if (creature_ptr->resist_magic && !do_dec)
}
}
- /* Shut */
else
{
if (creature_ptr->resist_magic)
if (creature_ptr->is_dead) return FALSE;
- /* Open */
if (v)
{
if (creature_ptr->tim_reflect && !do_dec)
}
}
- /* Shut */
else
{
if (creature_ptr->tim_reflect)
if (creature_ptr->is_dead) return FALSE;
- /* Open */
if (v)
{
if (creature_ptr->multishadow && !do_dec)
}
}
- /* Shut */
else
{
if (creature_ptr->multishadow)
if (creature_ptr->is_dead) return FALSE;
- /* Open */
if (v)
{
if (creature_ptr->dustrobe && !do_dec)
}
}
- /* Shut */
else
{
if (creature_ptr->dustrobe)
if (creature_ptr->is_dead) return FALSE;
- /* Open */
if (v)
{
if (creature_ptr->kabenuke && !do_dec)
}
}
- /* Shut */
else
{
if (creature_ptr->kabenuke)
if (creature_ptr->is_dead) return FALSE;
- /* Open */
if (v)
{
if (creature_ptr->tsuyoshi && !do_dec)
}
}
- /* Shut */
else
{
if (creature_ptr->tsuyoshi)
if (creature_ptr->is_dead) return FALSE;
- /* Open */
if (v)
{
if (creature_ptr->oppose_acid && !do_dec)
}
}
- /* Shut */
else
{
if (creature_ptr->oppose_acid && !music_singing(p_ptr, MUSIC_RESIST) && !(creature_ptr->special_defense & KATA_MUSOU))
if (creature_ptr->is_dead) return FALSE;
- /* Open */
if (v)
{
if (creature_ptr->oppose_elec && !do_dec)
}
}
- /* Shut */
else
{
if (creature_ptr->oppose_elec && !music_singing(p_ptr, MUSIC_RESIST) && !(creature_ptr->special_defense & KATA_MUSOU))
if (creature_ptr->is_dead) return FALSE;
if ((PRACE_IS_(creature_ptr, RACE_DEMON) && (creature_ptr->lev > 44)) || (creature_ptr->mimic_form == MIMIC_DEMON)) v = 1;
- /* Open */
if (v)
{
if (creature_ptr->oppose_fire && !do_dec)
}
}
- /* Shut */
else
{
if (creature_ptr->oppose_fire && !music_singing(p_ptr, MUSIC_RESIST) && !(creature_ptr->special_defense & KATA_MUSOU))
if (creature_ptr->is_dead) return FALSE;
- /* Open */
if (v)
{
if (creature_ptr->oppose_cold && !do_dec)
}
}
- /* Shut */
else
{
if (creature_ptr->oppose_cold && !music_singing(p_ptr, MUSIC_RESIST) && !(creature_ptr->special_defense & KATA_MUSOU))
if ((creature_ptr->pclass == CLASS_NINJA) && (creature_ptr->lev > 44)) v = 1;
if (creature_ptr->is_dead) return FALSE;
- /* Open */
if (v)
{
if (creature_ptr->oppose_pois && !do_dec)
}
}
- /* Shut */
else
{
if (creature_ptr->oppose_pois && !music_singing(p_ptr, MUSIC_RESIST) && !(creature_ptr->special_defense & KATA_MUSOU))
if (creature_ptr->is_dead) return FALSE;
- /* Open */
if (v)
{
if (creature_ptr->ult_res && !do_dec)
}
}
- /* Shut */
else
{
if (creature_ptr->ult_res)
if (creature_ptr->is_dead) return FALSE;
- /* Open */
if (v)
{
if (creature_ptr->tim_res_nether && !do_dec)
}
}
- /* Shut */
else
{
if (creature_ptr->tim_res_nether)
if (creature_ptr->is_dead) return FALSE;
- /* Open */
if (v)
{
if (creature_ptr->tim_res_time && !do_dec)
}
}
- /* Shut */
else
{
if (creature_ptr->tim_res_time)