You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
if (myhealth > 0)
|
|
{
|
|
if ((state == 4 || state == 9) && other.invincible == 0 && other.walljumping == 0)
|
|
{
|
|
damage_player_push(damage, facing, 90, 0, 2.2)
|
|
if (state == 4)
|
|
{
|
|
facing *= -1
|
|
vspeed = -2
|
|
gravity = 0.2
|
|
}
|
|
}
|
|
else if (other.invincible == 0)
|
|
damage_player(damage, 5, -3, 0, 0)
|
|
}
|