Dragon Warrior III (NES)/RAM map: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
(→‎Items: added dashes)
m (Minor hex format fixes)
 
(24 intermediate revisions by 5 users not shown)
Line 1: Line 1:
Useful information: http://www.getcheat.com/code_743853.html
{{rammap}}
 
=Main=
 
{| class="wikitable sortable"
|-
!  Category  !!  Address  !! Size  !!  Description
|-
|  style="background-color: #eaecf0;"  |  Unknown
|  style="background-color: #eaecf0;"  |  $0000 - $001b
|  style="background-color: #eaecf0;"  |  28 bytes
|  style="background-color: #eaecf0;"  |  ...
|-
|  Data  ||  $001c  ||  byte  ||  RNG
|-
|  style="background-color: #eaecf0;"  |  Unknown
|  style="background-color: #eaecf0;"  |  $001d - $002b
|  style="background-color: #eaecf0;"  |  15 bytes
|  style="background-color: #eaecf0;"  |  ...
|-
|  Data  ||  $002c ||  byte  ||  Party Travel type (ground, ship, air)
|-
|  style="background-color: #eaecf0;"  |  Unknown
|  style="background-color: #eaecf0;"  |  $002d - $004b
|  style="background-color: #eaecf0;"  |  31 bytes
|  style="background-color: #eaecf0;"  |  ...
|-
|  Data  ||  $004c  ||  byte  ||  RNG
|-
|  style="background-color: #eaecf0;"  |  Unknown
|  style="background-color: #eaecf0;"  |  $004d - $0050
|  style="background-color: #eaecf0;"  |  4 bytes
|  style="background-color: #eaecf0;"  |  ...
|-
|  Battles  ||  $0051  ||  byte  ||  Whose turn it is
|-
|  style="background-color: #eaecf0;"  |  Unknown
|  style="background-color: #eaecf0;"  |  $0052 - $00a3
|  style="background-color: #eaecf0;"  |  82 bytes
|  style="background-color: #eaecf0;"  |  ...
|-
|  Data  ||  $00a4  ||  byte  ||  RNG
|-
|  style="background-color: #eaecf0;"  |  Unknown
|  style="background-color: #eaecf0;"  |  $00a5 - $00ac
|  style="background-color: #eaecf0;"  |  8 bytes
|  style="background-color: #eaecf0;"  |  ...
|-
|  Data  ||  $00ad  ||  byte  ||  Fairy Water Counter
|-
|  style="background-color: #eaecf0;"  |  Unknown
|  style="background-color: #eaecf0;"  |  $00ae - $00d7
|  style="background-color: #eaecf0;"  |  42 bytes
|  style="background-color: #eaecf0;"  |  ...
|-
|  Data  ||  $00d8  ||  byte  ||  Music counter
|-
|  style="background-color: #eaecf0;"  |  Unknown
|  style="background-color: #eaecf0;"  |  $00d9 - $01ff
|  style="background-color: #eaecf0;"  |  295 bytes
|  style="background-color: #eaecf0;"  |  ...
|-
|  Graphics  ||  $0200 - $020f  ||  16 bytes  ||  Player 1 - On Screen Sprite data
|-
|  Graphics  ||  $0210 - $021f  ||  16 bytes  ||  Player 2 - On Screen Sprite data
|-
|  Graphics  ||  $0220 - $022f  ||  16 bytes  ||  Player 3 - On Screen Sprite data
|-
|  Graphics  ||  $0230 - $023f  ||  16 bytes  ||  Player 4 - On Screen Sprite data
|-
|  Graphics  ||  $0240 - $02ff  ||  192 bytes  ||  On Screen Sprite data
|-
|  style="background-color: #eaecf0;"  |  Unknown
|  style="background-color: #eaecf0;"  |  $0300 - $04ff
|  style="background-color: #eaecf0;"  |  512 bytes
|  style="background-color: #eaecf0;"  |  ...
|-
|  Battles  ||  $0500 - $0501  ||  word  ||  Enemy 1 - HP
|-
|  Battles  ||  $0502 - $0503  ||  word  ||  Enemy 2 - HP
|-
|  Battles  ||  $0504 - $0505  ||  word  ||  Enemy 3 - HP
|-
|  Battles  ||  $0506 - $0507  ||  word  ||  Enemy 4 - HP
|-
|  Battles  ||  $0508 - $0509  ||  word  ||  Enemy 5 - HP
|-
|  Battles  ||  $050a - $050b  ||  word  ||  Enemy 6 - HP
|-
|  Battles  ||  $050c - $050d  ||  word  ||  Enemy 7 - HP
|-
|  Battles  ||  $050e - $050f  ||  word  ||  Enemy 8 - HP
|-
|  Battles  ||  $0510  ||  byte  ||  Enemy 1 - MP
|-
|  Battles  ||  $0511  ||  byte  ||  Enemy 2 - MP
|-
|  Battles  ||  $0512  ||  byte  ||  Enemy 3 - MP
|-
|  Battles  ||  $0513  ||  byte  ||  Enemy 4 - MP
|-
|  Battles  ||  $0514  ||  byte  ||  Enemy 5 - MP
|-
|  Battles  ||  $0515  ||  byte  ||  Enemy 6 - MP
|-
|  Battles  ||  $0516  ||  byte  ||  Enemy 7 - MP
|-
|  Battles  ||  $0517  ||  byte  ||  Enemy 8 - MP
|-
|  Battles  ||  $0518  ||  byte  ||  Enemy 1 - Agility
|-
|  Battles  ||  $0519  ||  byte  ||  Enemy 2 - Agility
|-
|  Battles  ||  $051a  ||  byte  ||  Enemy 3 - Agility
|-
|  Battles  ||  $051b  ||  byte  ||  Enemy 4 - Agility
|-
|  Battles  ||  $051c  ||  byte  ||  Enemy 5 - Agility
|-
|  Battles  ||  $051d  ||  byte  ||  Enemy 6 - Agility
|-
|  Battles  ||  $051e  ||  byte  ||  Enemy 7 - Agility
|-
|  Battles  ||  $051f  ||  byte  ||  Enemy 8 - Agility
|-
|  Battles  ||  $0520 - $0521  ||  word  ||  Enemy 1 - Defense
|-
|  Battles  ||  $0522 - $0523  ||  word  ||  Enemy 2 - Defense
|-
|  Battles  ||  $0524 - $0525  ||  word  ||  Enemy 3 - Defense
|-
|  Battles  ||  $0526 - $0527  ||  word  ||  Enemy 4 - Defense
|-
|  Battles  ||  $0528 - $0529  ||  word  ||  Enemy 5 - Defense
|-
|  Battles  ||  $052a - $052b  ||  word  ||  Enemy 6 - Defense
|-
|  Battles  ||  $052c - $052d  ||  word  ||  Enemy 7 - Defense
|-
|  Battles  ||  $052e - $052f  ||  word  ||  Enemy 8 - Defense
|-
|  Battles  ||  $0530 - $0531  ||  word  ||  Enemy 1 - Status
|-
|  Battles  ||  $0532 - $0533  ||  word  ||  Enemy 2 - Status
|-
|  Battles  ||  $0534 - $0535  ||  word  ||  Enemy 3 - Status
|-
|  Battles  ||  $0536 - $0537  ||  word  ||  Enemy 4 - Status
|-
|  Battles  ||  $0538 - $0539  ||  word  ||  Enemy 5 - Status
|-
|  Battles  ||  $053a - $053b  ||  word  ||  Enemy 6 - Status
|-
|  Battles  ||  $053c - $053d  ||  word  ||  Enemy 7 - Status
|-
|  Battles  ||  $053e - $053f  ||  word  ||  Enemy 8 - Status
|-
|  style="background-color: #eaecf0;"  |  Unknown
|  style="background-color: #eaecf0;"  |  $0540 - $0564
|  style="background-color: #eaecf0;"  |  37 bytes
|  style="background-color: #eaecf0;"  |  ...
|-
|  Battles  ||  $0565  ||  byte  ||  Bikill flag on Enemy 1 (if 1)
|-
|  style="background-color: #eaecf0;"  |  Unknown
|  style="background-color: #eaecf0;"  |  $0566 - $056c
|  style="background-color: #eaecf0;"  |  7 bytes
|  style="background-color: #eaecf0;"  |  ...
|-
|  Battles  ||  $056d  ||  byte  ||  Enemy Group 1 - Type
|-
|  Battles  ||  $056e  ||  byte  ||  Enemy Group 2 - Type
|-
|  Battles  ||  $056f  ||  byte  ||  Enemy Group 3 - Type
|-
|  Battles  ||  $0570  ||  byte  ||  Enemy Group 4 - Type
|-
|  Battles  ||  $0571  ||  byte  ||  Group 1 - Count
|-
|  Battles  ||  $0572  ||  byte  ||  Group 2 - Count
|-
|  Battles  ||  $0573  ||  byte  ||  Group 3 - Count
|-
|  Battles  ||  $0574  ||  byte  ||  Group 4 - Count
|-
|  style="background-color: #eaecf0;"  |  Unknown
|  style="background-color: #eaecf0;"  |  $0575 - $06dd
|  style="background-color: #eaecf0;"  |  361 bytes
|  style="background-color: #eaecf0;"  |  ...
|-
|  Data  ||  $06de  ||  byte  ||  Level (World?) X Position, Level (World?) Y Position, Time of day (sub bytes)
|-
|  Data  ||  $06df  ||  byte  ||  Time of day
|-
|  style="background-color: #eaecf0;"  |  Unknown
|  style="background-color: #eaecf0;"  |  $06e0 - $06ff
|  style="background-color: #eaecf0;"  |  32 bytes
|  style="background-color: #eaecf0;"  |  ...
|-
|  id="data-player-level"  |  Stats  ||  $0700  ||  byte  ||  Player 1 - Level
|-
|  Stats  ||  $0701  ||  byte  ||  Player 2 - Level
|-
|  Stats  ||  $0702  ||  byte  ||  Player 3 - Level
|-
|  Stats  ||  $0703  ||  byte  ||  Player 4 - Level
|-
|  id="data-player-strength"  |  Stats  ||  $0704  ||  byte  ||  Player 1 - Strength
|-
|  Stats  ||  $0705  ||  byte  ||  Player 2 - Strength
|-
|  Stats  ||  $0706  ||  byte  ||  Player 3 - Strength
|-
|  Stats  ||  $0707  ||  byte  ||  Player 4 - Strength
|-
|  id="data-player-agility"  |  Stats  ||  $0708  ||  byte  ||  Player 1 - Agility
|-
|  Stats  ||  $0709  ||  byte  ||  Player 2 - Agility
|-
|  Stats  ||  $070a  ||  byte  ||  Player 3 - Agility
|-
|  Stats  ||  $070b  ||  byte  ||  Player 4 - Agility
|-
|  id="data-player-intelligence"  |  Stats  ||  $070c  ||  byte  ||  Player 1 - Intelligence
|-
|  Stats  ||  $070d  ||  byte  ||  Player 2 - Intelligence
|-
|  Stats  ||  $070e  ||  byte  ||  Player 3 - Intelligence
|-
|  Stats  ||  $070f  ||  byte  ||  Player 4 - Intelligence
|-
|  id="data-player-luck"  |  Stats  ||  $0710  ||  byte  ||  Player 1 - Luck
|-
|  Stats  ||  $0711  ||  byte  ||  Player 2 - Luck
|-
|  Stats  ||  $0712  ||  byte  ||  Player 3 - Luck
|-
|  Stats  ||  $0713  ||  byte  ||  Player 4 - Luck
|-
|  id="data-player-vitality"  |  Stats  ||  $0714  ||  byte  ||  Player 1 - Vitality
|-
|  Stats  ||  $0715  ||  byte  ||  Player 2 - Vitality
|-
|  Stats  ||  $0716  ||  byte  ||  Player 3 - Vitality
|-
|  Stats  ||  $0717  ||  byte  ||  Player 4 - Vitality
|-
|  id="data-player-class-gender"  |  Stats  ||  $0718  ||  byte  ||  Player 1 - [[#Character_Classes_/_Gender|Class / Gender]]
|-
|  Stats  ||  $0719  ||  byte  ||  Player 2 - [[#Character_Classes_/_Gender|Class / Gender]]
|-
|  Stats  ||  $071a  ||  byte  ||  Player 3 - [[#Character_Classes_/_Gender|Class / Gender]]
|-
|  Stats  ||  $071b  ||  byte  ||  Player 4 - [[#Character_Classes_/_Gender|Class / Gender]]
|-
|  id="data-player-hp"  |  Stats  ||  $071c - $071d  ||  word  ||  Player 1 - HP
|-
|  Stats  ||  $071e - $071f  ||  word  ||  Player 2 - HP
|-
|  Stats  ||  $0720 - $0721  ||  word  ||  Player 3 - HP
|-
|  Stats  ||  $0722 - $0723  ||  word  ||  Player 4 - HP
|-
|  id="data-player-maxhp"  |  Stats  ||  $0724 - $0725  ||  word  ||  Player 1 - Max HP
|-
|  Stats  ||  $0726 - $0727  ||  word  ||  Player 2 - Max HP
|-
|  Stats  ||  $0728 - $0729  ||  word  ||  Player 3 - Max HP
|-
|  Stats  ||  $072a - $072b  ||  word  ||  Player 4 - Max HP
|-
|  id="data-player-mp"  |  Stats  ||  $072c - $072d  ||  word  ||  Player 1 - MP
|-
|  Stats  ||  $072e - $072f  ||  word  ||  Player 2 - MP
|-
|  Stats  ||  $0730 - $0731  ||  word  ||  Player 3 - MP
|-
|  Stats  ||  $0732 - $0733  ||  word  ||  Player 4 - MP
|-
|  id="data-player-maxmp"  |  Stats  ||  $0734 - $0735  ||  word  ||  Player 1 - Max MP
|-
|  Stats  ||  $0736 - $0737  ||  word  ||  Player 2 - Max MP
|-
|  Stats  ||  $0738 - $0739  ||  word  ||  Player 3 - Max MP
|-
|  Stats  ||  $073a - $073b  ||  word  ||  Player 4 - Max MP
|-
|  id="data-player-status"  |  Stats  ||  $073c - $073d  ||  word  ||  Player 1 - Status
|-
|  Stats  ||  $073e - $073f  ||  word  ||  Player 2 - Status
|-
|  Stats  ||  $0740 - $0741  ||  word  ||  Player 3 - Status
|-
|  Stats  ||  $0742 - $0743  ||  word  ||  Player 4 - Status
|-
|  id="data-player-experience"  |  Stats  ||  $0744 - $0746  ||  long  ||  Player 1 - Experience
|-
|  Stats  ||  $0747 - $0749  ||  long  ||  Player 2 - Experience
|-
|  Stats  ||  $074a - $074c  ||  long  ||  Player 3 - Experience
|-
|  Stats  ||  $074d - $074f  ||  long  ||  Player 4 - Experience
|-
|  id="data-player-return-destinations"  |  Stats  ||  $0750 - $0752  ||  long  ||  Player 1 - [[#Return_Destinations|Return Destinations]]
|-
|  Stats  ||  $0753 - $0755  ||  long  ||  Player 2 - [[#Return_Destinations|Return Destinations]]
|-
|  Stats  ||  $0756 - $0758  ||  long  ||  Player 3 - [[#Return_Destinations|Return Destinations]]
|-
|  Stats  ||  $0759 - $075b  ||  long  ||  Player 4 - [[#Return_Destinations|Return Destinations]]
|-
|  id="data-player-name"  |  Stats  ||  $075c - $0763  ||  8 bytes  ||  Player 1 - Name
|-
|  Stats  ||  $0764 - $076b  ||  8 bytes  ||  Player 2 - Name
|-
|  Stats  ||  $076c - $0773  ||  8 bytes  ||  Player 3 - Name
|-
|  Stats  ||  $0774 - $077b  ||  8 bytes  ||  Player 4 - Name
|-
|  id="data-player-item"  |  Items  ||  $077c  ||  byte  ||  Player 1 - Item Slot 1
|-
|  Items  ||  $077d  ||  byte  ||  Player 1 - Item Slot 2
|-
|  Items  ||  $077e  ||  byte  ||  Player 1 - Item Slot 3
|-
|  Items  ||  $077f  ||  byte  ||  Player 1 - Item Slot 4
|-
|  Items  ||  $0780  ||  byte  ||  Player 1 - Item Slot 5
|-
|  Items  ||  $0781  ||  byte  ||  Player 1 - Item Slot 6
|-
|  Items  ||  $0782  ||  byte  ||  Player 1 - Item Slot 7
|-
|  Items  ||  $0783  ||  byte  ||  Player 1 - Item Slot 8
|-
|  Items  ||  $0784  ||  byte  ||  Player 2 - Item Slot 1
|-
|  Items  ||  $0785  ||  byte  ||  Player 2 - Item Slot 2
|-
|  Items  ||  $0786  ||  byte  ||  Player 2 - Item Slot 3
|-
|  Items  ||  $0787  ||  byte  ||  Player 2 - Item Slot 4
|-
|  Items  ||  $0788  ||  byte  ||  Player 2 - Item Slot 5
|-
|  Items  ||  $0789  ||  byte  ||  Player 2 - Item Slot 6
|-
|  Items  ||  $078a  ||  byte  ||  Player 2 - Item Slot 7
|-
|  Items  ||  $078b  ||  byte  ||  Player 2 - Item Slot 8
|-
|  Items  ||  $078c  ||  byte  ||  Player 3 - Item Slot 1
|-
|  Items  ||  $078d  ||  byte  ||  Player 3 - Item Slot 2
|-
|  Items  ||  $078e  ||  byte  ||  Player 3 - Item Slot 3
|-
|  Items  ||  $078f  ||  byte  ||  Player 3 - Item Slot 4
|-
|  Items  ||  $0790  ||  byte  ||  Player 3 - Item Slot 5
|-
|  Items  ||  $0791  ||  byte  ||  Player 3 - Item Slot 6
|-
|  Items  ||  $0792  ||  byte  ||  Player 3 - Item Slot 7
|-
|  Items  ||  $0793  ||  byte  ||  Player 3 - Item Slot 8
|-
|  Items  ||  $0794  ||  byte  ||  Player 4 - Item Slot 1
|-
|  Items  ||  $0795  ||  byte  ||  Player 4 - Item Slot 2
|-
|  Items  ||  $0796  ||  byte  ||  Player 4 - Item Slot 3
|-
|  Items  ||  $0797  ||  byte  ||  Player 4 - Item Slot 4
|-
|  Items  ||  $0798  ||  byte  ||  Player 4 - Item Slot 5
|-
|  Items  ||  $0799  ||  byte  ||  Player 4 - Item Slot 6
|-
|  Items  ||  $079a  ||  byte  ||  Player 4 - Item Slot 7
|-
|  Items  ||  $079b  ||  byte  ||  Player 4 - Item Slot 8
|-
|  id="data-player-spells-known"  |  Stats  ||  $079c - $079e  ||  long  ||  Player 1 - Wizard Battle Magic
|-
|  Stats  ||  $079f  ||  byte  ||  Player 1 - Wizard Field Magic
|-
|  Stats  ||  $07a0 - $07a2  ||  long  ||  Player 1 - Pilgram Battle Magic
|-
|  Stats  ||  $07a3  ||  byte  ||  Player 1 - Pilgram Field Magic
|-
|  Stats  ||  $07a4 - $07a6  ||  long  ||  Player 2 - Wizard Battle Magic
|-
|  Stats  ||  $07a7  ||  byte  ||  Player 2 - Wizard Field Magic
|-
|  Stats  ||  $07a8 - $07aa  ||  long  ||  Player 2 - Pilgram Battle Magic
|-
|  Stats  ||  $07ab  ||  byte  ||  Player 2 - Pilgram Field Magic
|-
|  Stats  ||  $07ac - $07ae  ||  long  ||  Player 3 - Wizard Battle Magic
|-
|  Stats  ||  $07af  ||  byte  ||  Player 3 - Wizard Field Magic
|-
|  Stats  ||  $07b0 - $07b2  ||  long  ||  Player 3 - Pilgram Battle Magic
|-
|  Stats  ||  $07b3  ||  byte  ||  Player 3 - Pilgram Field Magic
|-
|  Stats  ||  $07b4 - $07b6  ||  long  ||  Player 4 - Wizard Battle Magic
|-
|  Stats  ||  $07b7  ||  byte  ||  Player 4 - Wizard Field Magic
|-
|  Stats  ||  $07b8 - $07ba  ||  long  ||  Player 4 - Pilgram Battle Magic
|-
|  Stats  ||  $07bb  ||  byte  ||  Player 4 - Pilgram Field Magic
|-
|  id="data-gold"  |  Stats  ||  $07bc - $07be  ||  long  ||  Gold
|-
|  Stats  ||  $07bf - $07c0  ||  word  ||  Num Characters Registered
|-
|  Stats  ||  $07c1  ||  byte  ||  Player 1 - Character in Storage num
|-
|  Stats  ||  $07c2  ||  byte  ||  Player 2 - Character in Storage num
|-
|  Stats  ||  $07c3  ||  byte  ||  Player 3 - Character in Storage num
|-
|  Stats  ||  $07c4  ||  byte  ||  Player 4 - Character in Storage num
|-
|  style="background-color: #eaecf0;"  |  Unused
|  style="background-color: #eaecf0;"  |  $07c5 - $07ff
|  style="background-color: #eaecf0;"  |  59 bytes
|  style="background-color: #eaecf0;"  |  Unused
|}
 
=Additional Information=
 
==Links==
 
Useful information:
* http://www.getcheat.com/code_743853.html
* https://github.com/zeromus/DragonWarrior3/blob/master/symbolic/DW3-RamMap.wch
 
==Party==
 
===Gold pieces===
 
* [[#data-gold|Gold]]: $07bc
 
==Character Stats==
==Character Stats==
These are base addresses for the first character in the party.  They are sorted by the size of the data in bytes.


===8-bit values===
[TODO: Make sure Luck and Vitality aren't swapped, seen them at both addresses]
These are addresses for the first party member.  Add 1*the ally number to the address for other characters.
 
* Level: 0x700
* [[#data-player-name|Name]]: $075c
* Strength: 0x704
* [[#data-player-hp|HP]]: $071c
* Agility: 0x708
* [[#data-player-maxhp|Max HP]]: $0724
* Intelligence: 0x70C
* [[#data-player-mp|MP]]: $072c
* Vitality: 0x710
* [[#data-player-maxmp|Max MP]]: $0734
* Luck: 0x714
* [[#data-player-status|Status]]: $073c
* Job Class/Sex: 0x718
* [[#data-player-level|Level]]: $0700
* [[#data-player-experience|Experience]]: $0744
* [[#data-player-strength|Strength]]: $0704
* [[#data-player-agility|Agility]]: $0708
* [[#data-player-intelligence|Intelligence]]: $070c
* [[#data-player-vitality|Vitality]]: $0714
* [[#data-player-luck|Luck]]: $0710
* [[#data-player-class-gender|Character Class / Gender]]: $0718  ([[#Character_Classes_/_Gender|Character Classes / Gender]])
* [[#data-player-return-destinations|Return Destinations]]: $0750  ([[#Return Destinations|Return Destinations List]])
* [[#data-player-spells-known|Magic spells known]]: $079c  ([[#Spell_Flags_List|Spell Flags List]])
* [[#data-player-item|Inventory]]: $077c  ([[Dragon_Warrior_III_(NES)/Values#Items|Item List]])


===16-bit values===
==Types==
Addresses for first party member. Add 2*Ally Number for other characters.  Little endian byte order.
*HP: 0x71C
*Max HP: 0x724
*MP: 0x72C
*Max MP: 0x734
*'Status': 0x73C


===24-bit values===
===Character Classes / Gender===
Addresses for first party member. Add 3*Ally Number for other characters.  Little endian byte order.
*Exp: 0x744
*Return Destinations: 0x750


===8-byte values===
This is located at $0718 + character number.
Addresses for first party member.  Add 8*Ally number for other characters.
*Name: 0x75C
*Inventory: 0x77C
*Magic spells known: 0x79C


===Gold pieces===
{| class="wikitable"
Address for player's gold (24-bit)
!    !!  Mask  !!  Value  !!  Description
*GP: 0x7BC
|-
!  rowspan="8"  |  Class
|  rowspan="8"  |  %00000111
|  style="text-align: center;"  |  $00  ||  Hero
|-
|  style="text-align: center;"  |  $01  ||  Wizard
|-
|  style="text-align: center;"  |  $02  ||  Pilgrim
|-
|  style="text-align: center;"  |  $03  ||  Sage
|-
|  style="text-align: center;"  |  $04  ||  Soldier
|-
|  style="text-align: center;"  |  $05  ||  Merchant
|-
|  style="text-align: center;"  |  $06  ||  Fighter
|-
|  style="text-align: center;"  |  $07  ||  Goof-off
|-
!  rowspan="2"  |  Gender
|  rowspan="2"  |  %00001000
|  style="text-align: center;"  |  $00  ||  Male
|-
|  style="text-align: center;"  |  $08  ||  Female
|-
!  rowspan="4" style="background-color: #eaecf0;"  |  Unused
|  style="background-color: #eaecf0;"  |  %00010000
|  style="background-color: #eaecf0; text-align: center;"  |  ...
|  style="background-color: #eaecf0;"  |  Unused
|-
|  style="background-color: #eaecf0;"  |  %00100000
|  style="background-color: #eaecf0; text-align: center;"  |  ...
|  style="background-color: #eaecf0;"  |  Unused
|-
|  style="background-color: #eaecf0;"  |  %01000000
|  style="background-color: #eaecf0; text-align: center;"  |  ...
|  style="background-color: #eaecf0;"  |  Unused
|-
|  style="background-color: #eaecf0;"  |  %10000000
|  style="background-color: #eaecf0; text-align: center;"  |  ...
|  style="background-color: #eaecf0;"  |  Unused
|}


==Character Classes==
===Return Destinations===
This is located at 0x718 + character number.
....x... = 0 if male, 1 if female
.....xxx = Character Class
* 0 = Hero
* 1 = Wizard
* 2 = Pilgrim
* 3 = Sage
* 4 = Soldier
* 5 = Merchant
* 6 = Fighter
* 7 = Goof-off


==Return Destinations==
This is located at $0750 + character number * 3.
This is located at 0x750 + character number * 3.


The 3 bytes of Return Destinations store one bit per location visited.  The upper 4 bits of the third byte are not used.
The 3 bytes of Return Destinations store one bit per location visited.  The upper 4 bits of the third byte are not used.


These go from least significant bit to most significant bit.
{| class="wikitable"
!    !!  Bit !!  Mask  !!  Destination
|-
!  rowspan="8"  |  Byte 0
|  %00000001  ||  style="text-align: center;"  |  $01  ||  Aliahan
|-
|  %00000010  ||  style="text-align: center;"  |  $02  ||  Reeve
|-
|  %00000100  ||  style="text-align: center;"  |  $04  ||  Romally
|-
|  %00001000  ||  style="text-align: center;"  |  $08  ||  Kanave
|-
|  %00010000  ||  style="text-align: center;"  |  $10  ||  Noaniels
|-
|  %00100000  ||  style="text-align: center;"  |  $20  ||  Assaram
|-
|  %01000000  ||  style="text-align: center;"  |  $40  ||  Isis
|-
|  %10000000  ||  style="text-align: center;"  |  $80  ||  Portoga
|-
!  rowspan="8"  |  Byte 1
|  %00000001  ||  style="text-align: center;"  |  $01  ||  Baharata
|-
|  %00000010  ||  style="text-align: center;"  |  $02  ||  Dhama
|-
|  %00000100  ||  style="text-align: center;"  |  $04  ||  Lancel
|-
|  %00001000  ||  style="text-align: center;"  |  $08  ||  Jipang
|-
|  %00010000  ||  style="text-align: center;"  |  $10  ||  Eginbear
|-
|  %00100000  ||  style="text-align: center;"  |  $20  ||  Samano
|-
|  %01000000  ||  style="text-align: center;"  |  $40  ||  Soo
|-
|  %10000000  ||  style="text-align: center;"  |  $80  ||  Tantegel
|-
!  rowspan="8"  |  Byte 2
|  %00000001  ||  style="text-align: center;"  |  $01  ||  Hauksness
|-
|  %00000010  ||  style="text-align: center;"  |  $02  ||  Cantlin
|-
|  %00000100  ||  style="text-align: center;"  |  $04  ||  Kol
|-
|  %00001000  ||  style="text-align: center;"  |  $08  ||  Rimuldar
|-
|  style="background-color: #eaecf0;"  |  %00010000
|  style="text-align: center; background-color: #eaecf0;"  |  $10
|  rowspan="4" style="background-color: #eaecf0;"  |  Unused
|-
|  style="background-color: #eaecf0;"  |  %00100000
|  style="text-align: center; background-color: #eaecf0;"  |  $20
|-
|  style="background-color: #eaecf0;"  |  %01000000
|  style="text-align: center; background-color: #eaecf0;"  |  $40
|-
|  style="background-color: #eaecf0;"  |  %10000000
|  style="text-align: center; background-color: #eaecf0;"  |  $80
|}
 
===Spell Flags List===
 
First character's magic list begins at $079c.  Add 8 * ally number for other characters.
 
*Byte 0-2: Wizard Spells (in battle)
*Byte 3: Wizard Spells (field)
*Byte 4-6: Pilgrim Spells (in battle)
*Byte 7: Pilgrim Spells (field)
Note: Hero uses location of Wizard spells.


Byte 0:
'''Note:''' The Index column refers to the spell's value in the [[Dragon_Warrior_III_(NES)/Values#Spells|List of Spells]]
*Aliahan
*Reeve
*Romally
*Kanave
*Noaniels
*Assaram
*Isis
*Portoga


Byte 1:
{| class="wikitable"
*Baharata
!    !!  Class  !!  Type !!  Bit !!  Index  !!  Spell
*Dhama
|-
*Lancel
!  rowspan="8"  |  Byte 0
*Jipang
|  rowspan="8"  |  Wizard
*Eginbear
|  rowspan="8"  |  Battle
*Samano
|  %00000001  ||  style="text-align: center;"  |  $00  ||  Blaze
*Soo
|-
*Tantegel
|  %00000010  ||  style="text-align: center;"  |  $2d  ||  Upper
|-
|  %00000100  ||  style="text-align: center;"  |  $09  ||  IceBolt
|-
|  %00001000  ||  style="text-align: center;"  |  $2e  ||  Increase
|-
|  %00010000  ||  style="text-align: center;"  |  $03  ||  Firebal
|-
|  %00100000  ||  style="text-align: center;"  |  $26  ||  Return
|-
|  %01000000  ||  style="text-align: center;"  |  $06  ||  Bang
|-
|  %10000000  ||  style="text-align: center;"  |  $18  ||  Slow
|-
!  rowspan="8"  |  Byte 1
|  rowspan="8"  |  Wizard
|  rowspan="8"  |  Battle
|  %00000001  ||  style="text-align: center;"  |  $01  ||  Blazemore
|-
|  %00000010  ||  style="text-align: center;"  |  $17  ||  RobMagic
|-
|  %00000100  ||  style="text-align: center;"  |  $0a  ||  SnowBlast
|-
|  %00001000  ||  style="text-align: center;"  |  $0c  ||  IceSpears
|-
|  %00010000  ||  style="text-align: center;"  |  $04  ||  Firebane
|-
|  %00100000  ||  style="text-align: center;"  |  $32  ||  Bikill
|-
|  %01000000  ||  style="text-align: center;"  |  $07  ||  Boom
|-
|  %10000000  ||  style="text-align: center;"  |  $30  ||  Bounce
|-
!  rowspan="8"  |  Byte 2
|  rowspan="8"  |  Wizard
|  rowspan="8"  |  Battle
|  %00000001  ||  style="text-align: center;"  |  $02  ||  Blazemost
|-
|  %00000010  ||  style="text-align: center;"  |  $27  ||  Chaos
|-
|  %00000100  ||  style="text-align: center;"  |  $0b  ||  Snowstorm
|-
|  %00001000  ||  style="text-align: center;"  |  $29  ||  BeDragon
|-
|  %00010000  ||  style="text-align: center;"  |  $05  ||  Firevolt
|-
|  %00100000  ||  style="text-align: center;"  |  $28  ||  Transform
|-
|  %01000000  ||  style="text-align: center;"  |  $08  ||  Explodet
|-
|  %10000000  ||  style="text-align: center;"  |  $33  ||  Chance
|-
!  rowspan="8"  |  Byte 3
|  rowspan="8"  |  Wizard
|  rowspan="8"  |  Field
|  %00000001  ||  style="text-align: center;"  |  $3b  ||  Outside
|-
|  %00000010  ||  style="text-align: center;"  |  $26  ||  Return
|-
|  %00000100  ||  style="text-align: center;"  |  $3a  ||  X-Ray
|-
|  %00001000  ||  style="text-align: center;"  |  $3d  ||  StepGuard
|-
|  %00010000  ||  style="text-align: center;"  |  $38  ||  Day-Night
|-
|  %00100000  ||  style="text-align: center;"  |  $36  ||  CurseOff
|-
|  %01000000  ||  style="text-align: center;"  |  $3c  ||  Invisible
|-
|  %10000000  ||  style="text-align: center;"  |  $39  ||  Open
|-
!  rowspan="8"  |  Byte 4
|  rowspan="8"  |  Pilgrim
|  rowspan="8"  |  Battle
|  %00000001  ||  style="text-align: center;"  |  $2b  ||  Sap
|-
|  %00000010  ||  style="text-align: center;"  |  $1a  ||  Heal
|-
|  %00000100  ||  style="text-align: center;"  |  $15  ||  Expel
|-
|  %00001000  ||  style="text-align: center;"  |  $34  ||  Antidote
|-
|  %00010000  ||  style="text-align: center;"  |  $0d  ||  Infernos
|-
|  %00100000  ||  style="text-align: center;"  |  $19  ||  SpeedUp
|-
|  %01000000  ||  style="text-align: center;"  |  $25  ||  Surround
|-
|  %10000000  ||  style="text-align: center;"  |  $22  ||  Sleep
|-
!  rowspan="8"  |  Byte 5
|  rowspan="8"  |  Pilgrim
|  rowspan="8"  |  Battle
|  %00000001  ||  style="text-align: center;"  |  $2c  ||  Defence
|-
|  %00000010  ||  style="text-align: center;"  |  $1b  ||  Healmore
|-
|  %00000100  ||  style="text-align: center;"  |  $12  ||  Beat
|-
|  %00001000  ||  style="text-align: center;"  |  $35  ||  NumbOff
|-
|  %00010000  ||  style="text-align: center;"  |  $0e  ||  Infermore
|-
|  %00100000  ||  style="text-align: center;"  |  $24  ||  StopSpell
|-
|  %01000000  ||  style="text-align: center;"  |  $16  ||  Limbo
|-
|  %10000000  ||  style="text-align: center;"  |  $23  ||  Awake
|-
!  rowspan="8"  |  Byte 6
|  rowspan="8"  |  Pilgrim
|  rowspan="8"  |  Battle
|  %00000001  ||  style="text-align: center;"  |  $31  ||  Barrier
|-
|  %00000010  ||  style="text-align: center;"  |  $1c  ||  Healall
|-
|  %00000100  ||  style="text-align: center;"  |  $13  ||  Defeat
|-
|  %00001000  ||  style="text-align: center;"  |  $1e  ||  Healus
|-
|  %00010000  ||  style="text-align: center;"  |  $0f  ||  Infermost
|-
|  %00100000  ||  style="text-align: center;"  |  $20  ||  Vivify
|-
|  %01000000  ||  style="text-align: center;"  |  $14  ||  Sacrifice
|-
|  %10000000  ||  style="text-align: center;"  |  $21  ||  Revive
|-
!  rowspan="8"  |  Byte 7
|  rowspan="8"  |  Pilgrim
|  rowspan="8"  |  Field
|  %00000001  ||  style="text-align: center;"  |  $1a  ||  Heal
|-
|  %00000010  ||  style="text-align: center;"  |  $34  ||  Antidote
|-
|  %00000100  ||  style="text-align: center;"  |  $1b  ||  Healmore
|-
|  %00001000  ||  style="text-align: center;"  |  $35  ||  NumbOff
|-
|  %00010000  ||  style="text-align: center;"  |  $20  ||  Vivify
|-
|  %00100000  ||  style="text-align: center;"  |  $1c  ||  Healall
|-
|  %01000000  ||  style="text-align: center;"  |  $1e  ||  Healus
|-
|  %10000000  ||  style="text-align: center;"  |  $21  ||  Revive
|}


Byte 2:
=Related=
*Hauksness
<br>
*Cantlin
*Kol
*Rimuldar


==Items==
{{Internal Data}}
Hero inventory starts at 77C
*00 - Cypress stick
*01 - Club
*02 - Copper sword
*03 - Magic Knife
*04 - Iron Spear
*05 - Battle Axe
*06 - Broad Sword
*07 - Wizard's Wand
*08 - Poison Needle
*09 - Iron Claw
*0A - Thorn Whip
*0B - Giant Shears
*0C - Chain Sickle
*0D - Thor's Sword
*0E - Snowblast Sword
*0F - Demon Axe
*10 - Staff of Rain
*11 - Sword of Gaia
*12 - Staff of Reflection
*13 - Sword of Destruction
*14 - Multi-Edge Sword
*15 - Staff of Force
*16 - Sword of Illusion
*17 - Zombie Slasher
*18 - Falcon Sword
*19 - Sledge Hammer
*1A - Thunder Sword
*1B - Staff of Thunder
*1C - Sword of Kings
*1D - Orochi Sword
*1E - Dragon Killer
*1F - Staff of Judgement
*20 - Clothes
*21 - Training Suit
*22 - Leather Armor
*23 - Flashy Clothes
*24 - Half Plate Armor
*25 - Full Plate Armor
*26 - Magic Armor
*27 - Cloak of Evasion
*28 - Armor of Radiance
*29 - Iron Apron
*2A - Animal Suit
*2B - Fightting Suit
*2C - Sacred Robe
*2D - Armor of Hades
*2E - Water Flying Cloth
*2F - Chain Mail
*30 - Wayfarers Clothes
*31 - Revealing Swimsuit
*32 - Magic Bikini
*33 - Shell Armor
*34 - Armor of Terrafirma
*35 - Dragon Mail
*36 - Swordedge Armor
*37 - Angel's Robe
*38 - Leather Shield
*39 - Iron Shield
*3A - Shield of Strength
*3B - Shield of Heroes
*3C - Shield of Sorrow
*3D - Bronze Shield
*3E - Silver Shield
*3F - Golden Crown
*40 - Iron Helmet
*41 - Mysterious Hat
*42 - Unlucky Helmet
*43 - Turban
*44 - Noh Mask
*45 - Leather Helmet
*46 - Iron Mask
*47 - Sacred Amulet
*48 - Ring of Life
*49 - Shoes of Happiness
*4A - Golden Claw
*4B - Meteorite Armband
*4C - Book of Satori
*4D - '&nbsp;&nbsp;&nbsp;'
*4E - Wizard's Ring
*4F - Black Pepper
*50 - Sage's Stone
*51 - Mirror of Ra
*52 - Vase of Draught
*53 - Lamp of Darkness
*54 - Staff of Change
*55 - Stone of Life
*56 - Invisibility Herb
*57 - Magic Ball
*58 - Thief's Key
*59 - Magic Key
*5A - Final Key
*5B - Dream Ruby
*5C - Wake-up Powder
*5D - Royal Scroll
*5E - Oricon
*5F - Strength Seed
*60 - Agility Seed
*61 - Vitality Seed
*62 - Luck Seed
*63 - Intelligence Seed
*64 - Acorns of Life
*65 - Medical Herb
*66 - Antidote Herb
*67 - Fairy Water
*68 - Wing of Wyvern
*69 - Leaf of the World Tree
*6A - '&nbsp;&nbsp;&nbsp;'
*6B - Locket of Love
*6C - Full Moon Herb
*6D - Water Blaster
*6E - Sailors Thigh Bone
*6F - Echoing Flute
*70 - Fairy Flute
*71 - Silver Harp
*72 - Sphere of Light
*73 - Poison Moth Powder
*74 - Spiders Web
*75 - Stone of Sunlight
*76 - Rainbow Drop
*77 - Silver Orb
*78 - Red Orb
*79 - Yellow Orb
*7A - Purple Orb
*7B - Blue Orb
*7C - Green Orb
*7D - Stick Slime
*7E - Black Raven
*7F - Sword Horned
*80-FE  - Equipped versions of items
*FF - Nothing

Latest revision as of 17:29, 5 May 2024

Chip tiny.png The following article is a RAM map for Dragon Warrior III (NES).

Main

Category Address Size Description
Unknown $0000 - $001b 28 bytes ...
Data $001c byte RNG
Unknown $001d - $002b 15 bytes ...
Data $002c byte Party Travel type (ground, ship, air)
Unknown $002d - $004b 31 bytes ...
Data $004c byte RNG
Unknown $004d - $0050 4 bytes ...
Battles $0051 byte Whose turn it is
Unknown $0052 - $00a3 82 bytes ...
Data $00a4 byte RNG
Unknown $00a5 - $00ac 8 bytes ...
Data $00ad byte Fairy Water Counter
Unknown $00ae - $00d7 42 bytes ...
Data $00d8 byte Music counter
Unknown $00d9 - $01ff 295 bytes ...
Graphics $0200 - $020f 16 bytes Player 1 - On Screen Sprite data
Graphics $0210 - $021f 16 bytes Player 2 - On Screen Sprite data
Graphics $0220 - $022f 16 bytes Player 3 - On Screen Sprite data
Graphics $0230 - $023f 16 bytes Player 4 - On Screen Sprite data
Graphics $0240 - $02ff 192 bytes On Screen Sprite data
Unknown $0300 - $04ff 512 bytes ...
Battles $0500 - $0501 word Enemy 1 - HP
Battles $0502 - $0503 word Enemy 2 - HP
Battles $0504 - $0505 word Enemy 3 - HP
Battles $0506 - $0507 word Enemy 4 - HP
Battles $0508 - $0509 word Enemy 5 - HP
Battles $050a - $050b word Enemy 6 - HP
Battles $050c - $050d word Enemy 7 - HP
Battles $050e - $050f word Enemy 8 - HP
Battles $0510 byte Enemy 1 - MP
Battles $0511 byte Enemy 2 - MP
Battles $0512 byte Enemy 3 - MP
Battles $0513 byte Enemy 4 - MP
Battles $0514 byte Enemy 5 - MP
Battles $0515 byte Enemy 6 - MP
Battles $0516 byte Enemy 7 - MP
Battles $0517 byte Enemy 8 - MP
Battles $0518 byte Enemy 1 - Agility
Battles $0519 byte Enemy 2 - Agility
Battles $051a byte Enemy 3 - Agility
Battles $051b byte Enemy 4 - Agility
Battles $051c byte Enemy 5 - Agility
Battles $051d byte Enemy 6 - Agility
Battles $051e byte Enemy 7 - Agility
Battles $051f byte Enemy 8 - Agility
Battles $0520 - $0521 word Enemy 1 - Defense
Battles $0522 - $0523 word Enemy 2 - Defense
Battles $0524 - $0525 word Enemy 3 - Defense
Battles $0526 - $0527 word Enemy 4 - Defense
Battles $0528 - $0529 word Enemy 5 - Defense
Battles $052a - $052b word Enemy 6 - Defense
Battles $052c - $052d word Enemy 7 - Defense
Battles $052e - $052f word Enemy 8 - Defense
Battles $0530 - $0531 word Enemy 1 - Status
Battles $0532 - $0533 word Enemy 2 - Status
Battles $0534 - $0535 word Enemy 3 - Status
Battles $0536 - $0537 word Enemy 4 - Status
Battles $0538 - $0539 word Enemy 5 - Status
Battles $053a - $053b word Enemy 6 - Status
Battles $053c - $053d word Enemy 7 - Status
Battles $053e - $053f word Enemy 8 - Status
Unknown $0540 - $0564 37 bytes ...
Battles $0565 byte Bikill flag on Enemy 1 (if 1)
Unknown $0566 - $056c 7 bytes ...
Battles $056d byte Enemy Group 1 - Type
Battles $056e byte Enemy Group 2 - Type
Battles $056f byte Enemy Group 3 - Type
Battles $0570 byte Enemy Group 4 - Type
Battles $0571 byte Group 1 - Count
Battles $0572 byte Group 2 - Count
Battles $0573 byte Group 3 - Count
Battles $0574 byte Group 4 - Count
Unknown $0575 - $06dd 361 bytes ...
Data $06de byte Level (World?) X Position, Level (World?) Y Position, Time of day (sub bytes)
Data $06df byte Time of day
Unknown $06e0 - $06ff 32 bytes ...
Stats $0700 byte Player 1 - Level
Stats $0701 byte Player 2 - Level
Stats $0702 byte Player 3 - Level
Stats $0703 byte Player 4 - Level
Stats $0704 byte Player 1 - Strength
Stats $0705 byte Player 2 - Strength
Stats $0706 byte Player 3 - Strength
Stats $0707 byte Player 4 - Strength
Stats $0708 byte Player 1 - Agility
Stats $0709 byte Player 2 - Agility
Stats $070a byte Player 3 - Agility
Stats $070b byte Player 4 - Agility
Stats $070c byte Player 1 - Intelligence
Stats $070d byte Player 2 - Intelligence
Stats $070e byte Player 3 - Intelligence
Stats $070f byte Player 4 - Intelligence
Stats $0710 byte Player 1 - Luck
Stats $0711 byte Player 2 - Luck
Stats $0712 byte Player 3 - Luck
Stats $0713 byte Player 4 - Luck
Stats $0714 byte Player 1 - Vitality
Stats $0715 byte Player 2 - Vitality
Stats $0716 byte Player 3 - Vitality
Stats $0717 byte Player 4 - Vitality
Stats $0718 byte Player 1 - Class / Gender
Stats $0719 byte Player 2 - Class / Gender
Stats $071a byte Player 3 - Class / Gender
Stats $071b byte Player 4 - Class / Gender
Stats $071c - $071d word Player 1 - HP
Stats $071e - $071f word Player 2 - HP
Stats $0720 - $0721 word Player 3 - HP
Stats $0722 - $0723 word Player 4 - HP
Stats $0724 - $0725 word Player 1 - Max HP
Stats $0726 - $0727 word Player 2 - Max HP
Stats $0728 - $0729 word Player 3 - Max HP
Stats $072a - $072b word Player 4 - Max HP
Stats $072c - $072d word Player 1 - MP
Stats $072e - $072f word Player 2 - MP
Stats $0730 - $0731 word Player 3 - MP
Stats $0732 - $0733 word Player 4 - MP
Stats $0734 - $0735 word Player 1 - Max MP
Stats $0736 - $0737 word Player 2 - Max MP
Stats $0738 - $0739 word Player 3 - Max MP
Stats $073a - $073b word Player 4 - Max MP
Stats $073c - $073d word Player 1 - Status
Stats $073e - $073f word Player 2 - Status
Stats $0740 - $0741 word Player 3 - Status
Stats $0742 - $0743 word Player 4 - Status
Stats $0744 - $0746 long Player 1 - Experience
Stats $0747 - $0749 long Player 2 - Experience
Stats $074a - $074c long Player 3 - Experience
Stats $074d - $074f long Player 4 - Experience
Stats $0750 - $0752 long Player 1 - Return Destinations
Stats $0753 - $0755 long Player 2 - Return Destinations
Stats $0756 - $0758 long Player 3 - Return Destinations
Stats $0759 - $075b long Player 4 - Return Destinations
Stats $075c - $0763 8 bytes Player 1 - Name
Stats $0764 - $076b 8 bytes Player 2 - Name
Stats $076c - $0773 8 bytes Player 3 - Name
Stats $0774 - $077b 8 bytes Player 4 - Name
Items $077c byte Player 1 - Item Slot 1
Items $077d byte Player 1 - Item Slot 2
Items $077e byte Player 1 - Item Slot 3
Items $077f byte Player 1 - Item Slot 4
Items $0780 byte Player 1 - Item Slot 5
Items $0781 byte Player 1 - Item Slot 6
Items $0782 byte Player 1 - Item Slot 7
Items $0783 byte Player 1 - Item Slot 8
Items $0784 byte Player 2 - Item Slot 1
Items $0785 byte Player 2 - Item Slot 2
Items $0786 byte Player 2 - Item Slot 3
Items $0787 byte Player 2 - Item Slot 4
Items $0788 byte Player 2 - Item Slot 5
Items $0789 byte Player 2 - Item Slot 6
Items $078a byte Player 2 - Item Slot 7
Items $078b byte Player 2 - Item Slot 8
Items $078c byte Player 3 - Item Slot 1
Items $078d byte Player 3 - Item Slot 2
Items $078e byte Player 3 - Item Slot 3
Items $078f byte Player 3 - Item Slot 4
Items $0790 byte Player 3 - Item Slot 5
Items $0791 byte Player 3 - Item Slot 6
Items $0792 byte Player 3 - Item Slot 7
Items $0793 byte Player 3 - Item Slot 8
Items $0794 byte Player 4 - Item Slot 1
Items $0795 byte Player 4 - Item Slot 2
Items $0796 byte Player 4 - Item Slot 3
Items $0797 byte Player 4 - Item Slot 4
Items $0798 byte Player 4 - Item Slot 5
Items $0799 byte Player 4 - Item Slot 6
Items $079a byte Player 4 - Item Slot 7
Items $079b byte Player 4 - Item Slot 8
Stats $079c - $079e long Player 1 - Wizard Battle Magic
Stats $079f byte Player 1 - Wizard Field Magic
Stats $07a0 - $07a2 long Player 1 - Pilgram Battle Magic
Stats $07a3 byte Player 1 - Pilgram Field Magic
Stats $07a4 - $07a6 long Player 2 - Wizard Battle Magic
Stats $07a7 byte Player 2 - Wizard Field Magic
Stats $07a8 - $07aa long Player 2 - Pilgram Battle Magic
Stats $07ab byte Player 2 - Pilgram Field Magic
Stats $07ac - $07ae long Player 3 - Wizard Battle Magic
Stats $07af byte Player 3 - Wizard Field Magic
Stats $07b0 - $07b2 long Player 3 - Pilgram Battle Magic
Stats $07b3 byte Player 3 - Pilgram Field Magic
Stats $07b4 - $07b6 long Player 4 - Wizard Battle Magic
Stats $07b7 byte Player 4 - Wizard Field Magic
Stats $07b8 - $07ba long Player 4 - Pilgram Battle Magic
Stats $07bb byte Player 4 - Pilgram Field Magic
Stats $07bc - $07be long Gold
Stats $07bf - $07c0 word Num Characters Registered
Stats $07c1 byte Player 1 - Character in Storage num
Stats $07c2 byte Player 2 - Character in Storage num
Stats $07c3 byte Player 3 - Character in Storage num
Stats $07c4 byte Player 4 - Character in Storage num
Unused $07c5 - $07ff 59 bytes Unused

Additional Information

Links

Useful information:

Party

Gold pieces

Character Stats

[TODO: Make sure Luck and Vitality aren't swapped, seen them at both addresses]

Types

Character Classes / Gender

This is located at $0718 + character number.

Mask Value Description
Class %00000111 $00 Hero
$01 Wizard
$02 Pilgrim
$03 Sage
$04 Soldier
$05 Merchant
$06 Fighter
$07 Goof-off
Gender %00001000 $00 Male
$08 Female
Unused %00010000 ... Unused
%00100000 ... Unused
%01000000 ... Unused
%10000000 ... Unused

Return Destinations

This is located at $0750 + character number * 3.

The 3 bytes of Return Destinations store one bit per location visited. The upper 4 bits of the third byte are not used.

Bit Mask Destination
Byte 0 %00000001 $01 Aliahan
%00000010 $02 Reeve
%00000100 $04 Romally
%00001000 $08 Kanave
%00010000 $10 Noaniels
%00100000 $20 Assaram
%01000000 $40 Isis
%10000000 $80 Portoga
Byte 1 %00000001 $01 Baharata
%00000010 $02 Dhama
%00000100 $04 Lancel
%00001000 $08 Jipang
%00010000 $10 Eginbear
%00100000 $20 Samano
%01000000 $40 Soo
%10000000 $80 Tantegel
Byte 2 %00000001 $01 Hauksness
%00000010 $02 Cantlin
%00000100 $04 Kol
%00001000 $08 Rimuldar
%00010000 $10 Unused
%00100000 $20
%01000000 $40
%10000000 $80

Spell Flags List

First character's magic list begins at $079c. Add 8 * ally number for other characters.

  • Byte 0-2: Wizard Spells (in battle)
  • Byte 3: Wizard Spells (field)
  • Byte 4-6: Pilgrim Spells (in battle)
  • Byte 7: Pilgrim Spells (field)

Note: Hero uses location of Wizard spells.

Note: The Index column refers to the spell's value in the List of Spells

Class Type Bit Index Spell
Byte 0 Wizard Battle %00000001 $00 Blaze
%00000010 $2d Upper
%00000100 $09 IceBolt
%00001000 $2e Increase
%00010000 $03 Firebal
%00100000 $26 Return
%01000000 $06 Bang
%10000000 $18 Slow
Byte 1 Wizard Battle %00000001 $01 Blazemore
%00000010 $17 RobMagic
%00000100 $0a SnowBlast
%00001000 $0c IceSpears
%00010000 $04 Firebane
%00100000 $32 Bikill
%01000000 $07 Boom
%10000000 $30 Bounce
Byte 2 Wizard Battle %00000001 $02 Blazemost
%00000010 $27 Chaos
%00000100 $0b Snowstorm
%00001000 $29 BeDragon
%00010000 $05 Firevolt
%00100000 $28 Transform
%01000000 $08 Explodet
%10000000 $33 Chance
Byte 3 Wizard Field %00000001 $3b Outside
%00000010 $26 Return
%00000100 $3a X-Ray
%00001000 $3d StepGuard
%00010000 $38 Day-Night
%00100000 $36 CurseOff
%01000000 $3c Invisible
%10000000 $39 Open
Byte 4 Pilgrim Battle %00000001 $2b Sap
%00000010 $1a Heal
%00000100 $15 Expel
%00001000 $34 Antidote
%00010000 $0d Infernos
%00100000 $19 SpeedUp
%01000000 $25 Surround
%10000000 $22 Sleep
Byte 5 Pilgrim Battle %00000001 $2c Defence
%00000010 $1b Healmore
%00000100 $12 Beat
%00001000 $35 NumbOff
%00010000 $0e Infermore
%00100000 $24 StopSpell
%01000000 $16 Limbo
%10000000 $23 Awake
Byte 6 Pilgrim Battle %00000001 $31 Barrier
%00000010 $1c Healall
%00000100 $13 Defeat
%00001000 $1e Healus
%00010000 $0f Infermost
%00100000 $20 Vivify
%01000000 $14 Sacrifice
%10000000 $21 Revive
Byte 7 Pilgrim Field %00000001 $1a Heal
%00000010 $34 Antidote
%00000100 $1b Healmore
%00001000 $35 NumbOff
%00010000 $20 Vivify
%00100000 $1c Healall
%01000000 $1e Healus
%10000000 $21 Revive

Related