Legacy of the Wizard/RAM map: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
{| border="1" cellpadding="1"
{| border="1" cellpadding="1"
| '''RAM'''  || '''Function''' || '''Details'''
| '''RAM'''  || '''Function''' || '''Details'''
|-
|0058 || Health ||
|-
|0059 || Magic ||
|-
|005A || Gold ||
|-
|005B || # of Keys ||
|-
|-
|0400~048F || Sprite Tables || 9 sprites, 16 bytes per sprite:<br />
|0400~048F || Sprite Tables || 9 sprites, 16 bytes per sprite:<br />

Revision as of 08:18, 7 August 2017

Chip tiny.png The following article is a RAM map for Legacy of the Wizard.

RAM Function Details
0058 Health
0059 Magic
005A Gold
005B # of Keys
0400~048F Sprite Tables 9 sprites, 16 bytes per sprite:

Byte x0: OAM graphic index
Byte x1: state (??)
Byte x2: OAM palette & info
Byte x3~4: ???
Byte x5: Health
Byte x6: Timer?
Byte x7~B: ???
Byte xC: X pixel within tile ($00~$0F)
Byte xD: X tile coordinate
Byte xE: Y coordinate
Byte xF: ???