1 |
if (live_call()) |
2 |
return global.live_result; |
3 |
switch (scene) |
4 |
{ |
5 |
case 0: |
6 |
x = xstart + random_range(-1, 1); |
7 |
y = ystart + random_range(-1, 1); |
8 |
draw_alpha = lerp(draw_alpha, 1, 0.05); |
9 |
if (draw_alpha >= 0.99) |
10 |
{ |
11 |
draw_alpha = 1; |
12 |
scene++; |
13 |
} |
14 |
break; |
15 |
case 1: |
16 |
cutscene_wait(1); |
17 |
break; |
18 |
case 2: |
19 |
image_alpha -= 0.1; |
20 |
if (image_alpha <= 0) |
21 |
{ |
22 |
if (global.hotland_flag[2] == 1) |
23 |
{ |
24 |
instance_create_depth(0, 0, 0, obj_ceroba_phase_2_overworld_cutscene_1); |
25 |
room_goto(rm_mansion_bedroom Estate - Bedroom); |
26 |
} |
27 |
if (global.hotland_flag[2] == 2) |
28 |
{ |
29 |
instance_create_depth(0, 0, 0, obj_ceroba_phase_2_overworld_cutscene_2); |
30 |
room_goto(rm_mansion_study Estate - Study); |
31 |
} |
32 |
instance_destroy(); |
33 |
} |
34 |
break; |
35 |
} |