P+ - Pit - Action - 0x120

Entry Script

  1. CreateInterrupt { interrupt_id: Some(10000), action: Wait, requirement: (AnimationEnd) }
  2. CreateInterrupt { interrupt_id: Some(10002), action: Fall, requirement: (AnimationEnd) }
  3. loop Infinite times:
    1. if (OnGround)
      1. SetAirGround(6)
      2. SetEdgeSlide(StayOn)
      3. if (BoolIsTrue RandomAccessBool(EnableActionTransition))
        1. ChangeSubaction(SpecialLwEnd)
      4. else
        1. ChangeSubactionRestartFrame(SpecialLwEnd)
        2. BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
      5. EnableInterrupt(10000)
      6. DisableInterrupt(10002)
      7. UnknownEvent { namespace: 0x4, code: 0x1, unk1: 0x0, arguments: [Value(0), Requirement { flip: false, ty: InAir }] }
    2. else
      1. SetAirGround(0)
      2. SetEdgeSlide(Airbourne)
      3. if (BoolIsTrue RandomAccessBool(EnableActionTransition))
        1. ChangeSubaction(SpecialAirLwEnd)
      4. else
        1. ChangeSubactionRestartFrame(SpecialAirLwEnd)
        2. BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
      5. EnableInterrupt(10002)
      6. DisableInterrupt(10000)
      7. UnknownEvent { namespace: 0x4, code: 0x1, unk1: 0x0, arguments: [Value(1), Requirement { flip: false, ty: OnGround }] }
    3. LoopRest

Exit Script