Jump to content

RAM map (Boktai 2): Difference between revisions

(Added mention regarding Sabata's level & stats)
Line 46: Line 46:
| 0x150 || i16[32] || Protector inventory
| 0x150 || i16[32] || Protector inventory
|-
|-
| 0x23a || i16 || Solar bank interest rate (stored as <code>(1+r)*64<code>, e.g. 14.0625% = 73)
| 0x23a || i16 || Solar bank interest rate (stored as <code>(1+r)*64</code>, e.g. 14.0625% = 73). Defaults to 65 when starting a new game. When the date changes, the rate will change to <code>65 + ([[#STAT_2b4|IGT_frame_counter]] XOR [[#IWRAM_47e6|RTC_seconds]]) mod 13</code> (effectively uniformly distributed in the interval [1.5625%, 20.3125%]).
|-
|-
| 0x242 || i16 || Current [[Maps (Boktai 2)|map ID]]
| 0x242 || i16 || Current [[Maps (Boktai 2)|map ID]]
Line 55: Line 55:
|-
|-
| 0x24c || i32 || Current map's init script ID
| 0x24c || i32 || Current map's init script ID
|-
| id="STAT_2b4" | 0x2b4 || i32 || IGT frame counter for this save file
|-
|-
| 0x2c0 || || Django: Kaamos progress
| 0x2c0 || || Django: Kaamos progress