2021-06-28 18:45:03 -07:00
|
|
|
action_set_relative(1);
|
2021-06-28 21:31:54 -07:00
|
|
|
global.life += -1;
|
2021-06-28 18:45:03 -07:00
|
|
|
var __b__;
|
2021-06-28 21:31:54 -07:00
|
|
|
__b__ = action_if_variable(global.life, -1, 0);
|
2021-06-28 18:45:03 -07:00
|
|
|
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);
|