Saved game data: Difference between revisions

Line 102: Line 102:
|-
|-
|'''Current weapon'''
|'''Current weapon'''
|0x38
|0x2C
|1
|1
|{{CollapsibleContent|show=see more|hide=see less|width=12.75em|00 - Small Sword|01 - Broad Sword<br>02 - Magic Sword<br>03 - Throwing Daggers<br>04 - Axe<br>05 - Club<br>06 - Crossbow<br>07 - Chicken Drumsticks<br>08 - Arm<br>09 - Lightning<br>0A - Longbow<br>0B - Spear<br>0C - Hammer<br>0D Flaming Longbow<br>0E - Magic Longbow<br>0F - Good Lightning<br>10 - Dragon Armour<br>11 - Chaos Rune<br>12 - None}}
|{{CollapsibleContent|show=see more|hide=see less|width=12.75em|00 - Small Sword|01 - Broad Sword<br>02 - Magic Sword<br>03 - Throwing Daggers<br>04 - Axe<br>05 - Club<br>06 - Crossbow<br>07 - Chicken Drumsticks<br>08 - Arm<br>09 - Lightning<br>0A - Longbow<br>0B - Spear<br>0C - Hammer<br>0D Flaming Longbow<br>0E - Magic Longbow<br>0F - Good Lightning<br>10 - Dragon Armour<br>11 - Chaos Rune<br>12 - None}}
Line 108: Line 108:
|-
|-
|'''Current shield'''
|'''Current shield'''
|0x3C
|0x30
|1
|1
|{{CollapsibleContent|show=see more|hide=see less|width=12.75em|00 - None|01 - Copper Shield<br>02 - Silver Shield<br>03 - Gold Shield}}
|{{CollapsibleContent|show=see more|hide=see less|width=12.75em|00 - None|01 - Copper Shield<br>02 - Silver Shield<br>03 - Gold Shield}}
Line 122: Line 122:
|-
|-
|'''Small Sword'''
|'''Small Sword'''
|0xAC
|0xA0
|4
|4
|0xFFFF
|<code>FF FF 00 00</code>
|The default value is 0xFFFF, which means Dan doesn't have the Small Sword in his inventory. It is set to 0x0000 when Dan obtains it.
|The default value is <code>FF FF 00 00</code>, which means Dan doesn't have the Small Sword in his inventory. It is set to <code>00 00 00 00</code> when Dan obtains it.
|-
|-
|'''Copper Shield'''
|'''Copper Shield'''
|0x134
|0x128
|4
|4
|0xFFFF
|<code>FF FF 00 00</code>
|The default value is 0xFFFF, which means Dan doesn't have the Copper Shield in his inventory. It is set to 0x96 (150) when Dan obtains it, which is the durability of the shield.
|The default value is <code>FF FF 00 00</code>, which means Dan doesn't have the Copper Shield in his inventory. It is set to <code>96 00 00 00</code> (150) when Dan obtains it, which is the durability of the shield.
|-
! colspan="5" | Level Changes
|-
! Name
! Offset
! Length
! Value
! Meaning
|-
| '''Length of array'''
| 0x14C
| 4
| 0
| Length of the "level changes" array. The array grows each time something happens that should change a level permanently on replays.
|-
| '''Start of array'''
| 0x150
| Length of array * 4
| <code>00 00 00 00</code>
|This is where the "level changes" array begins.
|}
|}