Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_el_bailador_smoke_Create_0

(view raw script w/o annotations or w/e)
1
stage_master = obj_battle_enemy_attack_el_bailador_stage_master
2
smoke_direction = stage_master.smoke_direction
3
var scale_max = 1
4
var scale_min = 0.5
5
var default_y = stage_master.default_y
6
var smoke_y_diff_min = stage_master.smoke_y_diff_min
7
var smoke_y_diff_max = stage_master.smoke_y_diff_max
8
var scale = scale_min + (scale_max - scale_min) * ((y - (default_y + smoke_y_diff_min)) / (smoke_y_diff_max - smoke_y_diff_min))
9
image_xscale = smoke_direction * scale
10
image_yscale = scale
11
smoke_speed = 2
12
smoke_alpha = 1
13
smoke_alpha_dec = 0.015
14
image_alpha = stage_master.image_alpha * smoke_alpha