Deltarune script viewer

← back to main script listing

gml_GlobalScript_scr_armorinfo_mine_ch1

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

function scr_armorinfo_mine_ch1() { for (i = 0; i < 4; i += 1) { scr_armorinfo_ch1(global.chararmor1[i]); chararmor1name[i] = armornametemp; chararmor1desc[i] = armordesctemp; chararmor1at[i] = armorattemp; chararmor1df[i] = armordftemp; chararmor1mag[i] = armormagtemp; chararmor1bolts[i] = armorboltstemp; chararmor1grazeamt[i] = armorgrazeamttemp; chararmor1grazesize[i] = armorgrazesizetemp; chararmor1ability[i] = armorabilitytemp; chararmor1abilityicon[i] = armorabilityicontemp; chararmor1icon[i] = armoricontemp; global.itemat[i][1] = armorattemp; global.itemdf[i][1] = armordftemp; global.itemmag[i][1] = armormagtemp; global.itembolts[i][1] = armorboltstemp; global.itemgrazeamt[i][1] = armorgrazeamttemp; global.itemgrazesize[i][1] = armorgrazesizetemp; scr_armorinfo_ch1(global.chararmor2[i]); chararmor2name[i] = armornametemp; chararmor2desc[i] = armordesctemp; chararmor2at[i] = armorattemp; chararmor2df[i] = armordftemp; chararmor2mag[i] = armormagtemp; chararmor2bolts[i] = armorboltstemp; chararmor2grazeamt[i] = armorgrazeamttemp; chararmor2grazesize[i] = armorgrazesizetemp; chararmor2ability[i] = armorabilitytemp; chararmor2abilityicon[i] = armorabilityicontemp; chararmor2icon[i] = armoricontemp; global.itemat[i][2] = armorattemp; global.itemdf[i][2] = armordftemp; global.itemmag[i][2] = armormagtemp; global.itembolts[i][2] = armorboltstemp; global.itemgrazeamt[i][2] = armorgrazeamttemp; global.itemgrazesize[i][2] = armorgrazesizetemp; } }
()
2
{
3
    for (i = 0; i < 4; 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.chararmor1[i]);
6
        chararmor1name[i] = armornametemp;
7
        chararmor1desc[i] = armordesctemp;
8
        chararmor1at[i] = armorattemp;
9
        chararmor1df[i] = armordftemp;
10
        chararmor1mag[i] = armormagtemp;
11
        chararmor1bolts[i] = armorboltstemp;
12
        chararmor1grazeamt[i] = armorgrazeamttemp;
13
        chararmor1grazesize[i] = armorgrazesizetemp;
14
        chararmor1ability[i] = armorabilitytemp;
15
        chararmor1abilityicon[i] = armorabilityicontemp;
16
        chararmor1icon[i] = armoricontemp;
17
        global.itemat[i][1] = armorattemp;
18
        global.itemdf[i][1] = armordftemp;
19
        global.itemmag[i][1] = armormagtemp;
20
        global.itembolts[i][1] = armorboltstemp;
21
        global.itemgrazeamt[i][1] = armorgrazeamttemp;
22
        global.itemgrazesize[i][1] = armorgrazesizetemp;
23
        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.chararmor2[i]);
24
        chararmor2name[i] = armornametemp;
25
        chararmor2desc[i] = armordesctemp;
26
        chararmor2at[i] = armorattemp;
27
        chararmor2df[i] = armordftemp;
28
        chararmor2mag[i] = armormagtemp;
29
        chararmor2bolts[i] = armorboltstemp;
30
        chararmor2grazeamt[i] = armorgrazeamttemp;
31
        chararmor2grazesize[i] = armorgrazesizetemp;
32
        chararmor2ability[i] = armorabilitytemp;
33
        chararmor2abilityicon[i] = armorabilityicontemp;
34
        chararmor2icon[i] = armoricontemp;
35
        global.itemat[i][2] = armorattemp;
36
        global.itemdf[i][2] = armordftemp;
37
        global.itemmag[i][2] = armormagtemp;
38
        global.itembolts[i][2] = armorboltstemp;
39
        global.itemgrazeamt[i][2] = armorgrazeamttemp;
40
        global.itemgrazesize[i][2] = armorgrazesizetemp;
41
    }
42
}