Jump to content

RAM map (Boktai 3): Difference between revisions

Doc (talk | contribs)
Fixed wrong memory addresses for solar bike parts
Doc (talk | contribs)
Fixed wrong address for Max ENE
 
(6 intermediate revisions by 2 users not shown)
Line 5: Line 5:
|-
|-
! Address || Type || Description
! Address || Type || Description
|-
| 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
| 0x02000580 || void* || Pointer to Django's actor data
Line 24: Line 28:
| + 0x428 || i16 || Current ENE
| + 0x428 || i16 || Current ENE
|-
|-
| + 0x430 || i16 || Max ENE
| + 0x42A || 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
|-
|-
| 0x020031c1 || i8 || [[Dialogue box]] portrait
| 0x020031c1 || i8 || [[Dialogue box]] portrait
|-
|0x02001bc8
|i32
|Total EXP until next level
|}
|}


Line 67: Line 77:
|-
|-
| 0x30 || i16[3] || Django position
| 0x30 || i16[3] || Django position
|-
|0x40
|i16
|Current level
|-
|-
| 0x42 || i16 || Allocatable stat points
| 0x42 || i16 || Allocatable stat points
Line 102: Line 116:
| 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]]
|-
|-
| 0x5b8 || i32 || Acquired maps
| 0x5b8 || i32 || Acquired maps
|-
|0x50c
|i16
|Dark loans
|-
|-
| 0x608 || i32 || TRC gauge (0-1000)
| 0x608 || i32 || TRC gauge (0-1000)
|-
|-
| 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 187: Line 209:
|-
|-
! 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 210: Line 236:
|-
|-
! Address || Type || Description
! Address || Type || Description
|-
| 0x03001664 || void* || Pointer to [[font]]
|-
|-
| 0x0300523c || u32 || [[Actor]] disable flags
| 0x0300523c || u32 || [[Actor]] disable flags
Line 285: Line 313:
|-
|-
| 0x04 || i32 || Solar sensor calibration (<code>raw_level - 2</code> at time of calibration)
| 0x04 || i32 || Solar sensor calibration (<code>raw_level - 2</code> at time of calibration)
|-
| 0x09 || u8 || Sound test unlock flag
|-
|-
| 0x0b || u8 || Daylight savings time active
| 0x0b || u8 || Daylight savings time active