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.
|
var pushdir, damageToDeal;
|
|
if (other.x < x)
|
|
pushdir = -1
|
|
else
|
|
pushdir = 1
|
|
if (other.invincible == 0 && other.state != 40)
|
|
{
|
|
oMOmega.damagedealt += oMOmega.damage
|
|
damageToDeal = oMOmega.damage
|
|
damage_player(damageToDeal, oMOmega.hpush, oMOmega.vpush, 0, 0)
|
|
}
|