P+ - Ivysaur - Subroutine - 0x226ec
- FloatVariableAdd { variable: LongtermAccessFloat (0x1b), value: RandomAccessFloat (0x5) }
- Subroutine(0x206cc)
- 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 })
- if ((LongtermAccessInt(CostumeID) GreaterThanOrEqual scalar(30)))
- IfStatementAnd ((LongtermAccessInt(CostumeID) LessThanOrEqual scalar(39)))
- ExternalGraphicEffect(ExternalGraphicEffect { file: 32, graphic: 32, 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 })
- else
- 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 })
- if ((InternalConstantInt(Damage) GreaterThanOrEqual scalar(0)))
- if ((InternalConstantInt(Damage) LessThan RandomAccessFloat (0x5)))
- FloatVariableSet { variable: RandomAccessFloat (0x5), value: InternalConstantInt(Damage) }
- FloatVariableMultiply { variable: RandomAccessFloat (0x5), value: -1 }
- UnknownEvent { namespace: 0x1e, code: 0x3, unk1: 0x0, arguments: [Variable(Variable { memory_type: RandomAccess, data_type: Float, address: 5 })] }
- SoundEffect1(18)
- SoundEffect1(18)
- if ((LongtermAccessInt(CostumeID) GreaterThanOrEqual scalar(30)))
- IfStatementAnd ((LongtermAccessInt(CostumeID) LessThanOrEqual scalar(39)))
- FlashEffectOverlay { red: 147, green: 82, blue: 254, alpha: 135 }
- SyncWait(1.0)
- SetColorOfFlashEffectOverlay { transition_time: 20, red: 147, green: 82, blue: 254, alpha: 0 }
- else
- FlashEffectOverlay { red: 147, green: 254, blue: 82, alpha: 135 }
- SyncWait(1.0)
- SetColorOfFlashEffectOverlay { transition_time: 20, red: 147, green: 254, blue: 82, alpha: 0 }
- SyncWait(20.0)
- RemoveFlashEffect