P+ - Ivysaur - Subroutine - 0x27eb4
- if ((LongtermAccessInt (0x42) GreaterThan scalar(0)))
- IfStatementAnd ((InternalConstantInt(CurrentAction) NotEqual scalar(278)))
- FloatVariableSet { variable: LongtermAccessFloat (0x1e), value: 1 }
- if ((InternalConstantInt(Damage) GreaterThan scalar(0)))
- if ((InternalConstantInt(Damage) LessThan LongtermAccessFloat (0x1e)))
- FloatVariableSet { variable: LongtermAccessFloat (0x1e), value: InternalConstantInt(Damage) }
- FloatVariableMultiply { variable: LongtermAccessFloat (0x1e), value: -1 }
- UnknownEvent { namespace: 0x1e, code: 0x3, unk1: 0x0, arguments: [Variable(Variable { memory_type: LongtermAccess, data_type: Float, address: 30 })] }
- SoundEffect1(18)
- 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: Some(ExternalGraphicEffectRandomize { random_x_offset: 0.0, random_y_offset: 0.0, random_z_offset: 0.0, random_x_rotation: 0.0, random_y_rotation: 0.0, random_z_rotation: 0.0 }), terminate_with_animation: true })
- SyncWait(7.0)
- if ((LongtermAccessInt(CostumeID) GreaterThanOrEqual scalar(30)))
- IfStatementAnd ((LongtermAccessInt(CostumeID) LessThanOrEqual scalar(39)))
- ExternalGraphicEffect(ExternalGraphicEffect { file: 32, graphic: 32, bone: 0, x_offset: 0.0, y_offset: 4.0, z_offset: 0.0, x_rotation: 0.0, y_rotation: 0.0, z_rotation: -90.0, scale: 0.7, randomize: None, terminate_with_animation: false })
- else
- ExternalGraphicEffect(ExternalGraphicEffect { file: 0, graphic: 90, bone: 0, x_offset: 0.0, y_offset: 4.0, z_offset: 0.0, x_rotation: 0.0, y_rotation: 0.0, z_rotation: -90.0, scale: 0.7, randomize: None, terminate_with_animation: false })
- ExternalGraphicEffect(ExternalGraphicEffect { file: 0, graphic: 29, bone: 0, x_offset: 11.0, y_offset: 12.0, z_offset: 0.0, x_rotation: 0.0, y_rotation: 0.0, z_rotation: 0.0, scale: 1.0, randomize: Some(ExternalGraphicEffectRandomize { random_x_offset: 0.0, random_y_offset: 0.0, random_z_offset: 0.0, random_x_rotation: 0.0, random_y_rotation: 0.0, random_z_rotation: 0.0 }), terminate_with_animation: false })
- SyncWait(10.0)
- Subroutine(0x14590)
- if ((LongtermAccessInt(CostumeID) GreaterThanOrEqual scalar(30)))
- IfStatementAnd ((LongtermAccessInt(CostumeID) LessThanOrEqual scalar(39)))
- ExternalGraphicEffect(ExternalGraphicEffect { file: 32, graphic: 32, bone: 0, x_offset: 0.0, y_offset: 5.0, z_offset: 0.0, x_rotation: 0.0, y_rotation: 0.0, z_rotation: 0.0, scale: 0.4, randomize: None, terminate_with_animation: false })
- else
- ExternalGraphicEffect(ExternalGraphicEffect { file: 0, graphic: 90, bone: 0, x_offset: 0.0, y_offset: 5.0, z_offset: 0.0, x_rotation: 0.0, y_rotation: 0.0, z_rotation: 0.0, scale: 0.4, randomize: None, terminate_with_animation: false })
- SyncWait(12.0)
- ExternalGraphicEffect(ExternalGraphicEffect { file: 0, graphic: 29, bone: 0, x_offset: -7.0, y_offset: 9.0, z_offset: 0.0, x_rotation: 0.0, y_rotation: 0.0, z_rotation: 0.0, scale: 1.0, randomize: Some(ExternalGraphicEffectRandomize { random_x_offset: 0.0, random_y_offset: 0.0, random_z_offset: 0.0, random_x_rotation: 0.0, random_y_rotation: 0.0, random_z_rotation: 0.0 }), terminate_with_animation: false })
- SyncWait(6.0)
- SyncWait(1.0)
- Goto(0x27eb4)