Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_macro_frogger_Step_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
if place_meeting(x, y, obj_heart_battle_fighting_parent)
4
{
5
    obj_macro_frog_counter.frog_scale = 1.5
6
    obj_macro_frog_counter.frog_count--
7
    audio_play_sound(snd_heal, 1, 0)
8
    instance_destroy()
9
}