Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_dialogue_battle_action_selected_item_3_Alarm_0

(view raw script w/o annotations or w/e)
1
var item_slot = global.item_slot[3]
2
if (item_slot == "Hot Dog...?")
3
{
4
    audio_play_sound(snd_borfborf, 20, false)
5
    if (global.current_hp_self > global.max_hp_self)
6
        return;
7
    global.current_hp_self += 20
8
    if (global.current_hp_self > global.max_hp_self)
9
        global.current_hp_self = global.max_hp_self
10
}
11
message_end = 1
12
message_current += 1
13
message_length = string_length(message[message_current])
14
characters = 0
15
message_draw = ""