This commit is contained in:
Charles 2001-06-20 18:34:09 +00:00
parent ecc4e806c3
commit 2132591d81
2 changed files with 4 additions and 24 deletions

View File

@ -4,6 +4,6 @@ idle
# jumpstart
# punch
rollattack
rollattackend
rollattackstart
#rollattackend
#rollattackstart
scuttle

View File

@ -125,25 +125,7 @@ void CNpcHermitCrabEnemy::processClose( int _frames )
{
switch( m_animNo )
{
case ANIM_HERMITCRAB_ROLLATTACKSTART:
{
m_animPlaying = true;
m_animNo = ANIM_HERMITCRAB_ROLLATTACK;
m_frame = 0;
break;
}
case ANIM_HERMITCRAB_ROLLATTACK:
{
m_animPlaying = true;
m_animNo = ANIM_HERMITCRAB_ROLLATTACKEND;
m_frame = 0;
break;
}
case ANIM_HERMITCRAB_ROLLATTACKEND:
{
m_state = HERMIT_CRAB_NO_ATTACK;
m_controlFunc = NPC_CONTROL_MOVEMENT;
@ -157,7 +139,7 @@ void CNpcHermitCrabEnemy::processClose( int _frames )
default:
{
m_animPlaying = true;
m_animNo = ANIM_HERMITCRAB_ROLLATTACKSTART;
m_animNo = ANIM_HERMITCRAB_ROLLATTACK;
m_frame = 0;
break;
@ -194,9 +176,7 @@ void CNpcHermitCrabEnemy::processClose( int _frames )
{
// moving outside path constraints, abort
m_animPlaying = true;
m_animNo = ANIM_HERMITCRAB_ROLLATTACKEND;
m_frame = 0;
m_animPlaying = false;
}
else
{