Undertale script viewer

← back to main script listing

gml_Object_obj_FinalWriter_Alarm_0

(view raw script w/o annotations or w/e)
1
stringln = string_length(string0);
2
string1 = "";
3
tchar = string_char_at(string0, at);
4
string1 += tchar;
5
at += 1;
6
alarm[1] = typespeed;
gml_Object_obj_FinalWriter_Alarm_1.gml

if (stringln > (at - 1)) { tchar = string_char_at(string0, at); string1 += tchar; at += 1; alarm[1] = typespeed; if (tchar != " ") { caster_stop(w_sfx); caster_play(w_sfx, 0.9, 1.15); } }
7
active = 1;
8
if (tchar != " ")
9
{
10
    snd_stop(snd_txtasr2);
11
    snd_play(snd_txtasr2);
12
}