Welcome to Data Crystal's new home! Data Crystal is now part of the TCRF family (sort of).
The wiki has recently moved; please report any issues in Discord. Pardon the dust.

River City Ransom/ROM map: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
(Add RCR items table)
 
mNo edit summary
 
(7 intermediate revisions by 5 users not shown)
Line 1: Line 1:
$00A4F9: Array[128] of pointer to item records
{{rommap|game=River City Ransom}}


Each item record:
0x005CBB = Room captions - Array of [[River City Ransom:Page1Text|Page1Text]] indexed by [[River City Ransom:RoomNumber|RoomNumber]]<br>
* item name terminated by 05
0x00A4F9 = Array[128] of pointer to item records indexed by [[River City Ransom:ItemNumber|ItemNumber]]<br>
* YZ WX 0V: item cost $VWX.YZ (digits are BCD)
Each item record:
* ?? ?? ??: unknown
* [variable] item name terminated by 05
* Abilities enhanced bitmask:
* [03 bytes] YZ WX 0V: item cost $VWX.YZ (digits are BCD)
** 7 = punch
* [03 bytes] ?? ?? ??: unknown
** 6 = kick
* [01 byte] Abilities enhanced bitmask:
** 5 = weapon
    * 7 = punch
** 4 = throw
    * 6 = kick
** 3 = agility
    * 5 = weapon
** 2 = defense
    * 4 = throw
** 1 = strength
    * 3 = agility
** 0 = will power
    * 2 = defense
* Status enhanced bitmask:
    * 1 = strength
** 7 = stamina
    * 0 = will power
* Variable length array of ability values, in the order above. Array element is present only if corresponding bit is set above.
* [01 byte] Status enhanced bitmask:
    * 7 = stamina
* [variable] Variable length array of ability values, in the order above.
  Array element is present only if corresponding bit is set above.
 
{{Internal Data|game=River City Ransom}}

Latest revision as of 08:15, 24 January 2024

Chip tiny.png The following article is a ROM map for River City Ransom.

0x005CBB = Room captions - Array of Page1Text indexed by RoomNumber
0x00A4F9 = Array[128] of pointer to item records indexed by ItemNumber
Each item record: * [variable] item name terminated by 05 * [03 bytes] YZ WX 0V: item cost $VWX.YZ (digits are BCD) * [03 bytes] ?? ?? ??: unknown * [01 byte] Abilities enhanced bitmask: * 7 = punch * 6 = kick * 5 = weapon * 4 = throw * 3 = agility * 2 = defense * 1 = strength * 0 = will power * [01 byte] Status enhanced bitmask: * 7 = stamina * [variable] Variable length array of ability values, in the order above. Array element is present only if corresponding bit is set above.