1 | event_inherited() |
2 | if (sprite_index == spr_martlet_hammer && (image_index + image_speed) >= (image_number - 1)) |
3 | { |
4 | if (!audio_is_playing(snd_hammer_hit)) |
5 | audio_play_sound(snd_hammer_hit, 1, 0) |
6 | } |
7 | depth = (-room_height) |