PM3.02 - Snake - Action - 0x7 Turn2

Entry Script (Common)

  1. Subroutine(0xd4a4)
  2. CreateInterrupt { interrupt_id: Some(10049), action: Dash, requirement: (BoolIsTrue RandomAccessBool (0x11)) }
  3. PreviousInterruptAddRequirement(BoolIsTrue RandomAccessBool(EnableActionTransition))
  4. PreviousInterruptAddRequirement((InternalConstantInt (0x3f8) GreaterThanOrEqual InternalConstantInt (0xc32)))
  5. PreviousInterruptAddRequirement(OnGround)

Exit Script (Common)

  1. if ((InternalConstantInt(CurrentAction) Equal scalar(31)))
    1. IfStatementOr ((InternalConstantInt(CurrentAction) Equal scalar(32)))
    2. ReverseDirection
    3. Posture(4)
  2. else
    1. if (not(BoolIsTrue RandomAccessBool(SpecialsMovement)))
      1. if ((InternalConstantInt(CurrentAction) Equal scalar(10)))
        1. ReverseDirection
        2. Posture(4)