We just released a Feb. 5 '89 prototype of DuckTales for the NES!
If you'd like to support our preservation efforts (and this wasn't cheap), please consider donating or supporting us on Patreon. Thank you!

Notes:Quest for Glory: Shadows of Darkness

From The Cutting Room Floor
Revision as of 17:27, 20 September 2019 by Lwc (talk | contribs) (→‎Room Numbers: New)
Jump to navigation Jump to search

This page contains notes for the game Quest for Glory: Shadows of Darkness (Debug Mode).


Skill Numbers

Hmmm...
To do:
Determine if changing anything from the notes does have any affect

Note the order is not completely according to what you see in the character/spell stats.

General

  • 0 - Strength
  • 1 - Intelligence
  • 2 - Agility
  • 3 - Vitality
  • 4 - Luck
  • 5 - Weapon use
  • 6 - Parry
  • 7 - Dodge
  • 8 - Stealth
  • 9 - Pick Locks
  • 10 - Throwing
  • 11 - Climbing
  • 12 - Magic
  • 13 - Communicate
  • 14 - Honor
  • 15 - Acrobatics
  • 16 - Experience (not officially used by any game except QFG1 VGA/EGA)

Dynamic

  • 17 - Health stats (could be higher than the total allowed, which might have unintended results)
  • 18 - Stamina stats (could be higher than the total allowed, which might have unintended results)
  • 19 - Mana stats (could be higher than the total allowed, which might have unintended results)

