1 |
if live_call() |
2 |
return global.live_result; |
3 |
if (vulnerable == false) |
4 |
{ |
5 |
if (!alarm[3]) |
6 |
{ |
7 |
draw_sprite_hurt = true |
8 |
alarm[3] = 2alarm[3]if live_call()
return global.live_result;
if (draw_sprite_hurt == false)
draw_sprite_hurt = true
else
draw_sprite_hurt = false
alarm[3] = 2 |
9 |
} |
10 |
} |
11 |
else |
12 |
{ |
13 |
draw_sprite_hurt = false |
14 |
alarm[3] = -1alarm[3]if live_call()
return global.live_result;
if (draw_sprite_hurt == false)
draw_sprite_hurt = true
else
draw_sprite_hurt = false
alarm[3] = 2 |
15 |
} |
16 |
if (global.current_pp_self < 0) |
17 |
global.current_pp_self = 0 |
18 |
if (global.current_sp_self < 0) |
19 |
global.current_sp_self = 0 |
20 |
if (global.current_hp_self < 0) |
21 |
global.current_hp_self = 0 |
22 |
if (global.current_hp_self == 0) |
23 |
{ |
24 |
global.heart_battle_fighting_x = x |
25 |
global.heart_battle_fighting_y = y |
26 |
with (obj_battle_generator) |
27 |
audio_extend = false |
28 |
audio_stop_all() |
29 |
room_goto(rm_death_screen Death screen) |
30 |
} |