Dragon Warrior IV (NES)/SRAM map

From Data Crystal
Jump to navigation Jump to search

Chip tiny.png The following article is an SRAM map for Dragon Warrior IV (NES).

So very stubbly.
This page is rather stubbly and could use some expansion.
Are you a bad enough dude to rescue this article?

SRAM

Address space is $0000 - $1fff.

Main

Category Address Size Description
??? $0000 byte ???
Party Members $0001 - $001e 30 bytes Hero (details)
Party Members $001f - $003c 30 bytes Cristo (details)
Party Members $003d - $005a 30 bytes Nara (details)
Party Members $005b - $0078 30 bytes Mara (details)
Party Members $0079 - $0096 30 bytes Brey (details)
Party Members $0097 - $00b4 30 bytes Taloon (details)
Party Members $00b5 - $00d2 30 bytes Ragnar (details)
Party Members $00d3 - $00f0 30 bytes Alena (details)
... $00f1 - $0156 ... ???
General $0157 - $0159 long Gold (TODO: verify 3 bytes length)
General $015a byte Chapter number (0 = chapter 1, ... 4 = chapter 5)
General $015b byte Current Tactics (00 = Normal, 01 = Save MP, 02 = Offensive, 03 = Defensive, 04 = Try Out, 05 = Use No MP)
... $015c - $0164 ... ???
General $0165 - $0167 long Return Locations (details)
... $0168 - $1fff ... ???

Party Members

Hero

Category Address Size Description
Stats $0001 # 00000001 bit ...
Stats $0001 # 00000010 bit ...
Stats $0001 # 00000100 bit ...
Stats $0001 # 00001000 bit ...
Stats $0001 # 00010000 bit ...
Stats $0001 # 00100000 bit Poisoned
Stats $0001 # 01000000 bit Paralyzed
Stats $0001 # 10000000 bit 1 = Alive, 0 = Dead
Stats $0002 - $0003 word Current HP
Stats $0004 - $0005 word Current MP
Stats $0006 byte Level
Stats $0007 byte Strength
Stats $0008 byte Agility
Stats $0009 byte Vitality
Stats $000a byte Intelligence
Stats $000b byte Luck
Stats $000c byte ???
Stats $000d - $000e word Maximum HP
Stats $000f - $0010 word Maximum MP
Stats $0011 - $0013 long Current XP
Stats $0014 byte Item slot #1
Stats $0015 byte Item slot #2
Stats $0016 byte Item slot #3
Stats $0017 byte Item slot #4
Stats $0018 byte Item slot #5
Stats $0019 byte Item slot #6
Stats $001a byte Item slot #7
Stats $001b byte Item slot #8
Stats $001c # 00000001 bit Battle Spell #1 - Expel
Stats $001c # 00000010 bit Battle Spell #2 - Healmore
Stats $001c # 00000100 bit Battle Spell #3 - Blaze
Stats $001c # 00001000 bit Battle Spell #4 - Return
Stats $001c # 00010000 bit Battle Spell #5 - Sleepmore
Stats $001c # 00100000 bit Battle Spell #6 - Awake
Stats $001c # 01000000 bit Battle Spell #7 - Firebal
Stats $001c # 10000000 bit Battle Spell #8 - Healall
Stats $001d # 00000001 bit Battle Spell #9 - Ironize
Stats $001d # 00000010 bit Battle Spell #10 - FendSpell
Stats $001d # 00000100 bit Battle Spell #11 - Zap
Stats $001d # 00001000 bit Battle Spell #12 - Transform
Stats $001d # 00010000 bit Battle Spell #13 - Boom
Stats $001d # 00100000 bit Battle Spell #14 - Healusall
Stats $001d # 01000000 bit Battle Spell #15 - Lightning
Stats $001d # 10000000 bit Battle Spell #16 - Vivify
Stats $001e # 00000001 bit Battle Spell #17 - Thordain
Stats $001e # 00000010 bit Battle Spell #18 - Chance
Stats $001e # 00000100 bit Overworld Spell #1 - Return
Stats $001e # 00001000 bit Overworld Spell #2 - Healmore
Stats $001e # 00010000 bit Overworld Spell #3 - Repel
Stats $001e # 00100000 bit Overworld Spell #4 - Outside
Stats $001e # 01000000 bit Overworld Spell #5 - Healall
Stats $001e # 10000000 bit Overworld Spell #6 - Vivify

Cristo

