RAM map (Boktai 3): Difference between revisions

Misc
 
(6 intermediate revisions by 2 users not shown)
Line 6: Line 6:
! Address || Type || Description
! Address || Type || Description
|-
|-
| 0x02000580 || void* || Pointer to Django's actor data?
| 0x0200035c || bytecode* || "Enter password" menu base64 decoder table
|-
| 0x02000360 || bytecode* || "Enter password" menu player name decoder table
|-
| 0x02000580 || void* || Pointer to Django's actor data
|-
|-
| + 0x30 || i16[3] || Current position
| + 0x30 || i16[3] || Current position
|-
|-
| + 0x332
| + 0x332
|
|i16[3]
|VIT from equipment
|VIT/SPR/STR from equipment
|-
|-
| + 0x334
| + 0x41c
|
|i16[3]
|SPR from equipment
|VIT/SPR/STR from stat points & cards
|-
|-
| + 0x336
| + 0x424 || i16 || Current HP
|
|STR from equipment
|-
|-
| + 0x424 || i16 || Current HP
| + 0x426 || i16 || Max HP
|-
|-
| + 0x428 || i16 || Current ENE
| + 0x428 || i16 || Current ENE
|-
| + 0x430 || i16 || Max ENE
|-
|-
| + 0x42C || i16 || Current TRC
| + 0x42C || i16 || Current TRC
Line 39: Line 43:
|-
|-
| 0x02000710 || void* || Pointer to [[#Stat struct]], defaults to 0x0203c400 on hard reset (but moves on soft resets)
| 0x02000710 || void* || Pointer to [[#Stat struct]], defaults to 0x0203c400 on hard reset (but moves on soft resets)
|-
| 0x02000714 || || [[Heap]] (≈123.2 KiB)
|-
|-
| 0x0200eec0 || || Boss HP
| 0x0200eec0 || || Boss HP
Line 52: Line 58:
! Offset || Type || Description
! Offset || Type || Description
|-
|-
| 0x18 || i16[4] || Stats (VIT/SPR/STR/?) - updated from *0x0200580 + ?? on screen transitions
| 0x18 || i16[4] || VIT/SPR/STR/? from stat points
|-
|0x20
|i16[4]
|VIT/SPR/STR/? from cards
|-
|-
| 0x28 || i16 || Current HP
| 0x28 || i16 || Current HP
|-
| 0x2a || i16 || Max HP
|-
|-
| 0x2c || i16 || Current ENE
| 0x2c || i16 || Current ENE
|-
| 0x2e || i16 || Max ENE
|-
|-
| 0x30 || i16[3] || Django position
| 0x30 || i16[3] || Django position
Line 94: Line 108:
| 0x4c0 || || Frame inventory
| 0x4c0 || || Frame inventory
|-
|-
| 0x54a || i32 || Current map's init script ID
| 0x5a4 || i32 || Current map's init script ID
|-  
|-  
| 0x596 || i16 || Stuffed dolls (bitmask)
| 0x596 || i16 || Stuffed dolls (bitmask)
|-
| 0x598 || i16 || Solar bank interest rate (stored as (1+r)*64, e.g. 14.0625% = 73). Defaults to 65 when starting a new game. When the date changes, the rate will change to 65 + (IGT_frame_counter XOR RTC_seconds) mod 13 (effectively uniformly distributed in the interval [1.5625%, 20.3125%]).
|-
|-
| 0x5ac || i16 || Current [[Maps (Boktai 3)#Areas|area ID]]
| 0x5ac || i16 || Current [[Maps (Boktai 3)#Areas|area ID]]
Line 105: Line 121:
|-
|-
| 0x610 || i16 || Mr. Rainnot enabled
| 0x610 || i16 || Mr. Rainnot enabled
|-
| 0x614 || i32 || IGT frame counter for this save file
|-
|-
| 0x638 || i32 || Red Django use
| 0x638 || i32 || Red Django use
Line 142: Line 160:
| 0x7b6 || i16 || Bike battle - number of wins
| 0x7b6 || i16 || Bike battle - number of wins
|-
|-
| 0x7b8 || || [[Bike]] parts: Front
| 0x7a0 || || [[Bike]] parts: Front
|-
| 0x7a2 || || Bike parts: Tires
|-
|-
| 0x7bc || || Bike parts: Tires
| 0x7a4 || || Bike parts: Body
|-
|-
| 0x7c0 || || Bike parts: Body
| 0x7a6 || || Bike parts: Special
|-
|-
| 0x7c4 || || Bike parts: Special
| 0x81a || || Bike parts: Color
|-
|-
| 0x7f8 || || Bike parts: Color
| 0x7a8 || || Bike parts: Option 1
|-
|-
| 0x81c || || Bike parts: Options
|0x7aa
|
|Bike parts: Option 2
|-
|0x7ac
|
|Bike parts: Option 3
|-
|0x7ae
|
|Bike parts: Option 4
|-
|-
| 0x828 || || Lens inventory
| 0x828 || || Lens inventory
Line 167: Line 197:
|-
|-
! Offset || Type || Description
! Offset || Type || Description
|-
| 0x3c || i16 || Global story progress
|-
| 0x70 || i16 || Current door ID
|-
|-
| 0x14e:1 || bit[4] || Dark Castle B15 wing completion flags
| 0x14e:1 || bit[4] || Dark Castle B15 wing completion flags
Line 190: Line 224:
|-
|-
! Address || Type || Description
! Address || Type || Description
|-
| 0x03001664 || void* || Pointer to [[font]]
|-
|-
| 0x0300523c || u32 || [[Actor]] disable flags
| 0x0300523c || u32 || [[Actor]] disable flags