P+ - Roy - Action - 0x117
Entry Script
- BoolVariableSetFalse { variable: RandomAccessBool(EnableActionTransition) }
- CallEveryFrame { thread_id: 9, script: 0x1e7d8 }
- CreateInterrupt { interrupt_id: None, action: 0x11a, requirement: ((RandomAccessInt (0x0) GreaterThanOrEqual scalar(120))) }
- PreviousInterruptAddRequirement(ButtonPress value(0))
- PreviousInterruptAddRequirement(OnGround)
- CreateInterrupt { interrupt_id: None, action: 0x118, requirement: (ButtonNotPressed value(1)) }
- CreateInterrupt { interrupt_id: None, action: 0x119, requirement: (BoolIsTrue RandomAccessBool (0x11)) }
- loop Infinite times:
- if (OnGround)
- SetAirGround(6)
- SetEdgeSlide(StayOn)
- if (BoolIsTrue RandomAccessBool(EnableActionTransition))
- ChangeSubaction(SpecialNLoop)
- else
- ChangeSubactionRestartFrame(SpecialNLoop)
- BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
- else
- SetAirGround(10)
- SetEdgeSlide(Airbourne)
- if (BoolIsTrue RandomAccessBool(EnableActionTransition))
- ChangeSubaction(SpecialAirNLoop)
- else
- ChangeSubactionRestartFrame(SpecialAirNLoop)
- BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
- LoopRest
Exit Script