River City Ransom/ROM map: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{rommap|game=River City Ransom}}
{{rommap|game=River City Ransom}}


  0x005CBB = Room captions - Array of [[River City Ransom:Page1Text|Page1Text]] indexed by [[River City Ransom:RoomNumber|RoomNumber]]
  0x005CBB = Room captions - Array of [[River City Ransom:Page1Text|Page1Text]] indexed by [[River City Ransom:RoomNumber|RoomNumber]]<br>
 
  0x00A4F9 = Array[128] of pointer to item records indexed by [[River City Ransom:ItemNumber|ItemNumber]]<br>
  0x00A4F9 = Array[128] of pointer to item records indexed by [[River City Ransom:ItemNumber|ItemNumber]]
Each item record:
 
* [variable] item name terminated by 05
<pre>
* [03 bytes] YZ WX 0V: item cost $VWX.YZ (digits are BCD)
Each item record:
* [03 bytes] ?? ?? ??: unknown
* [variable] item name terminated by 05
* [01 byte] 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
* [01 byte] Status enhanced bitmask:
    * 1 = strength
    * 7 = stamina
    * 0 = will power
* [variable] Variable length array of ability values, in the order above.
* [01 byte] Status enhanced bitmask:
  Array element is present only if corresponding bit is set above.
    * 7 = stamina
* [variable] Variable length array of ability values, in the order above.
  Array element is present only if corresponding bit is set above.
</pre>


{{Internal Data|game=River City Ransom}}
{{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.