1 |
if (live_call()) |
2 |
return global.live_result; |
3 |
draw_self(); |
4 |
if (instance_exists(obj_flowey_battle_phase_2_organic_weakpoint) && obj_flowey_battle_phase_2_organic_weakpoint.hp_self > 0) |
5 |
{ |
6 |
if (blink <= 0) |
7 |
draw_sprite_ext(spr_battle_flowey_organic_flowey_blink, abs(blink / 2), x + eyes_offset[0], y + eyes_offset[1], f_x + (sin(current_time / 400) * 0.02) + 0.02, f_x + (sin(current_time / 400) * 0.02) + 0.02, 0, -1, 1); |
8 |
exit; |
9 |
} |
10 |
if (hp_self > 0) |
11 |
draw_sprite_ext(sprite_index, image_index, x, y, image_xscale, image_yscale, image_angle, c_red, (sin(current_time / 300) * 0.5) + 0.5); |
12 |
draw_sprite_ext(spr_battle_flowey_organic_flowey_closed, 0, x + eyes_offset[0], y + eyes_offset[1], f_x + (sin(current_time / 400) * 0.02) + 0.02, f_x + (sin(current_time / 400) * 0.02) + 0.02, 0, -1, 1); |
13 |
if (hp_self > 0) |
14 |
draw_sprite_ext(spr_battle_flowey_organic_flowey_closed, 0, x + eyes_offset[0], y + eyes_offset[1], f_x + (sin(current_time / 400) * 0.02) + 0.02, f_x + (sin(current_time / 400) * 0.02) + 0.02, 0, c_red, (sin(current_time / 300) * 0.5) + 0.5); |
15 |
if (hit_flash == true) |
16 |
{ |
17 |
shader_set(sh_flash); |
18 |
draw_sprite_ext(sprite_index, image_index, x + x_offset, y + y_offset, image_xscale, image_yscale, image_angle, c_white, image_alpha); |
19 |
shader_reset(); |
20 |
} |