P+ - Fox - Action - 0x115 SpecialLw
Entry Script
- CreateInterrupt { interrupt_id: None, action: 0x11a, requirement: (AnimationEnd) }
- UnknownEvent { namespace: 0x12, code: 0x0, unk1: 0x0, arguments: [Variable(Variable { memory_type: InternalConstant, data_type: Int, address: 24010 }), Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 2 })] }
- FloatVariableSet { variable: LongtermAccessFloat(CurryAngle1), value: InternalConstantInt(HorizontalCharacterVelocity) }
- if (OnGround)
- FloatVariableMultiply { variable: LongtermAccessFloat(CurryAngle1), value: 1.1 }
- else
- FloatVariableMultiply { variable: LongtermAccessFloat(CurryAngle1), value: -0.05 }
- AddVelocity { x_vel: Variable(LongtermAccessFloat(CurryAngle1)), y_vel: Constant(0.0) }
- loop Infinite times:
- if (OnGround)
- SetEdgeSlide(StayOn)
- SetAirGround(6)
- if (BoolIsTrue RandomAccessBool(EnableActionTransition))
- ChangeSubaction(SpecialLwStart)
- else
- ChangeSubactionRestartFrame(SpecialLwStart)
- BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
- else
- if ((InternalConstantInt(CurrentSubaction) Equal scalar(480)))
- FloatVariableSet { variable: LongtermAccessFloat(CurryAngle1), value: InternalConstantInt(HorizontalCharacterVelocity) }
- FloatVariableMultiply { variable: LongtermAccessFloat(CurryAngle1), value: -0.3 }
- AddVelocity { x_vel: Variable(LongtermAccessFloat(CurryAngle1)), y_vel: Constant(0.0) }
- SetEdgeSlide(Airbourne)
- SetAirGround(10)
- if (BoolIsTrue RandomAccessBool(EnableActionTransition))
- ChangeSubaction(SpecialAirLwStart)
- else
- ChangeSubactionRestartFrame(SpecialAirLwStart)
- BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
- LoopRest
Exit Script