Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_dialogue_battle_action_selected_item_2_Create_0

(view raw script w/o annotations or w/e)
1
var item_slot = global.item_slot[2]
2
if (item_slot == "Hot Dog...?")
3
{
4
    message[0] = "* You eat the " + string(item_slot)
5
    message[1] = "#* Your HP was maxed out."
6
}
7
message_current = 0
8
message_end = 0
9
message_draw = ""
10
increase = global.text_speed
11
characters = 0
12
hold = 0
13
message_length = string_length(message[message_current])
14
no_loop = false
15
script_execute(gml_Script_scr_generate_text_counters)