Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_justice_effect_Create_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
depth = -99999
4
audio_play_sound(snd_justice_effect, 1, 0)
5
overlay_offset = 120
6
sin_degree = 160
7
draw_alpha = 0
8
stage = 1
9
box_size = 0
10
box_alpha = 0
11
box_stage = 0
12
destroy_timer = 120
13
scr_screenshake_battle_custom
scr_screenshake_battle_custom

function scr_screenshake_battle_custom() //gml_Script_scr_screenshake_battle_custom { instance_destroy(obj_screenshake_battle) var screenshake = instance_create(0, 0, obj_screenshake_battle) screenshake.battle_screenshake_duration = argument[0] screenshake.battle_screenshake_intensity = argument[1] screenshake.battle_screenshake_dec = screenshake.battle_screenshake_intensity / screenshake.battle_screenshake_duration }
(8, 2)