[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re-engineered: Wizardry III, Legacy of Llylgamyn



Scenario.Data and Scenario.MSGS revealed (Part 5 of xx)
-------------------------------------------------------

I've updated several sheets at Google/Spreadsheet for WizardryIII:

https://docs.google.com/spreadsheet/ccc?key=0ApO5bjpT_F-OdExERF9FRWF3bktJaVAwOFVvWk8xdWc#gid=0

In this posting, I will summarize what is there, and also include 6
maps in "text" format.

Sheets:

  Scenario.Data TOC
  Level1
  Level2
  Level3
  Level4
  Level5
  Level6
  Enemies
  Rewards
  Objects
  Special Print Chars
  Experience
  Scenario.Mesgs


Scenario.Data TOC sheet
-----------------------

Block 0 of SCENARIO.DATA contains a structure I call the Scenario
Table of Contents (TSCNTOC).

   250   1    1:D     3    TSCNTOC = RECORD
   251   1    1:D     3        GAMENAME : STRING[ 40];
   252   1    1:D     3        RECPER2B : ARRAY[ ZZERO..ZEXP] OF
INTEGER;
   253   1    1:D     3        RECPERDK : ARRAY[ ZZERO..ZEXP] OF
INTEGER;
   254   1    1:D     3        UNUSEDXX : ARRAY[ ZZERO..ZEXP] OF
INTEGER;
   255   1    1:D     3        BLOFF    : ARRAY[ ZZERO..ZEXP] OF
INTEGER;
   256   1    1:D     3        RACE     :
ARRAY[ NORACE..HOBBIT]         OF STRING[ 9];
   257   1    1:D     3        CLASS    : PACKED
ARRAY[ FIGHTER..NINJA]  OF STRING[ 9];
   258   1    1:D     3        STATUS   :
ARRAY[ OK..LOST]               OF STRING[ 8];
   259   1    1:D     3        ALIGN    : PACKED
ARRAY[ UNALIGN..EVIL]   OF STRING[ 9];
   260   1    1:D     3        SPELLHSH : PACKED ARRAY[ 0..50] OF
INTEGER;
   261   1    1:D     3        SPELLGRP : PACKED ARRAY[ 0..50] OF
0..7;
   262   1    1:D     3        SPELL012 : PACKED ARRAY[ 0..50] OF
TSPEL012;
   263   1    1:D     3      END;

Scenario.Data starts at block 170 of the Master Scenario disk (Track
$15 Sector $B).

Block 1 of Scenario.Data contains the MAGE spell names.  An "*" before
a name indicates the beginning of a new group of spells.  There are 7
groups.

Block 2 of Scenario.Data contains the PRIEST spell names.  Like the
MAGE spells, an "*" before a name indicates the beginning of a new
group of spells.  There are 7 groups.

Block 3 of Scenario.Data is the start of the data pointed to by
RECPER2B (Records per 2 blocks), RECPERDK (Records per Disk), and
BLOFF( Block Offset).


Level 1 to Level 6
------------------

Sheets labeled "Level1" to "Level6" contain information about each
level of the maze.

I have created a "hi-res" picture of the level with walls, doors,
hidden doors, and openings and placed it here.

Next there is a description of the maze as described by the TMAZE
record with W, S, E, N.

Following that is the "FIGHTS" array (for each location of this
level).

Next is the SQREXTRA array for each square of this level.  Each value
is an index into SQRETYPE.

SQRETYPE is an array that is indexed by the values in SQREXTRA.  For
example, for level 1 of the maze at coordinate 0,0 are stairs.  This
is indicated by SQREXTRA having 13 in that location.  The values for
AUX0, AUX1, and AUX2 give more information about the "extra" stuff
there.  For the stairs at 1, 0, 0 it indicates the transfer is to
0,0,0 (back to the shops).

ENMYCALC is next.  It determines the type of enemies that you will
encounter during melee.


Enemies sheet
-------------

This sheet describes the information in Scenario.Data associated with
each of the enemies you will encounter.

There are a total of 78 monsters or enemies in the game.


Rewards sheet
-------------

There are 24 "reward packages" in the game.  The rewards are based on
the type of enemies defeated.


Objects sheet
-------------

There are 104 items or objects in the game that are described by this
table.


Special Print Chars sheet
-------------------------

The special print characters in Scenario.Data are actually a
collection of values that are used in the "print" subroutines to
display the "hi-res" pictures of enemies, treasure chest, and beach/
island.

This sheet is a display of the 30 special hi-res pictures in the game.


Experience Levels sheet
-----------------------

Each type of character (Fighter, Mage, Priest, …) advances to a higher
level based on this table.

Once a character reaches level 12, then the constant additive value at
level 0 is used to determine the next level.


Scenario.Mesgs sheet
--------------------

The file Scenario.Mesgs contains special messages that are displayed
during the game.  Each message has an index.  The index is usually
found in the SQRTYPE array under AUX1.

I don't think message 21 is ever displayed in this game (?)

Some messages have additional information about them.  For example,
the cost for "A powerful magic crystal" (25000) follows the message.

The answers to riddles also follow the riddle text.


Maps of the 6 levels (Text Format)
==================================

   +--++--++  ++--++--++--++--++--++--++--++--++--++--++--++--++--++--+
+--++--++--+
19        ||  ||  //  //  //  //
||
   +--++  ++//++--++  ++--++  ++--++  ++--++--++  ++  ++  ++  ++  ++  +
+  ++  ++--+
   +--++  ++//++--++  ++--++  ++--++  ++--++--++  ++  ++  ++  ++  ++  +
+  ++  ++--+
18 /  ||  ||  //  ||  ||  ||  ||  ||  ||  //
||                              ||  /
   +//++  ++--++//++//++//++//++//++  ++//++//++--++--++--++--++--++--+
+--++--++//+
   +//++  ++--++//++//++//++//++//++  ++//++//++--++--++--++--++--++--+
+--++--++//+
17 /  ||  //  //                  ||
||  //  //          //          //          /
   +--++  ++//++//++//++//++//++//++  ++--++  ++--++--++--++--++//++--+
+--++--++--+
   +--++  ++//++//++//++//++//++//++  ++--++  ++--++--++--++--++//++--+
+--++--++--+
16 |      ||  ||  ||  ||  ||  ||  ||      ||
||  //  //          //  //  //  //  |
   +  ++  ++  ++  ++--++--++--++  ++  ++  ++  ++//++--++--++--++--++--+
+--++--++--+
   +  ++  ++  ++  ++--++--++--++  ++  ++  ++  ++//++--++--++--++--++--+
+--++--++--+
15 |      ||  ||  //  ||  ||  ||  ||      ||  ||  //  //  //  //  ||
||  ||  //  |
   +  ++  ++  ++//++--++//++//++//++  ++  ++//++  ++--++--++--++--++//+
+//++  ++--+
   +  ++  ++  ++//++--++//++//++//++  ++  ++//++  ++--++--++--++--++//+
+//++  ++--+
14 |      ||  ||      ||  ||  ||  ||      //
||  //  //          //      ||  //  |
   +  ++  ++  ++  ++--++--++  ++  ++  ++  ++--++--++--++--++--++--++  +
+  ++  ++--+
   +  ++  ++  ++  ++--++--++  ++  ++  ++  ++--++--++--++--++--++--++  +
+  ++  ++--+
13 |      ||  ||          //  ||  ||      //
||  //  //          //      //  //  |
   +  ++  ++//++--++--++--++--++--++  ++  ++//++  ++--++--++--++--++//+
+//++  ++--+
   +  ++  ++//++--++--++--++--++--++  ++  ++//++  ++--++--++--++--++//+
+//++  ++--+
12 |      ||  //      //      //  ||      ||  ||  //  //  //  //  ||
||  ||  //  |
   +  ++  ++--++--++--++--++--++  ++  ++  ++  ++//++--++--++--++--++--+
+--++--++--+
   +  ++  ++--++--++--++--++--++  ++  ++  ++  ++//++--++--++--++--++--+
+--++--++--+
11 |      ||      //          ||  ||      ||
||  //  //          //  //  //  //  |
   +--++  ++  ++  ++--++--++//++  ++  ++--++  ++--++--++--++--++//++--+
+--++--++--+
   +--++  ++  ++  ++--++--++//++  ++  ++--++  ++--++--++--++--++//++--+
+--++--++--+
10 /  ||  ||      ||  //  ||  //  ||
||  //  //          //          //          /
   +//++  ++//++//++//++--++--++  ++  ++//++//++--++--++--++--++--++--+
+--++--++//+
   +//++  ++//++//++//++--++--++  ++  ++//++//++--++--++--++--++--++--+
+--++--++//+
 9 /  ||  ||  ||  ||      //  ||  ||  ||  //
||                              ||  /
   +--++  ++  ++--++  ++--++--++  ++  ++--++--++  ++  ++  ++  ++  ++  +
+  ++  ++--+
   +--++  ++  ++--++  ++--++--++  ++  ++--++--++  ++  ++  ++  ++  ++  +
+  ++  ++--+
 8        ||      //  //      //
||
   +--++--++--++--++--++--++--++--++--++--++--++--++--++--++--++--++--+
+--++--++--+
   +--++--++--++--++--++--++--++--++--++--++--++--++--++--++--++--++--+
+--++--++--+
 7 |                          //  ||  //      //      ||  ||
||              |
   +  ++  ++  ++  ++  ++  ++  ++--++  ++  ++  ++--++--++  ++  ++//++//+
+  ++--++--+
   +  ++  ++  ++  ++  ++  ++  ++--++  ++  ++  ++--++--++  ++  ++//++//+
+  ++--++--+
 6 |                          //  ||  ||      ||      ||  ||  ||  ||
||  ||      |
   +  ++  ++  ++  ++  ++  ++  ++--++//++--++--++//++//++  ++//++  ++--+
+//++  ++  +
   +  ++  ++  ++  ++  ++  ++  ++--++//++--++--++//++//++  ++//++  ++--+
+//++  ++  +
 5 |                              ||              ||
||      //  //      |
   +  ++  ++  ++  ++  ++  ++  ++  ++//++  ++--++--++--++  ++--++--++--+
+//++--++--+
   +  ++  ++  ++  ++  ++  ++  ++  ++//++  ++--++--++--++  ++--++--++--+
+//++--++--+
 4 |                              ||  ||  //
||  //  //          //  ||      |
   +  ++  ++  ++  ++  ++  ++  ++  ++  ++--++--++  ++--++  ++--++--++--+
+  ++  ++  +
   +  ++  ++  ++  ++  ++  ++  ++  ++  ++--++--++  ++--++  ++--++--++--+
+  ++  ++  +
 3 |                              ||  //      ||      ||
||              ||      |
   +--++  ++  ++  ++  ++  ++  ++  ++--++  ++  ++  ++--++//++  ++--++--+
+  ++//++--+
   +--++  ++  ++  ++  ++  ++  ++  ++--++  ++  ++  ++--++//++  ++--++--+
+  ++//++--+
 2    ::                          ||  //      ||  ||          //
||  //
   +//++..++  ++  ++  ++  ++  ++  ++  ++  ++//++//++  ++--++--++  ++  +
+  ++//++--+
   +//++..++  ++  ++  ++  ++  ++  ++  ++  ++//++//++  ++--++--++  ++  +
+  ++//++--+
 1 |      ::                      ||  ||  ||      //  //      ||
||  ||      |
   +  ++  ++..++  ++  ++  ++  ++  ++  ++--++  ++  ++  ++  ++  ++--++--+
+--++  ++  +
   +  ++  ++..++  ++  ++  ++  ++  ++  ++--++  ++  ++  ++  ++  ++--++--+
+--++  ++  +
 0 |      //  ||                  ||  //          ||  ||
||          //      |
   +--++--++  ++--++--++--++--++--++--++--++--++--++--++--++--++--++--+
+--++--++--+
     0   1   2   3   4   5   6   7   8   9  10  11  12  13  14  15
16  17  18  19


LEVEL:  2

   +--++--++--++--++--++--++--++--++--++--++--++--++--++--++--++--++--+
+--++--++--+
19 |                  ||          ::      ||      //  //
||          //  |
   +--++--++--++--++  ++  ++--++--++  ++  ++  ++--++  ++--++--++--++  +
+  ++  ++--+
   +--++--++--++--++  ++  ++--++--++  ++  ++  ++--++  ++--++--++--++  +
+  ++  ++--+
18 |      //  //  ||  ||  ||  ||  ||      ||  ||
||  ::                  ||  |
   +  ++--++  ++--++  ++  ++  ++  ++--++..++--++  ++--++  ++  ++--++--+
+--++--++//+
   +  ++--++  ++--++  ++  ++  ++  ++--++..++--++  ++--++  ++  ++--++--+
+--++--++//+
17 |  ||          ||  ||  ||  ||          //  ||
||                      |
   +//++--++--++--++  ++..++  ++  ++//++--++--++--++--++--++--++--++--+
+  ++  ++  +
   +//++--++--++--++  ++..++  ++  ++//++--++--++--++--++--++--++--++--+
+  ++  ++  +
16 |      ||      //  ||      ||  ||  //          ::              //
||          |
   +--++  ++  ++//++  ++--++--++--++--++  ++  ++//++--++--++--++--++--+
+--++  ++--+
   +//++  ++  ++//++  ++--++--++--++--++  ++  ++//++--++--++--++--++--+
+--++  ++--+
15 |  ||  ||  ||  ||                  ||      ||              ||
||          |
   +  ++//++//++  ++--++--++--++--++  ++--++..++  ++--++--++  ++..++  +
+  ++  ++  +
   +  ++--++//++  ++--++--++--++--++  ++--++..++  ++--++--++  ++--++  +
+  ++  ++  +
14 |      //  ||      //          ||      ||  ||  ::  //  ||  ||  ||
||          |
   +--++--++  ++--++--++  ++--++--++--++--++  ++  ++--++--++  ++  ++  +
+  ++  ++  +
   +--++--++  ++--++--++  ++--++--++--++--++  ++  ++--++--++  ++  ++  +
+  ++  ++  +
13 |          ||          //                  ||              |/  ||
||          |
   +--++--++--++--++--++--++--++--++--++--++  ++--++//++--++//++--++//+
+  ++  ++  +
   +--++--++--++--++--++--++--++--++--++--++  ++--++//++--++//++--++..+
+  ++  ++  +
12 |  ||          //      ||          //  ||      ||  ||          ||
||          |
   +  ++  ++--++//++--++  ++  ++--++--++  ++--++--++  ++--++  ++--++  +
+..++//++  +
   +  ++  ++--++//++--++  ++  ++--++--++  ++--++--++  ++--++  ++--++  +
+..++//++  +
11 |  ||  ||      ||  ||  ||  ||  //  ||  ||  //      |/  ||  ||  ::
||  ||  ||  |
   +//++//++--++--++  ++--++  ++//++  ++--++--++--++--++  ++  ++--++  +
+  ++  ++  +
   +//++//++--++--++  ++--++  ++//++  ++--++--++--++--++  ++  ++--++  +
+  ++  ++  +
10 |      ||      //          ::  ||  ||      //          |/  ::
||  ||  ||  |
   +  ++//++  ++--++--++--++--++--++--++  ++  ++--++--++--++--++--++--+
+--++  ++  +
   +  ++//++  ++--++--++--++--++--++--++  ++  ++--++--++--++--++--++--+
+--++  ++  +
 9 |  ||  ||  ||      //      ||      //
||                  /:          ||  |
   +  ++  ++  ++  ++--++//++  ++--++  ++--++--++--++--++--++--++--++  +
+--++--++  +
   +  ++  ++  ++  ++--++//++  ++--++  ++--++--++--++--++--++--++--++  +
+--++--++  +
 8 |  ||  ||  ||  ||  ||  ||      //      ||  //  //
||  ::      |
   +//++--++  ++//++  ++  ++--++--++--++--++--++--++--++--++--++--++--+
+--++  ++  +
   +//++--++  ++//++  ++  ++--++--++--++--++--++--++--++--++--++--++--+
+--++  ++  +
 7 |  ||      ||      ||      //
||                  ::  //  ::          |
   +  ++  ++--++  ++--++--++--++//++--++--++--++--++--++--++--++--++--+
+--++--++--+
   +  ++  ++--++  ++--++--++--++//++--++--++--++--++--++--++--++--++--+
+--++--++--+
 6 |  ||  ||  ||  ||  ||      /|  |/      ||          ||
|:  ::          ||  ::  |
   +  ++  ++  ++//++  ++  ++--++  ++//++  ++//++--++  ++//++--++//++--+
+  ++  ++--+
   +  ++  ++  ++//++  ++  ++--++  ++//++  ++//++--++  ++--++--++--++--+
+  ++  ++--+
 5 |  ||  ||  ||      ||  |/      ||  ||  ||      ||
||  ||      |
   +  ++  ++  ++  ++--++//++--++--++  ++//++//++  ++--++--++--++--++  +
+  ++..++--+
   +  ++  ++  ++  ++--++//++//++--++  ++//++//++  ++--++--++--++--++  +
+  ++..++--+
 4 |  ||  ||  ||  ||      ||  |/      ||  ||  ||                  ||
||  ||      |
   +  ++  ++  ++//++  ++--++  ++--++--++  ++  ++--++--++--++--++  ++--+
+--++  ++--+
   +  ++  ++  ++//++  ++--++  ++//++--++  ++  ++--++--++--++--++  ++--+
+//++  ++--+
 3 |  ||  ||  ||      //  /|      //      ||                  ||
||      //  ::  |
   +  ++  ++..++--++--++--++--++--++--++..++--++--++--++--++  ++  ++  +
+//++--++  +
   +  ++  ++..++--++--++--++--++--++--++..++..++--++--++--++  ++  ++  +
+//++--++  +
 2 |  ||  ||  ||              ||      ||  ::      ||      //  ||  ||
||  ||      |
   +  ++//++  ++  ++  ++  ++  ++  ++  ++--++  ++--++  ++--++..++  ++  +
+  ++--++--+
   +  ++//++  ++  ++  ++  ++  ++  ++  ++--++  ++--++  ++--++..++  ++  +
+  ++--++--+
 1 |  ||      //              //          ||  ||  /|  ||  ||  ||  ||
||          |
   +..++  ++  ++  ++  ++--++//++--++  ++  ++  ++//++//++  ++  ++  ++..+
+//++--++--+
   +..++  ++  ++  ++  ++--++//++--++  ++  ++  ++//++//++  ++  ++  ++..+
+//++--++--+
 0 |          ||      ||      ||  //      ||      |/      ||
||                  |
   +--++--++--++--++--++--++--++--++--++--++--++--++--++--++--++--++--+
+--++--++--+
     0   1   2   3   4   5   6   7   8   9  10  11  12  13  14  15
16  17  18  19


LEVEL:  3

   +--++--++  ++--++--++--++--++--++  ++  ++  ++--++  ++  ++  ++  ++--+
+--++--++--+
19 |      ||  ||          ||      ||  //      ||          ||
||          ||      |
   +  ++  ++  ++  ++--++--++  ++  ++  ++--++--++  ++--++--++  ++--++--+
+  ++  ++  +
   +  ++  ++  ++  ++--++--++  ++  ++  ++--++--++  ++--++--++  ++--++--+
+  ++  ++  +
18 |      //  ||              ||      ||  /|      ||
||  //      |
   +--++//++--++--++--++--++--++--++--++--++--++--++--++--++--++--++--+
+--++//++--+
   +--++//++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++--+
+--++//++--+
17    ||  ||
||      ||
   +//++  ++--++--++--++--++--++--++--++--++--++--++--++--++--++--++  +
+  ++  ++--+
   +//++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  +
+  ++  ++--+
16 |  //  ||                                                      ||
||  ||  ||  |
   +//++--++--++--++--++--++--++--++--++--++--++--++--++--++--++--++  +
+--++--++  +
   +//++--++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  +
+--++--++  +
15    ||  ||                                                       |
|   |
   +--++  ++--++--++--++--++--++--++--++--++--++--++--++--++--++  ++  +
+  ++--++--+
   +--++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  +
+  ++--++--+
14        ||                                                   |   |
|   |
   +--++--++--++--++--++--++--++--++--++--++--++--++--++--++  ++  ++  +
+  ++  ++--+
   +--++--++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  +
+  ++  ++--+
13        ||                                               |   |   |
|   |
   +  ++  ++--++--++--++--++--++--++--++--++--++--++--++  ++  ++  ++  +
+  ++--++--+
   +  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  +
+  ++--++--+
12 |  ||  ||                                           |   |   |   |
|   |      |
   +  ++--++--++--++--++--++--++--++--++--++--++--++  ++  ++  ++  ++  +
+  ++  ++  +
   +  ++--++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  +
+  ++  ++  +
11        ||                                       |   |   |   |   |
|   |  ||
   +--++  ++--++--++--++--++--++--++--++--++--++  ++  ++  ++  ++  ++  +
+  ++//++--+
   +--++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  +
+  ++//++--+
10    ||  ||                                   |   |   |   |   |   |
|   |  ||
   +  ++  ++--++--++--++--++--++--++--++--++  ++  ++  ++  ++  ++  ++  +
+  ++//++  +
   +  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  +
+  ++//++  +
 9    //  ||                               |   |   |   |   |   |   |
|   |  ||
   +--++  ++--++--++--++--++--++--++--++  ++  ++  ++  ++  ++  ++  ++  +
+  ++  ++--+
   +--++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  +
+  ++  ++--+
 8        /|                           |   |   |   |   |   |   |   |
|   |
   +  ++--++--++--++--++--++--++--++  ++  ++  ++  ++  ++  ++  ++  ++  +
+  ++  ++--+
   +  ++--++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  +
+  ++  ++--+
 7 |  ||  ||                       |   |   |   |   |   |   |   |   |
|   |      |
   +--++  ++--++--++--++--++--++  ++  ++  ++  ++  ++  ++  ++  ++  ++  +
+  ++  ++--+
   +--++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  +
+  ++  ++--+
 6 |      ||                   |   |   |   |   |   |   |   |   |   |
|   |      |
   +  ++--++--++--++--++--++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  +
+  ++--++  +
   +  ++--++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  +
+  ++--++  +
 5 |      ||               |   |   |   |   |   |   |   |   |   |   |
|   |      |
   +--++  ++--++--++--++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  +
+  ++--++//+
   +--++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  +
+  ++//++//+
 4 |      ||           |   |   |   |   |   |   |   |   |   |   |   |
|   |  ||  |
   +  ++--++--++--++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  +
+  ++  ++--+
   +  ++--++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  +
+  ++  ++--+
 3        ||       |   |   |   |   |   |   |   |   |   |   |   |   |
|   |
   +--++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  +
+  ++  ++--+
   +--++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  +
+  ++  ++--+
 2        /|       |   |   |   |   |   |   |   |   |   |   |   |   |
|   |  ||
   +--++--++--++--++--++--++--++--++--++--++--++--++--++--++--++--++--+
+--++//++--+
   +--++//++//++--++--++--++--++--++//++--++--++--++--++--++--++--++--+
+--++//++--+
 1 |      ||              /|  ||  //  |/          ||  ||
||  //      |
   +  ++--++  ++  ++--++  ++  ++--++  ++--++--++  ++  ++  ++--++--++  +
+  ++  ++  +
   +  ++--++  ++  ++--++  ++  ++--++  ++--++--++  ++  ++  ++--++--++  +
+  ++  ++  +
 0 |      ||  //  ||      ||          ||      ||      ||  ||
||      ||      |
   +--++--++  ++--++--++--++--++--++  ++  ++  ++--++  ++  ++  ++  ++--+
+--++--++--+
     0   1   2   3   4   5   6   7   8   9  10  11  12  13  14  15
16  17  18  19


LEVEL:  4

   +  ++--++--++--++--++  ++--++--++--++--++  ++--++--++--++--++  ++--+
+//++//++--+
19 |  ||              ||  ||              ||  ||              ||  ||
||  //  //  |
   +  ++  ++--++--++  ++  ++  ++--++--++  ++  ++  ++--++--++  ++  ++//+
+--++--++  +
   +  ++  ++--++--++  ++  ++  ++--++--++  ++  ++  ++--++--++  ++  ++//+
+--++--++  +
18 |  ||  ||  //  ||  ||  ||  ||      ||  ||  ||  ||  //  ||  ||  ||
||      //  |
   +  ++  ++//++//++  ++  ++  ++  ++  ++  ++  ++  ++//++//++  ++  ++  +
+//++--++//+
   +  ++  ++//++//++  ++  ++  ++  ++  ++  ++  ++  ++//++//++  ++  ++  +
+//++--++//+
17 |  ||  ||  ||  ||  ||  ||  ||      ||  ||  ||  ||  ||  ||  ||  ||
||      ||  |
   +  ++  ++//++--++  ++  ++  ++//++--++  ++  ++  ++--++//++  ++  ++  +
+//++  ++  +
   +  ++  ++//++--++  ++  ++  ++//++--++  ++  ++  ++--++//++  ++  ++  +
+//++  ++  +
16 |  ::              ::  ::              ::  ::              ::  ||
||  ||  //  |
   +  ++--++--++--++--++  ++--++--++--++--++  ++--++--++--++--++  ++  +
+  ++--++--+
   +  ++--++--++--++--++  ++--++--++--++--++  ++--++--++--++--++  ++  +
+  ++--++--+
15 |                                                              ||
||  ||      |
   +--++--++--++--++--++--++..++--++--++--++--++--++--++--++--++  ++  +
+  ++//++  +
   +--++--++--++--++--++//++..++--++--++--++--++--++--++--++--++  ++  +
+  ++//++  +
14 |  //  //  //  ||      ||  ||      //      ||      //      ||  ||
||      ||  |
   +//++--++--++//++//++--++  ++//++  ++  ++--++  ++--++--++  ++  ++  +
+--++--++--+
   +//++--++--++//++//++--++  ++//++  ++  ++--++  ++--++--++  ++  ++  +
+--++--++--+
13            ||  ||  ||  ||  ||  ||  ||  //      ||      ||
||
   +--++--++  ++//++  ++  ++  ++  ++--++--++--++--++  ++  ++//++--++--+
+--++--++--+
   +--++--++  ++//++  ++  ++  ++  ++--++--++--++--++  ++  ++//++--++--+
+--++--++--+
12 |      ||  ||  ||  //  ||  ||      //
||      ::      :|      //              |
   +  ++//++  ++//++--++//++  ++  ++--++  ++  ++//++--++--++--++  ++--+
+  ++//++--+
   +  ++//++  ++//++--++//++  ++  ++--++  ++  ++//++--++--++--++  ++--+
+  ++//++--+
11 |  ||  ||  ||  //  //  ||  ||  ||      ||  ||  //      //  ||
||  ||      |
   +//++  ++..++//++//++//++  ++--++//++  ++--++  ++--++  ++//++--++//+
+//++--++//+
   +//++  ++..++--++//++--++  ++--++//++  ++--++  ++--++  ++//++--++//+
+//++--++//+
10 |  ||      ||  ||  ||  ||  ||      ||  ||          ||  ||  ||
||      ||  |
   +  ++--++--++  ++  ++  ++  ++  ++--++--++--++--++--++--++  ++//++--+
+  ++  ++--+
   +  ++--++--++  ++  ++  ++  ++  ++--++--++--++--++--++--++  ++//++--+
+  ++  ++--+
 9 |      //      ||  ||  ||  ||  ||      ||      //  ||      ||
||              |
   +..++--++--++--++  ++  ++  ++  ++  ++//++  ++--++  ++--++  ++  ++  +
+  ++  ++  +
   +..++--++--++--++  ++  ++  ++  ++  ++//++  ++--++  ++--++  ++  ++  +
+  ++  ++  +
 8 |      ::      ||      ||  ||  //  ||      ||          //  ||
||              |
   +  ++--++--++  ++--++  ++  ++--++--++--++--++--++--++--++--++  ++--+
+  ++  ++--+
   +  ++--++--++  ++--++  ++  ++--++--++--++--++--++--++--++--++  ++--+
+  ++  ++--+
 7 |  ||      ||  ||  ||  ||
||  //      //  |
   +..++--++  ++..++  ++  ++  ++--++//++--++//++//++--++//++--++  ++//+
+--++..++//+
   +..++--++  ++..++  ++  ++  ++--++//++--++//++//++--++//++--++  ++//+
+--++..++//+
 6 |  ||  ::  ||  ||      ||  ||      ||      ||      ||  ||  ||
||  //      //  |
   +  ++..++--++  ++  ++--++  ++  ++--++  ++--++--++  ++  ++//++  ++--+
+  ++  ++--+
   +  ++..++--++  ++  ++--++  ++  ++--++  ++--++--++  ++  ++//++  ++--+
+  ++  ++--+
 5 |      ::      ||      ||  ||  ||      ::  ||  ||  ||      ||
||              |
   +--++--++--++--++--++--++  ++--++--++--++--++  ++--++//++  ++  ++--+
+  ++  ++--+
   +--++--++--++--++--++--++  ++--++--++--++--++  ++--++//++  ++  ++--+
+  ++  ++--+
 4 |      ::                                          ||  ||  ||
||  //      //  |
   +  ++//++--++--++  ++--++--++--++--++--++--++--++--++  ++--++  ++//+
+--++--++//+
   +  ++//++--++--++  ++--++--++--++--++--++--++--++--++  ++--++  ++//+
+--++--++//+
 3 |  ||  ||      ||  ||      //                  //          //  ||
||      ||  |
   +  ++  ++--++  ++--++  ++--++//++//++//++--++  ++--++  ++--++  ++  +
+  ++  ++  +
   +  ++  ++--++  ++--++  ++--++//++//++//++--++  ++--++  ++--++  ++  +
+  ++  ++  +
 2 |  ||  ||  ::  ::  //  ||      ||  ||  ||  ||  ||  ||  ||  ||
||  //      //  |
   +--++  ++--++--++  ++  ++  ++--++  ++  ++  ++--++  ++//++  ++  ++--+
+//++//++--+
   +//++  ++--++--++  ++  ++  ++--++  ++  ++  ++--++  ++//++  ++  ++--+
+//++//++--+
 1 |  ||  ||      ::  ||  ||  ||      ||  ||  //  ||          ||  ||
||      ||  |
   +  ++//++--++--++  ++--++  ++--++--++  ++--++  ++--++//++--++  ++  +
+//++//++  +
   +  ++//++--++--++  ++//++  ++--++--++  ++//++  ++--++//++--++  ++  +
+//++//++  +
 0 |  ||  ||      ::  ||  ||  ||          ||  ||      //      ||
||      ||      |
   +  ++--++--++--++--++  ++--++--++--++--++  ++--++--++--++--++  ++--+
+//++//++--+
     0   1   2   3   4   5   6   7   8   9  10  11  12  13  14  15
16  17  18  19


LEVEL:  5

   +  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++--++//++//++//++//++//+
+//++--++  +
19                                            ||  ||  ||  ||  ||  ||
||  //  ||
   +  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++//++--++//++--++//++--+
+--++  ++  +
   +  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++//++--++//++--++//++--+
+--++  ++  +
18                                            ||          ||  ||
||          ||
   +  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++--++--++  ++  ++  +
+--++--++  +
   +  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++--++--++  ++  ++  +
+--++--++  +
17                                            ||  ||          ||
||  //      ||
   +  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++--++  ++//++  ++  +
+  ++  ++  +
   +  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++--++  ++//++  ++  +
+  ++  ++  +
16                                            ||          ||  ||  ||
||      ||
   +  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++--++//++--++  ++  +
+  ++--++  +
   +  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++--++//++--++  ++  +
+  ++--++  +
15                                            ||  ||  ||
||  //  ||
   +--++--++--++--++--++--++//++--++--++--++--++  ++//++--++--++--++//+
+--++--++--+
   +--++--++--++--++--++--++//++--++--++--++--++  ++//++--++--++--++//+
+--++--++--+
14 /  /|  //  //  //  //  ||  ||
||      //      //      ||  /
   +//++//++//++--++--++--++  ++--++--++  ++--++--++  ++  ++  ++  ++  +
+--++//++//+
   +//++//++//++--++--++--++  ++--++--++  ++--++--++  ++  ++  ++  ++  +
+--++//++//+
13 |  /|  ||  //      //          //  ||  ||      //
||      //      //      ||  |
   +--++//++//++--++--++--++  ++--++--++  ++--++--++--++--++--++--++--+
+--++--++//+
   +--++//++//++--++--++--++  ++--++--++  ++--++--++--++--++--++--++--+
+--++--++//+
12 /  //  //  //  //  //  ||  ||  ||      ||      |/  |/      ||
||      ||  /
   +--++--++--++--++--++  ++//++//++  ++--++  ++  ++--++  ++  ++  ++  +
+  ++  ++--+
   +--++--++--++--++--++  ++//++//++  ++--++  ++  ++--++  ++  ++  ++  +
+  ++  ++--+
11                    ||  ||  ||  ||  //  ||      ||  ||      ||
||      ||
   +  ++--++--++//++  ++  ++  ++  ++  ++--++//++--++  ++--++--++--++//+
+//++--++  +
   +  ++--++--++//++  ++  ++  ++  ++  ++--++--++--++  ++--++//++--++//+
+//++--++  +
10    //  //  ||  ||  ||  ||  ||  ||  //  |/  //          ||
||          ||
   +--++--++//++//++--++  ++//++//++  ++--++--++--++  ++--++--++  ++--+
+--++--++--+
   +--++--++//++//++--++  ++//++//++  ++--++--++--++  ++--++//++  ++--+
+--++--++--+
 9 /      //  ||  //  ||  ||      ||  //  //      ||  ||
||      ::          /
   +--++--++//++//++//++  ++  ++  ++--++--++  ++  ++--++  ++  ++--++  +
+--++--++--+
   +--++--++//++//++--++  ++  ++  ++--++--++  ++  ++--++  ++  ++--++  +
+--++--++--+
 8 /  //  //  ||  ||  ||  ||      ||  //  ||      /|  /|
||          ||  //  /
   +--++--++--++--++//++//++//++//++  ++  ++--++--++--++--++--++--++  +
+--++--++//+
   +--++--++--++--++--++//++//++//++  ++  ++--++--++--++--++--++--++  +
+--++--++//+
 7 /  //  //  //  |/  ||  /|          ||          ||
||      ||  /
   +--++--++--++--++--++--++--++--++--++--++--++  ++--++//++--++  ++--+
+  ++  ++--+
   +--++--++--++--++--++--++--++--++--++--++--++  ++--++//++--++  ++--+
+  ++  ++--+
 6                                            ||          ||
||      //      ||
   +  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++--++--++--++  ++  ++  +
+//++//++  +
   +  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++--++--++--++  ++  ++  +
+//++//++  +
 5                                            ||          //  ||
||  ||  ||
   +  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++//++//++//++--++--++  +
+  ++--++  +
   +  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++//++//++//++--++--++  +
+  ++--++  +
 4                                            ||  ||  ||  ||
||      //  ||
   +  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++--++  ++  ++  ++//+
+  ++--++  +
   +  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++--++  ++  ++  ++//+
+  ++--++  +
 3                                            ||      ||  //      //
||  ||  ||
   +  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++--++//++  ++--++--++  +
+  ++  ++  +
   +  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++--++//++  ++--++--++  +
+  ++  ++  +
 2                                            ||      ||  //      //
||      ||
   +  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++--++--++  ++  ++--+
+--++  ++  +
   +  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++--++--++  ++  ++--+
+--++  ++  +
 1                                            ||  ||  ||  ||      ||
||  ||  ||
   +  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++--++//++//++//++//++//+
+//++--++  +
   +  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++--++//++//++//++//++//+
+//++--++  +
 0
||  //                      :/  ||
   +  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++  ++--++//++//++//++//++//+
+//++--++  +
     0   1   2   3   4   5   6   7   8   9  10  11  12  13  14  15
16  17  18  19


LEVEL:  6

   +--++--++--++  ++  ++--++--++--++--++--++--++--++--++--++--++  ++  +
+--++--++..+
19 |          ||      ||  |/  ||  ||              ||  //  ||
||          |
   +  ++  ++  ++--++  ++//++  ++  ++  ++--++--++  ++  ++--++  ++  ++  +
+  ++  ++  +
   +  ++  ++  ++--++  ++--++  ++  ++  ++--++--++  ++  ++--++  ++  ++  +
+  ++  ++  +
18 |          ||      ||  ||  ||  ||      ||          ||
||          |
   +  ++  ++  ++  ++--++  ++  ++  ++--++  ++  ++--++--++  ++  ++  ++  +
+--++--++  +
   +  ++  ++  ++  ++--++  ++  ++  ++--++  ++  ++--++--++  ++  ++  ++  +
+//++--++  +
17 |          ||      ||          ||  //  ||  ||
||      |/  |
   +--++--++--++--++--++--++..++--++  ++--++--++  ++  ++  ++  ++//++  +
+--++--++--+
   +--++--++--++--++--++--++..++--++  ++--++--++  ++  ++  ++  ++//++  +
+--++--++--+
16 |              ||  ||
||                              //  //              |
   +  ++--++  ++--++  ++--++  ++  ++  ++  ++  ++  ++  ++  ++  ++//++  +
+  ++  ++  +
   +  ++--++  ++--++  ++--++  ++  ++  ++  ++  ++  ++  ++  ++  ++//++  +
+  ++  ++  +
15 |      ||  ||  ||
||  //                                                  |
   +--++  ++  ++  ++  ++--++  ++  ++  ++--++--++--++--++  ++  ++  ++  +
+--++--++--+
   +--++  ++  ++  ++  ++--++  ++  ++  ++--++--++--++--++  ++  ++  ++  +
+--++--++--+
14 |      ||  ||              ||      ||          //
||                          |
   +  ++--++  ++--++--++  ++--++--++--++  ++--++--++--++--++--++--++--+
+  ++  ++//+
   +  ++--++  ++--++--++  ++--++--++--++  ++--++--++--++--++--++--++--+
+  ++  ++//+
13 |  ||              ||          ||      ||      //
||      ||  ||  |
   +  ++  ++--++--++--++--++  ++--++  ++--++  ++--++--++--++  ++--++  +
+--++  ++--+
   +  ++  ++--++--++--++--++  ++--++  ++--++  ++--++--++--++  ++--++  +
+--++  ++--+
12    ||                  ||                  ||          ||
||          ||  ||
   +--++--++  ++--++--++  ++--++--++  ++--++--++  ++  ++  ++  ++--++--+
+--++  ++  +
   +--++--++  ++--++--++  ++--++--++  ++--++--++  ++  ++  ++  ++--++--+
+--++  ++  +
11        ||              //  ||      ||      ||
||              ||  ||
   +  ++  ++  ++--++  ++--++--++  ++--++  ++  ++  ++  ++  ++--++--++  +
+  ++  ++--+
   +  ++  ++  ++--++  ++--++--++  ++--++  ++  ++  ++  ++  ++--++--++  +
+  ++  ++--+
10    ||  ||      ||  ||      ||      ||  ||  ||          ||
||      ||
   +  ++--++--++  ++--++--++  ++  ++--++  ++  ++--++--++--++  ++  ++  +
+--++--++  +
   +  ++--++--++  ++--++--++  ++  ++--++  ++  ++--++--++--++  ++  ++  +
+--++--++  +
 9 |              ||      //  ||  ||      ||      ||          ||  ||
||      ||  |
   +  ++--++  ++  ++--++  ++--++  ++  ++--++  ++  ++--++--++--++  ++--+
+  ++  ++  +
   +  ++--++  ++  ++--++  ++--++  ++  ++--++  ++  ++--++--++--++  ++--+
+  ++  ++  +
 8 |  ||      ||          ||      ||      ||  ||          ||
||      ||      |
   +  ++--++--++--++--++--++  ++--++--++--++  ++--++--++  ++  ++--++  +
+  ++--++--+
   +  ++--++--++--++--++--++  ++--++--++--++  ++--++--++  ++  ++--++  +
+  ++--++--+
 7                                                    ||      ||
||  ||
   +  ++--++--++--++--++--++--++  ++--++--++  ++--++  ++--++--++  ++--+
+  ++  ++--+
   +  ++--++--++--++--++--++--++  ++--++--++  ++--++  ++--++--++  ++--+
+  ++  ++--+
 6 |  ||      ||  ||          ::          ||  ||      ||  //  //
||      ||      |
   +  ++  ++--++  ++//++  ++  ++--++--++--++--++  ++--++--++--++  ++--+
+--++  ++--+
   +  ++  ++--++  ++--++  ++  ++--++--++--++//++  ++--++--++--++  ++--+
+--++  ++--+
 5    ||  ||      ||  ||      ||      ||      ||
||          ||  ||
   +--++  ++  ++--++  ++  ++  ++  ++  ++  ++  ++--++--++--++  ++  ++--+
+  ++  ++  +
   +--++  ++  ++--++  ++  ++  ++  ++  ++  ++  ++--++--++--++  ++  ++--+
+  ++  ++  +
 4        ||      ||  /|      ||  ||  ||      ||          ::  ||
||  ||  ||
   +--++--++--++  ++--++--++--++  ++--++--++--++//++  ++  ++  ++--++  +
+--++  ++--+
   +--++--++--++  ++--++--++--++  ++--++--++//++--++  ++  ++  ++--++  +
+--++  ++--+
 3            ||  ||      ||      //  /|      ||  ||      ||
||  ||
   +--++--++  ++  ++  ++  ++  ++--++--++  ++  ++  ++--++--++--++  ++--+
+  ++--++--+
   +--++--++  ++  ++  ++  ++  ++--++--++  ++  ++  ++--++//++--++  ++--+
+  ++--++--+
 2    ||              ||          //  ||      ||
||              ||
   +  ++  ++--++  ++--++  ++--++--++--++//++//++--++--++--++  ++--++--+
+--++  ++--+
   +  ++  ++--++  ++--++  ++--++--++--++//++//++--++--++--++  ++--++--+
+--++  ++--+
 1 |  ||      ||  ||  ||  ||      ||      ||      ||      ||
||  //      ||      |
   +  ++--++  ++--++//++--++  ++  ++  ++  ++  ++  ++  ++  ++--++--++  +
+--++--++  +
   +  ++--++  ++--++//++--++  ++  ++  ++  ++  ++  ++  ++  ++--++--++  +
+--++--++  +
 0 |              ||  ||  //      //      ||      //      //  ||
||              |
   +--++--++--++  ++  ++--++--++--++--++--++--++--++--++--++--++  ++  +
+--++--++..+
     0   1   2   3   4   5   6   7   8   9  10  11  12  13  14  15
16  17  18  19


--Tommy