P+ - Mario - Action - 0x115 SpecialLw

Entry Script

  1. CreateInterrupt { interrupt_id: Some(10000), action: Wait, requirement: (AnimationEnd) }
  2. CreateInterrupt { interrupt_id: Some(10002), action: Fall, requirement: (AnimationEnd) }
  3. BoolVariableSetFalse { variable: RandomAccessBool(SpecialsMovement) }
  4. CallEveryFrame { thread_id: 9, script: 0x10d40 }
  5. loop Infinite times:
    1. if (OnGround)
      1. if (BoolIsTrue RandomAccessBool(EnableActionTransition))
        1. ChangeSubaction(SpecialLw)
      2. else
        1. ChangeSubactionRestartFrame(SpecialLw)
        2. BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
      3. EnableInterrupt(10000)
      4. DisableInterrupt(10002)
      5. UnknownEvent { namespace: 0x4, code: 0x1, unk1: 0x0, arguments: [Value(0), Requirement { flip: false, ty: InAir }] }
    2. else
      1. if (BoolIsTrue RandomAccessBool(EnableActionTransition))
        1. ChangeSubaction(SpecialAirLw)
      2. else
        1. ChangeSubactionRestartFrame(SpecialAirLw)
        2. BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
      3. EnableInterrupt(10002)
      4. DisableInterrupt(10000)
      5. UnknownEvent { namespace: 0x4, code: 0x1, unk1: 0x0, arguments: [Value(1), Requirement { flip: false, ty: OnGround }] }
    3. LoopRest

Exit Script