04FC
Description
- Gets two wheels, wheelie, and stoppie stunt data
Syntax
- 04FC: store_stunt_data [player handle] two_wheels: [var1] [var2] wheelie: [var3] [var4] stoppie: [var5] [var6]
Parameter
- [player handle]
- [var1]
- Variable to store the integer duration in milliseconds of a two wheels stunt
- [var2]
- Variable to store the floating-point distance in units of a two wheels stunt
- [var3]
- Variable to store the integer duration in milliseconds of a wheelie stunt
- [var4]
- Variable to store the floating-point distance in units of a wheelie stunt
- [var5]
- Variable to store the integer duration in milliseconds of a stoppie stunt
- [var6]
- Variable to store the floating-point distance in units of a stoppie stunt
This opcode gets the data of two wheels, wheelie, and stoppie stunts. After the opcode is called, all the stunt data are immediately set 0. The two wheels or stoppie stunt must be performed for more than two seconds or the wheelie stunt for more than five seconds in order to be able to get any data for those stunts — the three stunts are independent of each other but the duration and distance of each stunt are dependent on the stunt. Interestingly the game does not use this opcode to register stunt data into the statistics; it registers them regardless of this opcode. This opcode is primarily used to display stunt data onscreen in the stunt jump script in the original script.
Keywords
get, store, stunt, data, stat, stats, statistics, wheelie, stoppie, two, wheels, bonus