# Monster Truck Championship 1.2.0
# BID: 682F4A502035678D

unsafeCheck: true

ALL_FPS:
  # r.DynamicRes.FrameTimeBudget = 0.97 * (1000/FPS) cutted to 2 decimals
  -
    type: evaluate_write
    address: [MAIN, 0x6F8C6B0, 0]
    value_type: float
    value: ["TruncDec(FRAMETIME_TARGET * 0.97, 2)", "TruncDec(FRAMETIME_TARGET * 0.97, 2)"]
  # t.MaxFPS
  -
    type: evaluate_write
    address: [MAIN, 0x6FB45D8, 0]
    value_type: float
    value: [FPS_LOCK_TARGET, FPS_LOCK_TARGET]
  -
    type: block
    what: timing
