1 |
if live_call() |
2 |
return global.live_result; |
3 |
event_inherited() |
4 |
if (curve_x == 0) |
5 |
curve_x += 0.001 |
6 |
f_x = sin(curve_x) / curve_x * ((abs(curve_x + 8)) - (abs(curve_x - 5))) / (13 * (power(((curve_x + 1) / 7), 4)) + 1) * curve_amp + 1 |
7 |
image_xscale = f_x + (sin(current_time / 400)) * 0.02 + 0.02 |
8 |
image_yscale = f_x + (sin(current_time / 400)) * 0.02 + 0.02 |
9 |
curve_x += curve_spd |
10 |
if (curve_x >= 15) |
11 |
curve_x = curve_delay |
12 |
if (blink == -19) |
13 |
blink = irandom_range(20, 50) |
14 |
blink-- |
15 |
if ((!instance_exists(obj_flowey_battle_phase_2_organic_weakpoint)) || obj_flowey_battle_phase_2_organic_weakpoint.hp_self < 0) |
16 |
curve_spd = 0.9 |