PM3.02 - Mewtwo - Subroutine - 0x2643c
- if (ButtonNotPressed value(2))
- IfStatementOr ((RandomAccessInt(ThrowDataParam1) LessThanOrEqual scalar(0)))
- DisableMovement2(DisableVertical)
- IntVariableSet { variable: RandomAccessInt(ThrowDataParam1), value: 0 }
- BoolVariableSetFalse { variable: LongtermAccessInt (0x61) }
- UnknownEvent { namespace: 0x11, code: 0x15, unk1: 0x0, arguments: [Value(118), Bool(false), Bool(true)] }
- SetAirGround(0)
- CreateInterrupt { interrupt_id: Some(10153), action: Fall, requirement: (AnimationEnd) }
- CreateInterrupt { interrupt_id: Some(10154), action: LandingHeavy, requirement: (OnGround) }
- if (IsFallingOrHitDown)
- IfStatementAnd (not(BoolIsTrue LongtermAccessInt (0x61)))
- BoolVariableSetTrue { variable: RandomAccessBool(EnableFastFall) }
- if ((InternalConstantInt(CurrentFrame) GreaterThanOrEqual scalar(2)))
- if ((RandomAccessInt(ThrowDataParam1) GreaterThan scalar(0)))
- IntVariableDecrement { variable: RandomAccessInt(ThrowDataParam1) }
- if ((InternalConstantInt(VerticalCharacterVelocity) GreaterThanOrEqual scalar(0.016)))
- AddVelocity { x_vel: Constant(0.0), y_vel: Constant(-0.016) }
- if ((InternalConstantInt(VerticalCharacterVelocity) LessThanOrEqual scalar(-0.016)))
- AddVelocity { x_vel: Constant(0.0), y_vel: Constant(0.016) }
- FloatVariableSet { variable: LongtermAccessFloat (0x37), value: InternalConstantInt(PreviousControlStickYAxis) }
- FloatVariableMultiply { variable: LongtermAccessFloat (0x37), value: 0.1125 }
- FloatVariableSet { variable: LongtermAccessFloat (0x38), value: InternalConstantInt(PreviousControlStickXAxisRelative) }
- FloatVariableMultiply { variable: LongtermAccessFloat (0x38), value: 0.1125 }
- if ((InternalConstantInt(HorizontalCharacterVelocity) GreaterThan scalar(0.95)))
- IfStatementOr ((InternalConstantInt(HorizontalCharacterVelocity) LessThan scalar(-0.95)))
- FloatVariableSet { variable: LongtermAccessFloat (0x38), value: 0 }
- if ((InternalConstantInt(VerticalCharacterVelocity) GreaterThan scalar(0.95)))
- IfStatementOr ((InternalConstantInt(VerticalCharacterVelocity) LessThan scalar(-0.95)))
- FloatVariableSet { variable: LongtermAccessFloat (0x37), value: 0 }
- AddVelocity { x_vel: Variable(LongtermAccessFloat(Address(56))), y_vel: Variable(LongtermAccessFloat(Address(55))) }