1 |
switch (scene) |
2 |
{ |
3 |
case 0: |
4 |
y += fly_speed; |
5 |
if (y > 0) |
6 |
mail_whale_shadow_alpha += 0.025; |
7 |
if (y > mail_whale_y_target && fly_speed > 0) |
8 |
fly_speed -= 0.2; |
9 |
else if (fly_speed == 0) |
10 |
scene = 1; |
11 |
break; |
12 |
case 1: |
13 |
obj_pl.direction = 270; |
14 |
obj_pl.image_alpha = 1; |
15 |
sprite_index = spr_mail_whale_basket_empty_yellow; |
16 |
cutscene_sfx_play(373, 1); |
17 |
break; |
18 |
case 2: |
19 |
cutscene_wait(1); |
20 |
break; |
21 |
case 3: |
22 |
obj_pl.direction = 270; |
23 |
cutscene_dialogue(); |
24 |
with (msg) |
25 |
{ |
26 |
message[0] = "* We have arrived without a# scratch!"; |
27 |
message[1] = "* The journey was fun but it's# time to dispatch!"; |
28 |
message[2] = "* Just ring the bell for any# further assistance!"; |
29 |
message[3] = "* The UGPS will be there with# little resistance!"; |
30 |
} |
31 |
break; |
32 |
case 4: |
33 |
if (vspeed > -3) |
34 |
vspeed -= 0.2; |
35 |
mail_whale_shadow_alpha -= 0.025; |
36 |
if (y < camera_get_view_y(view_camera[0])) |
37 |
{ |
38 |
scr_cutscene_end(); |
39 |
instance_destroy(); |
40 |
} |
41 |
break; |
42 |
} |
43 |
depth = -y - 10; |