| 1 |
siner += 2; |
| 2 |
counter += 1; |
| 3 |
for (i = 0; i < 6; i += 1) |
| 4 |
draw_sprite(sprite_index, i, x + lengthdir_x(radius, siner + ((i / 6) * 360)), y + lengthdir_y(radius, siner + ((i / 6) * 360))); |
| 5 |
if (counter > 60 && counter < 90) |
| 6 |
radius += 0.6; |
| 7 |
if (counter == 120) |
| 8 |
vspeed = 2; |
| 9 |
if (counter > 120 && counter < 235) |
| 10 |
radius += 1; |
| 11 |
if (counter == 235) |
| 12 |
{ |
| 13 |
vspeed = 0; |
| 14 |
times = 0; |
| 15 |
} |
| 16 |
if (counter == 285) |
| 17 |
{ |
| 18 |
for (i = 0; i < 6; i += 1) |
| 19 |
{ |
| 20 |
heal = instance_create(x + lengthdir_x(radius, siner + ((i / 6) * 360)), y + lengthdir_y(radius, siner + ((i / 6) * 360)), obj_6heal); |
| 21 |
with (heal) |
| 22 |
move_towards_point(obj_vsflowey_heart.x + 8, obj_vsflowey_heart.y + 8, 3); |
| 23 |
if (i == 0) |
| 24 |
{ |
| 25 |
heal.sprite_index = spr_6bandage_big; |
| 26 |
heal.image_xscale = 1; |
| 27 |
heal.image_yscale = 1; |
| 28 |
} |
| 29 |
if (i == 1) |
| 30 |
{ |
| 31 |
heal.sprite_index = spr_6thumbsup_small; |
| 32 |
heal.image_xscale = 2; |
| 33 |
heal.image_yscale = 2; |
| 34 |
} |
| 35 |
if (i == 2) |
| 36 |
{ |
| 37 |
heal.sprite_index = spr_6shoe_musicnote; |
| 38 |
heal.image_xscale = 2; |
| 39 |
heal.image_yscale = 2; |
| 40 |
} |
| 41 |
if (i == 3) |
| 42 |
{ |
| 43 |
heal.sprite_index = spr_6hope; |
| 44 |
if (global.language == "ja") |
| 45 |
heal.sprite_index = spr_6hope_ja; |
| 46 |
heal.image_xscale = 2; |
| 47 |
heal.image_yscale = 2; |
| 48 |
} |
| 49 |
if (i == 4) |
| 50 |
{ |
| 51 |
heal.sprite_index = spr_6pan_egg; |
| 52 |
heal.image_xscale = 2; |
| 53 |
heal.image_yscale = 2; |
| 54 |
} |
| 55 |
if (i == 5) |
| 56 |
{ |
| 57 |
heal.sprite_index = spr_6gun_flower; |
| 58 |
heal.image_xscale = 2; |
| 59 |
heal.image_yscale = 2; |
| 60 |
} |
| 61 |
} |
| 62 |
times += 1; |
| 63 |
} |
| 64 |
if (counter == 325) |
| 65 |
{ |
| 66 |
if (times < 5) |
| 67 |
counter = 283; |
| 68 |
} |
| 69 |
if (counter > 360) |
| 70 |
radius += 4; |
| 71 |
if (counter > 460) |
| 72 |
instance_destroy(); |