Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_factory_03_axis_flashlight_Create_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
image_speed = 0
4
active = false
5
lighting_surface = -1
6
delay_current = 15
7
delay_max = 15
8
caught_noloop = false
9
draw_alpha = 0
10
fade_out = false
11
flashlight_emitter = audio_emitter_create()
12
audio_listener_orientation(0, 0, 1000, 0, -1, 0)
13
audio_emitter_position(flashlight_emitter, x, y, 0)
14
audio_falloff_set_model(3)
15
audio_emitter_falloff(flashlight_emitter, 100, 300, 1)