Deltarune script viewer

← back to main script listing

gml_GlobalScript_string_hash_to_newline_ex

(view raw script w/o annotations or w/e)
1
function string_hash_to_newline_ex(arg0)
2
{
3
    if (string_pos("`", arg0) > 0)
4
    {
5
        var __newstring = string_replace(arg0, "`#", "");
6
        __newstring = string_hash_to_newline(__newstring);
7
        return string_replace(__newstring, "", "#");
8
    }
9
    else
10
    {
11
        return string_hash_to_newline(arg0);
12
    }
13
}