1 |
if (myinteract == 1 && con == 0) |
2 |
{ |
3 |
global.interact = 1; |
4 |
myinteract = 0; |
5 |
con = 2; |
6 |
} |
7 |
if (con == 2) |
8 |
{ |
9 |
caster_pause(global.currentsong); |
10 |
snd_play(snd_power); |
11 |
sprite_index = spr_amalgam_save; |
12 |
image_index = 0; |
13 |
image_speed = 0; |
14 |
con = 2.9; |
15 |
alarm[4] = 45; |
16 |
} |
17 |
if (con == 3.9) |
18 |
{ |
19 |
tr = caster_load("music/sfx_generate.ogg"); |
20 |
caster_play(tr, 0.9, 0.7); |
21 |
con = 4; |
22 |
} |
23 |
if (con == 4) |
24 |
{ |
25 |
image_speed = 0.334; |
26 |
if (image_index >= 8) |
27 |
{ |
28 |
image_index = 8; |
29 |
image_speed = 0; |
30 |
con = 5; |
31 |
alarm[4] = 50; |
32 |
} |
33 |
} |
34 |
if (con == 6) |
35 |
{ |
36 |
caster_free(tr); |
37 |
global.battlegroup = 82; |
38 |
global.mercy = 1; |
39 |
global.border = 0; |
40 |
global.flag[16 type_heart_transition] = 0; |
41 |
instance_create(0, 0, obj_battler); |
42 |
con = 7; |
43 |
alarm[4] = 32; |
44 |
} |
45 |
if (con == 8) |
46 |
{ |
47 |
global.interact = 0; |
48 |
global.mercy = 0; |
49 |
caster_resume(global.currentsong); |
50 |
myinteract = 0; |
51 |
global.flag[489 truelab_spared_lemon] = 1; |
52 |
scr_tempsavescr_tempsavefilechoicebk2 = global.filechoice;
global.filechoice = 9;
script_execute(scr_saveprocess);
global.filechoice = filechoicebk2; (); |
53 |
instance_destroy(); |
54 |
} |