1 |
if (d == 0) |
2 |
scr_depthscr_depthdepth = 50000 - ((y * 10) + (sprite_height * 10)); (); |
3 |
if (fun == 0) |
4 |
{ |
5 |
myinteract = 0; |
6 |
if (speed == 0) |
7 |
{ |
8 |
image_index = 0; |
9 |
image_speed = 0; |
10 |
} |
11 |
if (speed > 0) |
12 |
{ |
13 |
image_speed = 0.2; |
14 |
if (image_index == 1 || image_index == 3) |
15 |
snd_play(snd_undynestep); |
16 |
} |
17 |
} |
18 |
if (fun == 3) |
19 |
{ |
20 |
if (image_index == 1 || image_index == 3) |
21 |
snd_play(snd_undynestep); |
22 |
} |
23 |
if (global.flag[20 animation_index] == 5) |
24 |
sprite_index = spr_undynea_starku; |
25 |
if (global.flag[20 animation_index] == 6) |
26 |
sprite_index = spr_undynea_starkl; |