Jump to content

RAM map (Boktai 2): Difference between revisions

no edit summary
No edit summary
Line 18: Line 18:


== Stat struct ==
== Stat struct ==
Access this struct via 0x030046a0. See also: [[Inventory (Boktai 2)]].
Access this struct via 0x030046a0. Size: 0x958 bytes. See also: [[Inventory (Boktai 2)]].


{| class="wikitable exportable"
{| class="wikitable exportable"
Line 71: Line 71:


== World struct ==
== World struct ==
Access this struct via 0x03004698. ''Note:'' In the Japanese version, this struct is laid out slightly differently.
Access this struct via 0x03004698. Size: 0x400 bytes. ''Note:'' In the Japanese version, this struct is laid out slightly differently.


{| class="wikitable exportable"
{| class="wikitable exportable"
Line 133: Line 133:
|-
|-
| 0x03004690 || void* || Pointer to [[#Scratch struct]], defaults to 0x0203e200 on hard reset (but moves on soft resets)
| 0x03004690 || void* || Pointer to [[#Scratch struct]], defaults to 0x0203e200 on hard reset (but moves on soft resets)
|-
| 0x03004694 || void* || Pointer to backup of the world struct (created on screen transitions, reloaded on death, saved to save file when saving)
|-
|-
| 0x03004698 || void* || Pointer to [[#World struct]], defaults to 0x0203da00 on hard reset (but moves on soft resets)
| 0x03004698 || void* || Pointer to [[#World struct]], defaults to 0x0203da00 on hard reset (but moves on soft resets)
|-
| 0x0300469c || void* || Pointer to backup of the stat struct
|-
|-
| 0x030046a0 || void* || Pointer to [[#Stat struct]], defaults to 0x0203c400 on hard reset (but moves on soft resets)
| 0x030046a0 || void* || Pointer to [[#Stat struct]], defaults to 0x0203c400 on hard reset (but moves on soft resets)