Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_flowey_background_Create_0

(view raw script w/o annotations or w/e)
1
sprite_index = spr_battle_flowey_final_background
2
shader = sh_flowey_bg
3
u_time = shader_get_uniform(shader, "time")
4
u_uvs = shader_get_uniform(shader, "uvs")
5
uvs = sprite_get_uvs(sprite_index, 0)
6
sh_uvs = [uvs[0], uvs[1], uvs[2], uvs[3]]
7
texture = sprite_get_texture(spr_background_enemy_battle_guardener_wind, 0)
8
u_texture = shader_get_sampler_index(shader, "distort_texture")
9
pixelate_surf = -1