1 | if (con == 1 && !d_ex()) |
2 | { |
3 | snd_play(snd_weirdeffect); |
4 | con++; |
5 | } |
6 | if (con == 2 && !d_ex()) |
7 | { |
8 | scr_lerpvar_instance |
9 | con++; |
10 | } |
11 | if (con == 3) |
12 | { |
13 | fade_timer++; |
14 | if (fade_timer >= 30) |
15 | con = 4; |
16 | } |
17 | if (con == 4 && !d_ex()) |
18 | { |
19 | con = 99; |
20 | global.interact = 0; |
21 | instance_destroy(); |
22 | } |
23 | if (myinteract == 3) |
24 | { |
25 | if (i_ex(mydialoguer) == false) |
26 | { |
27 | global.interact = 0; |
28 | myinteract = 0; |
29 | with (obj_mainchara) |
30 | onebuffer = 5; |
31 | } |
32 | } |