If you are still using the old URL (datacrystal.romhacking.net), please update your bookmarks! The old URL may stop working soon.
The current URL is datacrystal.tcrf.net.
The current URL is datacrystal.tcrf.net.
River City Ransom/ROM map: Difference between revisions
Jump to navigation
Jump to search
(Add RCR items table) |
(add room table) |
||
Line 1: | Line 1: | ||
$00A4F9: Array[128] of pointer to item records | {{Template: Rommap|game=River City Ransom}} | ||
$005CBB: Room captions - Array of [[River City Ransom:Page1Text|Page1Text]] indexed by [[River City Ransom:RoomNumber|RoomNumber]] | |||
$00A4F9: Array[128] of pointer to item records indexed by [[River City Ransom:ItemNumber|ItemNumber]] | |||
Each item record: | Each item record: | ||
* item name terminated by 05 | * [variable] item name terminated by 05 | ||
* YZ WX 0V: item cost $VWX.YZ (digits are BCD) | * [03 bytes] YZ WX 0V: item cost $VWX.YZ (digits are BCD) | ||
* ?? ?? ??: unknown | * [03 bytes] ?? ?? ??: unknown | ||
* Abilities enhanced bitmask: | * [01 byte] Abilities enhanced bitmask: | ||
** 7 = punch | ** 7 = punch | ||
** 6 = kick | ** 6 = kick | ||
Line 14: | Line 18: | ||
** 1 = strength | ** 1 = strength | ||
** 0 = will power | ** 0 = will power | ||
* Status enhanced bitmask: | * [01 byte] Status enhanced bitmask: | ||
** 7 = stamina | ** 7 = stamina | ||
* Variable length array of ability values, in the order above. Array element is present only if corresponding bit is set above. | * [variable] Variable length array of ability values, in the order above. Array element is present only if corresponding bit is set above. |
Revision as of 02:21, 3 June 2009
The following article is a ROM map for River City Ransom.
$005CBB: Room captions - Array of Page1Text indexed by RoomNumber
$00A4F9: 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.