This commit is contained in:
Charles 2001-04-04 19:55:49 +00:00
parent 851263ff5c
commit 056511ac63
6 changed files with 118 additions and 44 deletions

View file

@ -117,7 +117,7 @@ void CNpcEnemy::processCloseHermitCrabAttack( int _frames )
s32 moveX = 0, moveY = 0;
s32 groundHeight;
s32 fallSpeed = 2;
s32 fallSpeed = 3;
s8 yMovement = fallSpeed * _frames;
moveX = 6 * _frames;
@ -154,6 +154,12 @@ void CNpcEnemy::processCloseHermitCrabAttack( int _frames )
moveY = groundHeight;
}
else
{
// fall
moveY = yMovement;
}
Pos.vx = newX;
Pos.vy += moveY;