Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_reflection_shader_snowdin_10_Create_0

(view raw script w/o annotations or w/e)
1
sprite_x_offset = sprite_get_xoffset(spr_lake_water_mask)
2
sprite_y_offset = sprite_get_yoffset(spr_lake_water_mask)
3
reflection_surf = surface_create(sprite_get_width(obj_sans_lake.sprite_index), sprite_get_height(obj_sans_lake.sprite_index))
4
var alpha_uniform = shader_get_uniform(sh_reflection, "Alpha")
5
shader_set_uniform_f(alpha_uniform, 0.08)