Category Address Size Description
Stats $001f # 00000001 bit ...
Stats $001f # 00000010 bit ...
Stats $001f # 00000100 bit ...
Stats $001f # 00001000 bit ...
Stats $001f # 00010000 bit ...
Stats $001f # 00100000 bit Poisoned
Stats $001f # 01000000 bit Paralyzed
Stats $001f # 10000000 bit 1 = Alive, 0 = Dead
Stats $0020 - $0021 word Current HP
Stats $0022 - $0023 word Current MP
Stats $0024 byte Level
Stats $0025 byte Strength
Stats $0026 byte Agility
Stats $0027 byte Vitality
Stats $0028 byte Intelligence
Stats $0029 byte Luck
Stats $002a byte ???
Stats $002b - $002c word Maximum HP
Stats $002d - $002e word Maximum MP
Stats $002f - $0031 long Current XP
Stats $0032 byte Item slot #1
Stats $0033 byte Item slot #2
Stats $0034 byte Item slot #3
Stats $0035 byte Item slot #4
Stats $0036 byte Item slot #5
Stats $0037 byte Item slot #6
Stats $0038 byte Item slot #7
Stats $0039 byte Item slot #8
Stats $003a # 00000001 bit Battle Spell #1 - Upper
Stats $003a # 00000010 bit Battle Spell #2 - Heal
Stats $003a # 00000100 bit Battle Spell #3 - Surround
Stats $003a # 00001000 bit Battle Spell #4 - Healmore
Stats $003a # 00010000 bit Battle Spell #5 - StopSpell
Stats $003a # 00100000 bit Battle Spell #6 - Heallall
Stats $003a # 01000000 bit Battle Spell #7 - Increase
Stats $003a # 10000000 bit Battle Spell #8 - Healus
Stats $003b # 00000001 bit Battle Spell #9 - Beat
Stats $003b # 00000010 bit Battle Spell #10 - Vivify
Stats $003b # 00000100 bit Battle Spell #11 - Defeat
Stats $003b # 00001000 bit Battle Spell #12 - Revive
Stats $003b # 00010000 bit Battle Spell #13 - n/a
Stats $003b # 00100000 bit Battle Spell #14 - n/a
Stats $003b # 01000000 bit Battle Spell #15 - n/a
Stats $003b # 10000000 bit Battle Spell #16 - n/a
Stats $003c # 00000001 bit Overworld Spell #1 - Heal
Stats $003c # 00000010 bit Overworld Spell #2 - Antidote
Stats $003c # 00000100 bit Overworld Spell #3 - Healmore
Stats $003c # 00001000 bit Overworld Spell #4 - Vivify
Stats $003c # 00010000 bit Overworld Spell #5 - Heallall
Stats $003c # 00100000 bit Overworld Spell #6 - Healus
Stats $003c # 01000000 bit Overworld Spell #7 - Revive
Stats $003c # 10000000 bit Overworld Spell #8 - n/a

Nara

