PM3.6 - Sonic - Action - 0x125

Entry Script

  1. CreateInterrupt { interrupt_id: Some(10000), action: SquatWait, requirement: (AnimationEnd) }
  2. CreateInterrupt { interrupt_id: Some(10002), action: Fall, requirement: (AnimationEnd) }
  3. IntVariableSet { variable: RandomAccessInt (0x0), value: 491 }
  4. IntVariableSet { variable: RandomAccessInt (0x1), value: 492 }
  5. loop Infinite times:
    1. if (OnGround)
      1. IntVariableSet { variable: LongtermAccessInt(JumpsUsed), value: 0 }
      2. SetAirGround(6)
      3. SetEdgeSlide(Unknown(2))
      4. if ((InternalConstantInt(CurrentSubaction) Equal RandomAccessInt (0x1)))
        1. UnknownEvent { namespace: 0x4, code: 0x0, unk1: 0x0, arguments: [Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 0 }), Bool(true)] }
      5. else
        1. UnknownEvent { namespace: 0x4, code: 0x0, unk1: 0x0, arguments: [Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 0 })] }
      6. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
      7. EnableInterrupt(10000)
      8. DisableInterrupt(10002)
    2. else
      1. SetAirGround(66)
      2. SetEdgeSlide(Airbourne)
      3. if ((InternalConstantInt(CurrentSubaction) Equal RandomAccessInt (0x0)))
        1. UnknownEvent { namespace: 0x4, code: 0x0, unk1: 0x0, arguments: [Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 1 }), Bool(true)] }
      4. else
        1. UnknownEvent { namespace: 0x4, code: 0x0, unk1: 0x0, arguments: [Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 1 })] }
      5. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
      6. DisableInterrupt(10000)
      7. EnableInterrupt(10002)
    3. LoopRest

Exit Script