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.
AM2R-Multitroid-Fair-Team-PVP/Export_Code/gml_Object_oQueenHead_Other...

31 lines
628 B

if (!((oCharacter.state == oCharacter.GRABBEDQUEENBELLY && instance_exists(oPBomb))))
myhealth -= dmg
flashing = flashtime
if (myhealth <= 0 && state != 100 && state != 50)
{
if (oQueen.phase < 3)
head_damage = 1
if (oQueen.phase == 3)
head_damage = 2
if (oQueen.phase < 5)
{
state = 50
statetime = 0
myhealth = 999999
with (oQueen)
{
state = 6
statetime = 0
}
}
if (oQueen.phase == 5)
{
with (oQueen)
{
state = 100
statetime = 0
}
state = 100
}
}