You've already forked AM2R-Community-Updates
mirror of
https://github.com/izzy2lost/AM2R-Community-Updates.git
synced 2026-03-10 11:23:35 -07:00
20 lines
507 B
Plaintext
20 lines
507 B
Plaintext
/// 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;
|