Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_text_increase_auto

(view raw script w/o annotations or w/e)
1
function scr_text_increase_auto
scr_text_increase_auto

function scr_text_increase_auto() //gml_Script_scr_text_increase_auto { hold = 1 characters += (increase * hold) if (characters > message_length) characters = message_length message_draw = string_copy(message[message_current], 0, characters) current_char = string_char_at(message_draw, characters) }
() //gml_Script_scr_text_increase_auto
2
{
3
    hold = 1
4
    characters += (increase * hold)
5
    if (characters > message_length)
6
        characters = message_length
7
    message_draw = string_copy(message[message_current], 0, characters)
8
    current_char = string_char_at(message_draw, characters)
9
}