1 | if ((place_meeting((x - 30), y, obj_dunes_08b_stand) || place_meeting((x + 30), y, obj_dunes_08b_stand) || place_meeting((x - 30), y, obj_dunes_08b_mo) || place_meeting((x + 30), y, obj_dunes_08b_mo)) && image_speed == 0) |
2 | { |
3 | if (place_meeting((x + 30), y, obj_dunes_08b_mo) || place_meeting((x + 30), y, obj_dunes_08b_stand)) |
4 | image_xscale = -1 |
5 | else |
6 | image_xscale = 1 |
7 | image_speed = 0.5 |
8 | audio_play_sound(snd_mo_kicks_the_bucket, 1, 0) |
9 | } |