Category Address Size Description
Stats $003d # 00000001 bit ...
Stats $003d # 00000010 bit ...
Stats $003d # 00000100 bit ...
Stats $003d # 00001000 bit ...
Stats $003d # 00010000 bit ...
Stats $003d # 00100000 bit Poisoned
Stats $003d # 01000000 bit Paralyzed
Stats $003d # 10000000 bit 1 = Alive, 0 = Dead
Stats $003e - $003f word Current HP
Stats $0040 - $0041 word Current MP
Stats $0042 byte Level
Stats $0043 byte Strength
Stats $0044 byte Agility
Stats $0045 byte Vitality
Stats $0046 byte Intelligence
Stats $0047 byte Luck
Stats $0048 byte ???
Stats $0049 - $004a word Maximum HP
Stats $004b - $004c word Maximum MP
Stats $004d - $004f long Current XP
Stats $0050 byte Item slot #1
Stats $0051 byte Item slot #2
Stats $0052 byte Item slot #3
Stats $0053 byte Item slot #4
Stats $0054 byte Item slot #5
Stats $0055 byte Item slot #6
Stats $0056 byte Item slot #7
Stats $0057 byte Item slot #8
Stats $0058 # 00000001 bit Battle Spell #1 - Infernos
Stats $0058 # 00000010 bit Battle Spell #2 - Heal
Stats $0058 # 00000100 bit Battle Spell #3 - Sleep
Stats $0058 # 00001000 bit Battle Spell #4 - Healmore
Stats $0058 # 00010000 bit Battle Spell #5 - NumbOff
Stats $0058 # 00100000 bit Battle Spell #6 - Healall
Stats $0058 # 01000000 bit Battle Spell #7 - Infermore
Stats $0058 # 10000000 bit Battle Spell #8 - Barrior
Stats $0059 # 00000001 bit Battle Spell #9 - Sleepmore
Stats $0059 # 00000010 bit Battle Spell #10 - Vivify
Stats $0059 # 00000100 bit Battle Spell #11 - Infermost
Stats $0059 # 00001000 bit Battle Spell #12 - Farewell
Stats $0059 # 00010000 bit Battle Spell #13 - n/a
Stats $0059 # 00100000 bit Battle Spell #14 - n/a
Stats $0059 # 01000000 bit Battle Spell #15 - n/a
Stats $0059 # 10000000 bit Battle Spell #16 - n/a
Stats $005a # 00000001 bit Overworld Spell #1 - Heal
Stats $005a # 00000010 bit Overworld Spell #2 - NumbOff
Stats $005a # 00000100 bit Overworld Spell #3 - Healmore
Stats $005a # 00001000 bit Overworld Spell #4 - Vivify
Stats $005a # 00010000 bit Overworld Spell #5 - Healall
Stats $005a # 00100000 bit Overworld Spell #6 - n/a
Stats $005a # 01000000 bit Overworld Spell #7 - n/a
Stats $005a # 10000000 bit Overworld Spell #8 - n/a

Mara

Category Address Size Description
Stats $005b # 00000001 bit ...
Stats $005b # 00000010 bit ...
Stats $005b # 00000100 bit ...
Stats $005b # 00001000 bit ...
Stats $005b # 00010000 bit ...
Stats $005b # 00100000 bit Poisoned
Stats $005b # 01000000 bit Paralyzed
Stats $005b # 10000000 bit 1 = Alive, 0 = Dead
Stats $005c - $005d word Current HP
Stats $005e - $005f word Current MP
Stats $0060 byte Level
Stats $0061 byte Strength
Stats $0062 byte Agility
Stats $0063 byte Vitality
Stats $0064 byte Intelligence
Stats $0065 byte Luck
Stats $0066 byte ???
Stats $0067 - $0068 word Maximum HP
Stats $0069 - $006a word Maximum MP
Stats $006b - $006d long Current XP
Stats $006e byte Item slot #1
Stats $006f byte Item slot #2
Stats $0070 byte Item slot #3
Stats $0071 byte Item slot #4
Stats $0072 byte Item slot #5
Stats $0073 byte Item slot #6
Stats $0074 byte Item slot #7
Stats $0075 byte Item slot #8
Stats $0076 # 00000001 bit Battle Spell #1 - Blaze
Stats $0076 # 00000010 bit Battle Spell #2 - Sap
Stats $0076 # 00000100 bit Battle Spell #3 - Firebal
Stats $0076 # 00001000 bit Battle Spell #4 - RobMagic
Stats $0076 # 00010000 bit Battle Spell #5 - Bang
Stats $0076 # 00100000 bit Battle Spell #6 - BeDragon
Stats $0076 # 01000000 bit Battle Spell #7 - Blazemore
Stats $0076 # 10000000 bit Battle Spell #8 - Blazemost
Stats $0077 # 00000001 bit Battle Spell #9 - Firebane
Stats $0077 # 00000010 bit Battle Spell #10 - Firevolt
Stats $0077 # 00000100 bit Battle Spell #11 - Boom
Stats $0077 # 00001000 bit Battle Spell #12 - Explodet
Stats $0077 # 00010000 bit Battle Spell #13 - n/a
Stats $0077 # 00100000 bit Battle Spell #14 - n/a
Stats $0077 # 01000000 bit Battle Spell #15 - n/a
Stats $0077 # 10000000 bit Battle Spell #16 - n/a
Stats $0078 # 00000001 bit Overworld Spell #1 - Return
Stats $0078 # 00000010 bit Overworld Spell #2 - Outside
Stats $0078 # 00000100 bit Overworld Spell #3 - StepGuard
Stats $0078 # 00001000 bit Overworld Spell #4 - n/a
Stats $0078 # 00010000 bit Overworld Spell #5 - n/a
Stats $0078 # 00100000 bit Overworld Spell #6 - n/a
Stats $0078 # 01000000 bit Overworld Spell #7 - n/a
Stats $0078 # 10000000 bit Overworld Spell #8 - n/a

