388
edits
(Fix stat/world/scratch pointers) |
|||
Line 18: | Line 18: | ||
== Stat struct == | == Stat struct == | ||
Access this struct via | Access this struct via 0x030046a0. See also: [[Inventory (Boktai 2)]]. | ||
{| class="wikitable exportable" | {| class="wikitable exportable" | ||
Line 71: | Line 71: | ||
== World struct == | == World struct == | ||
Access this struct via | Access this struct via 0x03004698. ''Note:'' In the Japanese version, this struct is laid out slightly differently. | ||
{| class="wikitable exportable" | {| class="wikitable exportable" | ||
Line 91: | Line 91: | ||
== Scratch struct == | == Scratch struct == | ||
Access this struct via | Access this struct via 0x03004690. | ||
{| class="wikitable exportable" | {| class="wikitable exportable" | ||
Line 130: | Line 130: | ||
| 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) | ||
|- | |- | ||
| 0x03004698 || void* || Pointer to [[#World struct]], defaults to | | 0x03004698 || void* || Pointer to [[#World struct]], defaults to 0x0203da00 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) | | 0x030046a0 || void* || Pointer to [[#Stat struct]], defaults to 0x0203c400 on hard reset (but moves on soft resets) |