| 1 | vspeed = 0; |
| 2 | hspeed = 0; |
| 3 | gravity = 0; |
| 4 | x = xprevious; |
| 5 | y = yprevious; |
| 6 | alarm[1] = 15; |
| 7 | if (instance_exists(obj_shaker)) |
| 8 | { |
| 9 | with (obj_shaker) |
| 10 | instance_destroy(); |
| 11 | } |
| 12 | snd_play(snd_noise); |
| 13 | global.hshake = 3; |
| 14 | global.shakespeed = 2; |
| 15 | global.vshake = 0; |
| 16 | instance_create(0, 0, obj_shaker); |
| 17 | if (scr_monstersum() == 1) |
| 18 | alarm[1] = 4; |