1 | if global.dialogue_open |
2 | return; |
3 | event_inherited() |
4 | if (npc_arrived == 1) |
5 | { |
6 | npc_arrived = 0 |
7 | can_walk = false |
8 | alarm[0] = 30 |
9 | } |
10 | obj_pl.x = x |
11 | obj_pl.y = y |
12 | if (player_fade_out == true) |
13 | { |
14 | if (image_alpha > 0) |
15 | image_alpha -= 0.1 |
16 | else if (!alarm[0]) |
17 | alarm[0] = 15 |
18 | } |