The Legend of Zelda: Link's Awakening (Game Boy)/RAM map: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
m (Reverted edit of 71.239.132.37, changed back to last version by Jigglysaint)
(Added information about current and maximum health.)
Line 24: Line 24:
|DB0C - DB15 || Auto use items and keys - 00 empty, 01 has item
|DB0C - DB15 || Auto use items and keys - 00 empty, 01 has item
|-
|-
|DB5A || Current health. Each increment of 08h is one full heart, each increment of 04h is one-half heart.
|-
|DB5B || Maximum health. Simply counts the number of hearts Link has in hex. Max recommended value is 0Eh (14 hearts).
|}
|}

Revision as of 21:27, 10 February 2009

Chip tiny.png The following article is a RAM map for The Legend of Zelda: Link's Awakening (Game Boy).

RAM Purpose
DBD0 Quantity of keys in posession
DB16 - DB3D Beginning of dungeon item flags. 5 bytes fo each dungeon, 5th byte is quantity of keys for that dungeon
D401 Destination data byte 1: 00 - overworld, 01 - dungeon, 02 - side view area
D402 Destination data byte 2: Values from 00 to 1F accepted. FF is Color Dungeon
D403 Destination data byte 3: Room number. Must appear on map or it will lead to an empty room
D404 - D405 Destination data X and Y co-ordinates
DBAE Your position on the 8x8 dungeon grid
DB00 - DB01 Your currently held items.
DB02 - DB0B Inventory
DB0C - DB15 Auto use items and keys - 00 empty, 01 has item
DB5A Current health. Each increment of 08h is one full heart, each increment of 04h is one-half heart.
DB5B Maximum health. Simply counts the number of hearts Link has in hex. Max recommended value is 0Eh (14 hearts).