| 1 |
if (live_call()) |
| 2 |
return global.live_result; |
| 3 |
var door = instance_place(x, y, obj_doorway); |
| 4 |
if (door != -4) |
| 5 |
instance_destroy(door); |
| 6 |
switch (scene) |
| 7 |
{ |
| 8 |
case 0: |
| 9 |
if (!global.cutscene && place_meeting(x, y, obj_pl)) |
| 10 |
{ |
| 11 |
scr_cutscene_start(); |
| 12 |
cutscene_advance(); |
| 13 |
} |
| 14 |
break; |
| 15 |
case 1: |
| 16 |
cutscene_dialogue(); |
| 17 |
with (msg) |
| 18 |
{ |
| 19 |
message[0] = "* (There are still enemies to# bring justice on.)"; |
| 20 |
ch_msg = 0; |
| 21 |
ch[1] = "Turn back"; |
| 22 |
ch[2] = "Continue"; |
| 23 |
if (outcome == 2) |
| 24 |
{ |
| 25 |
scr_cutscene_end(); |
| 26 |
instance_destroy(other); |
| 27 |
global.dunes_flag[55] = 1; |
| 28 |
exit; |
| 29 |
} |
| 30 |
if (outcome == 1) |
| 31 |
other.scene++; |
| 32 |
} |
| 33 |
break; |
| 34 |
case 2: |
| 35 |
with (obj_pl) |
| 36 |
{ |
| 37 |
clover_walk_backwards = false; |
| 38 |
autowalk_direction = "left"; |
| 39 |
direction = 180; |
| 40 |
state = scr_autowalk_state; |
| 41 |
alarm[1] |
| 42 |
} |
| 43 |
cutscene_advance(); |
| 44 |
break; |
| 45 |
case 3: |
| 46 |
if (!obj_pl.alarm[1]) |
| 47 |
{ |
| 48 |
scr_cutscene_end(); |
| 49 |
scene = 0; |
| 50 |
} |
| 51 |
break; |
| 52 |
} |