P+ - Squirtle - Common Subroutine 0x234f8
- FloatVariableSet { variable: RandomAccessFloat(EnableTurnWhenBelowZero), value: InternalConstantInt(CharacterDirection) }
- if ((InternalConstantInt(ControlStickXAxisAbsolute) GreaterThanOrEqual InternalConstantInt (0xc32)))
- IfStatementAnd ((InternalConstantInt (0x520b) LessThan InternalConstantInt (0x5a54)))
- if ((InternalConstantInt(ControlStickXAxisRelative) GreaterThanOrEqual scalar(0)))
- IntVariableSet { variable: RandomAccessInt (0x0), value: 276 }
- else
- IntVariableSet { variable: RandomAccessInt (0x0), value: 277 }
- 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: 278 }
- 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: 279 }
- 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: 274 }
- else
- if ((InternalConstantInt(ControlStickYAxis) LessThanOrEqual InternalConstantInt (0xc53)))
- IntVariableSet { variable: RandomAccessInt (0x0), value: 275 }
- else
- if ((InternalConstantInt(ControlStickXAxisRelative) GreaterThanOrEqual scalar(0)))
- IntVariableSet { variable: RandomAccessInt (0x0), value: 272 }
- else
- IntVariableSet { variable: RandomAccessInt (0x0), value: 273 }
- FloatVariableSet { variable: RandomAccessFloat(EnableTurnWhenBelowZero), value: InternalConstantInt(CharacterDirectionOpposite) }
- UnknownEvent { namespace: 0x4, code: 0x0, unk1: 0x0, arguments: [Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 0 })] }