P+ - Mewtwo - Action - 0x114 SpecialHi

Entry Script

  1. IntVariableIncrement { variable: LongtermAccessInt (0x62) }
  2. BoolVariableSetFalse { variable: RandomAccessBool(EnableActionTransition) }
  3. BoolVariableSetFalse { variable: RandomAccessBool (0x11) }
  4. CreateInterrupt { interrupt_id: None, action: 0x11b, requirement: (AnimationEnd) }
  5. UnknownEvent { namespace: 0x8, code: 0x4, unk1: 0x0, arguments: [Bool(false)] }
  6. if (InAir)
    1. if ((InternalConstantInt(PreviousAction) Equal scalar(12)))
      1. IfStatementAnd (BoolIsTrue LongtermAccessBool (0x78))
      2. IntVariableSet { variable: LongtermAccessInt(JumpsUsed), value: 1 }
    2. if ((LongtermAccessInt(JumpsUsed) GreaterThan scalar(1)))
      1. BoolVariableSetTrue { variable: LongtermAccessBool (0x74) }
      2. IntVariableSet { variable: LongtermAccessInt (0x62), value: 2 }
    3. IntVariableSet { variable: LongtermAccessInt(JumpsUsed), value: 2 }
  7. loop Infinite times:
    1. if (OnGround)
      1. SetEdgeSlide(StayOn)
      2. SetAirGround(6)
      3. if (BoolIsTrue RandomAccessBool(EnableActionTransition))
        1. ChangeSubaction(SpecialHiStart)
      4. else
        1. ChangeSubactionRestartFrame(SpecialHiStart)
        2. BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
      5. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
    2. else
      1. SetEdgeSlide(Airbourne)
      2. SetAirGround(10)
      3. if (BoolIsTrue RandomAccessBool(EnableActionTransition))
        1. ChangeSubaction(SpecialAirHiStart)
      4. else
        1. ChangeSubactionRestartFrame(SpecialAirHiStart)
        2. BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
      5. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
    3. LoopRest

Exit Script