1 |
if live_call() |
2 |
return global.live_result; |
3 |
image_angle = 180 - 180 * image_xscale |
4 |
switch state |
5 |
{ |
6 |
case 0: |
7 |
image_xscale = lerp(image_xscale, 1.2, 0.35) |
8 |
image_yscale = image_xscale |
9 |
if (image_xscale >= 1.19) |
10 |
state++ |
11 |
break |
12 |
case 1: |
13 |
image_xscale = lerp(image_xscale, 1, 0.35) |
14 |
if (image_xscale <= 1.01) |
15 |
{ |
16 |
image_xscale = 1 |
17 |
state++ |
18 |
} |
19 |
image_yscale = image_xscale |
20 |
break |
21 |
case 2: |
22 |
if (!alarm[0]) |
23 |
alarm[0] = 5alarm[0]var bullet = instance_create_depth(spawner.x, spawner.y, (spawner.depth - 1), obj_battle_enemy_attack_bigfrog_fly_bullet)
bullet.direction = point_direction(bullet.x, bullet.y, x, y)
instance_destroy() |
24 |
break |
25 |
} |