Difference between revisions of "Star Wars: The Empire Strikes Back (NES):RAM map"

From Data Crystal
Jump to navigation Jump to search
Line 4: Line 4:
 
|'''Address'''  || '''Description''' || '''Notes'''
 
|'''Address'''  || '''Description''' || '''Notes'''
 
|-
 
|-
|$0006||PAD1 input: All buttons held
+
|$0006||PAD1 input: All buttons held||
 
|-
 
|-
|$0007||PAD1 input: New button presses
+
|$0007||PAD1 input: New button presses||
 
|-
 
|-
|$00BE||Stage #
+
|$00BE||Stage #||
 
|-
 
|-
|$00C9||Tauntaun's health (Stage 1)
+
|$00C9||Tauntaun's health (Stage 1)||
 
|-
 
|-
|$00CA||Luke's health meter
+
|$00CA||Luke's health meter||
 
|-
 
|-
|$00CB||Luke's force meter
+
|$00CB||Luke's force meter||
 
|-
 
|-
 
|$00D6||Lightsaber flag||
 
|$00D6||Lightsaber flag||
Line 20: Line 20:
 
* 0xFF = Lightsaber obtained
 
* 0xFF = Lightsaber obtained
 
|-
 
|-
|$0502||Continues
+
|$0502||Continues||
 
|-
 
|-
|$051E||High jump timer
+
|$051E||High jump timer||
 
|-
 
|-
 
|$0536||Force powers||
 
|$0536||Force powers||
Line 34: Line 34:
 
* 0x80 = Restore health
 
* 0x80 = Restore health
 
|-
 
|-
|$0545||# of cables (Stage 2)
+
|$0545||# of cables (Stage 2)||
 
|}
 
|}

Revision as of 12:05, 19 May 2019

Address Description Notes
$0006 PAD1 input: All buttons held
$0007 PAD1 input: New button presses
$00BE Stage #
$00C9 Tauntaun's health (Stage 1)
$00CA Luke's health meter
$00CB Luke's force meter
$00D6 Lightsaber flag
  • 0x00 = None
  • 0xFF = Lightsaber obtained
$0502 Continues
$051E High jump timer
$0536 Force powers
  • 0x01 = High jump
  • 0x02 = Fast run
  • 0x04 = Levitate
  • 0x08 = Reflect shots
  • 0x10 = Enhance Lightsaber
  • 0x20 = Enhance Blaster
  • 0x40 = Graphic Eye
  • 0x80 = Restore health
$0545 # of cables (Stage 2)