1 | function scr_screenshake_battle |
2 | { |
3 | instance_destroy(obj_screenshake_battle) |
4 | var screenshake = instance_create(0, 0, obj_screenshake_battle) |
5 | battle_screenshake_duration = argument[0] |
6 | battle_screenshake_intensity = argument[1] |
7 | battle_screenshake_dec = battle_screenshake_intensity / battle_screenshake_duration |
8 | } |