If you are still using the old URL (datacrystal.romhacking.net), please update your bookmarks! The old URL may stop working soon.
The current URL is datacrystal.tcrf.net.
The current URL is datacrystal.tcrf.net.
Legacy of the Wizard/RAM map: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Rainwarrior (talk | contribs) (add inventory) |
||
Line 15: | Line 15: | ||
|- | |- | ||
|005B || # of Keys || | |005B || # of Keys || | ||
|- | |||
|0060~006F || Inventory || Count of each item on inventory screen. | |||
|- | |- | ||
|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 04:37, 13 April 2020
The following article is a RAM map for Legacy of the Wizard.
RAM | Function | Details |
0038 | Upper bound / modulus for RNG | e.g. if this is $04, RNG will roll guaranteed within 0-3 range |
0039~003B | RNG values | these values aren't directly used as a random number but instead as part of RNG calculation, they get reset in password screen to something reliable, but after that change each time a random number is needed |
0058 | Health | |
0059 | Magic | |
005A | Gold | |
005B | # of Keys | |
0060~006F | Inventory | Count of each item on inventory screen. |
0400~048F | Sprite Tables | 9 sprites, 16 bytes per sprite: Byte x0: OAM graphic index |
Internal Data for Legacy of the Wizard
| |
---|---|