PM3.02 - Fox - Common Subroutine 0x9019c608
- CreateInterrupt { interrupt_id: None, action: FallSpecial, requirement: (AnimationEnd) }
- CreateInterrupt { interrupt_id: None, action: LandingFallSpecial, requirement: (OnGround) }
- Subroutine(0x22770)
- FloatVariableSet { variable: LongtermAccessFloat (0x6), value: InternalConstantInt(ControlStickXAxisRelative) }
- FloatVariableSet { variable: LongtermAccessFloat(CurryAngle1), value: InternalConstantInt(ControlStickYAxis) }
- if ((LongtermAccessFloat (0x6) LessThan scalar(0)))
- FloatVariableMultiply { variable: LongtermAccessFloat (0x6), value: -1 }
- if ((LongtermAccessFloat(CurryAngle1) LessThan scalar(0)))
- FloatVariableMultiply { variable: LongtermAccessFloat(CurryAngle1), value: -1 }
- FloatVariableAdd { variable: LongtermAccessFloat(CurryAngle1), value: LongtermAccessFloat (0x6) }
- if ((LongtermAccessFloat(CurryAngle1) GreaterThan scalar(1)))
- FloatVariableSubtract { variable: LongtermAccessFloat(CurryAngle1), value: 1 }
- else
- FloatVariableSet { variable: LongtermAccessFloat(CurryAngle1), value: 0 }
- FloatVariableSet { variable: RandomAccessFloat (0x5), value: InternalConstantInt(ControlStickXAxisRelative) }
- FloatVariableSet { variable: LongtermAccessFloat (0x6), value: InternalConstantInt(ControlStickXAxisRelative) }
- FloatVariableMultiply { variable: LongtermAccessFloat (0x6), value: 0.17 }
- FloatVariableMultiply { variable: LongtermAccessFloat (0x6), value: LongtermAccessFloat(CurryAngle1) }
- FloatVariableSubtract { variable: RandomAccessFloat (0x5), value: LongtermAccessFloat (0x6) }
- FloatVariableSet { variable: RandomAccessFloat (0x7), value: InternalConstantInt(ControlStickYAxis) }
- FloatVariableSet { variable: LongtermAccessFloat (0x6), value: InternalConstantInt(ControlStickYAxis) }
- FloatVariableMultiply { variable: LongtermAccessFloat (0x6), value: 0.17 }
- FloatVariableMultiply { variable: LongtermAccessFloat (0x6), value: LongtermAccessFloat(CurryAngle1) }
- FloatVariableSubtract { variable: RandomAccessFloat (0x7), value: LongtermAccessFloat (0x6) }
- FloatVariableMultiply { variable: RandomAccessFloat (0x5), value: 3.1 }
- FloatVariableMultiply { variable: RandomAccessFloat (0x7), value: 3.1 }
- ChangeSubactionRestartFrame(EscapeAir)
- BoolVariableSetTrue { variable: LongtermAccessBool(CanNotTeeter) }
- SetAirGround(10)
- UnknownEvent { namespace: 0xe, code: 0x8, unk1: 0x0, arguments: [Value(0), Value(0), Value(1), Value(1)] }
- DisableMovement(DisableVertical)
- AddVelocity { x_vel: Variable(RandomAccessFloat(Address(5))), y_vel: Variable(RandomAccessFloat(Address(7))) }
- loop 27 times:
- UnknownEvent { namespace: 0xe, code: 0x8, unk1: 0x0, arguments: [Value(0), Value(0), Value(1), Value(1)] }
- DisableMovement(DisableVertical)
- AddVelocity { x_vel: Variable(RandomAccessFloat(Address(5))), y_vel: Variable(RandomAccessFloat(Address(7))) }
- FloatVariableMultiply { variable: RandomAccessFloat (0x5), value: 0.9 }
- FloatVariableMultiply { variable: RandomAccessFloat (0x7), value: 0.9 }
- SyncWait(1.0)
- DisableMovement2(DisableVertical)
- Return