P+ - Sonic - Action - 0x40 CaptureCut

Entry Script (Common)

  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. Subroutine(0x8054c228)
  6. loop Infinite times:
    1. if (OnGround)
      1. SetAirGround(45)
      2. SetEdgeSlide(StayOn)
      3. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
    2. else
      1. SetAirGround(0)
      2. SetEdgeSlide(Airbourne)
      3. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
    3. LoopRest

Exit Script (Common)