P+ - Ness - Action - 0x11b
Entry Script
- if (InAir)
- CreateInterrupt { interrupt_id: None, action: LandingFallSpecial, requirement: (OnGround) }
- CreateInterrupt { interrupt_id: None, action: FallSpecial, requirement: (InAir) }
- PreviousInterruptAddRequirement(AnimationEnd)
- else
- CreateInterrupt { interrupt_id: None, action: Wait, requirement: (OnGround) }
- PreviousInterruptAddRequirement(AnimationEnd)
- CreateInterrupt { interrupt_id: None, action: FallSpecial, requirement: (InAir) }
- PreviousInterruptAddRequirement(AnimationEnd)
- FloatVariableSet { variable: LongtermAccessFloat(SpecialLandingLag), value: 20 }
- BoolVariableSetFalse { variable: RandomAccessBool(EnableActionTransition) }
- loop Infinite times:
- if (OnGround)
- SetEdgeSlide(StayOn)
- SetAirGround(6)
- if (not(BoolIsTrue RandomAccessBool(EnableActionTransition)))
- ChangeSubactionRestartFrame(SpecialHiEnd)
- else
- ChangeSubaction(SpecialHiEnd)
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
- else
- SetEdgeSlide(Airbourne)
- SetAirGround(0)
- if (not(BoolIsTrue RandomAccessBool(EnableActionTransition)))
- ChangeSubactionRestartFrame(SpecialAirHiEnd)
- else
- ChangeSubaction(SpecialAirHiEnd)
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
- BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
- LoopRest
Exit Script