1 |
if (vulnerable == false) |
2 |
{ |
3 |
image_speed = 0.5; |
4 |
} |
5 |
else |
6 |
{ |
7 |
image_speed = 0; |
8 |
image_index = 0; |
9 |
} |
10 |
if (global.current_pp_self < 0) |
11 |
global.current_pp_self = 0; |
12 |
if (global.current_sp_self < 0) |
13 |
global.current_sp_self = 0; |
14 |
if (global.current_hp_self < 0) |
15 |
global.current_hp_self = 0; |
16 |
if (global.current_hp_self == 0) |
17 |
{ |
18 |
global.heart_battle_fighting_x = x; |
19 |
global.heart_battle_fighting_y = y; |
20 |
with (obj_battle_generator) |
21 |
audio_extend = false; |
22 |
audio_stop_all(); |
23 |
room_goto(rm_death_screen Death screen); |
24 |
} |