Ivan "Ironman" Stewart's Super Off Road/RAM map: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:


==Variables==
==Variables==
* 7AF: Race Number (Display)
* 72D: Number of Players (1-4), set to 0 during the demo race.
* 7B0: Target Race Number for game to check (0E during qualifying, 63 afterwards)
Note: If all players are eliminated, or there are 0 players in the game, the game crashes at the menu between races.
 
* 7AF: Displayed Race Number
* 7B0: Displayed Race number to check for (0E during qualifying, 63 afterwards)
* 7E0: Race Number (00-2A)  When it reaches 2B (Race 43), wraps back to 1B (Race 27).
* 7E0: Race Number (00-2A)  When it reaches 2B (Race 43), wraps back to 1B (Race 27).
* 7E2: Game Diffculty (20-DC)
* 7E2: Game Diffculty (20-DC)
** Initial Value is 0x20
** Initial Value is 0x20
** Increases by 2 on race number 2, 4, 6, 8, or any race >= 10.
** Increases by 2 on race number 2, 4, 6, 8, or any race >= 10.
* 723: Current track (Determined by Race Number and table FB69)
* 723: Current track (Determined by Race Number 7E0 and table FB69)
** 00 = Sidewinder
** 00 = Sidewinder
** 01 = Huevos Grande
** 01 = Huevos Grande
Line 18: Line 21:
** 07 = Cliffhanger
** 07 = Cliffhanger
** 08-0F = Reversed versions of 00-07.
** 08-0F = Reversed versions of 00-07.
* 72D: Number of Players (1-4)
Note: If all players are eliminated, or there are 0 players in the game, the game crashes at the menu between races.


==Player Stats==
==Player Stats==

Revision as of 00:37, 11 June 2021

Chip tiny.png The following article is a RAM map for Ivan "Ironman" Stewart's Super Off Road.

Variables

  • 72D: Number of Players (1-4), set to 0 during the demo race.

Note: If all players are eliminated, or there are 0 players in the game, the game crashes at the menu between races.

  • 7AF: Displayed Race Number
  • 7B0: Displayed Race number to check for (0E during qualifying, 63 afterwards)
  • 7E0: Race Number (00-2A) When it reaches 2B (Race 43), wraps back to 1B (Race 27).
  • 7E2: Game Diffculty (20-DC)
    • Initial Value is 0x20
    • Increases by 2 on race number 2, 4, 6, 8, or any race >= 10.
  • 723: Current track (Determined by Race Number 7E0 and table FB69)
    • 00 = Sidewinder
    • 01 = Huevos Grande
    • 02 = Big Dukes
    • 03 = Hurricane Gulch
    • 04 = Wipeout
    • 05 = Fandango
    • 06 = Blaster
    • 07 = Cliffhanger
    • 08-0F = Reversed versions of 00-07.

Player Stats

Player structure located around address 300 has 0x47 bytes per player.

Player 1:

  • 305-30C: Money (8 digits, left digit first)
  • 30D: Country (00 = USA, 01 = Italy, 02 = Germany, 03 = Britain, 04 = France, 05 = Japan, 06 = Canada, 07 = Austraila, 08 = Leland)
  • 30E: Shocks (0-6)
  • 30F: Tires (0-6)
  • 310: Nitros (0-99)
  • 311: Acceleration (0-6)
  • 312: Top Speed (0-6)
  • 313-339: Track Records
  • 33F: Lap Counter (1-5, set to 05 to instantly win a race)
  • 344: Lap Progress
  • 75D: Lives
  • 7A8: Eliminated Flag (00 = live, FF = eliminated, CPU plays for this player)

Player 2:

  • 34C-353: Money (8 digits, left digit first)
  • 354: Country (00 = USA, 01 = Italy, 02 = Germany, 03 = Britain, 04 = France, 05 = Japan, 06 = Canada, 07 = Austraila, 08 = Leland)
  • 355: Shocks (0-6)
  • 356: Tires (0-6)
  • 357: Nitros (0-99)
  • 358: Acceleration (0-6)
  • 359: Top Speed (0-6)
  • 35A-380: Track Records
  • 386: Lap Counter (1-5, set to 05 to instantly win a race)
  • 38B: Lap Progress
  • 75E: Lives
  • 7A9: Eliminated Flag (00 = live, FF = eliminated, CPU plays for this player)

Player 3:

  • 393-39A: Money (8 digits, left digit first)
  • 39B: Country (00 = USA, 01 = Italy, 02 = Germany, 03 = Britain, 04 = France, 05 = Japan, 06 = Canada, 07 = Austraila, 08 = Leland)
  • 39C: Shocks (0-6)
  • 39D: Tires (0-6)
  • 39E: Nitros (0-99)
  • 39F: Acceleration (0-6)
  • 3A0: Top Speed (0-6)
  • 3A1-3C7: Track Records
  • 3CD: Lap Counter (1-5, set to 05 to instantly win a race)
  • 3D2: Lap Progress
  • 75F: Lives
  • 7AA: Eliminated Flag (00 = live, FF = eliminated, CPU plays for this player)

Player 4:

  • 3DA-3E1: Money (8 digits, left digit first)
  • 3E2: Country (00 = USA, 01 = Italy, 02 = Germany, 03 = Britain, 04 = France, 05 = Japan, 06 = Canada, 07 = Austraila, 08 = Leland)
  • 3E3: Shocks (0-6)
  • 3E4: Tires (0-6)
  • 3E5: Nitros (0-99)
  • 3E6: Acceleration (0-6)
  • 3E7: Top Speed (0-6)
  • 3E8-40E: Track Records
  • 414: Lap Counter (1-5, set to 05 to instantly win a race)
  • 419: Lap Progress
  • 760: Lives
  • 7AB: Eliminated Flag (00 = live, FF = eliminated, CPU plays for this player)