P+ - Mario - Action - 0x39 CatchWait

Entry Script (Common)

  1. CreateInterrupt { interrupt_id: None, action: 0x10a, requirement: (InAir) }
  2. CreateInterrupt { interrupt_id: Some(10144), action: Throw, requirement: (BoolIsTrue RandomAccessBool(EnableActionTransition)) }
  3. Subroutine(0xfc3c)
  4. ChangeSubactionRestartFrame(CatchWait)

Exit Script (Common)

  1. if ((InternalConstantInt(CurrentAction) Equal scalar(60)))
    1. if (CurrentTriggeredStatusID value(10144))
      1. if ((InternalConstantInt(ControlStickXAxisAbsolute) GreaterThanOrEqual InternalConstantInt (0xc32)))
        1. if ((InternalConstantInt(ControlStickXAxisRelative) LessThan scalar(0)))
          1. IntVariableSet { variable: RandomAccessInt (0x0), value: 114 }
        2. else
          1. IntVariableSet { variable: RandomAccessInt (0x0), value: 115 }
      2. else
        1. if ((InternalConstantInt(ControlStickYAxis) GreaterThanOrEqual InternalConstantInt (0xc56)))
          1. IntVariableSet { variable: RandomAccessInt (0x0), value: 116 }
        2. else
          1. if ((InternalConstantInt(ControlStickYAxis) LessThanOrEqual InternalConstantInt (0xc58)))
            1. IntVariableSet { variable: RandomAccessInt (0x0), value: 117 }
          2. else
            1. IntVariableSet { variable: RandomAccessInt (0x0), value: 115 }
    2. else
      1. if (CurrentTriggeredStatusID value(10101))
        1. if ((InternalConstantInt(ControlStickXAxisRelative) GreaterThan scalar(0)))
          1. IntVariableSet { variable: RandomAccessInt (0x0), value: 115 }
        2. else
          1. IntVariableSet { variable: RandomAccessInt (0x0), value: 114 }
      2. else
        1. if (CurrentTriggeredStatusID value(10102))
          1. IntVariableSet { variable: RandomAccessInt (0x0), value: 116 }
        2. else
          1. IntVariableSet { variable: RandomAccessInt (0x0), value: 117 }