| 1 |
function scr_gamestartscr_gamestartfunction scr_gamestart()
{
global.chapter = 4;
global.darkzone = 0;
global.filechoice = 0;
global.plot = 0;
global.truename = "";
global.othername[0] = "";
global.othername[1] = "";
global.othername[2] = "";
global.othername[3] = "";
global.othername[4] = "";
global.othername[5] = "";
global.othername[6] = "";
global.townname = stringsetloc("", "scr_gamestart_slash_scr_gamestart_gml_19_0");
global.time = 0;
global.fighting = 0;
global.char[0] = 1;
global.char[1] = 0;
global.char[2] = 0;
global.gold = 0;
global.xp = 0;
global.lv = 1;
global.inv = 0;
global.invc = 1;
global.charselect = -1;
global.encounterno = 1;
global.specialbattle = 0;
global.ambush = 0;
global.tension = 0;
global.maxtension = 250;
for (i = 0; i < 3; i += 1)
{
global.heromakex[i] = 100;
global.heromakey[i] = 200;
global.charauto[i] = 0;
global.charmove[i] = 0;
global.charcantarget[i] = 0;
global.chardead[i] = 0;
global.invincible[i] = 1;
global.charaction[i] = 0;
global.faceaction[i] = 0;
global.charcond[i] = 0;
}
global.item[0] = 0;
global.item[1] = 0;
global.item[2] = 0;
global.item[3] = 0;
global.item[4] = 0;
global.item[5] = 0;
global.item[6] = 0;
global.item[7] = 0;
global.item[8] = 0;
global.item[9] = 0;
global.item[10] = 0;
global.item[11] = 0;
global.item[12] = 0;
for (i = 0; i < 72; i++)
global.pocketitem[i] = 0;
for (i = 0; i < 48; i++)
{
global.weapon[i] = 0;
global.armor[i] = 0;
}
global.keyitem[0] = 1;
global.keyitem[1] = 0;
global.keyitem[2] = 0;
global.keyitem[3] = 0;
global.keyitem[4] = 0;
global.keyitem[5] = 0;
global.keyitem[6] = 0;
global.keyitem[7] = 0;
global.keyitem[8] = 0;
global.keyitem[9] = 0;
global.keyitem[10] = 0;
global.keyitem[11] = 0;
global.keyitem[12] = 0;
for (i = 0; i < 20; i += 1)
{
global.hp[i] = 200;
global.maxhp[i] = 250;
global.at[i] = 10;
global.df[i] = 2;
global.mag[i] = 0;
global.guts[i] = 0;
global.charweapon[i] = 1;
global.chararmor1[i] = 0;
global.chararmor2[i] = 0;
global.weaponstyle[i] = 0;
global.charname[i] = stringsetloc( " ", "scr_gamestart_slash_scr_gamestart_gml_72_0" );
for (q = 0; q < 4; q += 1)
{
global.itemat[i][q] = 0;
global.itemdf[i][q] = 0;
global.itemmag[i][q] = 0;
global.itembolts[i][q] = 0;
global.itemgrazeamt[i][q] = 0;
global.itemgrazesize[i][q] = 0;
global.itemboltspeed[i][q] = 0;
global.itemspecial[i][q] = 0;
global.itemelement[i][q] = 0;
... () |
| 2 |
{ |
| 3 |
global.chapter = 4; |
| 4 |
global.darkzone = 0; |
| 5 |
global.filechoice = 0; |
| 6 |
global.plot = 0; |
| 7 |
global.truename = ""; |
| 8 |
global.othername[0] = ""; |
| 9 |
global.othername[1] = ""; |
| 10 |
global.othername[2] = ""; |
| 11 |
global.othername[3] = ""; |
| 12 |
global.othername[4] = ""; |
| 13 |
global.othername[5] = ""; |
| 14 |
global.othername[6] = ""; |
| 15 |
global.townname = stringsetloc("", "scr_gamestart_slash_scr_gamestart_gml_19_0"); |
| 16 |
global.time = 0; |
| 17 |
global.fighting = 0; |
| 18 |
global.char[0] = 1; |
| 19 |
global.char[1] = 0; |
| 20 |
global.char[2] = 0; |
| 21 |
global.gold = 0; |
| 22 |
global.xp = 0; |
| 23 |
global.lv = 1; |
| 24 |
global.inv = 0; |
| 25 |
global.invc = 1; |
| 26 |
global.charselect = -1; |
| 27 |
global.encounterno = 1; |
| 28 |
global.specialbattle = 0; |
| 29 |
global.ambush = 0; |
| 30 |
global.tension = 0; |
| 31 |
global.maxtension = 250; |
| 32 |
for (i = 0; i < 3; i += 1) |
| 33 |
{ |
| 34 |
global.heromakex[i] = 100; |
| 35 |
global.heromakey[i] = 200; |
| 36 |
global.charauto[i] = 0; |
| 37 |
global.charmove[i] = 0; |
| 38 |
global.charcantarget[i] = 0; |
| 39 |
global.chardead[i] = 0; |
| 40 |
global.invincible[i] = 1; |
| 41 |
global.charaction[i] = 0; |
| 42 |
global.faceaction[i] = 0; |
| 43 |
global.charcond[i] = 0; |
| 44 |
} |
| 45 |
global.item[0] = 0; |
| 46 |
global.item[1] = 0; |
| 47 |
global.item[2] = 0; |
| 48 |
global.item[3] = 0; |
| 49 |
global.item[4] = 0; |
| 50 |
global.item[5] = 0; |
| 51 |
global.item[6] = 0; |
| 52 |
global.item[7] = 0; |
| 53 |
global.item[8] = 0; |
| 54 |
global.item[9] = 0; |
| 55 |
global.item[10] = 0; |
| 56 |
global.item[11] = 0; |
| 57 |
global.item[12] = 0; |
| 58 |
for (i = 0; i < 72; i++) |
| 59 |
global.pocketitem[i] = 0; |
| 60 |
for (i = 0; i < 48; i++) |
| 61 |
{ |
| 62 |
global.weapon[i] = 0; |
| 63 |
global.armor[i] = 0; |
| 64 |
} |
| 65 |
global.keyitem[0] = 1; |
| 66 |
global.keyitem[1] = 0; |
| 67 |
global.keyitem[2] = 0; |
| 68 |
global.keyitem[3] = 0; |
| 69 |
global.keyitem[4] = 0; |
| 70 |
global.keyitem[5] = 0; |
| 71 |
global.keyitem[6] = 0; |
| 72 |
global.keyitem[7] = 0; |
| 73 |
global.keyitem[8] = 0; |
| 74 |
global.keyitem[9] = 0; |
| 75 |
global.keyitem[10] = 0; |
| 76 |
global.keyitem[11] = 0; |
| 77 |
global.keyitem[12] = 0; |
| 78 |
for (i = 0; i < 20; i += 1) |
| 79 |
{ |
| 80 |
global.hp[i] = 200; |
| 81 |
global.maxhp[i] = 250; |
| 82 |
global.at[i] = 10; |
| 83 |
global.df[i] = 2; |
| 84 |
global.mag[i] = 0; |
| 85 |
global.guts[i] = 0; |
| 86 |
global.charweapon[i] = 1; |
| 87 |
global.chararmor1[i] = 0; |
| 88 |
global.chararmor2[i] = 0; |
| 89 |
global.weaponstyle[i] = 0; |
| 90 |
global.charname[i] = stringsetloc( " ", "scr_gamestart_slash_scr_gamestart_gml_72_0" ); |
| 91 |
for (q = 0; q < 4; q += 1) |
| 92 |
{ |
| 93 |
global.itemat[i][q] = 0; |
| 94 |
global.itemdf[i][q] = 0; |
| 95 |
global.itemmag[i][q] = 0; |
| 96 |
global.itembolts[i][q] = 0; |
| 97 |
global.itemgrazeamt[i][q] = 0; |
| 98 |
global.itemgrazesize[i][q] = 0; |
| 99 |
global.itemboltspeed[i][q] = 0; |
| 100 |
global.itemspecial[i][q] = 0; |
| 101 |
global.itemelement[i][q] = 0; |
| 102 |
global.itemelementamount[i][q] = 0; |
| 103 |
global.charauto[i] = 0; |
| 104 |
} |
| 105 |
for (j = 0; j < 12; j += 1) |
| 106 |
global.spell[i][j] = 0; |
| 107 |
} |
| 108 |
global.boltspeed = 100; |
| 109 |
global.grazeamt = 100; |
| 110 |
global.grazesize = 100; |
| 111 |
scr_initialize_charnamesscr_initialize_charnamesfunction scr_initialize_charnames()
{
global.lcharname = stringsetloc( Kris"Kris", "scr_gamestart_slash_scr_gamestart_gml_396_0" );
global.charname[0] = stringsetloc( " ", "scr_gamestart_slash_scr_gamestart_gml_101_0_b" );
global.charname[1] = stringsetloc( Kris"Kris", "scr_gamestart_slash_scr_gamestart_gml_99_0" );
global.charname[2] = stringsetloc( Susie"Susie", "scr_gamestart_slash_scr_gamestart_gml_100_0" );
global.charname[3] = stringsetloc( Ralsei"Ralsei", "scr_gamestart_slash_scr_gamestart_gml_101_0" );
global.charname[4] = stringsetloc( Noelle"Noelle", "scr_gamestart_slash_scr_gamestart_gml_105_0" );
} (); |
| 112 |
for (i = 0; i < 9999; i += 1) |
| 113 |
global.flag[i] = 0; |
| 114 |
global.charweapon[0] = 0; |
| 115 |
global.chararmor1[0] = 0; |
| 116 |
global.chararmor2[0] = 0; |
| 117 |
global.hp[0] = 0; |
| 118 |
global.maxhp[0] = 0; |
| 119 |
if (global.chapter == 1) |
| 120 |
{ |
| 121 |
global.hp[1] = 90; |
| 122 |
global.maxhp[1] = 90; |
| 123 |
global.at[1] = 10; |
| 124 |
global.charweapon[2] = 2; |
| 125 |
global.hp[2] = 110; |
| 126 |
global.maxhp[2] = 110; |
| 127 |
global.at[2] = 14; |
| 128 |
global.mag[2] = 1; |
| 129 |
global.charweapon[3] = 3; |
| 130 |
global.hp[3] = 70; |
| 131 |
global.maxhp[3] = 70; |
| 132 |
global.at[3] = 8; |
| 133 |
global.mag[3] = 7; |
| 134 |
} |
| 135 |
if (global.chapter == 2) |
| 136 |
{ |
| 137 |
global.maxhp[1] = 120; |
| 138 |
global.hp[1] = global.maxhp[1]; |
| 139 |
global.at[1] = 12; |
| 140 |
global.chararmor1[1] = 1; |
| 141 |
global.chararmor2[1] = 1; |
| 142 |
global.charweapon[2] = 2; |
| 143 |
global.maxhp[2] = 140; |
| 144 |
global.hp[2] = global.maxhp[2]; |
| 145 |
global.at[2] = 16; |
| 146 |
global.mag[2] = 1; |
| 147 |
global.chararmor1[2] = 1; |
| 148 |
global.chararmor2[2] = 1; |
| 149 |
global.charweapon[3] = 3; |
| 150 |
global.maxhp[3] = 100; |
| 151 |
global.hp[3] = global.maxhp[3]; |
| 152 |
global.at[3] = 10; |
| 153 |
global.mag[3] = 9; |
| 154 |
global.chararmor1[3] = 1; |
| 155 |
global.chararmor2[3] = 4; |
| 156 |
global.charweapon[4] = 12; |
| 157 |
global.chararmor1[4] = 14; |
| 158 |
global.chararmor2[4] = 22; |
| 159 |
global.hp[4] = 90; |
| 160 |
global.maxhp[4] = 90; |
| 161 |
global.at[4] = 3; |
| 162 |
global.mag[4] = 11; |
| 163 |
global.df[4] = 1; |
| 164 |
} |
| 165 |
if (global.chapter == 3) |
| 166 |
{ |
| 167 |
global.maxhp[1] = 160; |
| 168 |
global.hp[1] = global.maxhp[1]; |
| 169 |
global.at[1] = 14; |
| 170 |
global.charweapon[1] = 16; |
| 171 |
global.chararmor1[1] = 1; |
| 172 |
global.chararmor2[1] = 10; |
| 173 |
global.charweapon[2] = 2; |
| 174 |
global.maxhp[2] = 190; |
| 175 |
global.hp[2] = global.maxhp[2]; |
| 176 |
global.at[2] = 18; |
| 177 |
global.mag[2] = 2; |
| 178 |
global.charweapon[2] = 17; |
| 179 |
global.chararmor1[2] = 1; |
| 180 |
global.chararmor2[2] = 10; |
| 181 |
global.charweapon[3] = 3; |
| 182 |
global.maxhp[3] = 140; |
| 183 |
global.hp[3] = global.maxhp[3]; |
| 184 |
global.at[3] = 12; |
| 185 |
global.mag[3] = 11; |
| 186 |
global.charweapon[3] = 18; |
| 187 |
global.chararmor1[3] = 25; |
| 188 |
global.chararmor2[3] = 10; |
| 189 |
global.charweapon[4] = 12; |
| 190 |
global.chararmor1[4] = 14; |
| 191 |
global.chararmor2[4] = 22; |
| 192 |
global.hp[4] = 90; |
| 193 |
global.maxhp[4] = 90; |
| 194 |
global.at[4] = 3; |
| 195 |
global.mag[4] = 11; |
| 196 |
global.df[4] = 1; |
| 197 |
} |
| 198 |
if (global.chapter == 4) |
| 199 |
{ |
| 200 |
global.maxhp[1] = 200; |
| 201 |
global.hp[1] = global.maxhp[1]; |
| 202 |
global.at[1] = 17; |
| 203 |
global.charweapon[1] = 23; |
| 204 |
global.chararmor1[1] = 25; |
| 205 |
global.chararmor2[1] = 10; |
| 206 |
global.charweapon[2] = 2; |
| 207 |
global.maxhp[2] = 230; |
| 208 |
global.hp[2] = global.maxhp[2]; |
| 209 |
global.at[2] = 22; |
| 210 |
global.mag[2] = 3; |
| 211 |
global.charweapon[2] = 24; |
| 212 |
global.chararmor1[2] = 25; |
| 213 |
global.chararmor2[2] = 10; |
| 214 |
global.charweapon[3] = 3; |
| 215 |
global.maxhp[3] = 180; |
| 216 |
global.hp[3] = global.maxhp[3]; |
| 217 |
global.at[3] = 15; |
| 218 |
global.mag[3] = 14; |
| 219 |
global.charweapon[3] = 25; |
| 220 |
global.chararmor1[3] = 25; |
| 221 |
global.chararmor2[3] = 10; |
| 222 |
global.charweapon[4] = 12; |
| 223 |
global.chararmor1[4] = 14; |
| 224 |
global.chararmor2[4] = 22; |
| 225 |
global.hp[4] = 90; |
| 226 |
global.maxhp[4] = 90; |
| 227 |
global.at[4] = 3; |
| 228 |
global.mag[4] = 11; |
| 229 |
global.df[4] = 1; |
| 230 |
} |
| 231 |
global.spell[1][0] = 7; |
| 232 |
global.spell[2][0] = 4; |
| 233 |
global.spell[2][1] = 11; |
| 234 |
global.spell[3][0] = 3; |
| 235 |
global.spell[3][1] = 2; |
| 236 |
global.spell[4][0] = 2; |
| 237 |
global.spell[4][1] = 8; |
| 238 |
global.spell[4][2] = 9; |
| 239 |
scr_weaponinfo_minescr_weaponinfo_minefunction scr_weaponinfo_mine()
{
for (i = 0; i < 6; i += 1)
{
scr_weaponinfo(global.charweapon[i]);
charweaponname[i] = weaponnametemp;
charweapondesc[i] = weapondesctemp;
charweaponat[i] = weaponattemp;
charweapondf[i] = weapondftemp;
charweaponmag[i] = weaponmagtemp;
charweaponbolts[i] = weaponboltstemp;
charweaponstyle[i] = weaponstyletemp;
charweapongrazeamt[i] = weapongrazeamttemp;
charweapongrazesize[i] = weapongrazesizetemp;
charweaponability[i] = weaponabilitytemp;
charweaponabilityicon[i] = weaponabilityicontemp;
charweaponicon[i] = weaponicontemp;
global.itemat[i][0] = weaponattemp;
global.itemdf[i][0] = weapondftemp;
global.itemmag[i][0] = weaponmagtemp;
global.itembolts[i][0] = weaponboltstemp;
global.itemgrazeamt[i][0] = weapongrazeamttemp;
global.itemgrazesize[i][0] = weapongrazesizetemp;
}
} (); |
| 240 |
scr_armorinfo_minescr_armorinfo_minefunction 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;
}
} (); |
| 241 |
scr_iteminfo_allscr_iteminfo_allfunction scr_iteminfo_all()
{
for (i = 0; i < 12; i += 1)
{
itemid = global.item[i];
scr_iteminfo(itemid);
global.itemnameb[i] = itemnameb;
global.itemdescb[i] = itemdescb;
global.itemvalue[i] = value;
global.itemusable[i] = usable;
}
} (); |
| 242 |
global.grazetotal = 0; |
| 243 |
global.grazeturn = 0; |
| 244 |
for (i = 0; i < 3; i += 1) |
| 245 |
{ |
| 246 |
global.monstermakex[i] = 500; |
| 247 |
global.monstermakey[i] = 240; |
| 248 |
global.monsterinstancetype[i] = 2283728; |
| 249 |
global.monster[i] = 1; |
| 250 |
global.monstername[i] = stringsetloc(TERUTERUBOUZU"TERUTERUBOUZU", "scr_gamestart_slash_scr_gamestart_gml_340_0" ); |
| 251 |
global.monstertype[i] = 1Enemy (placeholder/G-BODY); |
| 252 |
global.monsterat[i] = 3; |
| 253 |
global.monsterdf[i] = 2; |
| 254 |
global.monsterhp[i] = 20; |
| 255 |
global.monstermaxhp[i] = 20; |
| 256 |
global.sparepoint[i] = 0; |
| 257 |
global.monsterattackname[i] = " "; |
| 258 |
} |
| 259 |
global.bmenuno = 0; |
| 260 |
for (i = 0; i < 20; i += 1) |
| 261 |
{ |
| 262 |
for (j = 0; j < 20; j += 1) |
| 263 |
global.bmenucoord[i][j] = 0; |
| 264 |
} |
| 265 |
global.myfight = 0; |
| 266 |
global.mnfight = 0; |
| 267 |
draw_set_color(c_white); |
| 268 |
global.fc = 0; |
| 269 |
global.fe = 0; |
| 270 |
global.typer = 5; |
| 271 |
global.battletyper = 4; |
| 272 |
global.msg = " "; |
| 273 |
global.msc = 0; |
| 274 |
global.msgno = 0; |
| 275 |
for (i = 0; i < 10; i += 1) |
| 276 |
{ |
| 277 |
global.writersnd[i] = snd_noise; |
| 278 |
global.writerimg[i] = spr_btact; |
| 279 |
global.writerobj[i] = obj_funnytext; |
| 280 |
global.writerobjsettinga[i] = 0; |
| 281 |
global.writerobjsettingb[i] = 0; |
| 282 |
global.writerobjx[i] = 0; |
| 283 |
global.writerobjy[i] = 0; |
| 284 |
global.smdir[i] = 90; |
| 285 |
global.smspeed[i] = 2; |
| 286 |
global.smsprite[i] = spr_smallface_s0; |
| 287 |
global.smalarm[i] = 20; |
| 288 |
global.smtype[i] = 0; |
| 289 |
global.smxx[i] = 100; |
| 290 |
global.smyy[i] = 110; |
| 291 |
global.smimage[i] = 0; |
| 292 |
global.smimagespeed[i] = 0; |
| 293 |
global.sminstance[i] = 4384738473; |
| 294 |
global.smcolor[i] = c_white; |
| 295 |
global.smstring[i] = stringsetloc( " ", "scr_gamestart_slash_scr_gamestart_gml_282_0" ); |
| 296 |
} |
| 297 |
global.smalarm[1] = 15; |
| 298 |
global.smyy[1] = 70; |
| 299 |
global.smxx[1] = 700; |
| 300 |
global.smdir[1] = 180; |
| 301 |
global.smspeed[1] = 40; |
| 302 |
global.smtype[1] = 3; |
| 303 |
global.smsprite[1] = spr_smallface_a2; |
| 304 |
global.smcolor[1] = c_white; |
| 305 |
global.smstring[1] = stringsetloc( " ", "scr_gamestart_slash_scr_gamestart_gml_293_0" ); |
| 306 |
for (i = 0; i < 100; i += 1) |
| 307 |
global.msg[i] = stringsetloc(Close MessageClose Message"%%", "scr_gamestart_slash_scr_gamestart_gml_297_0" ); |
| 308 |
global.msg[0] = stringsetloc( " ", "scr_gamestart_slash_scr_gamestart_gml_300_0" ); |
| 309 |
global.msg[1] = stringsetloc( " ", "scr_gamestart_slash_scr_gamestart_gml_303_0" ); |
| 310 |
global.msg[2] = stringsetloc( " ", "scr_gamestart_slash_scr_gamestart_gml_305_0" ); |
| 311 |
global.msg[3] = stringsetloc( " ", "scr_gamestart_slash_scr_gamestart_gml_306_0" ); |
| 312 |
global.msg[4] = stringsetloc( " ", "scr_gamestart_slash_scr_gamestart_gml_307_0" ); |
| 313 |
global.currentsong[0] = snd_nosound; |
| 314 |
global.currentsong[1] = snd_nosound; |
| 315 |
global.batmusic[0] = snd_nosound; |
| 316 |
global.batmusic[1] = snd_nosound; |
| 317 |
global.fc = 0; |
| 318 |
global.fe = 0; |
| 319 |
global.choice = -1; |
| 320 |
global.seriousbattle = 0; |
| 321 |
global.turntimer = 0; |
| 322 |
global.mnfight = 0; |
| 323 |
global.myfight = 0; |
| 324 |
global.interact = 0; |
| 325 |
global.entrance = 0; |
| 326 |
for (i = 0; i < 9; i += 1) |
| 327 |
{ |
| 328 |
global.litem[i] = 0; |
| 329 |
global.litemname[i] = ""; |
| 330 |
global.phone[i] = 0; |
| 331 |
global.phonename[i] = stringsetloc("", "scr_gamestart_slash_scr_gamestart_gml_341_0"); |
| 332 |
} |
| 333 |
for (i = 0; i < 20; i += 1) |
| 334 |
global.menucoord[i] = 0; |
| 335 |
for (i = 0; i < 100; i += 1) |
| 336 |
global.msg[i] = stringsetloc( " ", "scr_gamestart_slash_scr_gamestart_gml_353_0" ); |
| 337 |
global.choicemsg[0] = stringsetloc(Yes"Yes", "scr_gamestart_slash_scr_gamestart_gml_356_0_b" ); |
| 338 |
global.choicemsg[1] = stringsetloc(No"No", "scr_gamestart_slash_scr_gamestart_gml_357_0" ); |
| 339 |
global.choicemsg[2] = stringsetloc(Maybe"Maybe", "scr_gamestart_slash_scr_gamestart_gml_358_0" ); |
| 340 |
global.choicemsg[3] = stringsetloc(Don't know"Don't know", "scr_gamestart_slash_scr_gamestart_gml_359_0" ); |
| 341 |
global.litem[0] = 0; |
| 342 |
global.litemname[0] = " "; |
| 343 |
global.phone[0] = 201; |
| 344 |
global.phonename[0] = stringsetloc(Home"Home", "scr_gamestart_slash_scr_gamestart_gml_356_0" ); |
| 345 |
global.lcharname = stringsetloc(Kris"Kris", "scr_gamestart_slash_scr_gamestart_gml_396_0" ); |
| 346 |
global.lweapon = 2; |
| 347 |
global.larmor = 3; |
| 348 |
global.lxp = 0; |
| 349 |
global.llv = 1; |
| 350 |
global.lgold = 2; |
| 351 |
global.lhp = 20; |
| 352 |
global.lmaxhp = 20; |
| 353 |
global.lat = 10; |
| 354 |
global.ldf = 10; |
| 355 |
global.lwstrength = 1; |
| 356 |
global.ladef = 0; |
| 357 |
global.facing = 0; |
| 358 |
global.flag[15 sound_volume] = 1; |
| 359 |
global.flag[16 music_volume] = 0.85; |
| 360 |
global.flag[17 audio_volume] = 0.6; |
| 361 |
for (i = 0; i < 10; i += 1) |
| 362 |
{ |
| 363 |
global.input_pressed[i] = 0; |
| 364 |
global.input_held[i] = 0; |
| 365 |
global.input_released[i] = 0; |
| 366 |
} |
| 367 |
global.flag[220 thrash_machine_head] = choose(0, 1, 2, 3); |
| 368 |
global.flag[221 thrash_machine_body] = choose(0, 1, 2, 3); |
| 369 |
global.flag[222 thrash_machine_shoe] = choose(0, 1, 2, 3); |
| 370 |
global.flag[223 thrash_head_color] = floor(random(31)); |
| 371 |
global.flag[224 thrash_body_color] = floor(random(31)); |
| 372 |
global.flag[225 thrash_shot_color] = floor(random(31)); |
| 373 |
if (global.chapter >= 2) |
| 374 |
{ |
| 375 |
global.flag[605 recruit_rudinn] = 1; |
| 376 |
global.flag[606 recruit_hathy] = 1; |
| 377 |
global.flag[611 recruit_ponman] = 1; |
| 378 |
global.flag[613 recruit_rabbick] = 1; |
| 379 |
global.flag[614 recruit_bloxer] = 1; |
| 380 |
global.flag[615 recruit_jigsaw] = 1; |
| 381 |
global.flag[622 recruit_rudinn_ranger] = 1; |
| 382 |
global.flag[623 recruit_head_hathy] = 1; |
| 383 |
global.flag[800 cafe_topleft] = 15; |
| 384 |
global.flag[801 cafe_topright] = 5; |
| 385 |
global.flag[802 cafe_bottomleft] = 6; |
| 386 |
global.flag[803 cafe_bottomright] = 5; |
| 387 |
} |
| 388 |
if (global.chapter >= 3) |
| 389 |
{ |
| 390 |
global.flag[457 spared_berdly] = 1; |
| 391 |
global.flag[632 recruit_tasque] = 1; |
| 392 |
global.flag[633 recruit_plugboy] = 1; |
| 393 |
global.flag[636 recruit_butler] = 1; |
| 394 |
global.flag[642 recruit_task_manager] = 1; |
| 395 |
global.flag[654 recruit_shadowguy] = 1; |
| 396 |
global.flag[656 recruit_zapper] = 1; |
| 397 |
global.flag[657 recruit_ribbick] = 1; |
| 398 |
global.flag[659 recruit_pippins] = 1; |
| 399 |
global.flag[660 recruit_elnina] = 1; |
| 400 |
global.flag[661 recruit_lanino] = 1; |
| 401 |
} |
| 402 |
scr_gamestart_chapter_override(); |
| 403 |
scr_spellinfo_allscr_spellinfo_allfunction scr_spellinfo_all()
{
for (j = 0; j < 6; j += 1)
{
for (i = 0; i < 12; i += 1)
{
spellid = global.spell[j][i];
scr_spellinfo(spellid);
global.spellname[j][i] = spellname;
global.spellnameb[j][i] = spellnameb;
global.spelldescb[j][i] = spelldescb;
global.spelldesc[j][i] = spelldesc;
global.spellcost[j][i] = cost;
global.spellusable[j][i] = spellusable;
global.spelltarget[j][i] = spelltarget;
}
}
} (); |
| 404 |
scr_weaponinfo_minescr_weaponinfo_minefunction scr_weaponinfo_mine()
{
for (i = 0; i < 6; i += 1)
{
scr_weaponinfo(global.charweapon[i]);
charweaponname[i] = weaponnametemp;
charweapondesc[i] = weapondesctemp;
charweaponat[i] = weaponattemp;
charweapondf[i] = weapondftemp;
charweaponmag[i] = weaponmagtemp;
charweaponbolts[i] = weaponboltstemp;
charweaponstyle[i] = weaponstyletemp;
charweapongrazeamt[i] = weapongrazeamttemp;
charweapongrazesize[i] = weapongrazesizetemp;
charweaponability[i] = weaponabilitytemp;
charweaponabilityicon[i] = weaponabilityicontemp;
charweaponicon[i] = weaponicontemp;
global.itemat[i][0] = weaponattemp;
global.itemdf[i][0] = weapondftemp;
global.itemmag[i][0] = weaponmagtemp;
global.itembolts[i][0] = weaponboltstemp;
global.itemgrazeamt[i][0] = weapongrazeamttemp;
global.itemgrazesize[i][0] = weapongrazesizetemp;
}
} (); |
| 405 |
scr_armorinfo_minescr_armorinfo_minefunction 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;
}
} (); |
| 406 |
audio_set_master_gain(0, global.flag[17 audio_volume]); |
| 407 |
global.cinstance[0] = 4854845464869464; |
| 408 |
global.cinstance[1] = 48548454648694644; |
| 409 |
global.cinstance[2] = 48548454648694649; |
| 410 |
} |