Item Locations
When the game begins, some items are already lying in certain locations. Examples are the agitated duck in the village pond, the pack of matches in the village store, the very large nest up the oak tree. This item location information is stored in the following part of the game file, starting at offset $00E9:
0000E9 00 02 01 1F 00 00 07 00 00 1F 18 00 1C 00 00 1E ................
0000F9 17 00 14 06 14 00 1A 00 07 00 0B 24 13 00 0C 00 ...........$....
000109 18 .
As discussed already, there are 33 locations. Shown above are 33 bytes. There is one byte for each item that specifies the item's starting location. A value of $00 means that it starts off not being in any location. These are usually items that are discovered by other means, such as the hammer that is found in the furnace. It is not in the smithy's workplace until the furnace is examined. Other examples are the dead duck, which obviously isn't anywhere at first since the duck is initially alive.
To remind us of what each of the items are, let's lay the data out as follows and put the item name next to each and the name of the location that the specified location number refers to:
00 golden wrought ring
02 sword of hrakel [majestic chamber]
01 compass [cave]
1F shelf [tidy hut]
00 fine cut gem
00 old rusty axe
07 dull iron bar [roof of the tower]
00 bronze key
00 small silver key
1F worn scroll [tidy hut]
18 bottle of weed-o-kill [village store]
00 empty bottle
1C rotting dead horse [meandering pathway]
00 shattered crystal
00 sturdy hammer
1E wooden raft [wooden shed]
17 agitated duck [village pond]
00 dead duck
14 shovel [dusty storeroom]
06 oval rug [ground floor of tower]
14 lamp [dusty storeroom]
00 lit lamp
1A rabid wolf [meandering pathway]
00 dead wolf
07 gargoyles [roof of the tower]
00 cindered gargoyles
0B meditating guru [gloom forest]
24 evil mage [magic circle]
13 man in chains [town chamber]
00 man clutching tummy
0C nest [top of oak tree]
00 silver chest
18 matches [village store]