| 1 |
ptimer += 1; |
| 2 |
if (ptimer == 40) |
| 3 |
{ |
| 4 |
global.facing = 2; |
| 5 |
vspeed = 0; |
| 6 |
} |
| 7 |
if (ptimer == 70) |
| 8 |
{ |
| 9 |
snd_play(snd_spearappear); |
| 10 |
sprite_index = spr_yellowphone_jetpacktransform; |
| 11 |
image_index = 0; |
| 12 |
image_speed = 0.334; |
| 13 |
} |
| 14 |
if (ptimer > 70 && sprite_index == spr_yellowphone_jetpacktransform && image_index > 4) |
| 15 |
{ |
| 16 |
image_index = 4; |
| 17 |
image_speed = 0; |
| 18 |
} |
| 19 |
if (ptimer == 110) |
| 20 |
{ |
| 21 |
snd_play(snd_spearappear); |
| 22 |
vspeed = 5; |
| 23 |
} |
| 24 |
if (ptimer > 110 && y > (ystart - 5) && align == 0) |
| 25 |
{ |
| 26 |
align = 1; |
| 27 |
instance_create(0, 0, obj_flasher); |
| 28 |
snd_play(snd_impact); |
| 29 |
vspeed = 0; |
| 30 |
y = ystart; |
| 31 |
} |
| 32 |
if (ptimer > 110 && vspeed > 0) |
| 33 |
{ |
| 34 |
g = scr_afterimagescr_afterimagegenafterimage = instance_create(x, y, obj_genafterimage);
genafterimage.sprite_index = sprite_index;
genafterimage.image_index = image_index;
genafterimage.size = image_xscale;
genafterimage.size = image_yscale;
genafterimage.image_angle = image_angle;
genafterimage.image_blend = image_blend;
genafterimage.image_speed = 0;
genafterimage.depth = depth + 1;
if (argument0 > 0)
genafterimage.alphadown = 1 / argument0;
if (argument1 > 0)
genafterimage.growth = argument1;
return genafterimage; (6, 0); |
| 35 |
g.image_alpha = 0.5; |
| 36 |
} |
| 37 |
if (ptimer == 160) |
| 38 |
{ |
| 39 |
snd_play(snd_noise); |
| 40 |
sprite_index = spr_yellowjetpack; |
| 41 |
image_speed = 0.5; |
| 42 |
} |
| 43 |
if (ptimer > 160) |
| 44 |
{ |
| 45 |
x = clip.x; |
| 46 |
y = clip.y + 10; |
| 47 |
} |