P+ - Sheik - Action - 0x11d
Entry Script
- CreateInterrupt { interrupt_id: Some(0), action: Wait, requirement: (AnimationEnd) }
- CreateInterrupt { interrupt_id: Some(1), action: FallSpecial, requirement: (AnimationEnd) }
- BoolVariableSetFalse { variable: RandomAccessBool(EnableActionTransition) }
- loop Infinite times:
- if (OnGround)
- SetEdgeSlide(StayOn)
- if (not(BoolIsTrue RandomAccessBool(EnableActionTransition)))
- ChangeSubactionRestartFrame(SpecialHi)
- else
- CreateInterrupt { interrupt_id: None, action: LandingFallSpecial, requirement: (OnGround) }
- SetAirGround(6)
- EnableInterrupt(0)
- DisableInterrupt(1)
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
- else
- SetEdgeSlide(Airbourne)
- if (not(BoolIsTrue RandomAccessBool(EnableActionTransition)))
- ChangeSubactionRestartFrame(SpecialAirHi)
- else
- ChangeSubaction(SpecialAirHi)
- SetAirGround(10)
- DisableInterrupt(0)
- EnableInterrupt(1)
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
- BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
- LoopRest
Exit Script
- UnknownEvent { namespace: 0xb, code: 0x2, unk1: 0x0, arguments: [Bool(true)] }