# Astral Chain 1.0.1
# BID: 4B159F0F7A360669
# Thanks to MrComputerRevo for figuring out where is minimal game speed

unsafeCheck: true

MASTER_WRITE:
  # Change minimal game speed to half of default value
  -
    type: bytes
    main_offset: 0x91DC94
    value_type: uint32
    value: 0x1E2C1001
  -
    type: bytes
    main_offset: 0x91DCA0
    value_type: uint32
    value: 0x1E2C1001
  -
    type: bytes
    main_offset: 0x91DCAC
    value_type: uint32
    value: 0x52A7E008
  # Block cutscenes from having speed fixed to 30 FPS
  -
    type: bytes
    main_offset: 0x91DC10
    value_type: uint32
    value: 
      - 0xD503201F
15FPS:
  -
    type: write
    address: [MAIN, 0xCCB7AF0, 0x420]
    value_type: uint32
    value: 3
20FPS:
  -
    type: write
    address: [MAIN, 0xCCB7AF0, 0x420]
    value_type: uint32
    value: 2
25FPS:
  -
    type: write
    address: [MAIN, 0xCCB7AF0, 0x420]
    value_type: uint32
    value: 1
30FPS:
  -
    type: write
    address: [MAIN, 0xCCB7AF0, 0x420]
    value_type: uint32
    value: 1
35FPS:
  -
    type: write
    address: [MAIN, 0xCCB7AF0, 0x420]
    value_type: uint32
    value: 0
40FPS:
  -
    type: write
    address: [MAIN, 0xCCB7AF0, 0x420]
    value_type: uint32
    value: 0
45FPS:
  -
    type: write
    address: [MAIN, 0xCCB7AF0, 0x420]
    value_type: uint32
    value: 0
50FPS:
  -
    type: write
    address: [MAIN, 0xCCB7AF0, 0x420]
    value_type: uint32
    value: 0
55FPS:
  -
    type: write
    address: [MAIN, 0xCCB7AF0, 0x420]
    value_type: uint32
    value: 0
60FPS:
  -
    type: write
    address: [MAIN, 0xCCB7AF0, 0x420]
    value_type: uint32
    value: 0