P+ - Sheik - Action - 0x112 SpecialN
Entry Script
- GenerateArticle { article_id: 1, subaction_only: true }
- if ((LongtermAccessInt(Temp1) Equal scalar(0)))
- IntVariableSet { variable: LongtermAccessInt(Temp1), value: 1 }
- Subroutine(0xf058)
- CreateInterrupt { interrupt_id: None, action: 0x117, requirement: (AnimationEnd) }
- BoolVariableSetFalse { variable: RandomAccessBool(EnableActionTransition) }
- loop Infinite times:
- if (OnGround)
- SetEdgeSlide(StayOn)
- SetAirGround(6)
- if (not(BoolIsTrue RandomAccessBool(EnableActionTransition)))
- ChangeSubactionRestartFrame(SpecialNStart)
- else
- ChangeSubaction(SpecialNStart)
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
- else
- SetEdgeSlide(Airbourne)
- SetAirGround(0)
- if (not(BoolIsTrue RandomAccessBool(EnableActionTransition)))
- ChangeSubactionRestartFrame(SpecialAirNStart)
- else
- ChangeSubaction(SpecialAirNStart)
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
- BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
- LoopRest
Exit Script
- if ((InternalConstantInt(CurrentAction) NotEqual scalar(279)))
- IfStatementAnd ((InternalConstantInt(CurrentAction) NotEqual scalar(280)))
- IntVariableSet { variable: LongtermAccessInt(Temp1), value: 0 }