|
1
|
function scr_armorinfo_minescr_armorinfo_mine
function scr_armorinfo_mine()
{
for (i = 0; i < 6; i += 1)
{
scr_armorinfo(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;
chararmor1element[i] = armorelementtemp;
chararmor1elementamount[i] = armorelementamounttemp;
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;
global.itemelement[i][1] = armorelementtemp;
global.itemelementamount[i][1] = armorelementamounttemp;
scr_armorinfo(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;
chararmor2element[i] = armorelementtemp;
chararmor2elementamount[i] = armorelementamounttemp;
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;
global.itemelement[i][2] = armorelementtemp;
global.itemelementamount[i][2] = armorelementamounttemp;
}
}
()
|
|
2
|
{
|
|
3
|
for (i = 0; i < 6; i += 1)
|
|
4
|
{
|
|
5
|
scr_armorinfoscr_armorinfo
function scr_armorinfo(arg0)
{
armorchar4temp = 1;
armornametemp = stringsetloc( " ", "scr_armorinfo_slash_scr_armorinfo_gml_2_0"
);
armorelementtemp = 0;
armorelementamounttemp = 0;
switch (arg0)
{
case 0:
armornametemp = stringsetloc( " ", "scr_armorinfo_slash_scr_armorinfo_gml_7_0"
);
armordesctemp = stringsetloc( " ", "scr_armorinfo_slash_scr_armorinfo_gml_8_0_b"
);
amessage2temp = stringsetloc(Hey, hands off!"Hey, hands off!", "scr_armorinfo_slash_scr_armorinfo_gml_8_0"
);
amessage3temp = stringsetloc( " ", "scr_armorinfo_slash_scr_armorinfo_gml_10_0"
);
amessage4temp = stringsetloc( " ", "scr_armorinfo_slash_scr_armorinfo_gml_11_0"
);
armorattemp = 0;
armordftemp = 0;
armormagtemp = 0;
armorboltstemp = 0;
armorgrazeamttemp = 0;
armorgrazesizetemp = 0;
armorchar1temp = 1;
armorchar2temp = 0;
armorchar3temp = 1;
armorchar4temp = 1;
armorabilitytemp = stringsetloc( " ", "scr_armorinfo_slash_scr_armorinfo_gml_22_0"
);
armorabilityicontemp = 0;
armoricontemp = 0;
value = 0;
break;
case 1:
armornametemp = stringsetloc(Amber Card"Amber Card", "scr_armorinfo_slash_scr_armorinfo_gml_28_0"
);
armordesctemp = stringsetloc(A thin square charm that sticks#to you, increasing defense."A thin square charm that sticks#to you, increasing defense.", "scr_armorinfo_slash_scr_armorinfo_gml_29_0"
);
amessage2temp = stringsetloc(... better than nothing."... better than nothing.", "scr_armorinfo_slash_scr_armorinfo_gml_30_0"
);
amessage3temp = stringsetloc(It's sticky, huh, Kris..."It's sticky, huh, Kris...", "scr_armorinfo_slash_scr_armorinfo_gml_31_0"
);
amessage4temp = stringsetloc(It's like a name-tag!"It's like a name-tag!", "scr_armorinfo_slash_scr_armorinfo_gml_33_0"
);
armorattemp = 0;
armordftemp = 1;
armormagtemp = 0;
armorboltstemp = 0;
armorgrazeamttemp = 0;
armorgrazesizetemp = 0;
armorchar1temp = 1;
armorchar2temp = 1;
armorchar3temp = 1;
armorabilitytemp = stringsetloc( " ", "scr_armorinfo_slash_scr_armorinfo_gml_43_0"
);
armorabilityicontemp = 0;
armoricontemp = 4;
value = 100;
break;
case 2:
armornametemp = stringsetloc(Dice Brace"Dice Brace", "scr_armorinfo_slash_scr_armorinfo_gml_49_0"
);
armordesctemp = stringsetloc(A bracelet made out of various#symbol-inscribed cubes."A bracelet made out of various#symbol-inscribed cubes.", "scr_armorinfo_slash_scr_armorinfo_gml_50_0"
);
amessage2temp = stringsetloc(... okay."... okay.", "scr_armorinfo_slash_scr_armorinfo_gml_51_0"
);
amessage3temp = stringsetloc(It says "Friendship!""It says \"Friendship!\"", "scr_armorinfo_slash_scr_armorinfo_gml_52_0"
);
amessage4temp = stringsetloc(Hey, y-you jumbled it..."Hey, y-you jumbled it...", "scr_armorinfo_slash_scr_armorinfo_gml_54_0"
);
armorattemp = 0;
armordftemp = 2;
armormagtemp = 0;
armorboltstemp = 0;
armorgrazeamttemp = 0;
armorgrazesizetemp = 0;
armorchar1temp = 1;
armorchar2temp = 1;
armorchar3temp = 1;
armorabilitytemp = stringsetloc( " ", "scr_armorinfo_slash_scr_armorinfo_gml_64_0"
);
armorabilityicontemp = 0;
armoricontemp = 4;
value = 150;
break;
case 3:
armornametemp = stringsetloc(Pink Ribbon"Pink Ribbon", "scr_armorinfo_slash_scr_armorinfo_gml_70_0"
);
armordesctemp = stringsetloc(A cute hair ribbon. Increases the range#at which bullets raise tension."A cute hair ribbon. Increases the range#at which bullets raise tension.", "scr_armorinfo_slash_scr_armorinfo_gml_71_0"
);
amessage2temp = stringsetloc(Nope. Not in 1st grade anymore."Nope. Not in 1st grade anymore.", "scr_armorinfo_slash_scr_armorinfo_gml_72_0"
);
amessage3temp = stringsetloc(Um... D-do I look cute...?"Um... D-do I look cute...?", "scr_armorinfo_slash_scr_armorinfo_gml_73_0"
);
amessage4temp = stringsetloc(... feels familiar."... feels familiar.", "scr_armorinfo_slash_scr_armorinfo_gml_75_0"
);
if (global.chapter == 2)
{
amessage2temp = stringsetloc(I said NO! C'mon already!"I said NO! C'mon already!", "scr_armorinfo_slash_scr_armorinfo_gml_78_0"
);
amessage3temp = stringsetloc(It's nice dressing up..."It's nice dressing up...", "scr_armorinfo_slash_scr_armorinfo_gml_79_0"
);
}
armorattemp = 0;
armordftemp = 1;
armormagtemp = 0;
armorboltstemp = 0;
armorgrazeamttemp = 0;
armorgrazesizetemp = 20;
armorchar1temp = 1;
armorchar2temp = 0;
armorchar3temp = 1;
armorchar4temp = 1;
armorabilitytemp = stringsetloc(GrazeArea"GrazeArea", "scr_armorinfo_slash_scr_armorinfo_gml_91_0"
);
armorabilityicontemp = 7;
armoricontemp = 4;
value = 100;
break;
case 4:
armornametemp = stringsetloc(White Ribbon"White Ribbon", "scr_armorinfo_slash_scr_armorinfo_gml_98_0"
);
armordesctemp = stringsetloc(A crinkly hair ribbon that slightly#increases your defense."A crinkly hair ribbon that slightly#increases your defense.", "scr_armorinfo_slash_scr_armorinfo_gml_99_0"
);
amessage2temp = stringsetloc(Nope. Not in 1st grade anymore."Nope. Not in 1st grade anymore.", "scr_armorinfo_slash_scr_armorinfo_gml_100_0"
);
amessage3temp = stringsetloc(Um... D-do I look cute...?"Um... D-do I look cute...?", "scr_armorinfo_slash_scr_armorinfo_gml_101_0"
);
if (global.chapter == 2)
...
(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
|
chararmor1element[i] = armorelementtemp;
|
|
18
|
chararmor1elementamount[i] = armorelementamounttemp;
|
|
19
|
global.itemat[i][1] = armorattemp;
|
|
20
|
global.itemdf[i][1] = armordftemp;
|
|
21
|
global.itemmag[i][1] = armormagtemp;
|
|
22
|
global.itembolts[i][1] = armorboltstemp;
|
|
23
|
global.itemgrazeamt[i][1] = armorgrazeamttemp;
|
|
24
|
global.itemgrazesize[i][1] = armorgrazesizetemp;
|
|
25
|
global.itemelement[i][1] = armorelementtemp;
|
|
26
|
global.itemelementamount[i][1] = armorelementamounttemp;
|
|
27
|
scr_armorinfoscr_armorinfo
function scr_armorinfo(arg0)
{
armorchar4temp = 1;
armornametemp = stringsetloc( " ", "scr_armorinfo_slash_scr_armorinfo_gml_2_0"
);
armorelementtemp = 0;
armorelementamounttemp = 0;
switch (arg0)
{
case 0:
armornametemp = stringsetloc( " ", "scr_armorinfo_slash_scr_armorinfo_gml_7_0"
);
armordesctemp = stringsetloc( " ", "scr_armorinfo_slash_scr_armorinfo_gml_8_0_b"
);
amessage2temp = stringsetloc(Hey, hands off!"Hey, hands off!", "scr_armorinfo_slash_scr_armorinfo_gml_8_0"
);
amessage3temp = stringsetloc( " ", "scr_armorinfo_slash_scr_armorinfo_gml_10_0"
);
amessage4temp = stringsetloc( " ", "scr_armorinfo_slash_scr_armorinfo_gml_11_0"
);
armorattemp = 0;
armordftemp = 0;
armormagtemp = 0;
armorboltstemp = 0;
armorgrazeamttemp = 0;
armorgrazesizetemp = 0;
armorchar1temp = 1;
armorchar2temp = 0;
armorchar3temp = 1;
armorchar4temp = 1;
armorabilitytemp = stringsetloc( " ", "scr_armorinfo_slash_scr_armorinfo_gml_22_0"
);
armorabilityicontemp = 0;
armoricontemp = 0;
value = 0;
break;
case 1:
armornametemp = stringsetloc(Amber Card"Amber Card", "scr_armorinfo_slash_scr_armorinfo_gml_28_0"
);
armordesctemp = stringsetloc(A thin square charm that sticks#to you, increasing defense."A thin square charm that sticks#to you, increasing defense.", "scr_armorinfo_slash_scr_armorinfo_gml_29_0"
);
amessage2temp = stringsetloc(... better than nothing."... better than nothing.", "scr_armorinfo_slash_scr_armorinfo_gml_30_0"
);
amessage3temp = stringsetloc(It's sticky, huh, Kris..."It's sticky, huh, Kris...", "scr_armorinfo_slash_scr_armorinfo_gml_31_0"
);
amessage4temp = stringsetloc(It's like a name-tag!"It's like a name-tag!", "scr_armorinfo_slash_scr_armorinfo_gml_33_0"
);
armorattemp = 0;
armordftemp = 1;
armormagtemp = 0;
armorboltstemp = 0;
armorgrazeamttemp = 0;
armorgrazesizetemp = 0;
armorchar1temp = 1;
armorchar2temp = 1;
armorchar3temp = 1;
armorabilitytemp = stringsetloc( " ", "scr_armorinfo_slash_scr_armorinfo_gml_43_0"
);
armorabilityicontemp = 0;
armoricontemp = 4;
value = 100;
break;
case 2:
armornametemp = stringsetloc(Dice Brace"Dice Brace", "scr_armorinfo_slash_scr_armorinfo_gml_49_0"
);
armordesctemp = stringsetloc(A bracelet made out of various#symbol-inscribed cubes."A bracelet made out of various#symbol-inscribed cubes.", "scr_armorinfo_slash_scr_armorinfo_gml_50_0"
);
amessage2temp = stringsetloc(... okay."... okay.", "scr_armorinfo_slash_scr_armorinfo_gml_51_0"
);
amessage3temp = stringsetloc(It says "Friendship!""It says \"Friendship!\"", "scr_armorinfo_slash_scr_armorinfo_gml_52_0"
);
amessage4temp = stringsetloc(Hey, y-you jumbled it..."Hey, y-you jumbled it...", "scr_armorinfo_slash_scr_armorinfo_gml_54_0"
);
armorattemp = 0;
armordftemp = 2;
armormagtemp = 0;
armorboltstemp = 0;
armorgrazeamttemp = 0;
armorgrazesizetemp = 0;
armorchar1temp = 1;
armorchar2temp = 1;
armorchar3temp = 1;
armorabilitytemp = stringsetloc( " ", "scr_armorinfo_slash_scr_armorinfo_gml_64_0"
);
armorabilityicontemp = 0;
armoricontemp = 4;
value = 150;
break;
case 3:
armornametemp = stringsetloc(Pink Ribbon"Pink Ribbon", "scr_armorinfo_slash_scr_armorinfo_gml_70_0"
);
armordesctemp = stringsetloc(A cute hair ribbon. Increases the range#at which bullets raise tension."A cute hair ribbon. Increases the range#at which bullets raise tension.", "scr_armorinfo_slash_scr_armorinfo_gml_71_0"
);
amessage2temp = stringsetloc(Nope. Not in 1st grade anymore."Nope. Not in 1st grade anymore.", "scr_armorinfo_slash_scr_armorinfo_gml_72_0"
);
amessage3temp = stringsetloc(Um... D-do I look cute...?"Um... D-do I look cute...?", "scr_armorinfo_slash_scr_armorinfo_gml_73_0"
);
amessage4temp = stringsetloc(... feels familiar."... feels familiar.", "scr_armorinfo_slash_scr_armorinfo_gml_75_0"
);
if (global.chapter == 2)
{
amessage2temp = stringsetloc(I said NO! C'mon already!"I said NO! C'mon already!", "scr_armorinfo_slash_scr_armorinfo_gml_78_0"
);
amessage3temp = stringsetloc(It's nice dressing up..."It's nice dressing up...", "scr_armorinfo_slash_scr_armorinfo_gml_79_0"
);
}
armorattemp = 0;
armordftemp = 1;
armormagtemp = 0;
armorboltstemp = 0;
armorgrazeamttemp = 0;
armorgrazesizetemp = 20;
armorchar1temp = 1;
armorchar2temp = 0;
armorchar3temp = 1;
armorchar4temp = 1;
armorabilitytemp = stringsetloc(GrazeArea"GrazeArea", "scr_armorinfo_slash_scr_armorinfo_gml_91_0"
);
armorabilityicontemp = 7;
armoricontemp = 4;
value = 100;
break;
case 4:
armornametemp = stringsetloc(White Ribbon"White Ribbon", "scr_armorinfo_slash_scr_armorinfo_gml_98_0"
);
armordesctemp = stringsetloc(A crinkly hair ribbon that slightly#increases your defense."A crinkly hair ribbon that slightly#increases your defense.", "scr_armorinfo_slash_scr_armorinfo_gml_99_0"
);
amessage2temp = stringsetloc(Nope. Not in 1st grade anymore."Nope. Not in 1st grade anymore.", "scr_armorinfo_slash_scr_armorinfo_gml_100_0"
);
amessage3temp = stringsetloc(Um... D-do I look cute...?"Um... D-do I look cute...?", "scr_armorinfo_slash_scr_armorinfo_gml_101_0"
);
if (global.chapter == 2)
...
(global.chararmor2[i]);
|
|
28
|
chararmor2name[i] = armornametemp;
|
|
29
|
chararmor2desc[i] = armordesctemp;
|
|
30
|
chararmor2at[i] = armorattemp;
|
|
31
|
chararmor2df[i] = armordftemp;
|
|
32
|
chararmor2mag[i] = armormagtemp;
|
|
33
|
chararmor2bolts[i] = armorboltstemp;
|
|
34
|
chararmor2grazeamt[i] = armorgrazeamttemp;
|
|
35
|
chararmor2grazesize[i] = armorgrazesizetemp;
|
|
36
|
chararmor2ability[i] = armorabilitytemp;
|
|
37
|
chararmor2abilityicon[i] = armorabilityicontemp;
|
|
38
|
chararmor2icon[i] = armoricontemp;
|
|
39
|
chararmor2element[i] = armorelementtemp;
|
|
40
|
chararmor2elementamount[i] = armorelementamounttemp;
|
|
41
|
global.itemat[i][2] = armorattemp;
|
|
42
|
global.itemdf[i][2] = armordftemp;
|
|
43
|
global.itemmag[i][2] = armormagtemp;
|
|
44
|
global.itembolts[i][2] = armorboltstemp;
|
|
45
|
global.itemgrazeamt[i][2] = armorgrazeamttemp;
|
|
46
|
global.itemgrazesize[i][2] = armorgrazesizetemp;
|
|
47
|
global.itemelement[i][2] = armorelementtemp;
|
|
48
|
global.itemelementamount[i][2] = armorelementamounttemp;
|
|
49
|
}
|
|
50
|
}
|