P+ - Link - Action - 0x118
Entry Script
- if (BoolIsTrue LongtermAccessBool (0x6e))
- Subroutine(0x306b8)
- else
- CreateInterrupt { interrupt_id: Some(10004), action: FallSpecial, requirement: (AnimationEnd) }
- CreateInterrupt { interrupt_id: Some(10000), action: Wait, requirement: (AnimationEnd) }
- loop Infinite times:
- if (OnGround)
- SetAirGround(6)
- SetEdgeSlide(StayOn)
- if (BoolIsTrue RandomAccessBool(EnableActionTransition))
- ChangeSubaction(SpecialHi)
- else
- ChangeSubactionRestartFrame(SpecialHi)
- BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
- EnableInterrupt(10000)
- DisableInterrupt(10004)
- UnknownEvent { namespace: 0x4, code: 0x1, unk1: 0x0, arguments: [Value(0), Requirement { flip: false, ty: InAir }] }
- else
- CreateInterrupt { interrupt_id: None, action: LandingFallSpecial, requirement: (OnGround) }
- SetAirGround(100)
- SetEdgeSlide(Airbourne)
- if (BoolIsTrue RandomAccessBool(EnableActionTransition))
- ChangeSubaction(SpecialAirHi)
- else
- ChangeSubactionRestartFrame(SpecialAirHi)
- BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
- EnableInterrupt(10004)
- DisableInterrupt(10000)
- LoopRest
Exit Script