PM3.6 - 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) }
- else
- if ((InternalConstantInt(CurrentFrame) GreaterThanOrEqual scalar(2)))
- 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.09 }
- FloatVariableSet { variable: LongtermAccessFloat (0x38), value: InternalConstantInt(PreviousControlStickXAxisRelative) }
- FloatVariableMultiply { variable: LongtermAccessFloat (0x38), value: 0.09 }
- if ((InternalConstantInt(HorizontalCharacterVelocity) GreaterThan scalar(1.15)))
- IfStatementOr ((InternalConstantInt(HorizontalCharacterVelocity) LessThan scalar(-1.15)))
- FloatVariableSet { variable: LongtermAccessFloat (0x38), value: 0 }
- if ((InternalConstantInt(VerticalCharacterVelocity) GreaterThan scalar(1.15)))
- IfStatementOr ((InternalConstantInt(VerticalCharacterVelocity) LessThan scalar(-1.15)))
- FloatVariableSet { variable: LongtermAccessFloat (0x37), value: 0 }
- AddVelocity { x_vel: Variable(LongtermAccessFloat(Address(56))), y_vel: Variable(LongtermAccessFloat(Address(55))) }
- if (IsFallingOrHitDown)
- IfStatementAnd (not(BoolIsTrue LongtermAccessInt (0x61)))
- BoolVariableSetTrue { variable: RandomAccessBool(EnableFastFall) }