PM3.02 - Fox - Action - 0x11a
Entry Script
- CreateInterrupt { interrupt_id: None, action: 0x11c, requirement: (ButtonNotPressed value(1)) }
- PreviousInterruptAddRequirement((InternalConstantInt(CurrentFrame) GreaterThan scalar(18)))
- loop Infinite times:
- EnableInterruptGroup(GroundJump)
- EnableInterruptGroup(AirJump)
- if (OnGround)
- SetEdgeSlide(StayOn)
- SetAirGround(6)
- if (BoolIsTrue RandomAccessBool(EnableActionTransition))
- ChangeSubaction(SpecialLwLoop)
- else
- ChangeSubactionRestartFrame(SpecialLwLoop)
- BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
- else
- if ((InternalConstantInt(CurrentSubaction) Equal scalar(481)))
- 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(SpecialAirLwLoop)
- else
- ChangeSubactionRestartFrame(SpecialAirLwLoop)
- BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
- LoopRest
Exit Script