Spells

  • 20 - Open
  • 21 - Detect Magic
  • 22 - Trigger
  • 23 - Dazzle
  • 24 - Zap
  • 25 - Calm
  • 26 - Flame Dart
  • 27 - Fetch
  • 28 - Force Bolt
  • 29 - Levitate
  • 30 - Reversal
  • 31 - Juggling Lights
  • 32 - Summon Staff
  • 33 - Lightning Ball
  • 34 - Frost Bite
  • 35 - Ritual of Release
  • 36 - Invisibility
  • 37 - Aura
  • 38 - Protection
  • 39 - Resistance (keep in mind it's not selectable or even visible unless Summon Staff is cast)
  • 40 - Glide
  • 41 - Paladin healing (0 makes it disappear, anything else makes it appear - it doesn't seem to matter what as long as it's not 0)

Notes

  1. All negative numbers and numbers above 41 have an undetermined default but changing it doesn't seem to do anything.
    • Higher (the threshold seems undetermined) numbers have a default of 0.
  2. Any number from 453 and above has a default of itself (e.g. 453 has a default of 453) but changing it doesn't seem to do anything.

Room Numbers

Hmmm...
To do:
Finish this section up with descriptions of all the rooms
  • 0 - Title Screen
  • 4 - Initialization Screen (Used for the room selection with the debug mode on)
  • 100 - Title Screen
  • 111 - A room that was used to test the visuals. Teleporting in here will only show the hero, which you can move around with your cursor.
  • 140 - Character Creator
  • 160 - Credits
  • 180 - Avoozl arises from the mountains, then the game takes you back to the intro
  • 240 - Punny Bones' room
  • 250 - Mordavia, North End (Adventurer's Guild, Monastery entrance, Igor)
  • 260 - Mordavia, West End (Inn, Store, Burgomeister)
  • 270 - Mordavia, South End (Meadow + Erana's Staff)
  • 280 - Mordavia, East End (Nikolai + Cranium)
  • 290 - Mordavia, Outside Town
  • 300 - Burgomeister Office
  • 310 - General Store
  • 320 - Inn
  • 330 - Hero's Room
  • 340 - Thieves' Guild
  • 350 - Adventurer's Guild
  • 360 - Monastery, Top Floor
  • 370 - Cranium's Lab
  • 380 - Cranium's Hallway
  • 390 - Nikolai's House (When you teleport in here, Nikolai is inside sleeping)
  • 440 - Erana's Garden
  • 460 - Gypsy's Camp (When you teleport in here, wolves do not come out to greet you.)
  • 470 - Gypsy Wagon (For some reason, when you teleport in here, talking is disabled at the start. You will need to patch some money in to continue in this screen.)
  • 475 - Gypsy Card Reading (When you teleport in here, it does not include the music trigger.)
  • 480 - Baba Yaga's Camp (When you teleport in here, you're directly in front of Bonehead)
  • 490 - Baba Yaga's Hut
  • 500 - Graveyard
  • 510 - Borgov Crypt
  • 520 - Rusalka
  • 530 - Swamp Entrance (Upper Left)
  • 535 - Swamp Entrance (Lower Right)
  • 541 - Swamp (When you teleport in here, the player appears to be walking on top of the swamp water)
  • 542 - Swamp
  • 543 - Swamp
  • 545 - Mad Monk's Tomb
  • 551 to 593 - Forest areas
    • 551 - Area outside the Lake of the Lost
    • 563 - Area one screen south to the town's gate
    • 566 - Area with bottom left Wraith (if at night)
    • 567 - Area with top left Wraith (if at night)
    • 568 - Area with ghost (if at night and its identity known)
    • 570 - Area with Elderburry Bush
    • 574 - Area above bottom center (Boss) Wraith
    • 575 - Area with bottom center (Boss) Wraith (if at night)
    • 576 - Area with top right Wraith (if at night)
    • 579 - Area with Leshy (if at day)
    • 590 - Area with bottom right (special treasure) Wraith (if at night)
    • 593 - Forest, Outside Baba Yaga's Camp (with the magic bush)
  • 600 to 680 - Castle areas
    • 600 - Castle Gate
    • 610 - Castle Entrance (When you teleport in here, no one is watching you from above)
    • 620 - Staircase leading up to Tanya's Room
    • 627 - Staircase leading to lobby
    • 630 - Castle lobby
    • 635 - Game ending (When you teleport in here, the music does not play)
    • 640 - Room outside the staircase leading to Tanya's room
    • 650 - Tanya's Room
    • 660 - Room with bed
    • 670 - Torture Dungeon
    • 680 - Katrina's Room
  • 710 to 800 - Cave areas
    • 710 - Dark One's Cave (Boyar's Cave)
    • 720 - DOC Heart Room
    • 730 - DOC Essence Room (Final Battle)
    • 740 - DOC Blood Room
    • 750 - DOC Breath Room
    • 760 - DOC Senses Room
    • 770 - DOC Bone Room
    • 780 - Monastery, Downstairs
    • 790 - DOC Entrance (Post-Katrina + going up to the mouth removes the mouse icon)
    • 800 - Winding path leading between swamp and the Dark One's cave. (Also has the tall standing stone)
  • 810 - Battle with Mutated Boyar

Any other number than the ones listed above will crash the game.

Item Numbers

  • 0 - Money Pouch
  • 1 - Mana Fruit
  • 2 - Poison Cure Potion
  • 3 - Healing Potion
  • 4 - Rations
  • 5 - Dagger
  • 6 - Rocks
  • 7 - Candles
  • 8 - Candy
  • 9 - Empty Flask
  • 10 - Water
  • 11 - Flask of Goo
  • 12 - Bone Meal
  • 13 - Lockpick
  • 14 - Key Ring
  • 15 - Oil
  • 16 - Rope and Grapnel
  • 17 - Leather Armor
  • 18 - Piotyr's Shield
  • 19 - Fine Sword (from the Adventurers' Guild)
  • 20 - Dagger (Leftover from Quest for Glory 3)
  • 21 - Flint
  • 22 - Garlic
  • 23 - Guild Card
  • 24 - Thief's Toolkit
  • 25 - Dark One Sign
  • 26 - Hat
  • 27 - Corn
  • 28 - Pie Pan
  • 29 - Bones
  • 30 - Elderburry Berries
  • 31 - Good Humor Bar
  • 32 - Rehydration Solution
  • 33 - Doll
  • 34 - Black Bird
  • 35 - Piece of Cloth
  • 36 - Rubber Chicken
  • 37 - Undead Amulet
  • 38 - Lock Hair
  • 39 - Broom
  • 40 - Flowers
  • 41 - Will o' Wisps (spawning them during daytime automatically kills them)
  • 42 - Locket
  • 43 - Statue
  • 44 - Magical Torch
  • 45 - Treasure Chest
  • 46 - Safe Knob
  • 47 - Erana's Staff
  • 48 - Bonsai Bush
  • 49 - Iron Hammer
  • 50 - Stake
  • 51 - Shopping Bag
  • 52 - Bone Ritual
  • 53 - Blood Ritual
  • 54 - Breath Ritual
  • 55 - Sense Ritual
  • 56 - Heart Ritual
  • 57 - CRASHES THE GAME
  • 58 - Key Ring
  • 59 - Secret Passageway Key
  • 60 - Crypt Key
  • 61 - Adventurer Guild's Key
  • 62 - Secret Passageway Key (Again?)
  • 63 - Burgomeister's Desk Key
  • 64 and up - CRASHES THE GAME

Entering in a blank entry also causes a game crash.

Flag Numbers

The flag number can be as high as 482.

Event Flags

  • 1 - Stamina is gone.
  • 5 - Pulled up character sheet (?)
  • 5 - Carrying too much stuff (?)
  • 6 - Active time
  • 8 - Reversal Spell
  • 14 - Poison status
  • 20 - Sense Danger Paladin ability (only used when confronting Ad Avis in the forest to get a warning)
  • 21 - Honor Shield Paladin ability
  • 30 - First comments from Dmitri
  • 32 - It is set most of the time you walk around Mordavia.
  • 34 - Ad Avis appears outside the castle gates at night.
  • 35 - Ad Avis' Necrotaurs chasing you through Mordavia
  • 37 - Igor is missing? (Townspeople are not gathered outside the inn)
  • 39 - Something to do with Burgomeister setting the Gypsy free. (If set, meeting the Burgomeister is a Game Over)
  • 41 - Monastery is toast.
  • 44 - Something to do with Burgomeister.
  • 45 - Nikolai is gone.
  • 47 - Second comments from Dmitri
  • 48 - Igor was saved. (Used for Igor thanking Ego)
  • 49 - Options box is on.
  • 50 - Game is paused
  • 60 - Normal Wraith defeated
  • 61 - Normal Wraith defeated
  • 62 - Master Wraith defeated
  • 63 - Normal Wraith defeated
  • 64 - Normal Wraith defeated
  • 68 - Something to do with post-burglarly at Burgomeister.
  • 70 - Go in/out Burgomeister's Office thorugh the window.
  • 76 - Igor thanks Ego for saving him.
  • 77 - Unsure. Related to Igor and crpyt key?
  • 79 - Meet Katrina outside of town. (1st time)
  • 83 - Something to do with burning down the monastery.
  • 84 - Introduce yourself to Olga (You'll get her full name)
  • 85 - Ask Olga about her husband.
  • 86 - Ask for Boris' name. (You will get his full name)
  • 94 - Ask Olga about Nikolai's Death.
  • 95 - Ask Olga about Burgomeister.
  • 96 - Ask Olga about Tanya.
  • 97 - Ask Olga about Gravedigger (After he was trapped).
  • 98 - Ask Olga about Gypsies.
  • 100 - Ask Olga about Monastery
  • 103 - Olga comments on Igor missing.
  • 104 - Olga comments on the Burgomeister setting the Gypsy free.
  • 105 - Olga comments on the burned down monastery.
  • 106 - Olga comments on Nikolai going missing.
  • 107 - Olga comments on Tanya being returned to her parents.
  • 109 - Unsure. Can be set by Day 3
  • 115 - Tanya has been rescued. Affects large stone, Inn and Olga
  • 116 - Meeting the Rusalka for the first time
  • 117 - Rusalka is gone
  • 119 - Something to do with breaking through the front gate. At least one Necrotaur is already dead.
  • 120 - Spoken to the Castle Gate Guard once
  • 121 - Spoken to the Castle Gate Guard more than once
  • 122 - Broke through the Castle Gate & killed the Necrotaur Guards
  • 123 - Unknown; likely for options when talking to the Castle Gatekeeper
  • 124 - Unknown; likely for options when talking to the Castle Gatekeeper
  • 126 - First time at the inn.
  • 129 - Gnome's first performance.
  • 134 - Special scene at the inn after rescuing Tanya.
  • 135 - Met the Domovoi at the inn more than twice
  • 138 - Saved the Domovoi from the Monastery
  • 139 - Met the Domovoi at the inn for the second time
  • 146 - Has something to do with talking portraits.
  • 147 - Has something to do with talking portraits. Crashes game if on when trying to talk to someone.
  • 148 - Portrait box is on.
  • 166 - Have evidence about Baba Yaga being in Mordavia for the Leshy riddle
  • 179 - Have met Baba Yaga
  • 183 - Received Adventurer's Guild key from Burgomeister.
  • 237 - Approaching Lake of the Lost for the first time.
  • 266 - Approach Western part of Mordavia for the first time.
  • 268 - Received Crypt Key from Igor.
  • 269 - First encounter with the Faerie Queen
  • 279 - Vision from Magda concerning the Thief Chief as a monster
  • 280 - Vision from Magda concerning the Hero saving the dried up Domovoi
  • 281 - Vision from Magda concerning the Wizard Hero encountering the Faerie Queen for the first time
  • 282 - Vision from Magda concerning the Rusalka
  • 283 - Vision from Magda concerning the Hero meeting the Gnome at the Inn
  • 284 - Vision from Magda concerning the Hero casting spells (if a Wizard, but botched class check), or using the rubber chicken on the Elderberry bush
  • 285 - Vision from Magda concerning the Hero helping the Thief Chief
  • 286 - Vision from Magda concerning the Paladin Hero fighting the Master Wraith for the Heart Ritual and Piotyr's Sword
  • 287 - Vision from Magda concerning the Wizard Hero encountering the Faerie Queen for the last time
  • 288 - Vision from Magda concerning the Hero meeting Tanya
  • 289 - Vision from Magda concerning the Hero giving Tanya her doll
  • 302 - Bone Cave, take the right torch
  • 303 - Bone Cave, light the left torch
  • 304 - Bone Cave, light the right torch
  • 312 - Befriended the Rusalka.
  • 320 - 2nd time you visit the Rulsaka on nice terms.
  • 321 - Find 5 Crowns in the stump outside town.
  • 354 - Took the Dark One's Sign
  • 364 - Second encounter with the Faerie Queen
  • 365 - Last encounter with the Faerie Queen
  • 368 - Encountered the cave Badders
  • 371 - Heart Cave, 1st time
  • 373 - Player is carrying a torch.
  • 374 - Heart Cave, Badders are defeated
  • 379 - On by default
  • 382 - Triggers the Warp screen.
  • 385 - Flaming sword Paladin ability was activated (impossible to activate by normal means)
  • 386 - Making heroic pose (?)
  • 392 - Boyar Cave, crossed over the pit

Points Flags

  • 401 - Bone Cave, light the left torch
  • 402 - Bone Cave, picked up Dagger, 5 Crowns, 13 Kopeks
  • 403 - Boyar Cave, cross the tightrope
  • 404 - Take the Dark One's Sign
  • 450 - (following Tanya's rescue) non Wizards acquire Erana's staff while Wizards learn Summon Staff (and thus Resistance too)
  • 479 - Related to defeating the Master
  • 480 - Defeated Badders - Fighter
  • 482 - Defeated Revenant - Fighter
  • 488 - Defeated Wraith
  • 513 - Finding the Thief Chief in the Thieves' Guild
  • 514 - Helping out the Thief Chief
  • 516 - Related to defeating the Master Wraith
  • 528 - Related to defeating the Master Wraith
(Source: Kuro-chan)

Global scripting values

  • 125 - Character class (0 for Fighter, 1 for Wizard, 2 for Thief, 3 for Paladin)
  • 361 - Base Honor score upon the start of the game, used when Honor varies, to determine when you get additional Paladin abilities
  • 394 - Set to 1 when class is 3 (Paladin), used when Honor varies, to determine when you get additional Paladin abilities
  • 427 - Controls the event number to be executed in the inn when the Hero sleeps
  • 500 - Where the above event flags are stored