P+ - Sonic - Action - 0x11a

Entry Script

  1. if ((InternalConstantInt(PreviousAction) GreaterThanOrEqual scalar(286)))
    1. CreateInterrupt { interrupt_id: None, action: Wait, requirement: (AnimationEnd) }
    2. PreviousInterruptAddRequirement(OnGround)
    3. SetEdgeSlide(Unknown(2))
    4. SetAirGround(15)
    5. ChangeSubactionRestartFrame(SpecialSEndStart)
    6. SyncWait(2.0)
    7. CreateInterrupt { interrupt_id: None, action: Fall, requirement: (InAir) }
  2. else
    1. BoolVariableSetTrue { variable: LongtermAccessBool (0x3a) }
    2. CreateInterrupt { interrupt_id: None, action: Fall, requirement: (InAir) }
    3. CreateInterrupt { interrupt_id: None, action: Wait, requirement: (AnimationEnd) }
    4. ChangeSubactionRestartFrame(LandingHeavy)

Exit Script