Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_hp_current_self_Step_2

(view raw script w/o annotations or w/e)
1
var hp_current_self_clamp = clamp(global.current_hp_self, 0, global.max_hp_self)
2
image_xscale = (hp_current_self_clamp + global.max_hp_self / 20) / 20