Script Greet :
PrintText (#0 "");
ObjetTraFile [#63/C0 "greetRnd"] = Random [0;7[;
if (ObjetTraFile [#63/C0 "greetRnd"] == 0) {
PrintText (#4 "Keep your flatteries.");
}
if (ObjetTraFile [#63/C0 "greetRnd"] == 1) {
PrintText (#5 "I greet you.");
}
if (ObjetTraFile [#63/C0 "greetRnd"] == 2) {
PrintText (#6 "I was once a warrior...");
}
if (ObjetTraFile [#63/C0 "greetRnd"] == 3) {
PrintText (#7 "Look, a human insect!");
PrintText (#8 " ");
}
if (ObjetTraFile [#63/C0 "greetRnd"] == 4) {
PrintText (#9 "I greet you");
}
if (ObjetTraFile [#63/C0 "greetRnd"] == 5) {
PrintText (#10 "Hi, human.");
}
if (ObjetTraFile [#63/C0 "greetRnd"] == 6) {
PrintText (#11 "You seem to be yourself");
PrintText (#12 "glorious warriors.");
}
return;
--------------------------------------------------------------------------------
Script Room_00 :
DoOnce {
ObjetTraFile [#78/60 "Spawn encounter: monBlockIndex"] = 5 "Lizard Lord";
ObjetTraFile [#84/10 "Spawn/Change encounter: isEnemy"] = 1;
ObjetTraFile [#80/50 "Spawn encounter: level"] = 19;
ObjetTraFile [#81/30 "Spawn encounter: priority"] = 0;
ObjetTraFile [#82/80 "Spawn encounter: x"] = 80;
ObjetTraFile [#83/70 "Spawn encounter: y"] = 113;
ObjetTraFile [#85/40 "encounterActiveIndex"] = 0;
SpecialAction (#4 "F_A0_B3_H04_SpawnEncounter");
ObjetTraFile [#82/80 "Spawn encounter: x"] = 120;
SpecialAction (#4 "F_A0_B3_H04_SpawnEncounter");
}
return;
--------------------------------------------------------------------------------
Script Room_01 :
ObjetTraFile [#69/C0 "counterD"] = ObjetTraFile [#69/C0 "counterD"] + 1;
if (ObjetTraFile [#96/40 "Game_state"] == 12) {
if (ObjetTraFile [#31/10 "D5R01 isPrinceHazhulkhenFireDead"] == 0) {
Reset_68
DoOnce {
ObjetTraFile [#69/C0 "counterD"] = 0;
ObjetTraFile [#78/60 "Spawn encounter: monBlockIndex"] = 52 "Prince Hazhulkhen";
ObjetTraFile [#84/10 "Spawn/Change encounter: isEnemy"] = 1;
ObjetTraFile [#80/50 "Spawn encounter: level"] = 22;
ObjetTraFile [#81/30 "Spawn encounter: priority"] = 5;
ObjetTraFile [#82/80 "Spawn encounter: x"] = 210;
ObjetTraFile [#83/70 "Spawn encounter: y"] = 110;
ObjetTraFile [#85/40 "encounterActiveIndex"] = 1;
SpecialAction (#4 "F_A0_B3_H04_SpawnEncounter");
ObjetTraFile [#41/08 "Encounter1: initial HP"] = ObjetTraFile [#41/80 "Encounter1: HP"];
PrintText (#0 "");
PrintText (#13 "So, filthy lice,");
PrintText (#14 "You have crawled this far.");
}
if (ObjetTraFile [#41/08 "Encounter1: initial HP"] == ObjetTraFile [#41/80 "Encounter1: HP"]) {
if (ObjetTraFile [#69/C0 "counterD"] == 20) {
DoOnce {
PrintText (#0 "");
PrintText (#15 "I feel that you are carrying");
PrintText (#16 "the gems.");
PrintText (#17 "Thanks a lot for bringing");
PrintText (#18 "them, because now I will be");
PrintText (#19 "invincible with them.");
}
}
}
if (ObjetTraFile [#41/80 "Encounter1: HP"] == 0) {
DoOnce {
ObjetTraFile [#31/10 "D5R01 isPrinceHazhulkhenFireDead"] = 1;
ObjetTraFile [#10/10 "Tear #2 D5R01 Prince Hazhulkhen (Fire)"] = 1;
ObjetTraFile [#96/40 "Game_state"] = 13;
}
}
}
}
return;
--------------------------------------------------------------------------------
Script Room_03 :
DoOnce {
if (ObjetTraFile [#70/10 "isVisible"] == 1) {
PrintText (#0 "");
PrintText (#20 "The only a good human is a dead");
PrintText (#21 "human, so be good.");
}
ObjetTraFile [#78/60 "Spawn encounter: monBlockIndex"] = 31 "Golem";
ObjetTraFile [#84/10 "Spawn/Change encounter: isEnemy"] = 1;
ObjetTraFile [#80/50 "Spawn encounter: level"] = 18;
ObjetTraFile [#81/30 "Spawn encounter: priority"] = 0;
ObjetTraFile [#82/80 "Spawn encounter: x"] = 80;
ObjetTraFile [#83/70 "Spawn encounter: y"] = 113;
ObjetTraFile [#85/40 "encounterActiveIndex"] = 0;
SpecialAction (#4 "F_A0_B3_H04_SpawnEncounter");
ObjetTraFile [#82/80 "Spawn encounter: x"] = 120;
SpecialAction (#4 "F_A0_B3_H04_SpawnEncounter");
}
return;
--------------------------------------------------------------------------------
Script Room_04 :
SpecialAction (#13 "F_A0_B3_H13_DispelPartyMagic");
return;
--------------------------------------------------------------------------------
Script Room_05 :
ObjetTraFile [#66/C0 "counterA"] = ObjetTraFile [#66/C0 "counterA"] + 1;
if (ObjetTraFile [#77/80 "activationValue"] == 1) {
if (ObjetTraFile [#94/40 "D0R04, D5R05, Walk3D_sunLightningStep (0-8)"] == 0) {
if (ObjetTraFile [#42/C8 "D5R05 Selected character Class"] == 4 "4: -M--") {
Reset_103
DoOnce {
ObjetTraFile [#66/C0 "counterA"] = 0;
ObjetTraFile [#75/30 "roomTypeFX"] = 7 "7: 2 blue lightnings V";
PlaySound (#9);
ObjetTraFile [#88/30 "Find weapon: listIndex"] = 6 "List6: Sword, Longsword x2, Drags x3";
ObjetTraFile [#90/20 "Find weapon/armor: mod"] = 3;
SpecialAction (#7 "F_A0_B3_H07_FindWeapon");
ObjetTraFile [#89/30 "Find armor: listIndex"] = 1 "List1: Cuirasses";
ObjetTraFile [#90/20 "Find weapon/armor: mod"] = 3;
SpecialAction (#8 "F_A0_B3_H08_FindArmor");
ObjetTraFile [#89/30 "Find armor: listIndex"] = 2 "List2: Greaves";
ObjetTraFile [#90/20 "Find weapon/armor: mod"] = 3;
SpecialAction (#8 "F_A0_B3_H08_FindArmor");
}
}
}
}
if (ObjetTraFile [#66/C0 "counterA"] == 40) {
ObjetTraFile [#75/30 "roomTypeFX"] = 0 "0: no FX";
}
return;
--------------------------------------------------------------------------------
Script Room_06 :
DoOnce {
if (ObjetTraFile [#70/10 "isVisible"] == 1) {
PrintText (#0 "");
PrintText (#22 "Humans! Guards!");
}
ObjetTraFile [#78/60 "Spawn encounter: monBlockIndex"] = 4 "Lizard Knight";
ObjetTraFile [#84/10 "Spawn/Change encounter: isEnemy"] = 1;
ObjetTraFile [#80/50 "Spawn encounter: level"] = 20;
ObjetTraFile [#81/30 "Spawn encounter: priority"] = 0;
ObjetTraFile [#82/80 "Spawn encounter: x"] = 80;
ObjetTraFile [#83/70 "Spawn encounter: y"] = 113;
ObjetTraFile [#85/40 "encounterActiveIndex"] = 0;
SpecialAction (#4 "F_A0_B3_H04_SpawnEncounter");
}
return;
--------------------------------------------------------------------------------
Script Room_07 :
DoOnce {
if (ObjetTraFile [#70/10 "isVisible"] == 1) {
PrintText (#0 "");
PrintText (#23 "There is a reward on your head.");
PrintText (#24 "And I want it...");
}
ObjetTraFile [#78/60 "Spawn encounter: monBlockIndex"] = 5 "Lizard Lord";
ObjetTraFile [#84/10 "Spawn/Change encounter: isEnemy"] = 1;
ObjetTraFile [#80/50 "Spawn encounter: level"] = 18;
ObjetTraFile [#81/30 "Spawn encounter: priority"] = 2;
ObjetTraFile [#82/80 "Spawn encounter: x"] = 80;
ObjetTraFile [#83/70 "Spawn encounter: y"] = 113;
ObjetTraFile [#85/40 "encounterActiveIndex"] = 0;
SpecialAction (#4 "F_A0_B3_H04_SpawnEncounter");
ObjetTraFile [#82/80 "Spawn encounter: x"] = 120;
SpecialAction (#4 "F_A0_B3_H04_SpawnEncounter");
}
return;
--------------------------------------------------------------------------------
Script Room_09 :
SpecialAction (#13 "F_A0_B3_H13_DispelPartyMagic");
return;
--------------------------------------------------------------------------------
Script Room_10 :
SpecialAction (#13 "F_A0_B3_H13_DispelPartyMagic");
return;
--------------------------------------------------------------------------------
Script Room_11 :
DoOnce {
if (ObjetTraFile [#70/10 "isVisible"] == 1) {
PrintText (#0 "");
PrintText (#25 "The Masters do not like");
PrintText (#26 "being disturbed.");
}
ObjetTraFile [#78/60 "Spawn encounter: monBlockIndex"] = 40 "Goblin";
ObjetTraFile [#84/10 "Spawn/Change encounter: isEnemy"] = 0;
ObjetTraFile [#80/50 "Spawn encounter: level"] = 12;
ObjetTraFile [#81/30 "Spawn encounter: priority"] = 0;
ObjetTraFile [#82/80 "Spawn encounter: x"] = 90;
ObjetTraFile [#83/70 "Spawn encounter: y"] = 113;
ObjetTraFile [#85/40 "encounterActiveIndex"] = 0;
SpecialAction (#4 "F_A0_B3_H04_SpawnEncounter");
ObjetTraFile [#82/80 "Spawn encounter: x"] = 110;
SpecialAction (#4 "F_A0_B3_H04_SpawnEncounter");
}
return;
--------------------------------------------------------------------------------
Script Room_14 :
SpecialAction (#13 "F_A0_B3_H13_DispelPartyMagic");
return;
--------------------------------------------------------------------------------
Script Room_15 :
DoOnce {
ObjetTraFile [#78/60 "Spawn encounter: monBlockIndex"] = 41 "Troll";
ObjetTraFile [#84/10 "Spawn/Change encounter: isEnemy"] = 1;
ObjetTraFile [#80/50 "Spawn encounter: level"] = 19;
ObjetTraFile [#81/30 "Spawn encounter: priority"] = 0;
ObjetTraFile [#82/80 "Spawn encounter: x"] = 82;
ObjetTraFile [#83/70 "Spawn encounter: y"] = 110;
ObjetTraFile [#85/40 "encounterActiveIndex"] = 0;
SpecialAction (#4 "F_A0_B3_H04_SpawnEncounter");
ObjetTraFile [#82/80 "Spawn encounter: x"] = 140;
SpecialAction (#4 "F_A0_B3_H04_SpawnEncounter");
ObjetTraFile [#65/C0 "Earn XP: amount"] = 904;
SpecialAction (#14 "F_A0_B3_H14_CharacterEarnsExperience");
}
return;
--------------------------------------------------------------------------------
Script Room_16_Start :
Reset_1F7
DoOnce {
ObjetTraFile [#79/50 "Spawn encounter: baseLevel"] = 14;
ObjetTraFile [#25/10 "D5R16_isForceFieldDisabled"] = 0;
ObjetTraFile [#72/50 "roomIndexB"] = 16;
ObjetTraFile [#71/50 "roomIndexA"] = 17;
ObjetTraFile [#74/30 "roomExitIndex"] = 0 "0: Left";
ObjetTraFile [#75/30 "roomTypeFX"] = 1 "1: doors lightning";
SpecialAction (#1 "F_A0_B3_H01_DisableAndLockExit");
ObjetTraFile [#71/50 "roomIndexA"] = 15;
ObjetTraFile [#74/30 "roomExitIndex"] = 2 "2: Top Mid";
SpecialAction (#1 "F_A0_B3_H01_DisableAndLockExit");
PrintText (#0 "");
PrintText (#31 "You have just broken into");
PrintText (#32 "the palace of Prince Hazhulkhen");
PrintText (#33 "the Prince of Fire... and Death.");
}
if (ObjetTraFile [#76/30 "activationType"] == 3 "3: Inspect") {
PrintText (#0 "");
if (ObjetTraFile [#77/80 "activationValue"] <> 1) {
if (ObjetTraFile [#77/80 "activationValue"] <> 2)
Goto Label_237;
}
PrintText (#1 "You see");
PrintText (#30 "an elementary symbol.");
Goto Label_241;
Label_237
if (ObjetTraFile [#25/10 "D5R16_isForceFieldDisabled"] == 0) {
PrintText (#27 "A powerful energy field");
PrintText (#28 "blocks your way.");
PrintText (#29 "Name me...");
}
}
Label_241
if (ObjetTraFile [#76/30 "activationType"] == 2 "2: Activate") {
if (ObjetTraFile [#77/80 "activationValue"] <> 2) {
if (ObjetTraFile [#96/40 "Game_state"] >= 10)
Goto Label_275;
}
ObjetTraFile [#78/60 "Spawn encounter: monBlockIndex"] = 55 "Flame";
ObjetTraFile [#84/10 "Spawn/Change encounter: isEnemy"] = 1;
ObjetTraFile [#80/50 "Spawn encounter: level"] = ObjetTraFile [#79/50 "Spawn encounter: baseLevel"];
ObjetTraFile [#81/30 "Spawn encounter: priority"] = 0;
ObjetTraFile [#82/80 "Spawn encounter: x"] = 218;
ObjetTraFile [#83/70 "Spawn encounter: y"] = 117;
ObjetTraFile [#85/40 "encounterActiveIndex"] = 0;
SpecialAction (#4 "F_A0_B3_H04_SpawnEncounter");
ObjetTraFile [#82/80 "Spawn encounter: x"] = 127;
SpecialAction (#4 "F_A0_B3_H04_SpawnEncounter");
ObjetTraFile [#79/50 "Spawn encounter: baseLevel"] = ObjetTraFile [#79/50 "Spawn encounter: baseLevel"] + 2;
Label_275
if (ObjetTraFile [#77/80 "activationValue"] == 1) {
ObjetTraFile [#72/50 "roomIndexB"] = 16;
ObjetTraFile [#71/50 "roomIndexA"] = 17;
ObjetTraFile [#74/30 "roomExitIndex"] = 0 "0: Left";
ObjetTraFile [#75/30 "roomTypeFX"] = 0 "0: no FX";
SpecialAction (#0 "F_A0_B3_H00_EnableAndOpenExit");
ObjetTraFile [#71/50 "roomIndexA"] = 15;
ObjetTraFile [#74/30 "roomExitIndex"] = 2 "2: Top Mid";
SpecialAction (#0 "F_A0_B3_H00_EnableAndOpenExit");
ObjetTraFile [#25/10 "D5R16_isForceFieldDisabled"] = 1;
PrintText (#0 "");
PrintText (#34 "The magic field fades.");
}
}
return;
--------------------------------------------------------------------------------
Script Room_17 :
DoOnce {
if (ObjetTraFile [#70/10 "isVisible"] == 1) {
PrintText (#0 "");
PrintText (#35 "They are the humans which we are");
PrintText (#36 "looking for. Let us catch them!");
}
ObjetTraFile [#78/60 "Spawn encounter: monBlockIndex"] = 41 "Troll";
ObjetTraFile [#84/10 "Spawn/Change encounter: isEnemy"] = 1;
ObjetTraFile [#80/50 "Spawn encounter: level"] = 13;
ObjetTraFile [#81/30 "Spawn encounter: priority"] = 0;
ObjetTraFile [#82/80 "Spawn encounter: x"] = 82;
ObjetTraFile [#83/70 "Spawn encounter: y"] = 110;
ObjetTraFile [#85/40 "encounterActiveIndex"] = 0;
SpecialAction (#4 "F_A0_B3_H04_SpawnEncounter");
ObjetTraFile [#80/50 "Spawn encounter: level"] = 16;
ObjetTraFile [#82/80 "Spawn encounter: x"] = 140;
SpecialAction (#4 "F_A0_B3_H04_SpawnEncounter");
ObjetTraFile [#65/C0 "Earn XP: amount"] = 1904;
SpecialAction (#14 "F_A0_B3_H14_CharacterEarnsExperience");
}
return;
--------------------------------------------------------------------------------
Script Room_19 :
ObjetTraFile [#66/C0 "counterA"] = ObjetTraFile [#66/C0 "counterA"] + 1;
DoOnce {
ObjetTraFile [#66/C0 "counterA"] = 0;
ObjetTraFile [#78/60 "Spawn encounter: monBlockIndex"] = 5 "Lizard Lord";
ObjetTraFile [#84/10 "Spawn/Change encounter: isEnemy"] = 0;
ObjetTraFile [#80/50 "Spawn encounter: level"] = 19;
ObjetTraFile [#81/30 "Spawn encounter: priority"] = 6;
ObjetTraFile [#82/80 "Spawn encounter: x"] = 82;
ObjetTraFile [#83/70 "Spawn encounter: y"] = 120;
ObjetTraFile [#85/40 "encounterActiveIndex"] = 4;
SpecialAction (#4 "F_A0_B3_H04_SpawnEncounter");
ObjetTraFile [#38/08 "Encounter4: initial HP"] = ObjetTraFile [#38/80 "Encounter4: HP"];
if (ObjetTraFile [#70/10 "isVisible"] == 1) {
if (ObjetTraFile [#38/08 "Encounter4: initial HP"] == ObjetTraFile [#38/80 "Encounter4: HP"]) {
PrintText (#37 "The face of this Drakh lord");
PrintText (#38 "is not unknown to you.");
PrintText (#39 "You remember having seen it ");
PrintText (#40 "already at Princess");
PrintText (#41 "Haaggkha's.");
}
}
}
if (ObjetTraFile [#70/10 "isVisible"] == 1) {
if (ObjetTraFile [#38/08 "Encounter4: initial HP"] == ObjetTraFile [#38/80 "Encounter4: HP"]) {
if (ObjetTraFile [#66/C0 "counterA"] <> 90) {
if (ObjetTraFile [#76/30 "activationType"] <> 1 "1: Question")
Goto Label_335;
}
ObjetTraFile [#66/C0 "counterA"] = 90;
PrintText (#0 "");
PrintText (#42 "I haved managed to infiltrate");
PrintText (#43 "and gain Prince Hazhulkhen's");
PrintText (#44 "confidence. The end of the");
PrintText (#45 "Coalition of Fire is near.");
Label_335
if (ObjetTraFile [#66/C0 "counterA"] <> 150) {
if (ObjetTraFile [#76/30 "activationType"] <> 1 "1: Question")
Goto Label_34B;
}
ObjetTraFile [#66/C0 "counterA"] = 150;
PrintText (#0 "");
PrintText (#46 "An important event shall take");
PrintText (#47 "place at noon in the so-called");
PrintText (#48 "blind hall.");
PrintText (#49 "I don't know more.");
Label_34B
if (ObjetTraFile [#66/C0 "counterA"] <> 200) {
if (ObjetTraFile [#76/30 "activationType"] <> 1 "1: Question")
Goto Label_365;
}
ObjetTraFile [#66/C0 "counterA"] = 200;
PrintText (#0 "");
PrintText (#50 "I have to leave you now.");
PrintText (#51 "My mission must be fulfilled.");
PrintText (#52 "Glory to Haaggkha.");
ObjetTraFile [#85/40 "encounterActiveIndex"] = 4;
SpecialAction (#3 "F_A0_B3_H03_RemoveEncounter");
}
}
Label_365
return;
--------------------------------------------------------------------------------
Script Room_20 :
ObjetTraFile [#67/C0 "counterB"] = ObjetTraFile [#67/C0 "counterB"] + 1;
DoOnce {
ObjetTraFile [#67/C0 "counterB"] = 0;
ObjetTraFile [#78/60 "Spawn encounter: monBlockIndex"] = 39 "Old Man";
ObjetTraFile [#84/10 "Spawn/Change encounter: isEnemy"] = 0;
ObjetTraFile [#80/50 "Spawn encounter: level"] = 13;
ObjetTraFile [#81/30 "Spawn encounter: priority"] = 3;
ObjetTraFile [#82/80 "Spawn encounter: x"] = 160;
ObjetTraFile [#83/70 "Spawn encounter: y"] = 120;
ObjetTraFile [#85/40 "encounterActiveIndex"] = 3;
SpecialAction (#4 "F_A0_B3_H04_SpawnEncounter");
ObjetTraFile [#39/08 "Encounter3: initial HP"] = ObjetTraFile [#39/80 "Encounter3: HP"];
if (ObjetTraFile [#70/10 "isVisible"] == 1) {
if (ObjetTraFile [#38/08 "Encounter4: initial HP"] == ObjetTraFile [#38/80 "Encounter4: HP"]) {
PrintText (#0 "");
PrintText (#53 "Kneel down and pray to the");
PrintText (#54 "Prime Father, dirty dogs!");
}
}
}
if (ObjetTraFile [#70/10 "isVisible"] == 1) {
if (ObjetTraFile [#39/08 "Encounter3: initial HP"] == ObjetTraFile [#39/80 "Encounter3: HP"]) {
if (ObjetTraFile [#67/C0 "counterB"] <> 100) {
if (ObjetTraFile [#76/30 "activationType"] <> 1 "1: Question")
Goto Label_3BA;
}
ObjetTraFile [#67/C0 "counterB"] = 100;
PrintText (#0 "");
PrintText (#42 "I haved managed to infiltrate");
PrintText (#43 "and gain Prince Hazhulkhen's");
}
}
Label_3BA
return;
--------------------------------------------------------------------------------
Script Room_22 :
DoOnce {
if (ObjetTraFile [#70/10 "isVisible"] == 1) {
PrintText (#0 "");
PrintText (#57 "There is a smell of human here.");
}
ObjetTraFile [#78/60 "Spawn encounter: monBlockIndex"] = 4 "Lizard Knight";
ObjetTraFile [#84/10 "Spawn/Change encounter: isEnemy"] = 1;
ObjetTraFile [#80/50 "Spawn encounter: level"] = 18;
ObjetTraFile [#81/30 "Spawn encounter: priority"] = 0;
ObjetTraFile [#82/80 "Spawn encounter: x"] = 77;
ObjetTraFile [#83/70 "Spawn encounter: y"] = 122;
ObjetTraFile [#85/40 "encounterActiveIndex"] = 0;
SpecialAction (#4 "F_A0_B3_H04_SpawnEncounter");
ObjetTraFile [#82/80 "Spawn encounter: x"] = 170;
SpecialAction (#4 "F_A0_B3_H04_SpawnEncounter");
}
return;
--------------------------------------------------------------------------------
Script Room_24 :
DoOnce {
ObjetTraFile [#78/60 "Spawn encounter: monBlockIndex"] = 2 "Lizard";
ObjetTraFile [#84/10 "Spawn/Change encounter: isEnemy"] = 0;
ObjetTraFile [#80/50 "Spawn encounter: level"] = 12;
ObjetTraFile [#81/30 "Spawn encounter: priority"] = 0;
ObjetTraFile [#82/80 "Spawn encounter: x"] = 82;
ObjetTraFile [#83/70 "Spawn encounter: y"] = 120;
ObjetTraFile [#85/40 "encounterActiveIndex"] = 4;
SpecialAction (#4 "F_A0_B3_H04_SpawnEncounter");
ObjetTraFile [#38/08 "Encounter4: initial HP"] = ObjetTraFile [#38/80 "Encounter4: HP"];
if (ObjetTraFile [#70/10 "isVisible"] == 1) {
if (ObjetTraFile [#38/08 "Encounter4: initial HP"] == ObjetTraFile [#38/80 "Encounter4: HP"]) {
PrintText (#58 "It will cool off, do not");
PrintText (#59 "disturb me, humans.");
}
}
}
if (ObjetTraFile [#38/08 "Encounter4: initial HP"] == ObjetTraFile [#38/80 "Encounter4: HP"]) {
if (ObjetTraFile [#76/30 "activationType"] == 1 "1: Question") {
PrintText (#0 "");
PrintText (#42 "I haved managed to infiltrate");
PrintText (#43 "and gain Prince Hazhulkhen's");
}
}
return;
--------------------------------------------------------------------------------
Script Room_26 :
if (ObjetTraFile [#76/30 "activationType"] == 3 "3: Inspect") {
if (ObjetTraFile [#77/80 "activationValue"] == 1) {
PrintText (#2 "You read engraved in the stone:");
PrintText (#62 "ACCEPT ...");
ObjetTraFile [#02/10 "Grave #2 (D5R26) Left "ACCEPT ...""] = 1;
}
if (ObjetTraFile [#77/80 "activationValue"] == 2) {
PrintText (#2 "You read engraved in the stone:");
PrintText (#63 "... THE REMORSE.");
ObjetTraFile [#01/10 "Grave #1 (D5R26) Right "... THE REMORSE.""] = 1;
}
}
return;
--------------------------------------------------------------------------------
Script Room_27_NotUsed :
if (ObjetTraFile [#77/80 "activationValue"] == 3) {
if (ObjetTraFile [#76/30 "activationType"] == 3 "3: Inspect") {
PrintText (#1 "You see");
PrintText (#64 "Clear and pure water");
PrintText (#65 "fills the marble pool.");
}
if (ObjetTraFile [#76/30 "activationType"] == 4 "4: use item ?") {
ObjetTraFile [#92/30 "Fill accessory: nbUses (Phial) or textIndexInFile (SpellBook)"] = 6;
ObjetTraFile [#93/50 "Fill accessory: effectIndex (Phial)"] = 14 "14: RMA RecuperationB";
SpecialAction (#2 "F_A0_B3_H02_FillPhial");
}
}
return;
--------------------------------------------------------------------------------
Script Room_28 :
DoOnce {
ObjetTraFile [#78/60 "Spawn encounter: monBlockIndex"] = 58 "Fire Elemental";
ObjetTraFile [#84/10 "Spawn/Change encounter: isEnemy"] = 1;
ObjetTraFile [#80/50 "Spawn encounter: level"] = 15;
ObjetTraFile [#81/30 "Spawn encounter: priority"] = 0;
ObjetTraFile [#82/80 "Spawn encounter: x"] = 85;
ObjetTraFile [#83/70 "Spawn encounter: y"] = 120;
ObjetTraFile [#85/40 "encounterActiveIndex"] = 0;
SpecialAction (#4 "F_A0_B3_H04_SpawnEncounter");
ObjetTraFile [#82/80 "Spawn encounter: x"] = 160;
SpecialAction (#4 "F_A0_B3_H04_SpawnEncounter");
}
return;
--------------------------------------------------------------------------------
Script Room_29 :
if (ObjetTraFile [#77/80 "activationValue"] == 4) {
if (ObjetTraFile [#76/30 "activationType"] == 3 "3: Inspect") {
ObjetTraFile [#87/30 "Find accessory: type"] = 1 "1: Sceptre";
ObjetTraFile [#91/40 "Find accessory: effectIndex (Scepter, Ring)"] = 15 "15: RecuperationB";
ObjetTraFile [#92/30 "Fill accessory: nbUses (Phial) or textIndexInFile (SpellBook)"] = 6;
SpecialAction (#6 "F_A0_B3_H06_FindAccessory");
ObjetTraFile [#91/40 "Find accessory: effectIndex (Scepter, Ring)"] = 6 "6: Power";
ObjetTraFile [#92/30 "Fill accessory: nbUses (Phial) or textIndexInFile (SpellBook)"] = 6;
SpecialAction (#6 "F_A0_B3_H06_FindAccessory");
ObjetTraFile [#87/30 "Find accessory: type"] = 3 "3: Ring";
ObjetTraFile [#91/40 "Find accessory: effectIndex (Scepter, Ring)"] = 7 "7: PercentToHitBonus20";
ObjetTraFile [#92/30 "Fill accessory: nbUses (Phial) or textIndexInFile (SpellBook)"] = 6;
SpecialAction (#6 "F_A0_B3_H06_FindAccessory");
ObjetTraFile [#91/40 "Find accessory: effectIndex (Scepter, Ring)"] = 8 "8: Dexterity +2";
ObjetTraFile [#92/30 "Fill accessory: nbUses (Phial) or textIndexInFile (SpellBook)"] = 6;
SpecialAction (#6 "F_A0_B3_H06_FindAccessory");
ObjetTraFile [#78/60 "Spawn encounter: monBlockIndex"] = 45 "Desert Dragon";
ObjetTraFile [#84/10 "Spawn/Change encounter: isEnemy"] = 1;
ObjetTraFile [#80/50 "Spawn encounter: level"] = 15;
ObjetTraFile [#81/30 "Spawn encounter: priority"] = 5;
ObjetTraFile [#82/80 "Spawn encounter: x"] = 205;
ObjetTraFile [#83/70 "Spawn encounter: y"] = 120;
ObjetTraFile [#85/40 "encounterActiveIndex"] = 0;
SpecialAction (#4 "F_A0_B3_H04_SpawnEncounter");
}
}
return;
--------------------------------------------------------------------------------
Script CheckWin :
if (ObjetTraFile [#96/40 "Game_state"] == 13) {
if (ObjetTraFile [#16/10 "Tear #8 D0R13 Prince Hordtkhen (Earth)"] == 1) {
if (ObjetTraFile [#15/10 "Tear #7 D2R29 Princess Hordtkha (Earth)"] == 1) {
if (ObjetTraFile [#14/10 "Tear #6 D1R00 Prince Haaggkhen (Water)"] == 1) {
if (ObjetTraFile [#13/10 "Tear #5 D3R00 Princess Haaggkha (Water)"] == 1) {
if (ObjetTraFile [#12/10 "Tear #4 D2R16 Prince Nakhtkhen (Air)"] == 1) {
if (ObjetTraFile [#11/10 "Tear #3 D2R01 Princess Nakhtkha (Air)"] == 1) {
if (ObjetTraFile [#10/10 "Tear #2 D5R01 Prince Hazhulkhen (Fire)"] == 1) {
if (ObjetTraFile [#09/10 "Tear #1 D4R26 Princess Hazhulkha (Fire)"] == 1) {
if (ObjetTraFile [#08/10 "Grave #8 (D0R25 Left) "ALMIGHTY...""] == 1) {
if (ObjetTraFile [#07/10 "Grave #7 (D0R25 Right) "...GOD.""] == 1) {
if (ObjetTraFile [#06/10 "Grave #6 (D1R16 Left) "SOURCE OF LIFE...""] == 1) {
if (ObjetTraFile [#05/10 "Grave #5 (D1R16 Right) "... AND DEATH.""] == 1) {
if (ObjetTraFile [#04/10 "Grave #4 (D2R26) Left "FROM YOUR HUMBLE...""] == 1) {
if (ObjetTraFile [#03/10 "Grave #3 (D2R26) Right "...SERVANTS.""] == 1) {
if (ObjetTraFile [#02/10 "Grave #2 (D5R26) Left "ACCEPT ...""] == 1) {
if (ObjetTraFile [#01/10 "Grave #1 (D5R26) Right "... THE REMORSE.""] == 1) {
ObjetTraFile [#96/40 "Game_state"] = 14;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
return;
--------------------------------------------------------------------------------
Script Main :
Reset_Load
DoOnce {
ResetLoop at 00000103 (000C27C0)
ResetLoop at 00000068 (000C268A)
ResetLoop at 000001F7 (000C29A8)
}
Call CheckWin ();
if (ObjetTraFile [#76/30 "activationType"] == 5 "5: icon Greet") {
Call Greet ();
}
if (ObjetTraFile [#73/50 "viewingRoomIndex"] == 0) {
Call Room_00 ();
Goto Label_5D2;
}
if (ObjetTraFile [#73/50 "viewingRoomIndex"] == 1) {
Call Room_01 ();
Goto Label_5D2;
}
if (ObjetTraFile [#73/50 "viewingRoomIndex"] == 3) {
Call Room_03 ();
Goto Label_5D2;
}
if (ObjetTraFile [#73/50 "viewingRoomIndex"] == 4) {
Call Room_04 ();
Goto Label_5D2;
}
if (ObjetTraFile [#73/50 "viewingRoomIndex"] == 5) {
Call Room_05 ();
Goto Label_5D2;
}
if (ObjetTraFile [#73/50 "viewingRoomIndex"] == 6) {
Call Room_06 ();
Goto Label_5D2;
}
if (ObjetTraFile [#73/50 "viewingRoomIndex"] == 7) {
Call Room_07 ();
Goto Label_5D2;
}
if (ObjetTraFile [#73/50 "viewingRoomIndex"] == 9) {
Call Room_09 ();
Goto Label_5D2;
}
if (ObjetTraFile [#73/50 "viewingRoomIndex"] == 10) {
Call Room_10 ();
Goto Label_5D2;
}
if (ObjetTraFile [#73/50 "viewingRoomIndex"] == 11) {
Call Room_11 ();
Goto Label_5D2;
}
if (ObjetTraFile [#73/50 "viewingRoomIndex"] == 14) {
Call Room_14 ();
Goto Label_5D2;
}
if (ObjetTraFile [#73/50 "viewingRoomIndex"] == 15) {
Call Room_15 ();
Goto Label_5D2;
}
if (ObjetTraFile [#73/50 "viewingRoomIndex"] == 16) {
Call Room_16_Start ();
Goto Label_5D2;
}
if (ObjetTraFile [#73/50 "viewingRoomIndex"] == 17) {
Call Room_17 ();
Goto Label_5D2;
}
if (ObjetTraFile [#73/50 "viewingRoomIndex"] == 19) {
Call Room_19 ();
Goto Label_5D2;
}
if (ObjetTraFile [#73/50 "viewingRoomIndex"] == 20) {
Call Room_20 ();
Goto Label_5D2;
}
if (ObjetTraFile [#73/50 "viewingRoomIndex"] == 22) {
Call Room_22 ();
Goto Label_5D2;
}
if (ObjetTraFile [#73/50 "viewingRoomIndex"] == 24) {
Call Room_24 ();
Goto Label_5D2;
}
if (ObjetTraFile [#73/50 "viewingRoomIndex"] == 26) {
Call Room_26 ();
Goto Label_5D2;
}
if (ObjetTraFile [#73/50 "viewingRoomIndex"] == 28) {
Call Room_28 ();
Goto Label_5D2;
}
if (ObjetTraFile [#73/50 "viewingRoomIndex"] == 29) {
Call Room_29 ();
}
Label_5D2
return;
--------------------------------------------------------------------------------
No script linked to this room.