EarthBound/RAM map: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
m (cat)
(Added everything from wramrange.txt)
Line 5: Line 5:
===Active Palettes===
===Active Palettes===


* <tt>000200 to 00023F (000040)</tt> = [[EarthBound:Current text palette|Current text palette]]
* <tt>000200 to 00023F (000040)</tt> = Current text [[EarthBound:Palettes|palette]]
* <tt>000240 to 0002FF (0000C0)</tt> = [[EarthBound:Current map palette|Current map palette]]
* <tt>000240 to 0002FF (0000C0)</tt> = Current map [[EarthBound:Palettes|palette]]
* <tt>000300 to 00039F (0000A0)</tt> = '''''Unclassified data'''''
* <tt>000300 to 00039F (0000A0)</tt> = '''''Unclassified data'''''
* <tt>0003A0 to 0003BF (000020)</tt> = [[EarthBound:Current party palette|Current party palette]]
* <tt>0003A0 to 0003BF (000020)</tt> = Current party [[EarthBound:Palettes|palette]]
* <tt>0003C0 to 0003DF (000020)</tt> = [[EarthBound:Current NPC palette (humans?)|Current NPC palette (humans?)]]
* <tt>0003C0 to 0003DF (000020)</tt> = Current NPC [[EarthBound:Palettes|palette]] (humans?)
* <tt>0003E0 to 0003FF (000020)</tt> = [[EarthBound:Current NPC palette (nonhumans?)|Current NPC palette (nonhumans?)]]
* <tt>0003E0 to 0003FF (000020)</tt> = Current NPC [[EarthBound:Palettes|palette]] (nonhumans?)


===Miscellaneous===
===Miscellaneous===


* <tt>005D62 to 005D63 (000002)</tt> = [[EarthBound:Current TPT entry|Current TPT entry]]
* <tt>005D62 to 005D63 (000002)</tt> = Current [[EarthBound:Text pointer table|TPT entry]]
* <tt>005D64 to 005D9F (00003C)</tt> = '''''Unclassified data'''''
* <tt>005D64 to 005D9F (00003C)</tt> = '''''Unclassified data'''''
* <tt>005DA0 to 005DA1 (000002)</tt> = If nonzero, causes mashroomization walking-direction-jumbling.
* <tt>005DA0 to 005DA1 (000002)</tt> = If nonzero, causes mashroomization walking-direction-jumbling.
Line 23: Line 23:
* <tt>0088E0 to 0088E3 (000004)</tt> = '''''Unclassified data'''''
* <tt>0088E0 to 0088E3 (000004)</tt> = '''''Unclassified data'''''
* <tt>0088E4 to 008957 (000074)</tt> = [[EarthBound:Window existence table|Window existence table]]
* <tt>0088E4 to 008957 (000074)</tt> = [[EarthBound:Window existence table|Window existence table]]
* <tt>008958 to 008958 (000001)</tt> = [[EarthBound:Current window with focus|Current window with focus]]
* <tt>008958 to 008958 (000001)</tt> = Current window with focus (what values does this use?)
* <tt>008959 to 009642 (000CF0)</tt> = '''''Unclassified data'''''
* <tt>008959 to 009642 (000CF0)</tt> = '''''Unclassified data'''''
* <tt>009643 to 009644 (000002)</tt> = '''''0x00 outside of battle, 0x01 in battle (if nonzero, treat like 0x01)'''''
* <tt>009643 to 009644 (000002)</tt> = 0x00 outside of battle, 0x01 in battle (if nonzero, treat like 0x01)
* <tt>009645 to 009645 (000001)</tt> = '''''Locks button input during text parsing if 01 (used by [[EarthBound:Text control codes|1F 50 and 1F 51]])'''''
* <tt>009645 to 009645 (000001)</tt> = Locks button input during text parsing if 01 (used by [[EarthBound:Text control codes|1F 50 and 1F 51]])
* <tt>009646 to 00964C (000007)</tt> = '''''Unclassified data'''''
* <tt>009646 to 00964C (000007)</tt> = '''''Unclassified data'''''
* <tt>00964D to 00964D (000001)</tt> = [[EarthBound:Triangle prompt status|Triangle prompt status]]
* <tt>00964D to 00964D (000001)</tt> = 0x00 = Blinking triangle prompt, nonzero = Absence of this prompt
* <tt>00964E to 0096C4 (000077)</tt> = '''''Unclassified data'''''
* <tt>00964E to 0096C4 (000077)</tt> = '''''Unclassified data'''''
* <tt>0096C5 to 0096C7 (000002)</tt> = [[EarthBound:Current text parser location|Current text parser location]]
* <tt>0096C5 to 0096C7 (000002)</tt> = [[EarthBound:Current text parser location|Current text parser location]]
Line 36: Line 36:
===Player data===
===Player data===


