Kroah's Game Reverse Engineering Page

 

~ Drakkhen ~

You are here:  
  • Home
    • »  Drakkhen
      • »  Dungeon Maps & Scripts
        • »  Dungeon 4 - Princess Hazhulkha

Dungeon 4 - Princess Hazhulkha

Click on a room to show its script or Show all scripts / CheckWin / Main
Script Room_00 :
if (ObjetTraFile [#77/80 "activationValue"] == 2) { if (ObjetTraFile [#76/30 "activationType"] == 3 "3: Inspect") { PrintText (#2 "You see"); PrintText (#23 "The high silhouette of a"); PrintText (#24 "Princess spreading her shadow"); PrintText (#25 "over the world..."); } } if (ObjetTraFile [#77/80 "activationValue"] == 3) { if (ObjetTraFile [#76/30 "activationType"] == 3 "3: Inspect") { PrintText (#2 "You see"); PrintText (#26 "in the pool strange,"); PrintText (#27 "wriggling grubs."); } 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)"] = 9 "9: INV InvisibilityA"; SpecialAction (#2 "F_A0_B3_H02_FillPhial"); } } return; --------------------------------------------------------------------------------
Script Room_01 :
Reset_2D DoOnce { PrintText (#28 "The temple is devastated, a"); PrintText (#29 "priest's head lies at the feet"); PrintText (#30 "of the Prime Father's statue."); PrintText (#31 "Dragon blood stains the walls."); } return; --------------------------------------------------------------------------------
Script Room_03 :
Reset_38 DoOnce { PrintText (#32 "The slashed corpses of the"); PrintText (#33 "servants who sought shelter here"); PrintText (#34 "lay scattered around."); } return; --------------------------------------------------------------------------------
Script Room_08 :
Reset_41 DoOnce { PrintText (#35 "A group of dragon knights"); PrintText (#36 "lies before the door of the"); PrintText (#37 "Princess' appartments."); PrintText (#38 "They have been killed on duty."); } return; --------------------------------------------------------------------------------
Script Room_10 :
Reset_4C DoOnce { PrintText (#39 "The corpses have been nibbled"); PrintText (#40 "by monsters, the dungeon seems"); PrintText (#41 "abandoned."); } if (ObjetTraFile [#76/30 "activationType"] == 3 "3: Inspect") { PrintText (#42 "Beware, nobody knows what kind"); PrintText (#43 "of creature may inhabit"); PrintText (#44 "this place."); } return; --------------------------------------------------------------------------------
Script Room_12 :
Reset_5F DoOnce { PrintText (#45 "The treasure chamber has been"); PrintText (#46 "plundered. Nothing remains. They"); PrintText (#47 "even carried the bugs away."); } return; --------------------------------------------------------------------------------
Script Room_13_Start :
Reset_68 DoOnce { PrintText (#48 "The room is devastated.The walls"); PrintText (#49 "are spread with blood, corpses"); PrintText (#50 "all around, some of them were"); PrintText (#51 "subjects of the Prince of Fire,"); PrintText (#52 "some of the Princess of Air."); } if (ObjetTraFile [#76/30 "activationType"] == 3 "3: Inspect") { PrintText (#53 "The subjects of Princess"); PrintText (#54 "Hazhulkha have resisted fiercely"); PrintText (#55 "but they have been squashed by"); PrintText (#56 "the crushing superiority."); } return; --------------------------------------------------------------------------------
Script Room_18 :
Reset_81 DoOnce { PrintText (#0 ""); PrintText (#57 "Fresh traces of monsters are"); PrintText (#58 "visible."); } if (ObjetTraFile [#77/80 "activationValue"] == 1) { PrintText (#0 ""); PrintText (#59 "The drape seems to move!"); } return; --------------------------------------------------------------------------------
Script Room_21 :
Reset_92 DoOnce { PrintText (#60 "You hear noises of flames."); PrintText (#61 ""); PrintText (#62 "Some elements out of control"); } return; --------------------------------------------------------------------------------
Script Room_25 :
DoOnce { PrintText (#64 "Princess Hazhulkha lies on her"); PrintText (#65 "throne. She is motionless."); PrintText (#66 "A spear has pierced her heart."); PrintText (#67 "The gem in her forehead has"); PrintText (#68 "disappeared."); ObjetTraFile [#78/60 "Spawn encounter: monBlockIndex"] = 53 "Princess Hazhulkha"; ObjetTraFile [#84/10 "Spawn/Change encounter: isEnemy"] = 0; ObjetTraFile [#80/50 "Spawn encounter: level"] = 4; ObjetTraFile [#81/30 "Spawn encounter: priority"] = 4; 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 [#65/C0 "Earn XP: amount"] = 600; SpecialAction (#14 "F_A0_B3_H14_CharacterEarnsExperience"); ObjetTraFile [#69/C0 "counterD"] = 0; } ObjetTraFile [#69/C0 "counterD"] = ObjetTraFile [#69/C0 "counterD"] + 1; if (ObjetTraFile [#69/C0 "counterD"] == 40) { DoOnce { PrintText (#0 ""); PrintText (#69 "You hear coming from the next"); PrintText (#70 "room noises of fast steps and"); PrintText (#71 "Drakh voices."); } } return; --------------------------------------------------------------------------------
Script Room_26 :
DoOnce { PrintText (#72 "Two drakhs knights assail you as"); PrintText (#73 "you enter the room."); PrintText (#74 ""); PrintText (#75 "They have got the gem of"); PrintText (#76 "Princess Hazhulkha."); ObjetTraFile [#78/60 "Spawn encounter: monBlockIndex"] = 4 "Lizard Knight"; 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"] = 95; ObjetTraFile [#83/70 "Spawn encounter: y"] = 113; ObjetTraFile [#85/40 "encounterActiveIndex"] = 2; SpecialAction (#4 "F_A0_B3_H04_SpawnEncounter"); ObjetTraFile [#40/08 "Encounter2: initial HP"] = ObjetTraFile [#40/80 "Encounter2: HP"]; ObjetTraFile [#81/30 "Spawn encounter: priority"] = 6; ObjetTraFile [#82/80 "Spawn encounter: x"] = 175; ObjetTraFile [#85/40 "encounterActiveIndex"] = 3; SpecialAction (#4 "F_A0_B3_H04_SpawnEncounter"); ObjetTraFile [#39/08 "Encounter3: initial HP"] = ObjetTraFile [#39/80 "Encounter3: HP"]; ObjetTraFile [#69/C0 "counterD"] = 0; } ObjetTraFile [#69/C0 "counterD"] = ObjetTraFile [#69/C0 "counterD"] + 1; if (ObjetTraFile [#69/C0 "counterD"] == 40) { DoOnce { PrintText (#0 ""); PrintText (#1 "Hakk Hakk Hakkahen"); } } if (ObjetTraFile [#40/80 "Encounter2: HP"] == 0) { if (ObjetTraFile [#39/80 "Encounter3: HP"] == 0) { ObjetTraFile [#09/10 "Tear #1 D4R26 Princess Hazhulkha (Fire)"] = 1; if (ObjetTraFile [#96/40 "Game_state"] == 9) { DoOnce { ObjetTraFile [#96/40 "Game_state"] = 10; ObjetTraFile [#65/C0 "Earn XP: amount"] = 2000; SpecialAction (#14 "F_A0_B3_H14_CharacterEarnsExperience"); } } } } if (ObjetTraFile [#96/40 "Game_state"] == 10) { if (ObjetTraFile [#33/10 "D2R16 isPrinceNakhtkhenAirDead"] == 0) { DoOnce { ObjetTraFile [#78/60 "Spawn encounter: monBlockIndex"] = 48 "Prince Nakhtkhen"; ObjetTraFile [#84/10 "Spawn/Change encounter: isEnemy"] = 0; ObjetTraFile [#80/50 "Spawn encounter: level"] = 20; 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 (#77 "It seems that I come too late"); PrintText (#78 "to save Princess Hazhulkha."); PrintText (#79 ""); PrintText (#80 "Her death deserves vengeance."); } if (ObjetTraFile [#76/30 "activationType"] == 1 "1: Question") { DoOnce { PrintText (#0 ""); PrintText (#81 "Go to the castle of the rogue"); PrintText (#82 "Princess Nakhtkha, and kill her."); PrintText (#83 "I will join you there."); } } } } 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 0000002D (000C2614) ResetLoop at 00000038 (000C262A) ResetLoop at 00000041 (000C263C) ResetLoop at 0000004C (000C2652) ResetLoop at 0000005F (000C2678) ResetLoop at 00000068 (000C268A) ResetLoop at 00000081 (000C26BC) ResetLoop at 00000092 (000C26DE) } Call CheckWin (); if (ObjetTraFile [#76/30 "activationType"] == 3 "3: Inspect") { PrintText (#0 ""); ObjetTraFile [#63/C0 "greetRnd"] = Random [0;10[; if (ObjetTraFile [#63/C0 "greetRnd"] == 0) { PrintText (#3 ""); PrintText (#4 ""); Goto Label_255; } if (ObjetTraFile [#63/C0 "greetRnd"] == 1) { PrintText (#5 "All the doors have been"); PrintText (#6 "bashed in."); Goto Label_255; } if (ObjetTraFile [#63/C0 "greetRnd"] == 2) { PrintText (#7 "A gloomy wind goes right"); PrintText (#8 "through you."); Goto Label_255; } if (ObjetTraFile [#63/C0 "greetRnd"] == 3) { PrintText (#9 "Traces all around denote the"); PrintText (#10 "ruthlessness of the struggle."); Goto Label_255; } if (ObjetTraFile [#63/C0 "greetRnd"] == 4) { PrintText (#11 "Blood has flowed in rivers,"); PrintText (#12 "the fight was cruel and wasteful"); Goto Label_255; } if (ObjetTraFile [#63/C0 "greetRnd"] == 5) { PrintText (#13 "There remains nothing, absolutely"); PrintText (#14 "nothing but desolation."); Goto Label_255; } if (ObjetTraFile [#63/C0 "greetRnd"] == 6) { PrintText (#15 "The wind blows through the"); PrintText (#16 "rooms and silence reigns."); Goto Label_255; } if (ObjetTraFile [#63/C0 "greetRnd"] == 7) { PrintText (#17 "The room is devastated and"); PrintText (#18 "empty, nothing but blood."); Goto Label_255; } if (ObjetTraFile [#63/C0 "greetRnd"] == 8) { PrintText (#19 "The room already stinks of"); PrintText (#20 "carrion, silence everywhere."); Goto Label_255; } if (ObjetTraFile [#63/C0 "greetRnd"] == 9) { PrintText (#21 "You discover nothing but ruins"); PrintText (#22 "and desolation."); } } Label_255 if (ObjetTraFile [#73/50 "viewingRoomIndex"] == 0) { Call Room_00 (); Goto Label_2A2; } if (ObjetTraFile [#73/50 "viewingRoomIndex"] == 1) { Call Room_01 (); Goto Label_2A2; } if (ObjetTraFile [#73/50 "viewingRoomIndex"] == 3) { Call Room_03 (); Goto Label_2A2; } if (ObjetTraFile [#73/50 "viewingRoomIndex"] == 8) { Call Room_08 (); Goto Label_2A2; } if (ObjetTraFile [#73/50 "viewingRoomIndex"] == 10) { Call Room_10 (); Goto Label_2A2; } if (ObjetTraFile [#73/50 "viewingRoomIndex"] == 12) { Call Room_12 (); Goto Label_2A2; } if (ObjetTraFile [#73/50 "viewingRoomIndex"] == 13) { Call Room_13_Start (); Goto Label_2A2; } if (ObjetTraFile [#73/50 "viewingRoomIndex"] == 18) { Call Room_18 (); Goto Label_2A2; } if (ObjetTraFile [#73/50 "viewingRoomIndex"] == 21) { Call Room_21 (); Goto Label_2A2; } if (ObjetTraFile [#73/50 "viewingRoomIndex"] == 25) { Call Room_25 (); Goto Label_2A2; } if (ObjetTraFile [#73/50 "viewingRoomIndex"] == 26) { Call Room_26 (); } Label_2A2 return; --------------------------------------------------------------------------------

No script linked to this room.
Visitors visitors since 05/01/2006. Sitemap
Copyright © 2006-2020 by Kroah. Total or partial reproduction forbidden.
All trademarks and copyrights are the property of their respective owners. All rights reserved.
Email Me      Get Firefox Powered by PHPEdit      Valid XHTML 1.1 Valid CSS