1 | if (place_meeting(x, y, obj_mainchara) || place_meeting(x, y, obj_marker) || (instance_exists(obj_noelle_scared) && place_meeting(x, y, obj_noelle_scared) && obj_noelle_scared.jumpy == 0)) |
2 | { |
3 | if (toggle == 0) |
4 | { |
5 | } |
6 | toggle = 1; |
7 | if (instance_exists(obj_forcefield)) |
8 | { |
9 | with (obj_forcefield) |
10 | instance_destroy(); |
11 | } |
12 | } |
13 | image_index = toggle; |