Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_flowey_1_attack_audience_hate_flower_Step_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
var box = 3154
4
if (image_alpha < 1)
5
    image_alpha += 0.2
6
if (vspeed > 0)
7
{
8
}
9
image_angle -= ((angle_difference(image_angle, (direction + 90))) * 0.05)
10
if (place_meeting(x, y, obj_heart_battle_fighting_parent) && obj_heart_battle_fighting_parent.vulnerable == true)
11
    scr_battle_damage_player
scr_battle_damage_player

function scr_battle_damage_player() //gml_Script_scr_battle_damage_player { var damage = global.enemy_attack_stat - global.player_armor_defense - global.player_armor_modifier_defense - global.player_defense + 10 global.current_hp_self -= damage audio_play_sound(snd_hurt, 1, 0) with (obj_heart_battle_fighting_parent) { vulnerable = false global.hit_self = true alarm[0] } }
()