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.
22 lines
469 B
22 lines
469 B
var pushdir, damageToDeal;
|
|
if (other.x < x)
|
|
pushdir = -1
|
|
else
|
|
pushdir = 1
|
|
if (other.invincible == 0)
|
|
{
|
|
damageToDeal = oMZeta.damage
|
|
oMZeta.damagedealt += damageToDeal
|
|
if (oMZeta.blur == 1)
|
|
{
|
|
with (oMZeta)
|
|
{
|
|
if (statetime < 17)
|
|
statetime = 17
|
|
}
|
|
damage_player_push(damageToDeal, pushdir, 90, 0, 3.5)
|
|
}
|
|
else
|
|
damage_player(damageToDeal, oMZeta.hpush, oMZeta.vpush, 0, 0)
|
|
}
|