gmc-jam-3/objects/obj_player/Destroy_0.gml

18 lines
280 B
Plaintext

action_set_relative(1);
global.life += -1;
var __b__;
__b__ = action_if_variable(global.life, -1, 0);
if __b__
{
{
{
action_set_relative(0);
global.dead = 1;
action_set_relative(1);
}
}
}
action_create_object(object24, 0, 0);
action_sound(snd_youdead, 0);
action_set_relative(0);