| 1 |
if (live_call()) |
| 2 |
return global.live_result; |
| 3 |
switch (scene) |
| 4 |
{ |
| 5 |
case 0: |
| 6 |
cutscene_screen_fade_in(0.05); |
| 7 |
break; |
| 8 |
case 1: |
| 9 |
if (cutscene_wait(1)) |
| 10 |
{ |
| 11 |
cutscene_camera_freeze(); |
| 12 |
cutscene_advance(2); |
| 13 |
} |
| 14 |
break; |
| 15 |
case 2: |
| 16 |
obj_player_npc.x = obj_player_npc.xstart; |
| 17 |
obj_player_npc.y = obj_player_npc.ystart; |
| 18 |
obj_player_npc.x += random_range(-2, 2); |
| 19 |
obj_player_npc.y += random_range(-2, 2); |
| 20 |
if (cutscene_wait(1.5)) |
| 21 |
{ |
| 22 |
obj_player_npc.x = obj_player_npc.xstart; |
| 23 |
obj_player_npc.y = obj_player_npc.ystart; |
| 24 |
} |
| 25 |
break; |
| 26 |
case 3: |
| 27 |
obj_player_npc.sprite_index = spr_pl_run_right; |
| 28 |
obj_player_npc.image_index = 2; |
| 29 |
audio_play_sound(snd_playerjump, 1, 0); |
| 30 |
with (obj_player_npc) |
| 31 |
path_start(pt_pljump, 2, path_action_stop, false); |
| 32 |
scene++; |
| 33 |
break; |
| 34 |
case 4: |
| 35 |
with (obj_player_npc) |
| 36 |
{ |
| 37 |
if (path_position >= 1) |
| 38 |
{ |
| 39 |
if (global.sworks_flag[50] == 1) |
| 40 |
{ |
| 41 |
other.scene++; |
| 42 |
npc_direction = "left"; |
| 43 |
} |
| 44 |
else |
| 45 |
{ |
| 46 |
other.scene = 10; |
| 47 |
npc_direction = "down"; |
| 48 |
} |
| 49 |
action_sprite = false; |
| 50 |
} |
| 51 |
} |
| 52 |
break; |
| 53 |
case 5: |
| 54 |
cutscene_wait(0.5); |
| 55 |
break; |
| 56 |
case 6: |
| 57 |
cutscene_dialogue(); |
| 58 |
with (msg) |
| 59 |
{ |
| 60 |
talker[0] = 1161; |
| 61 |
message[0] = "* Clover? You okay?"; |
| 62 |
message[1] = "* Did you faint or# something?"; |
| 63 |
message[2] = "* Hey, we can take a# break soon, alright?\t"; |
| 64 |
message[3] = "* (That was strange...)"; |
| 65 |
prt[0] = 381; |
| 66 |
prt[1] = 381; |
| 67 |
prt[2] = 377; |
| 68 |
prt[3] = 371; |
| 69 |
} |
| 70 |
break; |
| 71 |
case 7: |
| 72 |
obj_player_npc.npc_direction = "right"; |
| 73 |
cutscene_npc_walk(1161, obj_player_npc.x - 20, obj_player_npc.y, 3, "y", "right"); |
| 74 |
break; |
| 75 |
case 8: |
| 76 |
actor_follower = 1161; |
| 77 |
obj_pl.direction = 0; |
| 78 |
cutscene_actor_into_follower(); |
| 79 |
cutscene_camera_reset(true); |
| 80 |
global.sworks_flag[46] = 3; |
| 81 |
cutscene_end(); |
| 82 |
break; |
| 83 |
case 10: |
| 84 |
cutscene_camera_reset(true); |
| 85 |
global.sworks_flag[46] = 3; |
| 86 |
cutscene_end(); |
| 87 |
break; |
| 88 |
} |