1 | scr_depth(); |
2 | if (movecourse == 1) |
3 | { |
4 | if (movedir == 1) |
5 | x += 8; |
6 | if (movedir == 0) |
7 | y += 8; |
8 | if (movedir == 2) |
9 | y -= 8; |
10 | if (movedir == 3) |
11 | x -= 8; |
12 | movetimer += 1; |
13 | if (movetimer >= 5) |
14 | { |
15 | movetimer = 0; |
16 | global.interact = 0; |
17 | movecourse = 0; |
18 | } |
19 | } |
20 | if (myinteract == 3) |
21 | { |
22 | if (i_ex(mydialoguer) == false) |
23 | { |
24 | global.interact = 0; |
25 | myinteract = 0; |
26 | with (obj_mainchara) |
27 | onebuffer = 5; |
28 | } |
29 | } |