Brey

Category Address Size Description
Stats $0079 # 00000001 bit ...
Stats $0079 # 00000010 bit ...
Stats $0079 # 00000100 bit ...
Stats $0079 # 00001000 bit ...
Stats $0079 # 00010000 bit ...
Stats $0079 # 00100000 bit Poisoned
Stats $0079 # 01000000 bit Paralyzed
Stats $0079 # 10000000 bit 1 = Alive, 0 = Dead
Stats $007a - $007b word Current HP
Stats $007c - $007d word Current MP
Stats $007e byte Level
Stats $007f byte Strength
Stats $0080 byte Agility
Stats $0081 byte Vitality
Stats $0082 byte Intelligence
Stats $0083 byte Luck
Stats $0084 byte ???
Stats $0085 - $0086 word Maximum HP
Stats $0087 - $0088 word Maximum MP
Stats $0089 - $008b long Current XP
Stats $008c byte Item slot #1
Stats $008d byte Item slot #2
Stats $008e byte Item slot #3
Stats $008f byte Item slot #4
Stats $0090 byte Item slot #5
Stats $0091 byte Item slot #6
Stats $0092 byte Item slot #7
Stats $0093 byte Item slot #8
Stats $0094 # 00000001 bit Battle Spell #1 - IceBolt
Stats $0094 # 00000010 bit Battle Spell #2 - Sap
Stats $0094 # 00000100 bit Battle Spell #3 - Snowstorm
Stats $0094 # 00001000 bit Battle Spell #4 - Bounce
Stats $0094 # 00010000 bit Battle Spell #5 - Icespears
Stats $0094 # 00100000 bit Battle Spell #6 - Return
Stats $0094 # 01000000 bit Battle Spell #7 - RobMagic
Stats $0094 # 10000000 bit Battle Spell #8 - Defence
Stats $0095 # 00000001 bit Battle Spell #9 - Chaos
Stats $0095 # 00000010 bit Battle Spell #10 - SpeedUp
Stats $0095 # 00000100 bit Battle Spell #11 - Blizzard
Stats $0095 # 00001000 bit Battle Spell #12 - Bikill
Stats $0095 # 00010000 bit Battle Spell #13 - n/a
Stats $0095 # 00100000 bit Battle Spell #14 - n/a
Stats $0095 # 01000000 bit Battle Spell #15 - n/a
Stats $0095 # 10000000 bit Battle Spell #16 - n/a
Stats $0096 # 00000001 bit Overworld Spell #1 - Return
Stats $0096 # 00000010 bit Overworld Spell #2 - Outside
Stats $0096 # 00000100 bit Overworld Spell #3 - Day-Night
Stats $0096 # 00001000 bit Overworld Spell #4 - X-Ray
Stats $0096 # 00010000 bit Overworld Spell #5 - n/a
Stats $0096 # 00100000 bit Overworld Spell #6 - n/a
Stats $0096 # 01000000 bit Overworld Spell #7 - n/a
Stats $0096 # 10000000 bit Overworld Spell #8 - n/a

Taloon

Category Address Size Description
Stats $0097 # 00000001 bit ...
Stats $0097 # 00000010 bit ...
Stats $0097 # 00000100 bit ...
Stats $0097 # 00001000 bit ...
Stats $0097 # 00010000 bit ...
Stats $0097 # 00100000 bit Poisoned
Stats $0097 # 01000000 bit Paralyzed
Stats $0097 # 10000000 bit 1 = Alive, 0 = Dead
Stats $0098 - $0099 word Current HP
Stats $009a - $009b word Current MP
Stats $009c byte Level
Stats $009d byte Strength
Stats $009e byte Agility
Stats $009f byte Vitality
Stats $00a0 byte Intelligence
Stats $00a1 byte Luck
Stats $00a2 byte ???
Stats $00a3 - $00a4 word Maximum HP
Stats $00a5 - $00a6 word Maximum MP
Stats $00a7 - $00a9 long Current XP
Stats $00aa byte Item slot #1
Stats $00ab byte Item slot #2
Stats $00ac byte Item slot #3
Stats $00ad byte Item slot #4
Stats $00ae byte Item slot #5
Stats $00af byte Item slot #6
Stats $00b0 byte Item slot #7
Stats $00b1 byte Item slot #8
Stats $00b2 byte Battle Spells - n/a
Stats $00b3 byte Battle Spells - n/a
Stats $00b4 byte Overworld Spells - n/a

