1 | buffer -= 1; |
2 | if (myinteract == 1 && buffer > 0) |
3 | myinteract = 0; |
4 | if (myinteract == 1 && buffer <= 0) |
5 | { |
6 | global.interact = 1; |
7 | alarm[0] = 1; |
8 | myinteract = 2; |
9 | } |
10 | if (myinteract == 3) |
11 | { |
12 | if (instance_exists(mydialoguer) == 0) |
13 | { |
14 | if (con == 0) |
15 | global.interact = 0; |
16 | myinteract = 0; |
17 | } |
18 | } |