PM3.6 - Mewtwo - Common Subroutine 0x1942c
- if ((InternalConstantInt(ControlStickXAxisAbsolute) GreaterThanOrEqual InternalConstantInt (0xc32)))
- IfStatementAnd ((InternalConstantInt (0x520b) LessThan InternalConstantInt (0x5a54)))
- if ((InternalConstantInt(ControlStickXAxisRelative) GreaterThanOrEqual scalar(0)))
- IntVariableSet { variable: RandomAccessInt (0x0), value: 259 }
- IntVariableSet { variable: RandomAccessInt (0x1), value: 268 }
- else
- IntVariableSet { variable: RandomAccessInt (0x0), value: 260 }
- IntVariableSet { variable: RandomAccessInt (0x1), value: 269 }
- FloatVariableSet { variable: RandomAccessFloat(EnableTurnWhenBelowZero), value: InternalConstantInt(CharacterDirectionOpposite) }
- BoolVariableSetTrue { variable: LongtermAccessBool (0x2a) }
- UnknownEvent { namespace: 0xc, code: 0x20, unk1: 0x0, arguments: [Value(1), Value(25)] }
- else
- if ((InternalConstantInt(ControlStickYAxis) GreaterThanOrEqual InternalConstantInt (0xc56)))
- IfStatementAnd ((InternalConstantInt(EffectOfAttack) LessThan InternalConstantInt (0xc57)))
- IntVariableSet { variable: RandomAccessInt (0x0), value: 261 }
- IntVariableSet { variable: RandomAccessInt (0x1), value: 270 }
- BoolVariableSetTrue { variable: LongtermAccessBool (0x2a) }
- UnknownEvent { namespace: 0xc, code: 0x20, unk1: 0x0, arguments: [Value(1), Value(25)] }
- else
- if ((InternalConstantInt(ControlStickYAxis) LessThanOrEqual InternalConstantInt (0xc58)))
- IfStatementAnd ((InternalConstantInt(EffectOfAttack) LessThan InternalConstantInt (0xc59)))
- IntVariableSet { variable: RandomAccessInt (0x0), value: 262 }
- IntVariableSet { variable: RandomAccessInt (0x1), value: 271 }
- BoolVariableSetTrue { variable: LongtermAccessBool (0x2a) }
- UnknownEvent { namespace: 0xc, code: 0x20, unk1: 0x0, arguments: [Value(1), Value(25)] }
- else
- if ((InternalConstantInt(ControlStickYAxis) GreaterThanOrEqual InternalConstantInt (0xc52)))
- IntVariableSet { variable: RandomAccessInt (0x0), value: 257 }
- IntVariableSet { variable: RandomAccessInt (0x1), value: 266 }
- else
- if ((InternalConstantInt(ControlStickYAxis) LessThanOrEqual InternalConstantInt (0xc53)))
- IntVariableSet { variable: RandomAccessInt (0x0), value: 258 }
- IntVariableSet { variable: RandomAccessInt (0x1), value: 267 }
- else
- if ((InternalConstantInt(ControlStickXAxisAbsolute) LessThanOrEqual InternalConstantInt (0xc2d)))
- IfStatementAnd (ButtonHeld value(3))
- IfStatementAnd (not(HoldingItemOfType value(8)))
- IntVariableSet { variable: RandomAccessInt (0x0), value: 254 }
- IntVariableSet { variable: RandomAccessInt (0x1), value: 254 }
- else
- if ((InternalConstantInt(ControlStickXAxisRelative) GreaterThanOrEqual scalar(0)))
- IntVariableSet { variable: RandomAccessInt (0x0), value: 255 }
- IntVariableSet { variable: RandomAccessInt (0x1), value: 264 }
- else
- IntVariableSet { variable: RandomAccessInt (0x0), value: 256 }
- IntVariableSet { variable: RandomAccessInt (0x1), value: 265 }
- FloatVariableSet { variable: RandomAccessFloat(EnableTurnWhenBelowZero), value: InternalConstantInt(CharacterDirectionOpposite) }