30 lines
433 B
Plaintext
30 lines
433 B
Plaintext
|
depth = -y;
|
||
|
if tested < 2
|
||
|
{
|
||
|
image_angle += 3
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
image_alpha -= .01
|
||
|
}
|
||
|
if image_alpha <= 0
|
||
|
instance_destroy();
|
||
|
if y >= orig_y + 4 and tested = 0
|
||
|
{
|
||
|
orig_y = y;
|
||
|
vspeed = -.5
|
||
|
tested = 1
|
||
|
sound_play(snd_cartridge);
|
||
|
}
|
||
|
if y >= orig_y + 15 and tested = 1
|
||
|
{
|
||
|
vspeed = 0;
|
||
|
gravity = 0;
|
||
|
hspeed = 0;
|
||
|
tested = 2
|
||
|
sound_play(snd_cartridge);
|
||
|
}
|
||
|
draw_self();
|
||
|
|
||
|
|