| 1 |
if (live_call()) |
| 2 |
return global.live_result; |
| 3 |
var launch_speed = 10; |
| 4 |
switch (scene) |
| 5 |
{ |
| 6 |
case 0: |
| 7 |
if (image_xscale < 1.2) |
| 8 |
{ |
| 9 |
image_xscale += 0.1; |
| 10 |
image_yscale = image_xscale; |
| 11 |
} |
| 12 |
else |
| 13 |
{ |
| 14 |
scene++; |
| 15 |
} |
| 16 |
break; |
| 17 |
case 1: |
| 18 |
image_xscale = lerp(image_xscale, 1, 0.1); |
| 19 |
image_yscale = image_xscale; |
| 20 |
if (image_xscale <= 1.01) |
| 21 |
{ |
| 22 |
image_xscale = 1; |
| 23 |
image_yscale = 1; |
| 24 |
scene++; |
| 25 |
} |
| 26 |
break; |
| 27 |
case 2: |
| 28 |
cutscene_wait(1); |
| 29 |
break; |
| 30 |
case 3: |
| 31 |
var soul = 2979; |
| 32 |
target_x = soul.x; |
| 33 |
target_y = soul.y; |
| 34 |
direction = point_direction(x, y, target_x, target_y); |
| 35 |
image_xscale = lerp(image_xscale, 1.25, 0.35); |
| 36 |
image_yscale = image_xscale; |
| 37 |
if (image_xscale > 1.24) |
| 38 |
{ |
| 39 |
speed = launch_speed; |
| 40 |
scene++; |
| 41 |
} |
| 42 |
break; |
| 43 |
case 4: |
| 44 |
speed -= 0.25; |
| 45 |
image_xscale = lerp(image_xscale, 1, 0.5); |
| 46 |
image_yscale = image_xscale; |
| 47 |
if (speed <= 1) |
| 48 |
scene++; |
| 49 |
break; |
| 50 |
case 5: |
| 51 |
if (cutscene_wait(0.5)) |
| 52 |
scene = 3; |
| 53 |
break; |
| 54 |
} |
| 55 |
image_angle += (1 * rot); |