Lagoon:RAM map

From Data Crystal
Jump to: navigation, search


0x7e:0459      Weapon shop inventory array (start)

Equipment booleans (bits toggle items):

0x7e:04d0      6 short sword
               5 silver sword
               4 magic sword
               3 force sword
               2 moon blade
               1 bandit armor
               0 gold armor

0x7e:04d1      7 sonic armor
               6 thunder armor
               5 moon armor
               4 iron shield
               3 large shield
               2 great shield
               1 maxim shield
               0 moon shield

0x7e:04d2      7 protective ring
               6 power ring
               5 defensive ring
               4 curing ring
               3 time ring
               2 earth staff
               1 sky staff
               0 star staff

0x7e:04d3      7 moon staff
               6 fire crystal
               5 wind crystal
               4 water crystal
               3 thunder crystal



Item booleans (Bits act as booleans):

0x7e:04d4      7 Healing Pot
               6 Shiny Ball
               5 Shiny Stone
               4 Elixir
               3 Bright Stone
               2 Life Ball
               1 Samson Key
               0 Key of Philips

0x7e:04d5
0x7e:04d6
0x7e:04d7      For this byte, only bits 7 and 6 control the final two items



Event booleans:

0x7e:04d2      3
               2
               1 Spoke to Mayor of Voloh and received moveable mantle
               0

0x7e:04e0      7 Defeated Samson
               6 Defeated Natela
               5 Defeated Eardon
               4 Defeated Duma
               3
               2
               1
               0

0x7e:04e1      1 Followed by Thor
               0 Followed by Giles

0x7e:04e2      7 Giles returned to Atland
               6 
               5 Went to cleric & mayor (2)
               4 Talked to mayor outside of gold cave (3)
               3 Went to mayor's house at beginning of game (1)
               2 Talked to mayor at his house (4)
               1 
               0 Talked to Voloh elder about tablets

0x7e:04e3
0x7e:04e4
0x7e:04e5

Note: Some events are controlled by items.
For example, the Samson Key bit must be toggled to enter the boss's room.
Also, equipment must be toggled to enter the gold cave past the guards.



0x7e:0502      Horizontal Coord
0x7e:0504      Vertical Coord



Character Stats:

0x7e:0520-0521 HP Current
0x7e:0522      MP Current
0x7e:0524      Strength stat
0x7e:0526      Defense stat
0x7e:0528-0529 Gold
0x7e:052a-052b Experience
0x7e:052c      Level

0x7e:0530      Selected Weapon

0x7e:0536      Selected Item

0x7e:1011      Qty. HP healed while resting

0x7e:5000      Dialogue text (first byte of array)

Starting bytes for arrays dealing with the decompression dictionary
0x7f:2000     
0x7f:2110
0x7f:2220
0x7f:2330
0x7f:2440
0x7f:2800

0x7f:7f7c      Temporary storage for graphics after decompression