P+ - Zelda - Action - 0x117
Entry Script
- CallEveryFrame { thread_id: 9, script: 0x175c0 }
- BoolVariableSetFalse { variable: RandomAccessBool(EnableActionTransition) }
- CreateInterrupt { interrupt_id: None, action: 0x118, requirement: ((RandomAccessInt (0x0) LessThanOrEqual scalar(0))) }
- PreviousInterruptAddRequirement(not(ArticleExists value(0)))
- CreateInterrupt { interrupt_id: None, action: 0x118, requirement: (ButtonNotPressed value(1)) }
- CreateInterrupt { interrupt_id: None, action: 0x118, requirement: (BoolIsTrue RandomAccessBool (0x1d)) }
- loop Infinite times:
- if (OnGround)
- SetAirGround(6)
- SetEdgeSlide(StayOn)
- if (BoolIsTrue RandomAccessBool(EnableActionTransition))
- ChangeSubaction(SpecialSLoop)
- else
- ChangeSubactionRestartFrame(SpecialSLoop)
- BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
- else
- SetAirGround(101)
- SetEdgeSlide(Airbourne)
- if (BoolIsTrue RandomAccessBool(EnableActionTransition))
- ChangeSubaction(SpecialAirSLoop)
- else
- ChangeSubactionRestartFrame(SpecialAirSLoop)
- BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
- LoopRest
Exit Script