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

19 lines
489 B

if (active == 1 && frozen == 0)
{
poffset = (8 * facing)
if (facing == 1)
yoffset = 4
else
yoffset = 2
projectile = instance_create((x + poffset), (y - yoffset), oWallfireProj)
projectile.hspeed = ((3 + 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