Bloodwych Champion Data Structure - HoraceAndTheSpider/Bloodwych-68k GitHub Wiki

The champion data block gives us lots of information regarding our live Champion information. There are 16 ($10) entries here, each of length $20.

The champions are listed in the following order:

  • Blodwyn
  • Murlock
  • Eleanor
  • Roseanne
  • Astroth
  • Zothen
  • Baldrick
  • Elfric
  • Sir Edward
  • Megrim
  • Sethra
  • Mr. Flay
  • Ulrich
  • Zastaph
  • Hengist
  • Thai Chang

Bloodwyn Stats - SPS102 addresses File Location: [$E866] - Bloodwyn Stats Memory Location: ($EB2A - tbc)

($EBD0 = tbc?)

Bloodwyn Stats - SPS439 addresses File Location: [$E7A6] - Bloodwyn Stats Memory Location: ($ - tbc)

Example Data: 01 23 11 0D 0D 23 23 1F 1F 06 09 05 80 00 00 00 C7 FF 00 00 00 00 07 09 02 00 03 00 00 00 00 00

Detail: Each byte of data sets out differing information for the champion, defined as follows:

  • Byte 00 = Character Level
  • Byte 01 = Strength
  • Byte 02 = Agility
  • Byte 03 = Intelligence
  • Byte 04 = Charisma
  • Byte 05 = Current HP
  • Byte 06 = Max HP
  • Byte 07 = Current Vitality
  • Byte 08 = Max Vitality
  • Byte 09 = Current Spell Points
  • Byte 0A = Max Spell Points
  • Byte 0B = Armour Level
  • Byte 0C = Spells Page 1 (one bit per spell)
  • Byte 0D = Spells Page 2
  • Byte 0E = Spells Page 3
  • Byte 0F = Spells Page 4
  • Byte 10 = Food Level (max C7)
  • Byte 11 = Current Worn Spell (08 = Amour etc..)
  • Byte 12 = Current Worn Hand Amour
  • Byte 13 = Number of the Spell that the player attempts to cast
  • Byte 14 = Spell power boost gained by spending additional mana
  • Byte 15 = Spell Cool Down Timer
  • Byte 16 = X position
  • Byte 17 = Y Position
  • Byte 18 = bits 4-5 (left) Floor position | bits 0-1 (right) direction faced
  • Byte 19 = Character speed
  • Byte 1A = Floor
  • Byte 1B = Attack cool down (counts down from 07 to 00, also used for attack sequence)
  • Byte 1C = Levelling Value (change to FF to level, 11 = level 1, 24 = level 2)
  • Byte 1D = XP to next level (Starts at 255 and then as you hit monsters this is reduced down to 00 and Byte 1C is changed to FF)
  • Byte 1E = Amount of spells to buy from the fairy
  • Byte 1F = ?