PM3.6 - Sonic - Action - 0x11c

Entry Script

  1. BoolVariableSetTrue { variable: LongtermAccessBool (0x3a) }
  2. CreateInterrupt { interrupt_id: None, action: Fall, requirement: (AnimationEnd) }
  3. CreateInterrupt { interrupt_id: None, action: 0x11a, requirement: (not(BoolIsTrue RandomAccessBool(EnableLandingLag))) }
  4. PreviousInterruptAddRequirement(OnGround)
  5. CreateInterrupt { interrupt_id: None, action: LandingLight, requirement: (BoolIsTrue RandomAccessBool(EnableLandingLag)) }
  6. PreviousInterruptAddRequirement(OnGround)
  7. SetAirGround(0)
  8. Posture(3)
  9. Posture(4)
  10. UnknownEvent { namespace: 0x12, code: 0x0, unk1: 0x0, arguments: [Variable(Variable { memory_type: InternalConstant, data_type: Int, address: 24003 }), Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 2 })] }
  11. IntVariableIncrement { variable: RandomAccessInt(ThrowDataParam1) }
  12. CallEveryFrame { thread_id: 9, script: 0x1e9b0 }
  13. if (RollADie value(4))
    1. ChangeSubactionRestartFrame(SpecialNHit)
  14. else
    1. if (RollADie value(3))
      1. ChangeSubactionRestartFrame(SpecialNHit2)
    2. else
      1. if (RollADie value(2))
        1. ChangeSubactionRestartFrame(SpecialNHit3)
      2. else
        1. if (RollADie value(1))
          1. ChangeSubactionRestartFrame(SpecialNHit4)

Exit Script