Deltarune (Chapter 5) script viewer

← back to main script listing

gml_Object_obj_ch5_LW07_thrashfit_description_Create_0

(view raw script w/o annotations or w/e)
1
_parent = -4;
2
_flag = -1;
3
_text = [];
4
_text_index = 0;
5
_enabled = false;
6
7
init = function(arg0, arg1)
8
{
9
    _parent = arg0;
10
    _flag = arg1;
11
};
12
13
enable = function()
14
{
15
    _enabled = true;
16
    _text = init_descriptions(_flag);
17
    _text_index = 
scr_flag_get
scr_flag_get

function
scr_flag_get(arg0)
{ return global.flag[arg0]; } function scr_flag_name_get(arg0) { var v = global.flagname[arg0]; return is_undefined(v) ? "*unknown flag*" : v; } function scr_flag_get_ext(arg0, arg1, arg2 = 1) { if (arg1 < 0)
scr_flag_get(arg0);
else return scr_get_bitmask_value(global.flag[arg0], arg1, arg2); }
(_flag);
18
};
19
20
disable = function()
21
{
22
    _enabled = false;
23
};
24
25
init_descriptions = function(arg0)
26
{
27
    var descriptions = [];
28
    switch (arg0)
29
    {
30
        case UnknownEnum.Value_1421:
31
            descriptions = [stringsetloc(
-Normal-\nYour everyday\nSusie. Can't\ndeny the\nclassics.
"-Normal-\nYour everyday\nSusie. Can't\ndeny the\nclassics.", "obj_ch5_LW07_thrashfit_description_slash_Create_0_gml_38_0"
), stringsetloc(
-Ponytail-\nA horse tail\ncould appeal\nto\nungulates?
"-Ponytail-\nA horse tail\ncould appeal\nto\nungulates?", "obj_ch5_LW07_thrashfit_description_slash_Create_0_gml_39_0"
), stringsetloc(
-Royal Bob-\nHas a needle\nthat could\ndouble as a\nweapon.
"-Royal Bob-\nHas a needle\nthat could\ndouble as a\nweapon.", "obj_ch5_LW07_thrashfit_description_slash_Create_0_gml_40_0"
), stringsetloc(
-Duck Tiara-\nThis outfit\nsucks. You\nare going to\nlose points.
"-Duck Tiara-\nThis outfit\nsucks. You\nare going to\nlose points.", "obj_ch5_LW07_thrashfit_description_slash_Create_0_gml_41_0"
), stringsetloc(
-Fresh Swish-\nWhip your\nhair around\nto cut grass\nor beat foes.
"-Fresh Swish-\nWhip your\nhair around\nto cut grass\nor beat foes.", "obj_ch5_LW07_thrashfit_description_slash_Create_0_gml_42_0"
), stringsetloc(
-Princey-\nSeen in the\nboys role of\nTakarabazooka.
"-Princey-\nSeen in the\nboys role of\nTakarabazooka.", "obj_ch5_LW07_thrashfit_description_slash_Create_0_gml_43_0"
)];
32
            break;
33
        case UnknownEnum.Value_1422:
34
            descriptions = [stringsetloc(
-Dark Jacket-\nIncreases\naptitude\ntowards\naxe and gun.
"-Dark Jacket-\nIncreases\naptitude\ntowards\naxe and gun.", "obj_ch5_LW07_thrashfit_description_slash_Create_0_gml_48_0"
), stringsetloc(
-Rip Jacket-\nHigh quality\njacket, with\nhigh quality\nrips.
"-Rip Jacket-\nHigh quality\njacket, with\nhigh quality\nrips.", "obj_ch5_LW07_thrashfit_description_slash_Create_0_gml_49_0"
), stringsetloc(
-Similar Hood-\nSports could\nbe committed\nin a cool\nclimate.
"-Similar Hood-\nSports could\nbe committed\nin a cool\nclimate.", "obj_ch5_LW07_thrashfit_description_slash_Create_0_gml_50_0"
), stringsetloc(
-Duck-\nThis outfit\nsucks. You\nare going to\nlose points.
"-Duck-\nThis outfit\nsucks. You\nare going to\nlose points.", "obj_ch5_LW07_thrashfit_description_slash_Create_0_gml_51_0"
), stringsetloc(
-Lancer Shirt-\nA shirt that\nprotects\nagainst\nLancers.
"-Lancer Shirt-\nA shirt that\nprotects\nagainst\nLancers.", "obj_ch5_LW07_thrashfit_description_slash_Create_0_gml_52_0"
), stringsetloc(
-Royal Dress-\nThe pinnacle\nof elegance,\nyou will look\nnormal
good.
"-Royal Dress-\nThe pinnacle\nof elegance,\nyou will look\nnormal&good.", "obj_ch5_LW07_thrashfit_description_slash_Create_0_gml_53_0"
), stringsetloc(
-Swag Jacket-\nThe King of\ncasual\nfashion,\nare you ready?
"-Swag Jacket-\nThe King of\ncasual\nfashion,\nare you ready?", "obj_ch5_LW07_thrashfit_description_slash_Create_0_gml_54_0"
), stringsetloc(
-Tuxusie-\nPart of her\nrarely seen\nFormal Form.
"-Tuxusie-\nPart of her\nrarely seen\nFormal Form.", "obj_ch5_LW07_thrashfit_description_slash_Create_0_gml_55_0"
)];
35
            break;
36
        case UnknownEnum.Value_1423:
37
            descriptions = [stringsetloc(
-SusiePant-\nTrousers with\nlarge pocket\nto hold\nmultiple gun.
"-SusiePant-\nTrousers with\nlarge pocket\nto hold\nmultiple gun.", "obj_ch5_LW07_thrashfit_description_slash_Create_0_gml_60_0"
), stringsetloc(
-Shorter-\nExpose ankle\nto elements\nto make it\nstronger.
"-Shorter-\nExpose ankle\nto elements\nto make it\nstronger.", "obj_ch5_LW07_thrashfit_description_slash_Create_0_gml_61_0"
), stringsetloc(
-Bagi-\nMighty nature\ncannot fell\nthe casual\nloose thread.
"-Bagi-\nMighty nature\ncannot fell\nthe casual\nloose thread.", "obj_ch5_LW07_thrashfit_description_slash_Create_0_gml_62_0"
), stringsetloc(
-Duck-\nThis outfit\nsucks. You\nare going to\nlose points.
"-Duck-\nThis outfit\nsucks. You\nare going to\nlose points.", "obj_ch5_LW07_thrashfit_description_slash_Create_0_gml_63_0"
), stringsetloc(
-White Pant-\nBut what if\nyou spill\nsomething\nwhen eating.
"-White Pant-\nBut what if\nyou spill\nsomething\nwhen eating.", "obj_ch5_LW07_thrashfit_description_slash_Create_0_gml_64_0"
), stringsetloc(
-Gray Pants-\nSafe if you\nspill gray\nfood.
"-Gray Pants-\nSafe if you\nspill gray\nfood.", "obj_ch5_LW07_thrashfit_description_slash_Create_0_gml_65_0"
), stringsetloc(
-Blackpants2-\nRalsei's\nlost fur will\nstand out.
"-Blackpants2-\nRalsei's\nlost fur will\nstand out.", "obj_ch5_LW07_thrashfit_description_slash_Create_0_gml_66_0"
)];
38
            break;
39
        case UnknownEnum.Value_1424:
40
            descriptions = [stringsetloc(
-No Hat-\nLittle swag,\nbut easier\nto fire a\ngun.
"-No Hat-\nLittle swag,\nbut easier\nto fire a\ngun.", "obj_ch5_LW07_thrashfit_description_slash_Create_0_gml_71_0"
), stringsetloc(
-Casual Hat-\nAppearance\nof enjoying\nthe sport\nor sports.
"-Casual Hat-\nAppearance\nof enjoying\nthe sport\nor sports.", "obj_ch5_LW07_thrashfit_description_slash_Create_0_gml_72_0"
), stringsetloc(
-Second Hat-\nSomeone put\nin the same\nhat twice.
"-Second Hat-\nSomeone put\nin the same\nhat twice.", "obj_ch5_LW07_thrashfit_description_slash_Create_0_gml_73_0"
), stringsetloc(
-Tiara-\nA princesses\nappearance\ngives a royal\ntreatment.
"-Tiara-\nA princesses\nappearance\ngives a royal\ntreatment.", "obj_ch5_LW07_thrashfit_description_slash_Create_0_gml_74_0"
), stringsetloc(
-Silk-\nNamed from a\nsong mix of\nsoda + milk.
"-Silk-\nNamed from a\nsong mix of\nsoda + milk.", "obj_ch5_LW07_thrashfit_description_slash_Create_0_gml_75_0"
)];
41
            break;
42
        case UnknownEnum.Value_1425:
43
            descriptions = [stringsetloc(
-Susie Shoesy-\nAlready\nbroken in,\neasier to\nrun and gun.
"-Susie Shoesy-\nAlready\nbroken in,\neasier to\nrun and gun.", "obj_ch5_LW07_thrashfit_description_slash_Create_0_gml_80_0"
), stringsetloc(
-Brown Leg-\nIt's a\nshoes\nused for\nbrown.
"-Brown Leg-\nIt's a\nshoes\nused for\nbrown.", "obj_ch5_LW07_thrashfit_description_slash_Create_0_gml_81_0"
), stringsetloc(
-Black Flats-\nIt will cool\nyour ankles\nwith the\nlow coverage.
"-Black Flats-\nIt will cool\nyour ankles\nwith the\nlow coverage.", "obj_ch5_LW07_thrashfit_description_slash_Create_0_gml_82_0"
), stringsetloc(
-Duck-\nThis outfit\nsucks. You\nare going to\nlose points.
"-Duck-\nThis outfit\nsucks. You\nare going to\nlose points.", "obj_ch5_LW07_thrashfit_description_slash_Create_0_gml_83_0"
), stringsetloc(
-Glass Shoes-\nRalsei might\nturn back to\na pumpkin\nor mouse.
"-Glass Shoes-\nRalsei might\nturn back to\na pumpkin\nor mouse.", "obj_ch5_LW07_thrashfit_description_slash_Create_0_gml_84_0"
), stringsetloc(
-Brown Shoe-\nA shoe made\nof a sturdy\nbrown, like\ndirt.
"-Brown Shoe-\nA shoe made\nof a sturdy\nbrown, like\ndirt.", "obj_ch5_LW07_thrashfit_description_slash_Create_0_gml_85_0"
), stringsetloc(
-Blackshoes3-\nMaybe there\nwas only 2.
"-Blackshoes3-\nMaybe there\nwas only 2.", "obj_ch5_LW07_thrashfit_description_slash_Create_0_gml_86_0"
)];
44
            break;
45
    }
46
    return descriptions;
47
};
48
49
clean_up = function()
50
{
51
    instance_destroy();
52
};
53
54
enum UnknownEnum
55
{
56
    Value_1421 = 1421,
57
    Value_1422,
58
    Value_1423,
59
    Value_1424,
60
    Value_1425
61
}