''(Some data in this range is known but not yet formatted for this map. More information may be available in links.)''
* <tt>0097F5 to 009800 (00000C)</tt> = '''''First twelve letters of player name with spaces (0x50) replaced with K (0x7B). Purpose unknown.'''''
* <tt>0099CE to 009B49 (00017C)</tt> = [[EarthBound:Character stats|Character stats]]
* <tt>009801 to 009818 (000018)</tt> = Player name
* <tt>009819 to 00981E (000006)</tt> = Pet's name
* <tt>00981F to 009824 (000006)</tt> = Favourite food
* <tt>009825 to 009828 (000004)</tt> = "PSI "
* <tt>009829 to 00982E (000006)</tt> = Favourite thing
* <tt>00982F to 009830 (000002)</tt> = " " and 0x00, used with favourite thing text stuff
* <tt>009831 to 009834 (000004)</tt> = Money on hand
* <tt>009835 to 009838 (000004)</tt> = Money in ATM
* <tt>009839 to 009839 (000001)</tt> = [[EarthBound:Learned PSI|Learned PSI]]
* <tt>00983A to 00983F (000006)</tt> = '''''Unclassified data'''''
* <tt>009840 to 009840 (000001)</tt> = Status (00 = Normal, 01 = Burnt, 03 = Skip Sandwich)
* <tt>009841 to 00984A (00000A)</tt> = '''''Unclassified data'''''
* <tt>00984B to 00986E (000024)</tt> = Escargo Express stored [[EarthBound:Items|items]]
* <tt>00986F to 009876 (000008)</tt> = '''''Unclassified data'''''
* <tt>009877 to 009878 (000002)</tt> = Party leader [[EarthBound:Map data#Coordinates|X coordinate]]
* <tt>009879 to 00987A (000002)</tt> = '''''Unclassified data'''''
* <tt>00987B to 00987C (000002)</tt> = Party leader [[EarthBound:Map data#Coordinates|Y coordinate]]
* <tt>00987D to 00987E (000002)</tt> = '''''Unclassified data'''''
* <tt>00987F to 00987F (000001)</tt> = [[EarthBound:Facing direction|Direction]] Ness is facing
* <tt>009880 to 009882 (000003)</tt> = '''''Unclassified data'''''
* <tt>009883 to 009883 (000001)</tt> = [[EarthBound:Party movement style|Party movement style]]
* <tt>009884 to 00988A (000007)</tt> = '''''Unclassified data'''''
* <tt>00988B to 009891 (000007)</tt> = ''Current [[EarthBound:Party members|party members]]
* <tt>009892 to 009895 (000004)</tt> = ''Current player-controlled [[EarthBound:Party members|party members]]
* <tt>009896 to 0098A2 (00000D)</tt> = '''''Unclassified data'''''
* <tt>0098A3 to 0098A3 (000001)</tt> = Number of party members
* <tt>0098A4 to 0098A4 (000001)</tt> = Number of player controlled party members
* <tt>0098A5 to 0098B0 (00000C)</tt> = '''''Unclassified data'''''
* <tt>0098B1 to 0098B1 (000001)</tt> = Auto Fight toggle (00 = Off, 01 = On)
* <tt>0098B2 to 0098B5 (000004)</tt> = Exit Mouse [[EarthBound:Map data#Coordinates|coordinates]], stored when [[EarthBound:Text control codes|1F 68]] is used
* <tt>0098B6 to 0098B6 (000001)</tt> = Text speed (1 = Fast, 2 = Medium, 3 = Slow)
* <tt>0098B7 to 0098B7 (000001)</tt> = Sound setting (1 = Stereo, 2 = Mono)
* <tt>0098B8 to 0099CD (000116)</tt> = '''''Unclassified data'''''
* <tt>0099CE to 009B49 (00017C)</tt> = [[EarthBound:Character stats table|Character stats table]]
 
===Miscellaneous===
 
* <tt>009E54 to 009E55 (000002)</tt> = Timer for Dad's phone calls
* <tt>00A21C to 00A??? (000???)</tt> = [[EarthBound:Enemies in battle table|Enemies in battle table]]
* <tt>00AA10 to 00AA11 (000002)</tt> = [[EarthBound:Items|Item]] to be received at the end of battle (High byte unused)
* <tt>00B4A1 to 00B4A1 (000001)</tt> = Current selected save slot (1-3)
* <tt>00B549 to 00B549 (000001)</tt> = [[EarthBound:Sector boundary behavior|Sector boundary behavior]]


==SRAM==
==SRAM==


[[Category:EarthBound|RAM map]]
[[Category:EarthBound|RAM map]]

Revision as of 20:52, 31 October 2005

Chip tiny.png The following article is a RAM map for EarthBound.

WRAM

Active Palettes

  • 000200 to 00023F (000040) = Current text palette
  • 000240 to 0002FF (0000C0) = Current map palette
  • 000300 to 00039F (0000A0) = Unclassified data
  • 0003A0 to 0003BF (000020) = Current party palette
  • 0003C0 to 0003DF (000020) = Current NPC palette (humans?)
  • 0003E0 to 0003FF (000020) = Current NPC palette (nonhumans?)

Miscellaneous

  • 005D62 to 005D63 (000002) = Current TPT entry
  • 005D64 to 005D9F (00003C) = Unclassified data
  • 005DA0 to 005DA1 (000002) = If nonzero, causes mashroomization walking-direction-jumbling.

Windows and text

  • 008650 to 0088DF (000290) = Window statistics table
  • 0088E0 to 0088E3 (000004) = Unclassified data
  • 0088E4 to 008957 (000074) = Window existence table
  • 008958 to 008958 (000001) = Current window with focus (what values does this use?)
  • 008959 to 009642 (000CF0) = Unclassified data
  • 009643 to 009644 (000002) = 0x00 outside of battle, 0x01 in battle (if nonzero, treat like 0x01)
  • 009645 to 009645 (000001) = Locks button input during text parsing if 01 (used by 1F 50 and 1F 51)
  • 009646 to 00964C (000007) = Unclassified data
  • 00964D to 00964D (000001) = 0x00 = Blinking triangle prompt, nonzero = Absence of this prompt
  • 00964E to 0096C4 (000077) = Unclassified data
  • 0096C5 to 0096C7 (000002) = Current text parser location
  • 0096C8 to 0097B9 (0000F2) = Unclassified data
  • 0097BA to 0097CA (000011) = Control code variables

Player data

  • 0097F5 to 009800 (00000C) = First twelve letters of player name with spaces (0x50) replaced with K (0x7B). Purpose unknown.
  • 009801 to 009818 (000018) = Player name
  • 009819 to 00981E (000006) = Pet's name
  • 00981F to 009824 (000006) = Favourite food
  • 009825 to 009828 (000004) = "PSI "
  • 009829 to 00982E (000006) = Favourite thing
  • 00982F to 009830 (000002) = " " and 0x00, used with favourite thing text stuff
  • 009831 to 009834 (000004) = Money on hand
  • 009835 to 009838 (000004) = Money in ATM
  • 009839 to 009839 (000001) = Learned PSI
  • 00983A to 00983F (000006) = Unclassified data
  • 009840 to 009840 (000001) = Status (00 = Normal, 01 = Burnt, 03 = Skip Sandwich)
  • 009841 to 00984A (00000A) = Unclassified data
  • 00984B to 00986E (000024) = Escargo Express stored items
  • 00986F to 009876 (000008) = Unclassified data
  • 009877 to 009878 (000002) = Party leader X coordinate
  • 009879 to 00987A (000002) = Unclassified data
  • 00987B to 00987C (000002) = Party leader Y coordinate
  • 00987D to 00987E (000002) = Unclassified data
  • 00987F to 00987F (000001) = Direction Ness is facing
  • 009880 to 009882 (000003) = Unclassified data
  • 009883 to 009883 (000001) = Party movement style
  • 009884 to 00988A (000007) = Unclassified data
  • 00988B to 009891 (000007) = Current party members
  • 009892 to 009895 (000004) = Current player-controlled party members
  • 009896 to 0098A2 (00000D) = Unclassified data
  • 0098A3 to 0098A3 (000001) = Number of party members
  • 0098A4 to 0098A4 (000001) = Number of player controlled party members
  • 0098A5 to 0098B0 (00000C) = Unclassified data
  • 0098B1 to 0098B1 (000001) = Auto Fight toggle (00 = Off, 01 = On)
  • 0098B2 to 0098B5 (000004) = Exit Mouse coordinates, stored when 1F 68 is used
  • 0098B6 to 0098B6 (000001) = Text speed (1 = Fast, 2 = Medium, 3 = Slow)
  • 0098B7 to 0098B7 (000001) = Sound setting (1 = Stereo, 2 = Mono)
  • 0098B8 to 0099CD (000116) = Unclassified data
  • 0099CE to 009B49 (00017C) = Character stats table

Miscellaneous

  • 009E54 to 009E55 (000002) = Timer for Dad's phone calls
  • 00A21C to 00A??? (000???) = Enemies in battle table
  • 00AA10 to 00AA11 (000002) = Item to be received at the end of battle (High byte unused)
  • 00B4A1 to 00B4A1 (000001) = Current selected save slot (1-3)
  • 00B549 to 00B549 (000001) = Sector boundary behavior

SRAM