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