P+ - Fox - Action - 0x119

Entry Script

  1. ChangeSubactionRestartFrame(SpecialHiBound)
  2. CreateInterrupt { interrupt_id: None, action: FallSpecial, requirement: (AnimationEnd) }
  3. PreviousInterruptAddRequirement(InAir)
  4. CreateInterrupt { interrupt_id: Some(10026), action: LandingHeavy, requirement: (OnGround) }
  5. DisableInterrupt(10026)
  6. FloatVariableSet { variable: LongtermAccessFloat(SpecialLandingLag), value: 6.99 }
  7. loop Infinite times:
    1. if (OnGround)
      1. SetEdgeSlide(StayOn)
      2. SetAirGround(6)
      3. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
    2. else
      1. SetEdgeSlide(Airbourne)
      2. SetAirGround(13)
      3. EnableInterrupt(10026)
      4. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
    3. LoopRest

Exit Script

  1. if ((InternalConstantInt(CurrentAction) Equal scalar(16)))
    1. FloatVariableSet { variable: LongtermAccessFloat(SpecialLandingLag), value: 6.99 }