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_oWallfire2_Alarm...

19 lines
492 B

if (active == 1 && frozen == 0)
{
poffset = (8 * facing)
if (facing == 1)
yoffset = 4
else
yoffset = 2
projectile = instance_create((x + poffset), (y - yoffset), oWallfireProj2)
projectile.hspeed = ((3.5 + global.difficulty) * facing)
projectile.image_angle = projectile.direction
PlaySoundMono(sndFireball)
}
if (global.difficulty == 0)
alarm[2] = 30
if (global.difficulty == 1)
alarm[2] = 20
if (global.difficulty >= 2)
alarm[2] = 10