Deltarune script viewer

← back to main script listing

gml_GlobalScript_scr_armorinfo_all_ch1

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

function scr_armorinfo_all_ch1() { for (i = 0; i < 12; i += 1) { scr_armorinfo_ch1(global.armor[i]); armorname[i] = armornametemp; armordesc[i] = armordesctemp; amessage2[i] = amessage2temp; amessage3[i] = amessage3temp; armorat[i] = armorattemp; armordf[i] = armordftemp; armormag[i] = armormagtemp; armorbolts[i] = armorboltstemp; armorgrazeamt[i] = armorgrazeamttemp; armorgrazesize[i] = armorgrazesizetemp; armorchar1[i] = armorchar1temp; armorchar2[i] = armorchar2temp; armorchar3[i] = armorchar3temp; armorvalue[i] = value; armorability[i] = armorabilitytemp; armorabilityicon[i] = armorabilityicontemp; armoricon[i] = armoricontemp; } }
()
2
{
3
    for (i = 0; i < 12; i += 1)
4
    {
5
        scr_armorinfo_ch1
scr_armorinfo_ch1

function scr_armorinfo_ch1(arg0) { switch (arg0) { case 0: armornametemp = " "; armordesctemp = " "; amessage2temp =
Hey, hands off!
scr_84_get_lang_string_ch1("scr_armorinfo_slash_scr_armorinfo_gml_8_0")
; amessage3temp = " "; armorattemp = 0; armordftemp = 0; armormagtemp = 0; armorboltstemp = 0; armorgrazeamttemp = 0; armorgrazesizetemp = 0; armorchar1temp = 1; armorchar2temp = 0; armorchar3temp = 1; armorabilitytemp = " "; armorabilityicontemp = 0; armoricontemp = 0; value = 0; break; case 1: armornametemp =
Amber Card
scr_84_get_lang_string_ch1("scr_armorinfo_slash_scr_armorinfo_gml_26_0")
; armordesctemp =
A thin square charm that sticks#to you, increasing defense.
scr_84_get_lang_string_ch1("scr_armorinfo_slash_scr_armorinfo_gml_27_0")
; amessage2temp =
... better than nothing.
scr_84_get_lang_string_ch1("scr_armorinfo_slash_scr_armorinfo_gml_28_0")
; amessage3temp =
It's sticky, huh, Kris...
scr_84_get_lang_string_ch1("scr_armorinfo_slash_scr_armorinfo_gml_29_0")
; armorattemp = 0; armordftemp = 1; armormagtemp = 0; armorboltstemp = 0; armorgrazeamttemp = 0; armorgrazesizetemp = 0; armorchar1temp = 1; armorchar2temp = 1; armorchar3temp = 1; armorabilitytemp = " "; armorabilityicontemp = 0; armoricontemp = 4; value = 100; break; case 2: armornametemp =
Dice Brace
scr_84_get_lang_string_ch1("scr_armorinfo_slash_scr_armorinfo_gml_46_0")
; armordesctemp =
A bracelet made out of various#symbol-inscribed cubes.
scr_84_get_lang_string_ch1("scr_armorinfo_slash_scr_armorinfo_gml_47_0")
; amessage2temp =
... okay.
scr_84_get_lang_string_ch1("scr_armorinfo_slash_scr_armorinfo_gml_48_0")
; amessage3temp =
It says "Friendship!"
scr_84_get_lang_string_ch1("scr_armorinfo_slash_scr_armorinfo_gml_49_0")
; armorattemp = 0; armordftemp = 2; armormagtemp = 0; armorboltstemp = 0; armorgrazeamttemp = 0; armorgrazesizetemp = 0; armorchar1temp = 1; armorchar2temp = 1; armorchar3temp = 1; armorabilitytemp = " "; armorabilityicontemp = 0; armoricontemp = 4; value = 150; break; case 3: armornametemp =
Pink Ribbon
scr_84_get_lang_string_ch1("scr_armorinfo_slash_scr_armorinfo_gml_66_0")
; armordesctemp =
A cute hair ribbon that increases#the range bullets increase tension.
scr_84_get_lang_string_ch1("scr_armorinfo_slash_scr_armorinfo_gml_67_0")
; amessage2temp =
Nope. Not in 1st grade anymore.
scr_84_get_lang_string_ch1("scr_armorinfo_slash_scr_armorinfo_gml_68_0")
; amessage3temp =
Um... D-do I look cute...?
scr_84_get_lang_string_ch1("scr_armorinfo_slash_scr_armorinfo_gml_69_0")
; armorattemp = 0; armordftemp = 1; armormagtemp = 0; armorboltstemp = 0; armorgrazeamttemp = 0; armorgrazesizetemp = 20; armorchar1temp = 1; armorchar2temp = 0; armorchar3temp = 1; armorabilitytemp =
TP Range
scr_84_get_lang_string_ch1("scr_armorinfo_slash_scr_armorinfo_gml_79_0")
; armorabilityicontemp = 7; armoricontemp = 4; value = 100; break; case 4: armornametemp =
White Ribbon
scr_84_get_lang_string_ch1("scr_armorinfo_slash_scr_armorinfo_gml_87_0")
; armordesctemp =
A crinkly hair ribbon that slightly#increases your defense.
scr_84_get_lang_string_ch1("scr_armorinfo_slash_scr_armorinfo_gml_88_0")
; amessage2temp =
Nope. Not in 1st grade anymore.
scr_84_get_lang_string_ch1("scr_armorinfo_slash_scr_armorinfo_gml_89_0")
; amessage3temp =
Um... D-do I look cute...?
scr_84_get_lang_string_ch1("scr_armorinfo_slash_scr_armorinfo_gml_90_0")
; if (instance_exists(obj_hathyfightevent_ch1)) amessage3temp = " "; armorattemp = 0; armordftemp = 2; armormagtemp = 0; armorboltstemp = 0; armorgrazeamttemp = 0; armorgrazesizetemp = 0; armorchar1temp = 1; armorchar2temp = 0; armorchar3temp = 1; armorabilitytemp =
Cuteness
scr_84_get_lang_string_ch1("scr_armorinfo_slash_scr_armorinfo_gml_101_0")
; armorabilityicontemp = 7; armoricontemp = 4; value = 90; break; ...
(global.armor[i]);
6
        armorname[i] = armornametemp;
7
        armordesc[i] = armordesctemp;
8
        amessage2[i] = amessage2temp;
9
        amessage3[i] = amessage3temp;
10
        armorat[i] = armorattemp;
11
        armordf[i] = armordftemp;
12
        armormag[i] = armormagtemp;
13
        armorbolts[i] = armorboltstemp;
14
        armorgrazeamt[i] = armorgrazeamttemp;
15
        armorgrazesize[i] = armorgrazesizetemp;
16
        armorchar1[i] = armorchar1temp;
17
        armorchar2[i] = armorchar2temp;
18
        armorchar3[i] = armorchar3temp;
19
        armorvalue[i] = value;
20
        armorability[i] = armorabilitytemp;
21
        armorabilityicon[i] = armorabilityicontemp;
22
        armoricon[i] = armoricontemp;
23
    }
24
}