P+ - Jigglypuff - Action - 0x113 SpecialS

Entry Script

  1. CreateInterrupt { interrupt_id: None, action: Wait, requirement: (AnimationEnd) }
  2. PreviousInterruptAddRequirement(OnGround)
  3. CreateInterrupt { interrupt_id: None, action: Fall, requirement: (AnimationEnd) }
  4. PreviousInterruptAddRequirement(InAir)
  5. CallEveryFrame { thread_id: 9, script: 0x160d8 }
  6. loop Infinite times:
    1. if (OnGround)
      1. SetAirGround(15)
      2. SetEdgeSlide(Unknown(2))
      3. LedgeGrabEnable(Disable)
      4. if (BoolIsTrue RandomAccessBool(EnableActionTransition))
        1. ChangeSubaction(SpecialS)
      5. else
        1. ChangeSubactionRestartFrame(SpecialS)
        2. BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
      6. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
    2. else
      1. Subroutine(0x16068)
      2. SetEdgeSlide(Airbourne)
      3. if (BoolIsTrue RandomAccessBool(EnableGlide))
        1. LedgeGrabEnable(EnableInFrontAndBehind)
      4. if (BoolIsTrue RandomAccessBool(EnableActionTransition))
        1. ChangeSubaction(SpecialAirS)
      5. else
        1. ChangeSubactionRestartFrame(SpecialAirS)
        2. BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
      6. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
    3. LoopRest

Exit Script