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

33 lines
495 B

if (xpos == targetx)
event_user(0)
else
{
tile_layer_shift(-90, 1, 0)
xpos += 1
oCharacter.x += 1
with (oDrillBack)
{
active = 1
x += 1
}
with (oDrillFront)
{
active = 1
x += 1
}
if (oDrillWall.x <= (xpos + 160))
{
with (oDrillWall)
event_user(0)
}
if (steps < 30)
alarm[0] = 2
else
alarm[0] = 1
}
if (advancing == 0)
{
advancing = 1
sfx_loop(sndDrillLoop)
}