P+ - Falco - Action - 0x118
Entry Script
- if ((InternalConstantInt(PreviousAction) Equal scalar(277)))
- CreateInterrupt { interrupt_id: None, action: SpecialLw, requirement: (AnimationEnd) }
- ControllerClearBuffer
- ControllerUnk01
- CallEveryFrame { thread_id: 9, script: 0x282cc }
- loop Infinite times:
- DisableMovement(DisableVertical)
- if (OnGround)
- SetEdgeSlide(StayOn)
- SetAirGround(6)
- if (BoolIsTrue RandomAccessBool(EnableActionTransition))
- ChangeSubaction(CustomAnimShineHit)
- else
- ChangeSubactionRestartFrame(CustomAnimShineHit)
- BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
- else
- SetEdgeSlide(Airbourne)
- SetAirGround(10)
- if (BoolIsTrue RandomAccessBool(EnableActionTransition))
- ChangeSubaction(CustomAnimShineAirHit)
- else
- ChangeSubactionRestartFrame(CustomAnimShineAirHit)
- BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
- LoopRest
- else
- FloatVariableSet { variable: LongtermAccessFloat(SpecialLandingLag), value: 6.99 }
- if (OnGround)
- SetEdgeSlide(Unknown(2))
- SetAirGround(6)
- CreateInterrupt { interrupt_id: None, action: FallSpecial, requirement: (InAir) }
- CreateInterrupt { interrupt_id: None, action: Wait, requirement: (AnimationEnd) }
- ChangeSubactionRestartFrame(SpecialHiLanding)
- EnableInterrupt(10146)
- else
- CallEveryFrame { thread_id: 9, script: 0x1bd2c }
- SetEdgeSlide(Airbourne)
- SetAirGround(0)
- CreateInterrupt { interrupt_id: None, action: FallSpecial, requirement: (AnimationEnd) }
- ChangeSubactionRestartFrame(SpecialHiFall)
- EnableInterrupt(10026)
- CreateInterrupt { interrupt_id: None, action: LandingFallSpecial, requirement: (OnGround) }
Exit Script