1 | image_index = 0; |
2 | image_speed = 0; |
3 | ossafe_ini_open("undertale.ini"); |
4 | on = ini_read_real("reset", "s_key", 0); |
5 | ossafe_ini_close(); |
6 | if (on == 0) |
7 | { |
8 | instance_create(x, y + 40, obj_solidsmall); |
9 | instance_create(x + 20, y + 40, obj_solidsmall); |
10 | instance_create(x, y + 40, obj_readable_room2); |
11 | instance_create(x + 20, y + 40, obj_readable_room2); |
12 | } |
13 | else |
14 | { |
15 | image_index = 1; |
16 | instance_create(x + 10, y + 37, obj_doorAmusicfade); |
17 | } |