1 | if (myinteract == 3) |
2 | { |
3 | if (instance_exists(mydialoguer) == false) |
4 | { |
5 | if (egcon == 1) |
6 | egcon = 2 |
7 | if (egcon == 2) |
8 | { |
9 | egtimer += 1 |
10 | sprite_index = spr_tem_eggput_ch1 |
11 | image_index = egtimer / 10 |
12 | if (egtimer >= 60) |
13 | { |
14 | sprite_index = spr_tem_sit_ch1 |
15 | egg = scr_marker_ch1 |
16 | egg.depth = depth |
17 | egcon = 3 |
18 | } |
19 | } |
20 | if (egcon == 3 || egcon == 0) |
21 | { |
22 | global.interact = 0 |
23 | myinteract = 0 |
24 | with (obj_mainchara_ch1) |
25 | onebuffer = 5 |
26 | } |
27 | } |
28 | } |
29 | if (egcon != 2) |
30 | { |
31 | if (myinteract == 0) |
32 | { |
33 | facing = dfacing |
34 | image_speed = 0 |
35 | } |
36 | scr_npcdir_ch1 |
37 | } |