1 | event_inherited(); |
2 | if (npc_arrived == true) |
3 | { |
4 | npc_arrived = false; |
5 | alarm[0] = 15; |
6 | } |
7 | if (scene == 1) |
8 | { |
9 | if (path_position == 1) |
10 | { |
11 | action_sprite = true; |
12 | if (global.route == 3) |
13 | { |
14 | shader_on = false; |
15 | sprite_index = spr_snowdin_22_clover_sit_overworld_yellow_geno; |
16 | } |
17 | else |
18 | { |
19 | sprite_index = spr_snowdin_22_clover_sit_overworld_yellow; |
20 | } |
21 | image_speed = 0.25; |
22 | if (global.snowdin_flag[13] >= 2) |
23 | obj_raft_snowdin_22.alarm[0] = 30; |
24 | scene = 2; |
25 | } |
26 | } |
27 | if (scene == 2) |
28 | { |
29 | if (image_index > (image_number - 1)) |
30 | image_speed = 0; |
31 | if (obj_raft_snowdin_22.move == false) |
32 | event_user(0); |
33 | } |
34 | obj_pl.x = x; |
35 | obj_pl.y = y; |