Lagoon (SNES)/RAM map: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
m (event bits)
m (event bits, and other misc)
Line 40: Line 40:


  Event booleans:
  Event booleans:
  0x7e:04e2      Examples:  bit 3 toggles event 1, bit 5 toggles event 2
0x7e:04e0
                7 Defeated Samson
                6 Defeated Natela
                5 Defeated Eardon
                4 Defeated Duma
 
0x7e:04e1
                0 Followed by Giles
 
  0x7e:04e2       
                7 Giles returned to Atland
 
                 5 Went to cleric & mayor (2)
                 5 Went to cleric & mayor (2)
                 4 Talked to mayor outside of gold cave (3)
                 4 Talked to mayor outside of gold cave (3)
                 3 Went to mayor's house at beginning of game (1)
                 3 Went to mayor's house at beginning of game (1)
                 2 Talked to mayor at his house (4)
                 2 Talked to mayor at his house (4)
                 1
                  
  0x7e:04e3
  0x7e:04e3
  0x7e:04e4
  0x7e:04e4
  0x7e:04e5
  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:
  Character Stats:

Revision as of 23:39, 7 November 2010

Equipment booleans:
0x7e:04d0      Bits toggle items
               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:
0x7e:04d4      Bits act as booleans
0x7e:04d5      
0x7e:04d6
0x7e:04d7      For this byte, only bits 7 and 6 control the final two items
Event booleans:
0x7e:04e0
               7 Defeated Samson
               6 Defeated Natela
               5 Defeated Eardon
               4 Defeated Duma
0x7e:04e1
               0 Followed by Giles
0x7e:04e2      
               7 Giles returned to Atland
               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)
               
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: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