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-TimeTrials/scripts/create_gamma.gml

20 lines
507 B

/// create_gamma(x, y, id, facing)
met = instance_create(argument0, argument1, oMGamma);
met.facing = argument3;
met.myid = argument2;
with (met) {
set_monster_vars(argument2);
shell = instance_create(x, y, oMAlphaShell);
shell.sprite_index = sMGammaShell;
shell.damage = damage;
shell.hpush = 5;
shell.vpush = -3;
event_user(3);
}
if (global.monstersalive == 0) {
sfx_stop(sndMGammaIntro);
sfx_play(sndMGammaIntro);
mus_gamma_monster();
}
global.monstersalive += 1;