|
1
|
function scr_fusion_queuescr_fusion_queue
function scr_fusion_queue(arg0)
{
scr_fusion_info(arg0);
fusionIngredient1[fusioncount] = ingredient[0];
fusionIngredient2[fusioncount] = ingredient[1];
fusionIngredientName1[fusioncount] = "--";
fusionIngredientName2[fusioncount] = "--";
fusionIngredientType1[fusioncount] = ingredienttype[0];
fusionIngredientType2[fusioncount] = ingredienttype[1];
fusionDesc[fusioncount] = resultdesc;
fusionResult[fusioncount] = result;
fusionResultType[fusioncount] = resulttype;
fusionResultName[fusioncount] = "--";
fusionResultTopComment[fusioncount] = "--";
fusionHaveIngredient1[fusioncount] = 0;
fusionHaveIngredient2[fusioncount] = 0;
fusionCanMake[fusioncount] = 0;
if (fusionIngredientType1[fusioncount] == "item")
{
scr_iteminfo(fusionIngredient1[fusioncount]);
fusionIngredientName1[fusioncount] = itemnameb;
if (scr_itemcheck(fusionIngredient1[fusioncount]))
fusionHaveIngredient1[fusioncount] = 1;
}
if (fusionIngredientType1[fusioncount] == "weapon")
{
scr_weaponinfo(fusionIngredient1[fusioncount]);
fusionIngredientName1[fusioncount] = weaponnametemp;
if (scr_weaponcheck_inventory(fusionIngredient1[fusioncount]))
fusionHaveIngredient1[fusioncount] = 1;
}
if (fusionIngredientType1[fusioncount] == "armor")
{
scr_armorinfo(fusionIngredient1[fusioncount]);
fusionIngredientName1[fusioncount] = armornametemp;
if (scr_armorcheck_inventory(fusionIngredient1[fusioncount]))
fusionHaveIngredient1[fusioncount] = 1;
}
if (fusionIngredientType1[fusioncount] == "key")
{
scr_keyiteminfo(fusionIngredient1[fusioncount]);
fusionIngredientName1[fusioncount] = tempkeyitemname;
if (scr_keyitemcheck(fusionIngredient1[fusioncount]))
fusionHaveIngredient1[fusioncount] = 1;
}
identicalcheck = 0;
if (fusionIngredientType2[fusioncount] == fusionIngredientType2[fusioncount])
{
if (fusionIngredient1[fusioncount] == fusionIngredient2[fusioncount])
identicalcheck = 1;
}
if (fusionIngredientType2[fusioncount] == "item")
{
scr_iteminfo(fusionIngredient2[fusioncount]);
fusionIngredientName2[fusioncount] = itemnameb;
if (scr_itemcheck(fusionIngredient2[fusioncount]))
{
if (identicalcheck == 0 || (identicalcheck == 1 && itemcount >= 2))
fusionHaveIngredient2[fusioncount] = 1;
}
}
if (fusionIngredientType2[fusioncount] == "weapon")
{
scr_weaponinfo(fusionIngredient2[fusioncount]);
fusionIngredientName2[fusioncount] = weaponnametemp;
if (scr_weaponcheck_inventory(fusionIngredient2[fusioncount]))
{
if (identicalcheck == 0 || (identicalcheck == 1 && itemcount >= 2))
fusionHaveIngredient2[fusioncount] = 1;
}
}
if (fusionIngredientType2[fusioncount] == "armor")
{
scr_armorinfo(fusionIngredient2[fusioncount]);
fusionIngredientName2[fusioncount] = armornametemp;
if (scr_armorcheck_inventory(fusionIngredient2[fusioncount]))
{
if (identicalcheck == 0 || (identicalcheck == 1 && itemcount >= 2))
fusionHaveIngredient2[fusioncount] = 1;
}
}
if (fusionIngredientType2[fusioncount] == "key")
{
scr_keyiteminfo(fusionIngredient2[fusioncount]);
fusionIngredientName2[fusioncount] = tempkeyitemname;
if (scr_keyitemcheck(fusionIngredient2[fusioncount]))
{
if (identicalcheck == 0 || (identicalcheck == 1 && itemcount >= 2))
fusionHaveIngredient2[fusioncount] = 1;
}
}
if (fusionResultType[fusioncount] == "item")
{
scr_iteminfo(fusionResult[fusioncount]);
fusionResultName[fusioncount] = itemnameb;
fusionResultTopComment[fusioncount] = scr_itemdesc_single(fusionResult[fusioncount]);
}
if (fusionResultType[fusioncount] == "weapon")
{
scr_weaponinfo(fusionResult[fusioncount]);
fusionResultName[fusioncount] = weaponnametemp;
... (arg0)
|
|
2
|
{
|
|
3
|
scr_fusion_infoscr_fusion_info
function scr_fusion_info(arg0)
{
ingredient[0] = 8;
ingredienttype[0] = "item";
ingredient[1] = 8;
ingredienttype[1] = "item";
result = 22;
resulttype = "item";
resultdesc = stringsetloc(Heal 60 HPx2"Heal 60 HPx2", "scr_fusion_info_slash_scr_fusion_info_gml_11_0" );
switch (arg0)
{
case 1:
ingredient[0] = 8;
ingredienttype[0] = "item";
ingredient[1] = 8;
ingredienttype[1] = "item";
result = 22;
resulttype = "item";
resultdesc = stringsetloc(Heal 60 HPx2"Heal 60 HPx2", "scr_fusion_info_slash_scr_fusion_info_gml_23_0" );
break;
case 2:
ingredient[0] = 1;
ingredienttype[0] = "armor";
ingredient[1] = 1;
ingredienttype[1] = "armor";
result = 8;
resulttype = "armor";
resultdesc = stringsetloc($ Gained +5Close Message"$ Gained +5%", "scr_fusion_info_slash_scr_fusion_info_gml_34_0" );
break;
case 3:
ingredient[0] = 3;
ingredienttype[0] = "armor";
ingredient[1] = 4;
ingredienttype[1] = "armor";
result = 9;
resulttype = "armor";
resultdesc = stringsetloc(Graze Area+"Graze Area+", "scr_fusion_info_slash_scr_fusion_info_gml_56_0" );
break;
case 4:
ingredient[0] = 10;
ingredienttype[0] = "armor";
ingredient[1] = 5;
ingredienttype[1] = "armor";
result = 13;
resulttype = "armor";
resultdesc = stringsetloc(Attack+"Attack+", "scr_fusion_info_slash_scr_fusion_info_gml_56_0_b" );
break;
case 5:
ingredient[0] = 12;
ingredienttype[0] = "armor";
ingredient[1] = 27;
ingredienttype[1] = "item";
result = 15;
resulttype = "armor";
resultdesc = stringsetloc(Graze TP+"Graze TP+", "scr_fusion_info_slash_scr_fusion_info_gml_67_0" );
break;
case 6:
ingredient[0] = 13;
ingredienttype[0] = "weapon";
ingredient[1] = 15;
ingredienttype[1] = "key";
result = 11;
resulttype = "weapon";
resultdesc = stringsetloc(Trance"Trance", "scr_fusion_info_slash_scr_fusion_info_gml_45_0" );
break;
}
} (arg0);
|
|
4
|
fusionIngredient1[fusioncount] = ingredient[0];
|
|
5
|
fusionIngredient2[fusioncount] = ingredient[1];
|
|
6
|
fusionIngredientName1[fusioncount] = "--";
|
|
7
|
fusionIngredientName2[fusioncount] = "--";
|
|
8
|
fusionIngredientType1[fusioncount] = ingredienttype[0];
|
|
9
|
fusionIngredientType2[fusioncount] = ingredienttype[1];
|
|
10
|
fusionDesc[fusioncount] = resultdesc;
|
|
11
|
fusionResult[fusioncount] = result;
|
|
12
|
fusionResultType[fusioncount] = resulttype;
|
|
13
|
fusionResultName[fusioncount] = "--";
|
|
14
|
fusionResultTopComment[fusioncount] = "--";
|
|
15
|
fusionHaveIngredient1[fusioncount] = 0;
|
|
16
|
fusionHaveIngredient2[fusioncount] = 0;
|
|
17
|
fusionCanMake[fusioncount] = 0;
|
|
18
|
if (fusionIngredientType1[fusioncount] == "item")
|
|
19
|
{
|
|
20
|
scr_iteminfoscr_iteminfo
function scr_iteminfo(arg0)
{
usable = 0;
replaceable = 0;
value = 0;
itemtarget = 0;
itemnameb = " ";
itemdescb = " ";
switch (arg0)
{
case 0:
itemnameb = " ";
itemdescb = "---";
break;
case 1:
itemnameb = stringsetloc(Dark Candy"Dark Candy", "scr_iteminfo_slash_scr_iteminfo_gml_15_0" );
itemdescb = stringsetloc(Heals#40HP"Heals#40HP", "scr_iteminfo_slash_scr_iteminfo_gml_16_0" );
itemtarget = 1;
value = 25;
usable = 1;
break;
case 2:
itemnameb = stringsetloc(ReviveMint"ReviveMint", "scr_iteminfo_slash_scr_iteminfo_gml_22_0" );
itemdescb = stringsetloc(Heal#Downed#Ally"Heal#Downed#Ally", "scr_iteminfo_slash_scr_iteminfo_gml_23_0" );
itemtarget = 1;
value = 400;
usable = 1;
break;
case 3:
itemnameb = stringsetloc(Glowshard"Glowshard", "scr_iteminfo_slash_scr_iteminfo_gml_29_0" );
itemdescb = stringsetloc(Sell#at#shops"Sell#at#shops", "scr_iteminfo_slash_scr_iteminfo_gml_30_0" );
itemtarget = 0;
value = 200 + (global.chapter * 100);
usable = 0;
break;
case 4:
itemnameb = stringsetloc(Manual"Manual", "scr_iteminfo_slash_scr_iteminfo_gml_36_0" );
itemdescb = stringsetloc(Read#out of#battle"Read#out of#battle", "scr_iteminfo_slash_scr_iteminfo_gml_37_0" );
itemtarget = 2;
value = 1;
usable = 0;
break;
case 5:
itemnameb = stringsetloc(BrokenCake"BrokenCake", "scr_iteminfo_slash_scr_iteminfo_gml_43_0" );
itemdescb = stringsetloc(Heals#20HP"Heals#20HP", "scr_iteminfo_slash_scr_iteminfo_gml_44_0" );
itemtarget = 1;
value = 5;
usable = 1;
break;
case 6:
itemnameb = stringsetloc(Top Cake"Top Cake", "scr_iteminfo_slash_scr_iteminfo_gml_50_0" );
itemdescb = stringsetloc(Heals#team#160HP"Heals#team#160HP", "scr_iteminfo_slash_scr_iteminfo_gml_51_0" );
itemtarget = 2;
value = 150;
usable = 1;
break;
case 7:
var healamount = (global.chapter == 1) ? 80 : 140;
if (global.chapter == 3)
healamount = 150;
if (global.chapter >= 4)
healamount = 160;
itemnameb = stringsetloc(Spincake"Spincake", "scr_iteminfo_slash_scr_iteminfo_gml_58_0" );
itemdescb = stringsetsubloc("Heals#team#~1HP", string(healamount), "scr_iteminfo_slash_scr_iteminfo_gml_59_0");
itemtarget = 2;
value = 5;
usable = 1;
break;
case 8:
itemnameb = stringsetloc(Darkburger"Darkburger", "scr_iteminfo_slash_scr_iteminfo_gml_65_0" );
itemdescb = stringsetloc(Heals#70HP"Heals#70HP", "scr_iteminfo_slash_scr_iteminfo_gml_66_0" );
itemtarget = 1;
value = 70;
usable = 1;
break;
case 9:
itemnameb = stringsetloc(LancerCookie"LancerCookie", "scr_iteminfo_slash_scr_iteminfo_gml_72_0" );
itemdescb = stringsetloc(Heals#50HP"Heals#50HP", "scr_iteminfo_slash_scr_iteminfo_gml_73_0" );
itemtarget = 1;
value = 10;
usable = 1;
break;
case 10:
itemnameb = stringsetloc(GigaSalad"GigaSalad", "scr_iteminfo_slash_scr_iteminfo_gml_79_0" );
itemdescb = stringsetloc(Heals#4HP"Heals#4HP", "scr_iteminfo_slash_scr_iteminfo_gml_80_0" );
itemtarget = 1;
value = 10;
usable = 1;
break;
case 11:
itemnameb = stringsetloc(ClubsSandwich"ClubsSandwich", "scr_iteminfo_slash_scr_iteminfo_gml_86_0" );
itemdescb = stringsetloc(Heals#team#70HP"Heals#team#70HP", "scr_iteminfo_slash_scr_iteminfo_gml_87_0" );
itemtarget = 2;
value = 70;
usable = 1;
break;
case 12:
itemnameb = stringsetloc(HeartsDonut"HeartsDonut", "scr_iteminfo_slash_scr_iteminfo_gml_93_0" );
itemdescb = stringsetloc(Healing#varies"Healing#varies", "scr_iteminfo_slash_scr_iteminfo_gml_94_0" );
itemtarget = 1;
value = 40;
... (fusionIngredient1[fusioncount]);
|
|
21
|
fusionIngredientName1[fusioncount] = itemnameb;
|
|
22
|
if (scr_itemcheckscr_itemcheck
function scr_itemcheck(arg0)
{
haveit = 0;
itemcount = 0;
for (var __i = 0; __i < 12; __i += 1)
{
if (global.item[__i] == arg0)
haveit = 1;
if (global.item[__i] == arg0)
itemcount += 1;
}
return haveit;
} (fusionIngredient1[fusioncount]))
|
|
23
|
fusionHaveIngredient1[fusioncount] = 1;
|
|
24
|
}
|
|
25
|
if (fusionIngredientType1[fusioncount] == "weapon")
|
|
26
|
{
|
|
27
|
scr_weaponinfoscr_weaponinfo
function scr_weaponinfo(arg0)
{
weaponchar4temp = 0;
weaponnametemp = stringsetloc( " ", "scr_weaponinfo_slash_scr_weaponinfo_gml_2_0" );
switch (arg0)
{
case 0:
weaponnametemp = stringsetloc( " ", "scr_weaponinfo_slash_scr_weaponinfo_gml_11_0" );
weapondesctemp = stringsetloc( " ", "scr_weaponinfo_slash_scr_weaponinfo_gml_12_0" );
wmessage2temp = stringsetloc( " ", "scr_weaponinfo_slash_scr_weaponinfo_gml_13_0" );
wmessage3temp = stringsetloc( " ", "scr_weaponinfo_slash_scr_weaponinfo_gml_14_0" );
wmessage4temp = stringsetloc( " ", "scr_weaponinfo_slash_scr_weaponinfo_gml_15_0" );
weaponattemp = 0;
weapondftemp = 0;
weaponmagtemp = 0;
weaponboltstemp = 0;
weaponstyletemp = " ";
weapongrazeamttemp = 0;
weapongrazesizetemp = 0;
weaponchar1temp = 0;
weaponchar2temp = 0;
weaponchar3temp = 0;
weaponchar4temp = 0;
weaponabilitytemp = " ";
weaponabilityicontemp = 0;
weaponicontemp = 0;
value = 0;
break;
case 1:
weaponnametemp = stringsetloc(Wood Blade"Wood Blade", "scr_weaponinfo_slash_scr_weaponinfo_gml_33_0" );
weapondesctemp = stringsetloc(A wooden practice blade with a carbon-#reinforced core."A wooden practice blade with a carbon-#reinforced core.", "scr_weaponinfo_slash_scr_weaponinfo_gml_34_0" );
wmessage2temp = stringsetloc(What's this!? A CHOPSTICK?"What's this!? A CHOPSTICK?", "scr_weaponinfo_slash_scr_weaponinfo_gml_35_0" );
if (global.plot < 30 && global.chapter == 1)
wmessage2tempt = stringsetloc(... You have a SWORD!?"... You have a SWORD!?", "scr_weaponinfo_slash_scr_weaponinfo_gml_39_0" );
wmessage3temp = stringsetloc(That's yours, Kris..."That's yours, Kris...", "scr_weaponinfo_slash_scr_weaponinfo_gml_40_0" );
wmessage4temp = stringsetloc((It has bite marks...)"(It has bite marks...)", "scr_weaponinfo_slash_scr_weaponinfo_gml_42_0" );
weaponattemp = 0;
weapondftemp = 0;
weaponmagtemp = 0;
weaponboltstemp = 1;
weaponstyletemp = "?";
weapongrazeamttemp = 0;
weapongrazesizetemp = 0;
weaponchar1temp = 1;
weaponchar2temp = 0;
weaponchar3temp = 0;
weaponicontemp = 1;
weaponabilityicontemp = 0;
weaponabilitytemp = " ";
value = 60;
break;
case 2:
weaponnametemp = stringsetloc(Mane Ax"Mane Ax", "scr_weaponinfo_slash_scr_weaponinfo_gml_59_0" );
weapondesctemp = stringsetloc(Beginner's ax forged from the#mane of a dragon whelp."Beginner's ax forged from the#mane of a dragon whelp.", "scr_weaponinfo_slash_scr_weaponinfo_gml_60_0" );
wmessage2temp = stringsetloc(I'm too GOOD for that."I'm too GOOD for that.", "scr_weaponinfo_slash_scr_weaponinfo_gml_61_0" );
wmessage3temp = stringsetloc(Ummm... it's a bit big."Ummm... it's a bit big.", "scr_weaponinfo_slash_scr_weaponinfo_gml_62_0" );
wmessage4temp = stringsetloc(It... smells nice..."It... smells nice...", "scr_weaponinfo_slash_scr_weaponinfo_gml_64_0" );
weaponattemp = 0;
weapondftemp = 0;
weaponmagtemp = 0;
weaponboltstemp = 1;
weaponstyletemp = "?";
weapongrazeamttemp = 0;
weapongrazesizetemp = 0;
weaponchar1temp = 0;
weaponchar2temp = 0;
weaponchar3temp = 0;
weaponicontemp = 2;
weaponabilityicontemp = 0;
weaponabilitytemp = " ";
value = 80;
break;
case 3:
weaponnametemp = stringsetloc(Red Scarf"Red Scarf", "scr_weaponinfo_slash_scr_weaponinfo_gml_81_0" );
weapondesctemp = stringsetloc(A basic scarf made of lightly#magical fiber."A basic scarf made of lightly#magical fiber.", "scr_weaponinfo_slash_scr_weaponinfo_gml_82_0" );
wmessage2temp = stringsetloc(No. Just... no."No. Just... no.", "scr_weaponinfo_slash_scr_weaponinfo_gml_83_0" );
wmessage3temp = stringsetloc(Comfy! Touch it, Kris!"Comfy! Touch it, Kris!", "scr_weaponinfo_slash_scr_weaponinfo_gml_84_0" );
wmessage4temp = stringsetloc(Huh? No, I'm not cold."Huh? No, I'm not cold.", "scr_weaponinfo_slash_scr_weaponinfo_gml_86_0" );
weaponattemp = 0;
weapondftemp = 0;
weaponmagtemp = 0;
weaponboltstemp = 1;
weaponstyletemp = "?";
weapongrazeamttemp = 0;
weapongrazesizetemp = 0;
weaponchar1temp = 0;
weaponchar2temp = 0;
weaponchar3temp = 1;
weaponicontemp = 3;
weaponabilityicontemp = 0;
weaponabilitytemp = " ";
value = 100;
break;
case 4:
weaponnametemp = stringsetloc(EverybodyWeapon"EverybodyWeapon", "scr_weaponinfo_slash_scr_weaponinfo_gml_105_0" );
weapondesctemp = stringsetloc(It felt right for everyone."It felt right for everyone.", "scr_weaponinfo_slash_scr_weaponinfo_gml_106_0" );
wmessage2temp = stringsetloc(Uhhh... Ok."Uhhh... Ok.", "scr_weaponinfo_slash_scr_weaponinfo_gml_107_0" );
wmessage3temp = stringsetloc(A perfect fit!"A perfect fit!", "scr_weaponinfo_slash_scr_weaponinfo_gml_108_0" );
wmessage4temp = stringsetloc(Wh... what is this?"Wh... what is this?", "scr_weaponinfo_slash_scr_weaponinfo_gml_109_0" );
weaponattemp = 12;
weapondftemp = 6;
... (fusionIngredient1[fusioncount]);
|
|
28
|
fusionIngredientName1[fusioncount] = weaponnametemp;
|
|
29
|
if (scr_weaponcheck_inventoryscr_weaponcheck_inventory
function scr_weaponcheck_inventory(arg0)
{
haveit = 0;
itemcount = 0;
for (i = 0; i < 48; i += 1)
{
if (global.weapon[i] == arg0)
haveit = 1;
if (global.weapon[i] == arg0)
itemcount += 1;
}
return haveit;
} (fusionIngredient1[fusioncount]))
|
|
30
|
fusionHaveIngredient1[fusioncount] = 1;
|
|
31
|
}
|
|
32
|
if (fusionIngredientType1[fusioncount] == "armor")
|
|
33
|
{
|
|
34
|
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)
... (fusionIngredient1[fusioncount]);
|
|
35
|
fusionIngredientName1[fusioncount] = armornametemp;
|
|
36
|
if (scr_armorcheck_inventoryscr_armorcheck_inventory
function scr_armorcheck_inventory(arg0)
{
haveit = 0;
itemcount = 0;
for (i = 0; i < 48; i += 1)
{
if (global.armor[i] == arg0)
haveit = 1;
if (global.armor[i] == arg0)
itemcount += 1;
}
return haveit;
} (fusionIngredient1[fusioncount]))
|
|
37
|
fusionHaveIngredient1[fusioncount] = 1;
|
|
38
|
}
|
|
39
|
if (fusionIngredientType1[fusioncount] == "key")
|
|
40
|
{
|
|
41
|
scr_keyiteminfoscr_keyiteminfo
function scr_keyiteminfo(arg0)
{
tempkeyitemdesc = stringsetloc(---"---", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_2_0" );
tempkeyitemname = stringsetloc( " ", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_3_0" );
tempkeyitemusable = 0;
switch (arg0)
{
case 0:
tempkeyitemdesc = stringsetloc(---"---", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_9_0" );
tempkeyitemname = stringsetloc( " ", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_10_0" );
break;
case 1:
tempkeyitemdesc = stringsetloc(It can be used to make calls."It can be used to make calls.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_13_0" );
tempkeyitemname = stringsetloc(Cell Phone"Cell Phone", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_14_0" );
tempkeyitemusable = 1;
break;
case 2:
tempkeyitemdesc = stringsetloc(Not too important, not too unimportant."Not too important, not too unimportant.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_18_0" );
tempkeyitemname = stringsetloc(Egg"Egg", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_19_0" );
tempkeyitemusable = 1;
break;
case 3:
tempkeyitemdesc = stringsetloc(Though broken, it seethes with power.#A master smith could fix it."Though broken, it seethes with power.#A master smith could fix it.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_23_0" );
tempkeyitemname = stringsetloc(BrokenCake"BrokenCake", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_24_0" );
break;
case 4:
tempkeyitemdesc = stringsetloc(It's the top part of a key.#A smith could fix all three parts."It's the top part of a key.#A smith could fix all three parts.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_27_0" );
tempkeyitemname = stringsetloc(Broken Key A"Broken Key A", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_28_0" );
break;
case 5:
tempkeyitemdesc = stringsetloc(The key to a mysterious cell.#Something feels strange about it."The key to a mysterious cell.#Something feels strange about it.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_31_0" );
tempkeyitemname = stringsetloc(Door Key"Door Key", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_32_0" );
break;
case 6:
tempkeyitemdesc = stringsetloc(It's the middle part of a key.#A smith could fix all three parts."It's the middle part of a key.#A smith could fix all three parts.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_35_0" );
tempkeyitemname = stringsetloc(Broken Key B"Broken Key B", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_36_0" );
break;
case 7:
tempkeyitemdesc = stringsetloc(It's the bottom part of a key.#A smith could fix all three parts."It's the bottom part of a key.#A smith could fix all three parts.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_39_0" );
tempkeyitemname = stringsetloc(Broken Key C"Broken Key C", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_40_0" );
break;
case 8:
tempkeyitemdesc = stringsetloc(Hohoho! I'm a tough boy!#Treat me like one of your ITEMS!"Hohoho! I'm a tough boy!#Treat me like one of your ITEMS!", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_43_0" );
if (global.chapter == 2)
{
if (global.plot >= 20)
tempkeyitemdesc = stringsetloc(Hohoho! ROUXLS jumped out of your#pocket! How dadcrobatic! (Lesser)"Hohoho! ROUXLS jumped out of your#pocket! How dadcrobatic! (Lesser)", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_46_0" );
if (global.plot >= 55)
tempkeyitemdesc = stringsetloc(Hohoho! That game looked fun!#Let me be the stool next!"Hohoho! That game looked fun!#Let me be the stool next!", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_50_0" );
if (global.plot >= 60)
tempkeyitemdesc = stringsetloc(Sounded like milk out there. Splat!#Were you three osmosing without me!?"Sounded like milk out there. Splat!#Were you three osmosing without me!?", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_54_0" );
if (global.plot >= 65)
tempkeyitemdesc = stringsetloc(We fell! But don't worry. I'm a strong boy.#I won't be trounced by a mere bounce!"We fell! But don't worry. I'm a strong boy.#I won't be trounced by a mere bounce!", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_58_0" );
if (global.plot >= 66)
tempkeyitemdesc = stringsetloc(Split up? We'll solve this mystery fast!#You? You can be the un-talking dog."Split up? We'll solve this mystery fast!#You? You can be the un-talking dog.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_62_0" );
if (global.plot >= 70)
tempkeyitemdesc = stringsetloc(Ho-ho! A soft cream is following you!#Can we make them a bad guy?"Ho-ho! A soft cream is following you!#Can we make them a bad guy?", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_66_0" );
if (global.plot >= 75)
{
tempkeyitemdesc = stringsetloc(That golden statue... Could it be...#The illusory nipple technique!?"That golden statue... Could it be...#The illusory nipple technique!?", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_70_0_b" );
if (global.flag[418 got_shoe] == 1)
tempkeyitemdesc = stringsetloc(Wow! Thanks for the free sample!#I couldn't eat another bite!!"Wow! Thanks for the free sample!#I couldn't eat another bite!!", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_74_0" );
}
if (global.plot >= 79)
tempkeyitemdesc = stringsetloc(The bluebird of crappiness.#Fly high, bluebird. Fly high."The bluebird of crappiness.#Fly high, bluebird. Fly high.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_79_0" );
if (global.plot >= 85)
tempkeyitemdesc = stringsetloc(Did I miss something? I was doing my#calisthetics. Stay handsome."Did I miss something? I was doing my#calisthetics. Stay handsome.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_83_0" );
if (global.plot >= 90)
tempkeyitemdesc = stringsetloc(Hey! Thanks for the tape! I was hungry!#Push my tummy to hear a cool song!"Hey! Thanks for the tape! I was hungry!#Push my tummy to hear a cool song!", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_87_0" );
if (global.plot >= 99)
tempkeyitemdesc = stringsetloc(Hoho! It's me, Lancer! Release me and#I will release you!"Hoho! It's me, Lancer! Release me and#I will release you!", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_91_0" );
if (scr_sideb_get_phase() >= 1 && global.flag[915 snowgrave_plot] >= 1.5)
{
tempkeyitemdesc = stringsetloc((Innocent boys are fast asleep.)"(Innocent boys are fast asleep.)", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_95_0" );
if (scr_sideb_get_phase() >= 3)
tempkeyitemdesc = stringsetloc(A stone statue.#Strangely, it looks like Lancer..."A stone statue.#Strangely, it looks like Lancer...", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_99_0" );
}
if (global.plot >= 200)
{
tempkeyitemdesc = stringsetloc(Hoho! What a terrific boy's adventure.#Time to kick off my feet and relax..."Hoho! What a terrific boy's adventure.#Time to kick off my feet and relax...", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_105_0" );
if (room == room_dw_castle_restaurant)
tempkeyitemdesc = stringsetloc(Oo la la! Who is that handsome#mustachioed boy! I think I'm in love!"Oo la la! Who is that handsome#mustachioed boy! I think I'm in love!", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_109_0" );
if (room == room_cc_lancer || room == room_dw_ralsei_castle_2f)
tempkeyitemdesc = stringsetloc((huff, puff) There, I got back into your#pocket! Now you can use my power!"(huff, puff) There, I got back into your#pocket! Now you can use my power!", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_114_0" );
}
}
if (global.chapter == 3)
{
tempkeyitemdesc = stringsetloc(Ho ho ho!#Enjoy my prescence for a single room!"Ho ho ho!#Enjoy my prescence for a single room!", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_123_0_b" );
var lancercount = 0;
for (var __l = 0; __l < 12; __l++)
{
if (global.keyitem[__l] == 8)
lancercount++;
}
if (lancercount >= 2)
tempkeyitemdesc = stringsetloc(The best thing about me is that#I'm the only one!"The best thing about me is that#I'm the only one!", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_129_0" );
}
tempkeyitemname = stringsetloc(Lancer"Lancer", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_48_0" );
tempkeyitemusable = 1;
break;
... (fusionIngredient1[fusioncount]);
|
|
42
|
fusionIngredientName1[fusioncount] = tempkeyitemname;
|
|
43
|
if (scr_keyitemcheckscr_keyitemcheck
function scr_keyitemcheck(arg0)
{
haveit = 0;
itemcount = 0;
for (i = 0; i < 12; i += 1)
{
if (global.keyitem[i] == arg0)
haveit = 1;
if (global.keyitem[i] == arg0)
itemcount += 1;
}
return haveit;
} (fusionIngredient1[fusioncount]))
|
|
44
|
fusionHaveIngredient1[fusioncount] = 1;
|
|
45
|
}
|
|
46
|
identicalcheck = 0;
|
|
47
|
if (fusionIngredientType2[fusioncount] == fusionIngredientType2[fusioncount])
|
|
48
|
{
|
|
49
|
if (fusionIngredient1[fusioncount] == fusionIngredient2[fusioncount])
|
|
50
|
identicalcheck = 1;
|
|
51
|
}
|
|
52
|
if (fusionIngredientType2[fusioncount] == "item")
|
|
53
|
{
|
|
54
|
scr_iteminfoscr_iteminfo
function scr_iteminfo(arg0)
{
usable = 0;
replaceable = 0;
value = 0;
itemtarget = 0;
itemnameb = " ";
itemdescb = " ";
switch (arg0)
{
case 0:
itemnameb = " ";
itemdescb = "---";
break;
case 1:
itemnameb = stringsetloc(Dark Candy"Dark Candy", "scr_iteminfo_slash_scr_iteminfo_gml_15_0" );
itemdescb = stringsetloc(Heals#40HP"Heals#40HP", "scr_iteminfo_slash_scr_iteminfo_gml_16_0" );
itemtarget = 1;
value = 25;
usable = 1;
break;
case 2:
itemnameb = stringsetloc(ReviveMint"ReviveMint", "scr_iteminfo_slash_scr_iteminfo_gml_22_0" );
itemdescb = stringsetloc(Heal#Downed#Ally"Heal#Downed#Ally", "scr_iteminfo_slash_scr_iteminfo_gml_23_0" );
itemtarget = 1;
value = 400;
usable = 1;
break;
case 3:
itemnameb = stringsetloc(Glowshard"Glowshard", "scr_iteminfo_slash_scr_iteminfo_gml_29_0" );
itemdescb = stringsetloc(Sell#at#shops"Sell#at#shops", "scr_iteminfo_slash_scr_iteminfo_gml_30_0" );
itemtarget = 0;
value = 200 + (global.chapter * 100);
usable = 0;
break;
case 4:
itemnameb = stringsetloc(Manual"Manual", "scr_iteminfo_slash_scr_iteminfo_gml_36_0" );
itemdescb = stringsetloc(Read#out of#battle"Read#out of#battle", "scr_iteminfo_slash_scr_iteminfo_gml_37_0" );
itemtarget = 2;
value = 1;
usable = 0;
break;
case 5:
itemnameb = stringsetloc(BrokenCake"BrokenCake", "scr_iteminfo_slash_scr_iteminfo_gml_43_0" );
itemdescb = stringsetloc(Heals#20HP"Heals#20HP", "scr_iteminfo_slash_scr_iteminfo_gml_44_0" );
itemtarget = 1;
value = 5;
usable = 1;
break;
case 6:
itemnameb = stringsetloc(Top Cake"Top Cake", "scr_iteminfo_slash_scr_iteminfo_gml_50_0" );
itemdescb = stringsetloc(Heals#team#160HP"Heals#team#160HP", "scr_iteminfo_slash_scr_iteminfo_gml_51_0" );
itemtarget = 2;
value = 150;
usable = 1;
break;
case 7:
var healamount = (global.chapter == 1) ? 80 : 140;
if (global.chapter == 3)
healamount = 150;
if (global.chapter >= 4)
healamount = 160;
itemnameb = stringsetloc(Spincake"Spincake", "scr_iteminfo_slash_scr_iteminfo_gml_58_0" );
itemdescb = stringsetsubloc("Heals#team#~1HP", string(healamount), "scr_iteminfo_slash_scr_iteminfo_gml_59_0");
itemtarget = 2;
value = 5;
usable = 1;
break;
case 8:
itemnameb = stringsetloc(Darkburger"Darkburger", "scr_iteminfo_slash_scr_iteminfo_gml_65_0" );
itemdescb = stringsetloc(Heals#70HP"Heals#70HP", "scr_iteminfo_slash_scr_iteminfo_gml_66_0" );
itemtarget = 1;
value = 70;
usable = 1;
break;
case 9:
itemnameb = stringsetloc(LancerCookie"LancerCookie", "scr_iteminfo_slash_scr_iteminfo_gml_72_0" );
itemdescb = stringsetloc(Heals#50HP"Heals#50HP", "scr_iteminfo_slash_scr_iteminfo_gml_73_0" );
itemtarget = 1;
value = 10;
usable = 1;
break;
case 10:
itemnameb = stringsetloc(GigaSalad"GigaSalad", "scr_iteminfo_slash_scr_iteminfo_gml_79_0" );
itemdescb = stringsetloc(Heals#4HP"Heals#4HP", "scr_iteminfo_slash_scr_iteminfo_gml_80_0" );
itemtarget = 1;
value = 10;
usable = 1;
break;
case 11:
itemnameb = stringsetloc(ClubsSandwich"ClubsSandwich", "scr_iteminfo_slash_scr_iteminfo_gml_86_0" );
itemdescb = stringsetloc(Heals#team#70HP"Heals#team#70HP", "scr_iteminfo_slash_scr_iteminfo_gml_87_0" );
itemtarget = 2;
value = 70;
usable = 1;
break;
case 12:
itemnameb = stringsetloc(HeartsDonut"HeartsDonut", "scr_iteminfo_slash_scr_iteminfo_gml_93_0" );
itemdescb = stringsetloc(Healing#varies"Healing#varies", "scr_iteminfo_slash_scr_iteminfo_gml_94_0" );
itemtarget = 1;
value = 40;
... (fusionIngredient2[fusioncount]);
|
|
55
|
fusionIngredientName2[fusioncount] = itemnameb;
|
|
56
|
if (scr_itemcheckscr_itemcheck
function scr_itemcheck(arg0)
{
haveit = 0;
itemcount = 0;
for (var __i = 0; __i < 12; __i += 1)
{
if (global.item[__i] == arg0)
haveit = 1;
if (global.item[__i] == arg0)
itemcount += 1;
}
return haveit;
} (fusionIngredient2[fusioncount]))
|
|
57
|
{
|
|
58
|
if (identicalcheck == 0 || (identicalcheck == 1 && itemcount >= 2))
|
|
59
|
fusionHaveIngredient2[fusioncount] = 1;
|
|
60
|
}
|
|
61
|
}
|
|
62
|
if (fusionIngredientType2[fusioncount] == "weapon")
|
|
63
|
{
|
|
64
|
scr_weaponinfoscr_weaponinfo
function scr_weaponinfo(arg0)
{
weaponchar4temp = 0;
weaponnametemp = stringsetloc( " ", "scr_weaponinfo_slash_scr_weaponinfo_gml_2_0" );
switch (arg0)
{
case 0:
weaponnametemp = stringsetloc( " ", "scr_weaponinfo_slash_scr_weaponinfo_gml_11_0" );
weapondesctemp = stringsetloc( " ", "scr_weaponinfo_slash_scr_weaponinfo_gml_12_0" );
wmessage2temp = stringsetloc( " ", "scr_weaponinfo_slash_scr_weaponinfo_gml_13_0" );
wmessage3temp = stringsetloc( " ", "scr_weaponinfo_slash_scr_weaponinfo_gml_14_0" );
wmessage4temp = stringsetloc( " ", "scr_weaponinfo_slash_scr_weaponinfo_gml_15_0" );
weaponattemp = 0;
weapondftemp = 0;
weaponmagtemp = 0;
weaponboltstemp = 0;
weaponstyletemp = " ";
weapongrazeamttemp = 0;
weapongrazesizetemp = 0;
weaponchar1temp = 0;
weaponchar2temp = 0;
weaponchar3temp = 0;
weaponchar4temp = 0;
weaponabilitytemp = " ";
weaponabilityicontemp = 0;
weaponicontemp = 0;
value = 0;
break;
case 1:
weaponnametemp = stringsetloc(Wood Blade"Wood Blade", "scr_weaponinfo_slash_scr_weaponinfo_gml_33_0" );
weapondesctemp = stringsetloc(A wooden practice blade with a carbon-#reinforced core."A wooden practice blade with a carbon-#reinforced core.", "scr_weaponinfo_slash_scr_weaponinfo_gml_34_0" );
wmessage2temp = stringsetloc(What's this!? A CHOPSTICK?"What's this!? A CHOPSTICK?", "scr_weaponinfo_slash_scr_weaponinfo_gml_35_0" );
if (global.plot < 30 && global.chapter == 1)
wmessage2tempt = stringsetloc(... You have a SWORD!?"... You have a SWORD!?", "scr_weaponinfo_slash_scr_weaponinfo_gml_39_0" );
wmessage3temp = stringsetloc(That's yours, Kris..."That's yours, Kris...", "scr_weaponinfo_slash_scr_weaponinfo_gml_40_0" );
wmessage4temp = stringsetloc((It has bite marks...)"(It has bite marks...)", "scr_weaponinfo_slash_scr_weaponinfo_gml_42_0" );
weaponattemp = 0;
weapondftemp = 0;
weaponmagtemp = 0;
weaponboltstemp = 1;
weaponstyletemp = "?";
weapongrazeamttemp = 0;
weapongrazesizetemp = 0;
weaponchar1temp = 1;
weaponchar2temp = 0;
weaponchar3temp = 0;
weaponicontemp = 1;
weaponabilityicontemp = 0;
weaponabilitytemp = " ";
value = 60;
break;
case 2:
weaponnametemp = stringsetloc(Mane Ax"Mane Ax", "scr_weaponinfo_slash_scr_weaponinfo_gml_59_0" );
weapondesctemp = stringsetloc(Beginner's ax forged from the#mane of a dragon whelp."Beginner's ax forged from the#mane of a dragon whelp.", "scr_weaponinfo_slash_scr_weaponinfo_gml_60_0" );
wmessage2temp = stringsetloc(I'm too GOOD for that."I'm too GOOD for that.", "scr_weaponinfo_slash_scr_weaponinfo_gml_61_0" );
wmessage3temp = stringsetloc(Ummm... it's a bit big."Ummm... it's a bit big.", "scr_weaponinfo_slash_scr_weaponinfo_gml_62_0" );
wmessage4temp = stringsetloc(It... smells nice..."It... smells nice...", "scr_weaponinfo_slash_scr_weaponinfo_gml_64_0" );
weaponattemp = 0;
weapondftemp = 0;
weaponmagtemp = 0;
weaponboltstemp = 1;
weaponstyletemp = "?";
weapongrazeamttemp = 0;
weapongrazesizetemp = 0;
weaponchar1temp = 0;
weaponchar2temp = 0;
weaponchar3temp = 0;
weaponicontemp = 2;
weaponabilityicontemp = 0;
weaponabilitytemp = " ";
value = 80;
break;
case 3:
weaponnametemp = stringsetloc(Red Scarf"Red Scarf", "scr_weaponinfo_slash_scr_weaponinfo_gml_81_0" );
weapondesctemp = stringsetloc(A basic scarf made of lightly#magical fiber."A basic scarf made of lightly#magical fiber.", "scr_weaponinfo_slash_scr_weaponinfo_gml_82_0" );
wmessage2temp = stringsetloc(No. Just... no."No. Just... no.", "scr_weaponinfo_slash_scr_weaponinfo_gml_83_0" );
wmessage3temp = stringsetloc(Comfy! Touch it, Kris!"Comfy! Touch it, Kris!", "scr_weaponinfo_slash_scr_weaponinfo_gml_84_0" );
wmessage4temp = stringsetloc(Huh? No, I'm not cold."Huh? No, I'm not cold.", "scr_weaponinfo_slash_scr_weaponinfo_gml_86_0" );
weaponattemp = 0;
weapondftemp = 0;
weaponmagtemp = 0;
weaponboltstemp = 1;
weaponstyletemp = "?";
weapongrazeamttemp = 0;
weapongrazesizetemp = 0;
weaponchar1temp = 0;
weaponchar2temp = 0;
weaponchar3temp = 1;
weaponicontemp = 3;
weaponabilityicontemp = 0;
weaponabilitytemp = " ";
value = 100;
break;
case 4:
weaponnametemp = stringsetloc(EverybodyWeapon"EverybodyWeapon", "scr_weaponinfo_slash_scr_weaponinfo_gml_105_0" );
weapondesctemp = stringsetloc(It felt right for everyone."It felt right for everyone.", "scr_weaponinfo_slash_scr_weaponinfo_gml_106_0" );
wmessage2temp = stringsetloc(Uhhh... Ok."Uhhh... Ok.", "scr_weaponinfo_slash_scr_weaponinfo_gml_107_0" );
wmessage3temp = stringsetloc(A perfect fit!"A perfect fit!", "scr_weaponinfo_slash_scr_weaponinfo_gml_108_0" );
wmessage4temp = stringsetloc(Wh... what is this?"Wh... what is this?", "scr_weaponinfo_slash_scr_weaponinfo_gml_109_0" );
weaponattemp = 12;
weapondftemp = 6;
... (fusionIngredient2[fusioncount]);
|
|
65
|
fusionIngredientName2[fusioncount] = weaponnametemp;
|
|
66
|
if (scr_weaponcheck_inventoryscr_weaponcheck_inventory
function scr_weaponcheck_inventory(arg0)
{
haveit = 0;
itemcount = 0;
for (i = 0; i < 48; i += 1)
{
if (global.weapon[i] == arg0)
haveit = 1;
if (global.weapon[i] == arg0)
itemcount += 1;
}
return haveit;
} (fusionIngredient2[fusioncount]))
|
|
67
|
{
|
|
68
|
if (identicalcheck == 0 || (identicalcheck == 1 && itemcount >= 2))
|
|
69
|
fusionHaveIngredient2[fusioncount] = 1;
|
|
70
|
}
|
|
71
|
}
|
|
72
|
if (fusionIngredientType2[fusioncount] == "armor")
|
|
73
|
{
|
|
74
|
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)
... (fusionIngredient2[fusioncount]);
|
|
75
|
fusionIngredientName2[fusioncount] = armornametemp;
|
|
76
|
if (scr_armorcheck_inventoryscr_armorcheck_inventory
function scr_armorcheck_inventory(arg0)
{
haveit = 0;
itemcount = 0;
for (i = 0; i < 48; i += 1)
{
if (global.armor[i] == arg0)
haveit = 1;
if (global.armor[i] == arg0)
itemcount += 1;
}
return haveit;
} (fusionIngredient2[fusioncount]))
|
|
77
|
{
|
|
78
|
if (identicalcheck == 0 || (identicalcheck == 1 && itemcount >= 2))
|
|
79
|
fusionHaveIngredient2[fusioncount] = 1;
|
|
80
|
}
|
|
81
|
}
|
|
82
|
if (fusionIngredientType2[fusioncount] == "key")
|
|
83
|
{
|
|
84
|
scr_keyiteminfoscr_keyiteminfo
function scr_keyiteminfo(arg0)
{
tempkeyitemdesc = stringsetloc(---"---", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_2_0" );
tempkeyitemname = stringsetloc( " ", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_3_0" );
tempkeyitemusable = 0;
switch (arg0)
{
case 0:
tempkeyitemdesc = stringsetloc(---"---", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_9_0" );
tempkeyitemname = stringsetloc( " ", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_10_0" );
break;
case 1:
tempkeyitemdesc = stringsetloc(It can be used to make calls."It can be used to make calls.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_13_0" );
tempkeyitemname = stringsetloc(Cell Phone"Cell Phone", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_14_0" );
tempkeyitemusable = 1;
break;
case 2:
tempkeyitemdesc = stringsetloc(Not too important, not too unimportant."Not too important, not too unimportant.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_18_0" );
tempkeyitemname = stringsetloc(Egg"Egg", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_19_0" );
tempkeyitemusable = 1;
break;
case 3:
tempkeyitemdesc = stringsetloc(Though broken, it seethes with power.#A master smith could fix it."Though broken, it seethes with power.#A master smith could fix it.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_23_0" );
tempkeyitemname = stringsetloc(BrokenCake"BrokenCake", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_24_0" );
break;
case 4:
tempkeyitemdesc = stringsetloc(It's the top part of a key.#A smith could fix all three parts."It's the top part of a key.#A smith could fix all three parts.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_27_0" );
tempkeyitemname = stringsetloc(Broken Key A"Broken Key A", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_28_0" );
break;
case 5:
tempkeyitemdesc = stringsetloc(The key to a mysterious cell.#Something feels strange about it."The key to a mysterious cell.#Something feels strange about it.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_31_0" );
tempkeyitemname = stringsetloc(Door Key"Door Key", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_32_0" );
break;
case 6:
tempkeyitemdesc = stringsetloc(It's the middle part of a key.#A smith could fix all three parts."It's the middle part of a key.#A smith could fix all three parts.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_35_0" );
tempkeyitemname = stringsetloc(Broken Key B"Broken Key B", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_36_0" );
break;
case 7:
tempkeyitemdesc = stringsetloc(It's the bottom part of a key.#A smith could fix all three parts."It's the bottom part of a key.#A smith could fix all three parts.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_39_0" );
tempkeyitemname = stringsetloc(Broken Key C"Broken Key C", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_40_0" );
break;
case 8:
tempkeyitemdesc = stringsetloc(Hohoho! I'm a tough boy!#Treat me like one of your ITEMS!"Hohoho! I'm a tough boy!#Treat me like one of your ITEMS!", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_43_0" );
if (global.chapter == 2)
{
if (global.plot >= 20)
tempkeyitemdesc = stringsetloc(Hohoho! ROUXLS jumped out of your#pocket! How dadcrobatic! (Lesser)"Hohoho! ROUXLS jumped out of your#pocket! How dadcrobatic! (Lesser)", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_46_0" );
if (global.plot >= 55)
tempkeyitemdesc = stringsetloc(Hohoho! That game looked fun!#Let me be the stool next!"Hohoho! That game looked fun!#Let me be the stool next!", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_50_0" );
if (global.plot >= 60)
tempkeyitemdesc = stringsetloc(Sounded like milk out there. Splat!#Were you three osmosing without me!?"Sounded like milk out there. Splat!#Were you three osmosing without me!?", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_54_0" );
if (global.plot >= 65)
tempkeyitemdesc = stringsetloc(We fell! But don't worry. I'm a strong boy.#I won't be trounced by a mere bounce!"We fell! But don't worry. I'm a strong boy.#I won't be trounced by a mere bounce!", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_58_0" );
if (global.plot >= 66)
tempkeyitemdesc = stringsetloc(Split up? We'll solve this mystery fast!#You? You can be the un-talking dog."Split up? We'll solve this mystery fast!#You? You can be the un-talking dog.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_62_0" );
if (global.plot >= 70)
tempkeyitemdesc = stringsetloc(Ho-ho! A soft cream is following you!#Can we make them a bad guy?"Ho-ho! A soft cream is following you!#Can we make them a bad guy?", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_66_0" );
if (global.plot >= 75)
{
tempkeyitemdesc = stringsetloc(That golden statue... Could it be...#The illusory nipple technique!?"That golden statue... Could it be...#The illusory nipple technique!?", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_70_0_b" );
if (global.flag[418 got_shoe] == 1)
tempkeyitemdesc = stringsetloc(Wow! Thanks for the free sample!#I couldn't eat another bite!!"Wow! Thanks for the free sample!#I couldn't eat another bite!!", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_74_0" );
}
if (global.plot >= 79)
tempkeyitemdesc = stringsetloc(The bluebird of crappiness.#Fly high, bluebird. Fly high."The bluebird of crappiness.#Fly high, bluebird. Fly high.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_79_0" );
if (global.plot >= 85)
tempkeyitemdesc = stringsetloc(Did I miss something? I was doing my#calisthetics. Stay handsome."Did I miss something? I was doing my#calisthetics. Stay handsome.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_83_0" );
if (global.plot >= 90)
tempkeyitemdesc = stringsetloc(Hey! Thanks for the tape! I was hungry!#Push my tummy to hear a cool song!"Hey! Thanks for the tape! I was hungry!#Push my tummy to hear a cool song!", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_87_0" );
if (global.plot >= 99)
tempkeyitemdesc = stringsetloc(Hoho! It's me, Lancer! Release me and#I will release you!"Hoho! It's me, Lancer! Release me and#I will release you!", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_91_0" );
if (scr_sideb_get_phase() >= 1 && global.flag[915 snowgrave_plot] >= 1.5)
{
tempkeyitemdesc = stringsetloc((Innocent boys are fast asleep.)"(Innocent boys are fast asleep.)", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_95_0" );
if (scr_sideb_get_phase() >= 3)
tempkeyitemdesc = stringsetloc(A stone statue.#Strangely, it looks like Lancer..."A stone statue.#Strangely, it looks like Lancer...", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_99_0" );
}
if (global.plot >= 200)
{
tempkeyitemdesc = stringsetloc(Hoho! What a terrific boy's adventure.#Time to kick off my feet and relax..."Hoho! What a terrific boy's adventure.#Time to kick off my feet and relax...", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_105_0" );
if (room == room_dw_castle_restaurant)
tempkeyitemdesc = stringsetloc(Oo la la! Who is that handsome#mustachioed boy! I think I'm in love!"Oo la la! Who is that handsome#mustachioed boy! I think I'm in love!", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_109_0" );
if (room == room_cc_lancer || room == room_dw_ralsei_castle_2f)
tempkeyitemdesc = stringsetloc((huff, puff) There, I got back into your#pocket! Now you can use my power!"(huff, puff) There, I got back into your#pocket! Now you can use my power!", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_114_0" );
}
}
if (global.chapter == 3)
{
tempkeyitemdesc = stringsetloc(Ho ho ho!#Enjoy my prescence for a single room!"Ho ho ho!#Enjoy my prescence for a single room!", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_123_0_b" );
var lancercount = 0;
for (var __l = 0; __l < 12; __l++)
{
if (global.keyitem[__l] == 8)
lancercount++;
}
if (lancercount >= 2)
tempkeyitemdesc = stringsetloc(The best thing about me is that#I'm the only one!"The best thing about me is that#I'm the only one!", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_129_0" );
}
tempkeyitemname = stringsetloc(Lancer"Lancer", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_48_0" );
tempkeyitemusable = 1;
break;
... (fusionIngredient2[fusioncount]);
|
|
85
|
fusionIngredientName2[fusioncount] = tempkeyitemname;
|
|
86
|
if (scr_keyitemcheckscr_keyitemcheck
function scr_keyitemcheck(arg0)
{
haveit = 0;
itemcount = 0;
for (i = 0; i < 12; i += 1)
{
if (global.keyitem[i] == arg0)
haveit = 1;
if (global.keyitem[i] == arg0)
itemcount += 1;
}
return haveit;
} (fusionIngredient2[fusioncount]))
|
|
87
|
{
|
|
88
|
if (identicalcheck == 0 || (identicalcheck == 1 && itemcount >= 2))
|
|
89
|
fusionHaveIngredient2[fusioncount] = 1;
|
|
90
|
}
|
|
91
|
}
|
|
92
|
if (fusionResultType[fusioncount] == "item")
|
|
93
|
{
|
|
94
|
scr_iteminfoscr_iteminfo
function scr_iteminfo(arg0)
{
usable = 0;
replaceable = 0;
value = 0;
itemtarget = 0;
itemnameb = " ";
itemdescb = " ";
switch (arg0)
{
case 0:
itemnameb = " ";
itemdescb = "---";
break;
case 1:
itemnameb = stringsetloc(Dark Candy"Dark Candy", "scr_iteminfo_slash_scr_iteminfo_gml_15_0" );
itemdescb = stringsetloc(Heals#40HP"Heals#40HP", "scr_iteminfo_slash_scr_iteminfo_gml_16_0" );
itemtarget = 1;
value = 25;
usable = 1;
break;
case 2:
itemnameb = stringsetloc(ReviveMint"ReviveMint", "scr_iteminfo_slash_scr_iteminfo_gml_22_0" );
itemdescb = stringsetloc(Heal#Downed#Ally"Heal#Downed#Ally", "scr_iteminfo_slash_scr_iteminfo_gml_23_0" );
itemtarget = 1;
value = 400;
usable = 1;
break;
case 3:
itemnameb = stringsetloc(Glowshard"Glowshard", "scr_iteminfo_slash_scr_iteminfo_gml_29_0" );
itemdescb = stringsetloc(Sell#at#shops"Sell#at#shops", "scr_iteminfo_slash_scr_iteminfo_gml_30_0" );
itemtarget = 0;
value = 200 + (global.chapter * 100);
usable = 0;
break;
case 4:
itemnameb = stringsetloc(Manual"Manual", "scr_iteminfo_slash_scr_iteminfo_gml_36_0" );
itemdescb = stringsetloc(Read#out of#battle"Read#out of#battle", "scr_iteminfo_slash_scr_iteminfo_gml_37_0" );
itemtarget = 2;
value = 1;
usable = 0;
break;
case 5:
itemnameb = stringsetloc(BrokenCake"BrokenCake", "scr_iteminfo_slash_scr_iteminfo_gml_43_0" );
itemdescb = stringsetloc(Heals#20HP"Heals#20HP", "scr_iteminfo_slash_scr_iteminfo_gml_44_0" );
itemtarget = 1;
value = 5;
usable = 1;
break;
case 6:
itemnameb = stringsetloc(Top Cake"Top Cake", "scr_iteminfo_slash_scr_iteminfo_gml_50_0" );
itemdescb = stringsetloc(Heals#team#160HP"Heals#team#160HP", "scr_iteminfo_slash_scr_iteminfo_gml_51_0" );
itemtarget = 2;
value = 150;
usable = 1;
break;
case 7:
var healamount = (global.chapter == 1) ? 80 : 140;
if (global.chapter == 3)
healamount = 150;
if (global.chapter >= 4)
healamount = 160;
itemnameb = stringsetloc(Spincake"Spincake", "scr_iteminfo_slash_scr_iteminfo_gml_58_0" );
itemdescb = stringsetsubloc("Heals#team#~1HP", string(healamount), "scr_iteminfo_slash_scr_iteminfo_gml_59_0");
itemtarget = 2;
value = 5;
usable = 1;
break;
case 8:
itemnameb = stringsetloc(Darkburger"Darkburger", "scr_iteminfo_slash_scr_iteminfo_gml_65_0" );
itemdescb = stringsetloc(Heals#70HP"Heals#70HP", "scr_iteminfo_slash_scr_iteminfo_gml_66_0" );
itemtarget = 1;
value = 70;
usable = 1;
break;
case 9:
itemnameb = stringsetloc(LancerCookie"LancerCookie", "scr_iteminfo_slash_scr_iteminfo_gml_72_0" );
itemdescb = stringsetloc(Heals#50HP"Heals#50HP", "scr_iteminfo_slash_scr_iteminfo_gml_73_0" );
itemtarget = 1;
value = 10;
usable = 1;
break;
case 10:
itemnameb = stringsetloc(GigaSalad"GigaSalad", "scr_iteminfo_slash_scr_iteminfo_gml_79_0" );
itemdescb = stringsetloc(Heals#4HP"Heals#4HP", "scr_iteminfo_slash_scr_iteminfo_gml_80_0" );
itemtarget = 1;
value = 10;
usable = 1;
break;
case 11:
itemnameb = stringsetloc(ClubsSandwich"ClubsSandwich", "scr_iteminfo_slash_scr_iteminfo_gml_86_0" );
itemdescb = stringsetloc(Heals#team#70HP"Heals#team#70HP", "scr_iteminfo_slash_scr_iteminfo_gml_87_0" );
itemtarget = 2;
value = 70;
usable = 1;
break;
case 12:
itemnameb = stringsetloc(HeartsDonut"HeartsDonut", "scr_iteminfo_slash_scr_iteminfo_gml_93_0" );
itemdescb = stringsetloc(Healing#varies"Healing#varies", "scr_iteminfo_slash_scr_iteminfo_gml_94_0" );
itemtarget = 1;
value = 40;
... (fusionResult[fusioncount]);
|
|
95
|
fusionResultName[fusioncount] = itemnameb;
|
|
96
|
fusionResultTopComment[fusioncount] = scr_itemdesc_singlescr_itemdesc_single
function scr_itemdesc_single(arg0)
{
__itemdesc = stringsetloc(---"---", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_1_0" );
switch (arg0)
{
case 0:
__itemdesc = stringsetloc(---"---", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_5_0" );
break;
case 1:
__itemdesc = stringsetloc(Heals 40 HP. A red-and-black star#that tastes like marshmallows."Heals 40 HP. A red-and-black star#that tastes like marshmallows.", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_8_0" );
break;
case 2:
__itemdesc = stringsetloc(Heals a fallen ally to MAX HP.#A minty green crystal."Heals a fallen ally to MAX HP.#A minty green crystal.", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_11_0" );
break;
case 3:
__itemdesc = stringsetloc(A shimmering shard.#Its use is unknown."A shimmering shard.#Its use is unknown.", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_14_0" );
if (global.chapter >= 2)
__itemdesc = stringsetloc(A shimmering shard.#Its value increases each Chapter."A shimmering shard.#Its value increases each Chapter.", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_17_0_b" );
break;
case 4:
__itemdesc = stringsetloc(Ralsei's handmade book full of#various tips and tricks."Ralsei's handmade book full of#various tips and tricks.", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_17_0" );
break;
case 5:
__itemdesc = stringsetloc(Though broken, it seethes with power.#A master smith could fix it."Though broken, it seethes with power.#A master smith could fix it.", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_20_0" );
break;
case 6:
__itemdesc = stringsetloc(This cake will make your taste buds#spin! Heals 160 HP to the team."This cake will make your taste buds#spin! Heals 160 HP to the team.", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_23_0" );
break;
case 7:
var healamount = (global.chapter == 1) ? 80 : 140;
if (global.chapter == 3)
healamount = 150;
if (global.chapter >= 4)
healamount = 160;
__itemdesc = stringsetsubloc("A pastry in the shape of a top.#Heals ~1 HP to the team.", string(healamount), "scr_itemdesc_single_slash_scr_itemdesc_single_gml_27_0");
break;
case 8:
__itemdesc = stringsetloc(A mysterious black burger made of...#Hey, this is just burnt! +70HP"A mysterious black burger made of...#Hey, this is just burnt! +70HP", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_30_0" );
break;
case 9:
__itemdesc = stringsetloc(A cookie shaped like Lancer's face.#Maybe not a cookie. Heals 1 HP?"A cookie shaped like Lancer's face.#Maybe not a cookie. Heals 1 HP?", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_33_0" );
break;
case 10:
__itemdesc = stringsetloc(An enormous salad... but, it's just#lettuce, so it's worthless. +4HP"An enormous salad... but, it's just#lettuce, so it's worthless. +4HP", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_36_0" );
break;
case 11:
__itemdesc = stringsetloc(A sandwich that can be split into 3.#Heals 70 HP to the team."A sandwich that can be split into 3.#Heals 70 HP to the team.", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_39_0" );
break;
case 12:
__itemdesc = stringsetloc(Hearts, don't it!? It's filled with#divisive, clotty red jam. +??HP"Hearts, don't it!? It's filled with#divisive, clotty red jam. +??HP", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_42_0" );
break;
case 13:
__itemdesc = stringsetloc(It's quite small, but some#people REALLY like it. +??HP"It's quite small, but some#people REALLY like it. +??HP", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_45_0" );
break;
case 14:
__itemdesc = stringsetloc(You'd think it tastes perfect.#Heals 500HP."You'd think it tastes perfect.#Heals 500HP.", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_48_0" );
break;
case 15:
__itemdesc = stringsetloc(A dark roux with a delicate aroma.#Also... has worms in it. +50HP"A dark roux with a delicate aroma.#Also... has worms in it. +50HP", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_51_0" );
break;
case 16:
__itemdesc = stringsetloc(A bagel with a reflective inside.#Makes music with each bite. +80HP"A bagel with a reflective inside.#Makes music with each bite. +80HP", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_54_0" );
break;
case 17:
__itemdesc = stringsetloc(It's a mannequin with the clothes#permanently attached. Useless"It's a mannequin with the clothes#permanently attached. Useless", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_57_0" );
break;
case 18:
__itemdesc = scr_text(1457);
break;
case 19:
__itemdesc = scr_text(1457);
break;
case 20:
__itemdesc = scr_text(1457);
break;
case 21:
__itemdesc = scr_text(1457);
break;
case 22:
__itemdesc = stringsetloc(It's the Double-Dark-Burger.#It'll take two bites to finish!"It's the Double-Dark-Burger.#It'll take two bites to finish!", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_72_0" );
break;
case 23:
__itemdesc = stringsetloc(White candy with a chalky texture.#It'll recover 120HP."White candy with a chalky texture.#It'll recover 120HP.", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_75_0" );
break;
case 24:
__itemdesc = stringsetloc(It's short for ButlerJuice.#It changes color with temperature."It's short for ButlerJuice.#It changes color with temperature.", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_78_0" );
break;
case 25:
__itemdesc = stringsetloc(Spaghetti woven by master coders, made#of macarons and ribbons. +30HP to all."Spaghetti woven by master coders, made#of macarons and ribbons. +30HP to all.", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_81_0" );
break;
case 26:
__itemdesc = stringsetloc(A coffee-and-chocolate flavored cookie.#Words spark out when you bite it."A coffee-and-chocolate flavored cookie.#Words spark out when you bite it.", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_84_0" );
break;
case 27:
__itemdesc = stringsetloc(Raises TP by 32Close Message in battle."Raises TP by 32% in battle.", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_87_0" );
break;
case 28:
__itemdesc = stringsetloc(Raises TP by 50Close Message in battle."Raises TP by 50% in battle.", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_90_0" );
break;
case 29:
__itemdesc = stringsetloc(Raises TP to full in battle."Raises TP to full in battle.", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_93_0" );
... (fusionResult[fusioncount]);
|
|
97
|
}
|
|
98
|
if (fusionResultType[fusioncount] == "weapon")
|
|
99
|
{
|
|
100
|
scr_weaponinfoscr_weaponinfo
function scr_weaponinfo(arg0)
{
weaponchar4temp = 0;
weaponnametemp = stringsetloc( " ", "scr_weaponinfo_slash_scr_weaponinfo_gml_2_0" );
switch (arg0)
{
case 0:
weaponnametemp = stringsetloc( " ", "scr_weaponinfo_slash_scr_weaponinfo_gml_11_0" );
weapondesctemp = stringsetloc( " ", "scr_weaponinfo_slash_scr_weaponinfo_gml_12_0" );
wmessage2temp = stringsetloc( " ", "scr_weaponinfo_slash_scr_weaponinfo_gml_13_0" );
wmessage3temp = stringsetloc( " ", "scr_weaponinfo_slash_scr_weaponinfo_gml_14_0" );
wmessage4temp = stringsetloc( " ", "scr_weaponinfo_slash_scr_weaponinfo_gml_15_0" );
weaponattemp = 0;
weapondftemp = 0;
weaponmagtemp = 0;
weaponboltstemp = 0;
weaponstyletemp = " ";
weapongrazeamttemp = 0;
weapongrazesizetemp = 0;
weaponchar1temp = 0;
weaponchar2temp = 0;
weaponchar3temp = 0;
weaponchar4temp = 0;
weaponabilitytemp = " ";
weaponabilityicontemp = 0;
weaponicontemp = 0;
value = 0;
break;
case 1:
weaponnametemp = stringsetloc(Wood Blade"Wood Blade", "scr_weaponinfo_slash_scr_weaponinfo_gml_33_0" );
weapondesctemp = stringsetloc(A wooden practice blade with a carbon-#reinforced core."A wooden practice blade with a carbon-#reinforced core.", "scr_weaponinfo_slash_scr_weaponinfo_gml_34_0" );
wmessage2temp = stringsetloc(What's this!? A CHOPSTICK?"What's this!? A CHOPSTICK?", "scr_weaponinfo_slash_scr_weaponinfo_gml_35_0" );
if (global.plot < 30 && global.chapter == 1)
wmessage2tempt = stringsetloc(... You have a SWORD!?"... You have a SWORD!?", "scr_weaponinfo_slash_scr_weaponinfo_gml_39_0" );
wmessage3temp = stringsetloc(That's yours, Kris..."That's yours, Kris...", "scr_weaponinfo_slash_scr_weaponinfo_gml_40_0" );
wmessage4temp = stringsetloc((It has bite marks...)"(It has bite marks...)", "scr_weaponinfo_slash_scr_weaponinfo_gml_42_0" );
weaponattemp = 0;
weapondftemp = 0;
weaponmagtemp = 0;
weaponboltstemp = 1;
weaponstyletemp = "?";
weapongrazeamttemp = 0;
weapongrazesizetemp = 0;
weaponchar1temp = 1;
weaponchar2temp = 0;
weaponchar3temp = 0;
weaponicontemp = 1;
weaponabilityicontemp = 0;
weaponabilitytemp = " ";
value = 60;
break;
case 2:
weaponnametemp = stringsetloc(Mane Ax"Mane Ax", "scr_weaponinfo_slash_scr_weaponinfo_gml_59_0" );
weapondesctemp = stringsetloc(Beginner's ax forged from the#mane of a dragon whelp."Beginner's ax forged from the#mane of a dragon whelp.", "scr_weaponinfo_slash_scr_weaponinfo_gml_60_0" );
wmessage2temp = stringsetloc(I'm too GOOD for that."I'm too GOOD for that.", "scr_weaponinfo_slash_scr_weaponinfo_gml_61_0" );
wmessage3temp = stringsetloc(Ummm... it's a bit big."Ummm... it's a bit big.", "scr_weaponinfo_slash_scr_weaponinfo_gml_62_0" );
wmessage4temp = stringsetloc(It... smells nice..."It... smells nice...", "scr_weaponinfo_slash_scr_weaponinfo_gml_64_0" );
weaponattemp = 0;
weapondftemp = 0;
weaponmagtemp = 0;
weaponboltstemp = 1;
weaponstyletemp = "?";
weapongrazeamttemp = 0;
weapongrazesizetemp = 0;
weaponchar1temp = 0;
weaponchar2temp = 0;
weaponchar3temp = 0;
weaponicontemp = 2;
weaponabilityicontemp = 0;
weaponabilitytemp = " ";
value = 80;
break;
case 3:
weaponnametemp = stringsetloc(Red Scarf"Red Scarf", "scr_weaponinfo_slash_scr_weaponinfo_gml_81_0" );
weapondesctemp = stringsetloc(A basic scarf made of lightly#magical fiber."A basic scarf made of lightly#magical fiber.", "scr_weaponinfo_slash_scr_weaponinfo_gml_82_0" );
wmessage2temp = stringsetloc(No. Just... no."No. Just... no.", "scr_weaponinfo_slash_scr_weaponinfo_gml_83_0" );
wmessage3temp = stringsetloc(Comfy! Touch it, Kris!"Comfy! Touch it, Kris!", "scr_weaponinfo_slash_scr_weaponinfo_gml_84_0" );
wmessage4temp = stringsetloc(Huh? No, I'm not cold."Huh? No, I'm not cold.", "scr_weaponinfo_slash_scr_weaponinfo_gml_86_0" );
weaponattemp = 0;
weapondftemp = 0;
weaponmagtemp = 0;
weaponboltstemp = 1;
weaponstyletemp = "?";
weapongrazeamttemp = 0;
weapongrazesizetemp = 0;
weaponchar1temp = 0;
weaponchar2temp = 0;
weaponchar3temp = 1;
weaponicontemp = 3;
weaponabilityicontemp = 0;
weaponabilitytemp = " ";
value = 100;
break;
case 4:
weaponnametemp = stringsetloc(EverybodyWeapon"EverybodyWeapon", "scr_weaponinfo_slash_scr_weaponinfo_gml_105_0" );
weapondesctemp = stringsetloc(It felt right for everyone."It felt right for everyone.", "scr_weaponinfo_slash_scr_weaponinfo_gml_106_0" );
wmessage2temp = stringsetloc(Uhhh... Ok."Uhhh... Ok.", "scr_weaponinfo_slash_scr_weaponinfo_gml_107_0" );
wmessage3temp = stringsetloc(A perfect fit!"A perfect fit!", "scr_weaponinfo_slash_scr_weaponinfo_gml_108_0" );
wmessage4temp = stringsetloc(Wh... what is this?"Wh... what is this?", "scr_weaponinfo_slash_scr_weaponinfo_gml_109_0" );
weaponattemp = 12;
weapondftemp = 6;
... (fusionResult[fusioncount]);
|
|
101
|
fusionResultName[fusioncount] = weaponnametemp;
|
|
102
|
fusionResultTopComment[fusioncount] = weapondesctemp;
|
|
103
|
}
|
|
104
|
if (fusionResultType[fusioncount] == "armor")
|
|
105
|
{
|
|
106
|
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)
... (fusionResult[fusioncount]);
|
|
107
|
fusionResultName[fusioncount] = armornametemp;
|
|
108
|
fusionResultTopComment[fusioncount] = armordesctemp;
|
|
109
|
}
|
|
110
|
if (fusionResultType[fusioncount] == "key")
|
|
111
|
{
|
|
112
|
scr_keyiteminfoscr_keyiteminfo
function scr_keyiteminfo(arg0)
{
tempkeyitemdesc = stringsetloc(---"---", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_2_0" );
tempkeyitemname = stringsetloc( " ", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_3_0" );
tempkeyitemusable = 0;
switch (arg0)
{
case 0:
tempkeyitemdesc = stringsetloc(---"---", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_9_0" );
tempkeyitemname = stringsetloc( " ", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_10_0" );
break;
case 1:
tempkeyitemdesc = stringsetloc(It can be used to make calls."It can be used to make calls.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_13_0" );
tempkeyitemname = stringsetloc(Cell Phone"Cell Phone", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_14_0" );
tempkeyitemusable = 1;
break;
case 2:
tempkeyitemdesc = stringsetloc(Not too important, not too unimportant."Not too important, not too unimportant.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_18_0" );
tempkeyitemname = stringsetloc(Egg"Egg", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_19_0" );
tempkeyitemusable = 1;
break;
case 3:
tempkeyitemdesc = stringsetloc(Though broken, it seethes with power.#A master smith could fix it."Though broken, it seethes with power.#A master smith could fix it.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_23_0" );
tempkeyitemname = stringsetloc(BrokenCake"BrokenCake", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_24_0" );
break;
case 4:
tempkeyitemdesc = stringsetloc(It's the top part of a key.#A smith could fix all three parts."It's the top part of a key.#A smith could fix all three parts.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_27_0" );
tempkeyitemname = stringsetloc(Broken Key A"Broken Key A", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_28_0" );
break;
case 5:
tempkeyitemdesc = stringsetloc(The key to a mysterious cell.#Something feels strange about it."The key to a mysterious cell.#Something feels strange about it.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_31_0" );
tempkeyitemname = stringsetloc(Door Key"Door Key", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_32_0" );
break;
case 6:
tempkeyitemdesc = stringsetloc(It's the middle part of a key.#A smith could fix all three parts."It's the middle part of a key.#A smith could fix all three parts.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_35_0" );
tempkeyitemname = stringsetloc(Broken Key B"Broken Key B", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_36_0" );
break;
case 7:
tempkeyitemdesc = stringsetloc(It's the bottom part of a key.#A smith could fix all three parts."It's the bottom part of a key.#A smith could fix all three parts.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_39_0" );
tempkeyitemname = stringsetloc(Broken Key C"Broken Key C", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_40_0" );
break;
case 8:
tempkeyitemdesc = stringsetloc(Hohoho! I'm a tough boy!#Treat me like one of your ITEMS!"Hohoho! I'm a tough boy!#Treat me like one of your ITEMS!", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_43_0" );
if (global.chapter == 2)
{
if (global.plot >= 20)
tempkeyitemdesc = stringsetloc(Hohoho! ROUXLS jumped out of your#pocket! How dadcrobatic! (Lesser)"Hohoho! ROUXLS jumped out of your#pocket! How dadcrobatic! (Lesser)", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_46_0" );
if (global.plot >= 55)
tempkeyitemdesc = stringsetloc(Hohoho! That game looked fun!#Let me be the stool next!"Hohoho! That game looked fun!#Let me be the stool next!", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_50_0" );
if (global.plot >= 60)
tempkeyitemdesc = stringsetloc(Sounded like milk out there. Splat!#Were you three osmosing without me!?"Sounded like milk out there. Splat!#Were you three osmosing without me!?", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_54_0" );
if (global.plot >= 65)
tempkeyitemdesc = stringsetloc(We fell! But don't worry. I'm a strong boy.#I won't be trounced by a mere bounce!"We fell! But don't worry. I'm a strong boy.#I won't be trounced by a mere bounce!", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_58_0" );
if (global.plot >= 66)
tempkeyitemdesc = stringsetloc(Split up? We'll solve this mystery fast!#You? You can be the un-talking dog."Split up? We'll solve this mystery fast!#You? You can be the un-talking dog.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_62_0" );
if (global.plot >= 70)
tempkeyitemdesc = stringsetloc(Ho-ho! A soft cream is following you!#Can we make them a bad guy?"Ho-ho! A soft cream is following you!#Can we make them a bad guy?", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_66_0" );
if (global.plot >= 75)
{
tempkeyitemdesc = stringsetloc(That golden statue... Could it be...#The illusory nipple technique!?"That golden statue... Could it be...#The illusory nipple technique!?", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_70_0_b" );
if (global.flag[418 got_shoe] == 1)
tempkeyitemdesc = stringsetloc(Wow! Thanks for the free sample!#I couldn't eat another bite!!"Wow! Thanks for the free sample!#I couldn't eat another bite!!", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_74_0" );
}
if (global.plot >= 79)
tempkeyitemdesc = stringsetloc(The bluebird of crappiness.#Fly high, bluebird. Fly high."The bluebird of crappiness.#Fly high, bluebird. Fly high.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_79_0" );
if (global.plot >= 85)
tempkeyitemdesc = stringsetloc(Did I miss something? I was doing my#calisthetics. Stay handsome."Did I miss something? I was doing my#calisthetics. Stay handsome.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_83_0" );
if (global.plot >= 90)
tempkeyitemdesc = stringsetloc(Hey! Thanks for the tape! I was hungry!#Push my tummy to hear a cool song!"Hey! Thanks for the tape! I was hungry!#Push my tummy to hear a cool song!", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_87_0" );
if (global.plot >= 99)
tempkeyitemdesc = stringsetloc(Hoho! It's me, Lancer! Release me and#I will release you!"Hoho! It's me, Lancer! Release me and#I will release you!", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_91_0" );
if (scr_sideb_get_phase() >= 1 && global.flag[915 snowgrave_plot] >= 1.5)
{
tempkeyitemdesc = stringsetloc((Innocent boys are fast asleep.)"(Innocent boys are fast asleep.)", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_95_0" );
if (scr_sideb_get_phase() >= 3)
tempkeyitemdesc = stringsetloc(A stone statue.#Strangely, it looks like Lancer..."A stone statue.#Strangely, it looks like Lancer...", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_99_0" );
}
if (global.plot >= 200)
{
tempkeyitemdesc = stringsetloc(Hoho! What a terrific boy's adventure.#Time to kick off my feet and relax..."Hoho! What a terrific boy's adventure.#Time to kick off my feet and relax...", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_105_0" );
if (room == room_dw_castle_restaurant)
tempkeyitemdesc = stringsetloc(Oo la la! Who is that handsome#mustachioed boy! I think I'm in love!"Oo la la! Who is that handsome#mustachioed boy! I think I'm in love!", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_109_0" );
if (room == room_cc_lancer || room == room_dw_ralsei_castle_2f)
tempkeyitemdesc = stringsetloc((huff, puff) There, I got back into your#pocket! Now you can use my power!"(huff, puff) There, I got back into your#pocket! Now you can use my power!", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_114_0" );
}
}
if (global.chapter == 3)
{
tempkeyitemdesc = stringsetloc(Ho ho ho!#Enjoy my prescence for a single room!"Ho ho ho!#Enjoy my prescence for a single room!", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_123_0_b" );
var lancercount = 0;
for (var __l = 0; __l < 12; __l++)
{
if (global.keyitem[__l] == 8)
lancercount++;
}
if (lancercount >= 2)
tempkeyitemdesc = stringsetloc(The best thing about me is that#I'm the only one!"The best thing about me is that#I'm the only one!", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_129_0" );
}
tempkeyitemname = stringsetloc(Lancer"Lancer", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_48_0" );
tempkeyitemusable = 1;
break;
... (fusionResult[fusioncount]);
|
|
113
|
fusionResultName[fusioncount] = tempkeyitemname;
|
|
114
|
fusionResultTopComment[fusioncount] = tempkeyitemdesc;
|
|
115
|
}
|
|
116
|
if (fusionHaveIngredient1[fusioncount] && fusionHaveIngredient2[fusioncount])
|
|
117
|
fusionCanMake[fusioncount] = 1;
|
|
118
|
fusioncount++;
|
|
119
|
}
|