PM3.6 - Ivysaur - Subroutine - 0x205c4

  1. if (EnteringOrIsInHitLag)
    1. IfStatementAnd ((LongtermAccessFloat(CurryAngle1) GreaterThan scalar(0)))
    2. FloatVariableSet { variable: RandomAccessFloat (0x5), value: LongtermAccessFloat(CurryAngle1) }
    3. FloatVariableAdd { variable: LongtermAccessFloat (0x1b), value: RandomAccessFloat (0x5) }
    4. Subroutine(0x206cc)
    5. ExternalGraphicEffect(ExternalGraphicEffect { file: 0, graphic: 29, bone: 14, x_offset: 0.0, y_offset: 0.0, z_offset: 0.0, x_rotation: 0.0, y_rotation: 0.0, z_rotation: 0.0, scale: 1.0, randomize: None, terminate_with_animation: true })
    6. ExternalGraphicEffect(ExternalGraphicEffect { file: 0, graphic: 90, bone: 30, x_offset: 0.0, y_offset: 0.0, z_offset: 0.0, x_rotation: 90.0, y_rotation: 0.0, z_rotation: 0.0, scale: 0.75, randomize: None, terminate_with_animation: true })
    7. if ((InternalConstantInt(Damage) GreaterThan scalar(0)))
      1. if ((InternalConstantInt(Damage) LessThan RandomAccessFloat (0x5)))
        1. FloatVariableSet { variable: RandomAccessFloat (0x5), value: InternalConstantInt(Damage) }
      2. FloatVariableMultiply { variable: RandomAccessFloat (0x5), value: -1 }
      3. UnknownEvent { namespace: 0x1e, code: 0x3, unk1: 0x0, arguments: [Variable(Variable { memory_type: RandomAccess, data_type: Float, address: 5 })] }
      4. SoundEffect1(18)
      5. SoundEffect1(18)
    8. FlashEffectOverlay { red: 147, green: 254, blue: 82, alpha: 135 }
    9. SyncWait(1.0)
    10. SetColorOfFlashEffectOverlay { transition_time: 20, red: 147, green: 254, blue: 82, alpha: 0 }
    11. SyncWait(20.0)
    12. RemoveFlashEffect