Jump to content

RAM map (Boktai 2): Difference between revisions

no edit summary
No edit summary
No edit summary
Line 11: Line 11:
|-
|-
| 0x54 || i32 || Magic inventory (bitmask)
| 0x54 || i32 || Magic inventory (bitmask)
|-
| 0x242 || i16 || Current [[Maps (Boktai 2)|Map ID]]
|-
| 0x24c || i32 || Current map's init script ID
|}
== World struct ==
{| class="wikitable"
|-
! Offset || Type || Description
|-
| 0x1e8 || i16 || Current door ID
|}
== Scratch struct ==
{| class="wikitable"
|-
! Offset || Type || Description
|}
|}


Line 34: Line 52:
|-
|-
| 0x030046a0 || void* || Pointer to [[#World struct]], defaults to 0x0203c400 on hard reset (but moves on soft resets)
| 0x030046a0 || void* || Pointer to [[#World struct]], defaults to 0x0203c400 on hard reset (but moves on soft resets)
|-
| 0x030046b8 || i32 || [[Random number generator|RNG index]]
|}
|}