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 | sprite_index = spr_snowdin_22_clover_sit_overworld_yellow |
19 | image_speed = 0.25 |
20 | if (global.snowdin_flag[13] >= 2) |
21 | obj_raft_snowdin_22.alarm[0] = 30 |
22 | scene = 2 |
23 | } |
24 | } |
25 | if (scene == 2) |
26 | { |
27 | if (image_index > (image_number - 1)) |
28 | image_speed = 0 |
29 | if (obj_raft_snowdin_22.move == false) |
30 | event_user(0) |
31 | } |
32 | obj_pl.x = x |
33 | obj_pl.y = y |