Ragnar

Category Address Size Description
Stats $00b5 # 00000001 bit ...
Stats $00b5 # 00000010 bit ...
Stats $00b5 # 00000100 bit ...
Stats $00b5 # 00001000 bit ...
Stats $00b5 # 00010000 bit ...
Stats $00b5 # 00100000 bit Poisoned
Stats $00b5 # 01000000 bit Paralyzed
Stats $00b5 # 10000000 bit 1 = Alive, 0 = Dead
Stats $00b6 - $00b7 word Current HP
Stats $00b8 - $00b9 word Current MP
Stats $00ba byte Level
Stats $00bb byte Strength
Stats $00bc byte Agility
Stats $00bd byte Vitality
Stats $00be byte Intelligence
Stats $00bf byte Luck
Stats $00c0 byte ???
Stats $00c1 - $00c2 word Maximum HP
Stats $00c3 - $00c4 word Maximum MP
Stats $00c5 - $00c7 long Current XP
Stats $00c8 byte Item slot #1
Stats $00c9 byte Item slot #2
Stats $00ca byte Item slot #3
Stats $00cb byte Item slot #4
Stats $00cc byte Item slot #5
Stats $00cd byte Item slot #6
Stats $00ce byte Item slot #7
Stats $00cf byte Item slot #8
Stats $00d0 byte Battle Spells - n/a
Stats $00d1 byte Battle Spells - n/a
Stats $00d2 byte Overworld Spells - n/a

Alena

Category Address Size Description
Stats $00d3 # 00000001 bit ...
Stats $00d3 # 00000010 bit ...
Stats $00d3 # 00000100 bit ...
Stats $00d3 # 00001000 bit ...
Stats $00d3 # 00010000 bit ...
Stats $00d3 # 00100000 bit Poisoned
Stats $00d3 # 01000000 bit Paralyzed
Stats $00d3 # 10000000 bit 1 = Alive, 0 = Dead
Stats $00d4 - $00d5 word Current HP
Stats $00d6 - $00d7 word Current MP
Stats $00d8 byte Level
Stats $00d9 byte Strength
Stats $00da byte Agility
Stats $00db byte Vitality
Stats $00dc byte Intelligence
Stats $00dd byte Luck
Stats $00de byte ???
Stats $00df - $00e0 word Maximum HP
Stats $00e1 - $00e2 word Maximum MP
Stats $00e3 - $00e5 long Current XP
Stats $00e6 byte Item slot #1
Stats $00e7 byte Item slot #2
Stats $00e8 byte Item slot #3
Stats $00e9 byte Item slot #4
Stats $00ea byte Item slot #5
Stats $00eb byte Item slot #6
Stats $00ec byte Item slot #7
Stats $00ed byte Item slot #8
Stats $00ee byte Battle Spells - n/a
Stats $00ef byte Battle Spells - n/a
Stats $00f0 byte Overworld Spells - n/a

Return Locations

Locations for the Return spell. This uses 3 bytes, one bit for each location. This is reset every chapter.

Category Address Size Name
Location $0165 # 00000001 bit Branca
Location $0165 # 00000010 bit Endor
Location $0165 # 00000100 bit Bonmalmo
Location $0165 # 00001000 bit Aneaux
Location $0165 # 00010000 bit Konenber
Location $0165 # 00100000 bit Mintos
Location $0165 # 01000000 bit Soretta
Location $0165 # 10000000 bit Keeleon
Location $0166 # 00000001 bit Haville
Location $0166 # 00000010 bit Monbaraba
Location $0166 # 00000100 bit Santeem
Location $0166 # 00001000 bit Tempe
Location $0166 # 00010000 bit Stancia
Location $0166 # 00100000 bit Burland
Location $0166 # 01000000 bit Izmit
Location $0166 # 10000000 bit Gardenbur
Location $0167 # 00000001 bit Rosaville
Location $0167 # 00000010 bit Riverton
Location $0167 # 00000100 bit Dire Palace
Location $0167 # 00001000 bit Aktemto
Location $0167 # 00010000 bit Gottside
Location $0167 # 00100000 bit Zenithia
Location $0167 # 01000000 bit Last Refuge
Location $0167 # 10000000 bit "Infsnip" - Lands in the middle of the ocean, not an actual destination

Links