The Legend of Zelda/RAM map: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
m (Removed a duplicate 66F (Number of heart containers and how many are filled))
(Added sword and item variables,corrected address for triforce)
Line 3: Line 3:
{| border="1" cellpadding="1"
{| border="1" cellpadding="1"
!RAM !! Purpose
!RAM !! Purpose
|-
|656 || Cursor position for selecting Link's B item.
|-
|657 || Current sword: 00-None, 01-Sword, 02-White Sword, 03-Magical Sword
|-
|-
|658 || Number of Bombs
|658 || Number of Bombs
|-
|659 || Arrow status: 00-None, 01-Arrow, 02 Silver Arrow
|-
|65A || Link has Bow if 01
|-
|65B || Status of candle: 00-None, 01-Blue Candle, 02-Red Candle
|-
|65C || Link has Whistle if 01
|-
|65D || Link has Food if 01
|-
|65E || Status of Potion: 00-None/Letter, 01-Life Potion, 02-2ND Potion
|-
|65F || Link has Magical Rod if 01
|-
|660 || Link has Raft if 01
|-
|661 || Link has Magic Book if 01
|-
|662 || Status of Ring: 00-None, 01-Blue Ring, 02-Red Ring.  Note: Changing this value will not change Link's color.
|-
|663 || Link had Step Ladder if 01
|-
|664 || Link has Magical Key if 01
|-
|665 || Link has Power Bracelet if 01
|-
|667 || Link has Compass if 01
|-
|668 || Link has Map if 01
|-
|66C || Link has Clock if 01
|-
|-
|66D || Number of Rupees
|66D || Number of Rupees
Line 10: Line 46:
|66E || Number of Keys
|66E || Number of Keys
|-
|-
|66F || Number of heart containers and how many are filled
|66F || Bit0-3=how many hearts are filled. Bit4-7 = Number of heart containers - 1, 10 = 2 Heart Containers with none filled
|-
|-
|672 || Triforce pieces (when value is converted to binary, a 1 represents having the piece and a 0 represents not having it)
|670 || The heart fowwling the last filled heart. 7F to FF = full, 00 = empty, and 00 to 7F = half full.
Gets decreased depending on enemy and what ring Link has.
|-
|671 || Triforce pieces (when value is converted to binary, a 1 represents having the piece and a 0 represents not having it)
See [http://img519.imageshack.us/img519/2193/tribitflags0mi.jpg this] image for a visualization.
See [http://img519.imageshack.us/img519/2193/tribitflags0mi.jpg this] image for a visualization.
|-
|674 || Link has Boomerang if 01.  Note: 675 overrides this variable.
|-
|675 || Link has Magical Boomerang if 01
|-
|676 || Link has Magic Shield if 01
|}
|}


{{stub}}
{{stub}}

Revision as of 15:56, 31 December 2005

Chip tiny.png The following article is a RAM map for The Legend of Zelda.

RAM Purpose
656 Cursor position for selecting Link's B item.
657 Current sword: 00-None, 01-Sword, 02-White Sword, 03-Magical Sword
658 Number of Bombs
659 Arrow status: 00-None, 01-Arrow, 02 Silver Arrow
65A Link has Bow if 01
65B Status of candle: 00-None, 01-Blue Candle, 02-Red Candle
65C Link has Whistle if 01
65D Link has Food if 01
65E Status of Potion: 00-None/Letter, 01-Life Potion, 02-2ND Potion
65F Link has Magical Rod if 01
660 Link has Raft if 01
661 Link has Magic Book if 01
662 Status of Ring: 00-None, 01-Blue Ring, 02-Red Ring. Note: Changing this value will not change Link's color.
663 Link had Step Ladder if 01
664 Link has Magical Key if 01
665 Link has Power Bracelet if 01
667 Link has Compass if 01
668 Link has Map if 01
66C Link has Clock if 01
66D Number of Rupees
66E Number of Keys
66F Bit0-3=how many hearts are filled. Bit4-7 = Number of heart containers - 1, 10 = 2 Heart Containers with none filled
670 The heart fowwling the last filled heart. 7F to FF = full, 00 = empty, and 00 to 7F = half full.

Gets decreased depending on enemy and what ring Link has.

671 Triforce pieces (when value is converted to binary, a 1 represents having the piece and a 0 represents not having it)

See this image for a visualization.

674 Link has Boomerang if 01. Note: 675 overrides this variable.
675 Link has Magical Boomerang if 01
676 Link has Magic Shield if 01
So very stubbly.
This page is rather stubbly and could use some expansion.
Are you a bad enough dude to rescue this article?