LXP2.1 - Ganon-Mage - Subaction - NONE
|
Stats
IASA: |
None |
Subaction Index: |
0x4 |
Scripts
Main
- Subroutine(NONE GFX 0x522c0)
- IntVariableIncrement { variable: LongtermAccessInt (0x60) }
- FloatVariableAdd { variable: LongtermAccessFloat (0x51), value: 1 }
- if ((LongtermAccessInt (0x60) GreaterThan scalar(9)))
- Subroutine(NONE SFX 0x22028)
- IntVariableSet { variable: LongtermAccessInt (0x60), value: 0 }
- if ((LongtermAccessInt (0x5c) GreaterThan scalar(30)))
- FloatVariableSet { variable: LongtermAccessFloat (0x49), value: 0 }
- else
- if ((LongtermAccessInt (0x5c) LessThanOrEqual scalar(30)))
- IfStatementAnd ((LongtermAccessInt (0x5c) GreaterThan scalar(10)))
- if ((LongtermAccessFloat (0x49) Equal scalar(0)))
- FlashEffectOverlay { red: 255, green: 255, blue: 100, alpha: 43 }
- FloatVariableAdd { variable: LongtermAccessFloat (0x49), value: 1 }
- else
- if ((LongtermAccessFloat (0x49) Equal scalar(1)))
- FlashEffectOverlay { red: 80, green: 0, blue: 180, alpha: 36 }
- FloatVariableAdd { variable: LongtermAccessFloat (0x49), value: 1 }
- else
- if ((LongtermAccessFloat (0x49) Equal scalar(2)))
- FloatVariableAdd { variable: LongtermAccessFloat (0x49), value: 1 }
- else
- if ((LongtermAccessFloat (0x49) Equal scalar(3)))
- FloatVariableAdd { variable: LongtermAccessFloat (0x49), value: 1 }
- else
- FloatVariableSet { variable: LongtermAccessFloat (0x49), value: 0 }
- else
- if ((LongtermAccessFloat (0x49) Equal scalar(0)))
- FlashEffectOverlay { red: 255, green: 255, blue: 100, alpha: 43 }
- FloatVariableAdd { variable: LongtermAccessFloat (0x49), value: 1 }
- else
- if ((LongtermAccessFloat (0x49) Equal scalar(1)))
- RemoveFlashEffect
- FlashEffectOverlay { red: 80, green: 0, blue: 180, alpha: 36 }
- FloatVariableAdd { variable: LongtermAccessFloat (0x49), value: 1 }
- else
- RemoveFlashEffect
- FloatVariableSet { variable: LongtermAccessFloat (0x49), value: 0 }
GFX
- if (BoolIsTrue RandomAccessInt(ThrowDataParam2))
- IfStatementOr ((InternalConstantInt(PreviousAction) Equal scalar(286)))
- if (not(BoolIsTrue LongtermAccessBool (0x74)))
- if (ButtonRelease value(2))
- IfStatementOr (ButtonPress value(2))
- IfStatementOr ((LongtermAccessInt (0x5c) LessThanOrEqual scalar(0)))
- DisableMovement2(DisableVertical)
- IntVariableSet { variable: LongtermAccessInt (0x5c), value: 0 }
- BoolVariableSetFalse { variable: LongtermAccessInt (0x61) }
- UnknownEvent { namespace: 0x11, code: 0x15, unk1: 0x0, arguments: [Value(118), Bool(false), Bool(true)] }
- SetAirGround(0)
- CreateInterrupt { interrupt_id: Some(10153), action: 0x11a, requirement: (AnimationEnd) }
- CreateInterrupt { interrupt_id: Some(10154), action: LandingHeavy, requirement: (OnGround) }
- else
- if ((InternalConstantInt(CurrentFrame) GreaterThanOrEqual scalar(2)))
- IntVariableDecrement { variable: LongtermAccessInt (0x5c) }
- Subroutine(0x52540)
- if ((InternalConstantInt(VerticalCharacterVelocity) GreaterThanOrEqual scalar(0.016)))
- AddVelocity { x_vel: Constant(0.0), y_vel: Constant(-0.016) }
- if ((InternalConstantInt(VerticalCharacterVelocity) LessThanOrEqual scalar(-0.016)))
- AddVelocity { x_vel: Constant(0.0), y_vel: Constant(0.016) }
- FloatVariableSet { variable: LongtermAccessFloat (0x37), value: InternalConstantInt(PreviousControlStickYAxis) }
- FloatVariableMultiply { variable: LongtermAccessFloat (0x37), value: 0.09 }
- FloatVariableSet { variable: LongtermAccessFloat (0x38), value: InternalConstantInt(PreviousControlStickXAxisRelative) }
- FloatVariableMultiply { variable: LongtermAccessFloat (0x38), value: 0.09 }
- if ((InternalConstantInt(HorizontalCharacterVelocity) GreaterThan scalar(1.15)))
- IfStatementOr ((InternalConstantInt(HorizontalCharacterVelocity) LessThan scalar(-1.15)))
- FloatVariableSet { variable: LongtermAccessFloat (0x38), value: 0 }
- if ((InternalConstantInt(VerticalCharacterVelocity) GreaterThan scalar(1.15)))
- IfStatementOr ((InternalConstantInt(VerticalCharacterVelocity) LessThan scalar(-1.15)))
- FloatVariableSet { variable: LongtermAccessFloat (0x37), value: 0 }
- AddVelocity { x_vel: Variable(LongtermAccessFloat(Address(56))), y_vel: Variable(LongtermAccessFloat(Address(55))) }
- if (IsFallingOrHitDown)
- IfStatementAnd (not(BoolIsTrue LongtermAccessInt (0x61)))
- BoolVariableSetTrue { variable: RandomAccessBool(EnableFastFall) }
- else
- if (ButtonNotPressed value(2))
- IfStatementOr ((LongtermAccessInt (0x5c) LessThanOrEqual scalar(0)))
- DisableMovement2(DisableVertical)
- IntVariableSet { variable: LongtermAccessInt (0x5c), value: 0 }
- BoolVariableSetFalse { variable: LongtermAccessInt (0x61) }
- UnknownEvent { namespace: 0x11, code: 0x15, unk1: 0x0, arguments: [Value(118), Bool(false), Bool(true)] }
- SetAirGround(0)
- CreateInterrupt { interrupt_id: Some(10153), action: 0x11a, requirement: (AnimationEnd) }
- CreateInterrupt { interrupt_id: Some(10154), action: LandingHeavy, requirement: (OnGround) }
- else
- if ((InternalConstantInt(CurrentFrame) GreaterThanOrEqual scalar(2)))
- IntVariableDecrement { variable: LongtermAccessInt (0x5c) }
- Subroutine(0x52540)
- if ((InternalConstantInt(VerticalCharacterVelocity) GreaterThanOrEqual scalar(0.016)))
- AddVelocity { x_vel: Constant(0.0), y_vel: Constant(-0.016) }
- if ((InternalConstantInt(VerticalCharacterVelocity) LessThanOrEqual scalar(-0.016)))
- AddVelocity { x_vel: Constant(0.0), y_vel: Constant(0.016) }
- FloatVariableSet { variable: LongtermAccessFloat (0x37), value: InternalConstantInt(PreviousControlStickYAxis) }
- FloatVariableMultiply { variable: LongtermAccessFloat (0x37), value: 0.09 }
- FloatVariableSet { variable: LongtermAccessFloat (0x38), value: InternalConstantInt(PreviousControlStickXAxisRelative) }
- FloatVariableMultiply { variable: LongtermAccessFloat (0x38), value: 0.09 }
- if ((InternalConstantInt(HorizontalCharacterVelocity) GreaterThan scalar(1.15)))
- IfStatementOr ((InternalConstantInt(HorizontalCharacterVelocity) LessThan scalar(-1.15)))
- FloatVariableSet { variable: LongtermAccessFloat (0x38), value: 0 }
- if ((InternalConstantInt(VerticalCharacterVelocity) GreaterThan scalar(1.15)))
- IfStatementOr ((InternalConstantInt(VerticalCharacterVelocity) LessThan scalar(-1.15)))
- FloatVariableSet { variable: LongtermAccessFloat (0x37), value: 0 }
- AddVelocity { x_vel: Variable(LongtermAccessFloat(Address(56))), y_vel: Variable(LongtermAccessFloat(Address(55))) }
- if (IsFallingOrHitDown)
- IfStatementAnd (not(BoolIsTrue LongtermAccessInt (0x61)))
- BoolVariableSetTrue { variable: RandomAccessBool(EnableFastFall) }
SFX
- if (HasAFloorBelowThePlayer scalar(10))
- IfStatementAnd (not(HasAFloorBelowThePlayer scalar(8)))
- ExternalGraphicEffect(ExternalGraphicEffect { file: 0, graphic: 8, bone: 0, x_offset: 0.0, y_offset: -8.5, z_offset: 0.0, x_rotation: 0.0, y_rotation: 0.0, z_rotation: 0.0, scale: 0.25, 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 })
- if (HasAFloorBelowThePlayer scalar(8.001))
- IfStatementAnd (not(HasAFloorBelowThePlayer scalar(6)))
- ExternalGraphicEffect(ExternalGraphicEffect { file: 0, graphic: 8, bone: 0, x_offset: 0.0, y_offset: -6.5, z_offset: 0.0, x_rotation: 0.0, y_rotation: 0.0, z_rotation: 0.0, scale: 0.35, 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 })
- if (HasAFloorBelowThePlayer scalar(6.001))
- IfStatementAnd (not(HasAFloorBelowThePlayer scalar(4)))
- ExternalGraphicEffect(ExternalGraphicEffect { file: 0, graphic: 8, bone: 0, x_offset: 0.0, y_offset: -4.5, z_offset: 0.0, x_rotation: 0.0, y_rotation: 0.0, z_rotation: 0.0, scale: 0.45, 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 })
- if (HasAFloorBelowThePlayer scalar(4.001))
- IfStatementAnd (not(HasAFloorBelowThePlayer scalar(2.5)))
- ExternalGraphicEffect(ExternalGraphicEffect { file: 0, graphic: 8, bone: 0, x_offset: 0.0, y_offset: -3.5, z_offset: 0.0, x_rotation: 0.0, y_rotation: 0.0, z_rotation: 0.0, scale: 0.55, 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 })
- if (HasAFloorBelowThePlayer scalar(2.501))
- ExternalGraphicEffect(ExternalGraphicEffect { file: 0, graphic: 8, bone: 0, x_offset: 0.0, y_offset: -1.0, z_offset: 0.0, x_rotation: 0.0, y_rotation: 0.0, z_rotation: 0.0, scale: 0.65, 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 })
Other
- if (HasAFloorBelowThePlayer scalar(40.001))
- IfStatementAnd (not(HasAFloorBelowThePlayer scalar(0)))
- ResetVerticalVelocityAndAcceleration(true)
- else
- BoolVariableSetFalse { variable: LongtermAccessInt (0x5f) }
- if ((InternalConstantInt(ControlStickXAxisRelative) GreaterThanOrEqual InternalConstantInt (0xc4d)))
- IfStatementOr ((InternalConstantInt(ControlStickXAxisRelativeReverse) GreaterThanOrEqual InternalConstantInt (0xc4d)))
- if ((InternalConstantInt(ControlStickXAxisRelative) GreaterThanOrEqual InternalConstantInt (0xc4d)))
- if ((InternalConstantInt(HorizontalCharacterVelocity) LessThan scalar(0.7)))
- SetOrAddVelocity(SetOrAddVelocity { x_vel: 0.05, y_vel: 0.0, x_set: false, y_set: false })
- else
- if ((InternalConstantInt(ControlStickXAxisRelativeReverse) GreaterThanOrEqual InternalConstantInt (0xc4d)))
- if ((InternalConstantInt(HorizontalCharacterVelocity) GreaterThan scalar(-0.7)))
- UnknownEvent { namespace: 0xe, code: 0x8, unk1: 0x0, arguments: [Scalar(-0.05), Value(0), Value(0), Value(0)] }
- else
- else
- if ((InternalConstantInt(HorizontalCharacterVelocity) GreaterThanOrEqual scalar(0.1)))
- SetOrAddVelocity(SetOrAddVelocity { x_vel: -0.05, y_vel: 0.0, x_set: false, y_set: false })
- else
- if ((InternalConstantInt(HorizontalCharacterVelocity) LessThanOrEqual scalar(-0.1)))
- SetOrAddVelocity(SetOrAddVelocity { x_vel: 0.05, y_vel: 0.0, x_set: false, y_set: false })
- else
- if ((InternalConstantInt(HorizontalCharacterVelocity) LessThan scalar(0.1)))
- IfStatementAnd ((InternalConstantInt(HorizontalCharacterVelocity) GreaterThan scalar(-0.1)))
- if (HasAFloorBelowThePlayer scalar(9998))
- IfStatementAnd (not(HasAFloorBelowThePlayer scalar(0)))
- SetOrAddVelocity(SetOrAddVelocity { x_vel: 0.0, y_vel: 0.0, x_set: true, y_set: true })