LXP2.1 - Geno - Action - 0x11b

Entry Script

  1. BoolVariableSetFalse { variable: LongtermAccessBool (0x79) }
  2. BoolVariableSetFalse { variable: LongtermAccessBool (0x7a) }
  3. IntVariableSet { variable: RandomAccessInt (0x0), value: 2 }
  4. ChangeSubactionRestartFrame(SpecialHiRotate)
  5. SetAirGround(17)
  6. UnknownEvent { namespace: 0x9, code: 0x0, unk1: 0x0, arguments: [Value(2)] }
  7. SetEdgeSlide(Airbourne)
  8. loop Infinite times:
    1. if ((LongtermAccessFloat (0x3f) LessThanOrEqual scalar(0)))
      1. ChangeSubactionRestartFrame(SpecialHiShoot)
      2. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: BoolIsTrue }, Variable(Variable { memory_type: LongtermAccess, data_type: Bool, address: 120 })] }
    2. else
      1. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: Comparison }, Variable(Variable { memory_type: LongtermAccess, data_type: Float, address: 63 }), Value(1), Scalar(0.0)] }
    3. LoopRest
    4. if (BoolIsTrue LongtermAccessBool (0x78))
      1. UnknownEvent { namespace: 0x0, code: 0x6, unk1: 0x0, arguments: [] }
  9. BoolVariableSetFalse { variable: LongtermAccessBool (0x78) }
  10. CreateInterrupt { interrupt_id: None, action: Wait, requirement: (AnimationEnd) }
  11. PreviousInterruptAddRequirement(OnGround)
  12. CreateInterrupt { interrupt_id: None, action: FallAerial, requirement: (AnimationEnd) }
  13. PreviousInterruptAddRequirement(InAir)
  14. CreateInterrupt { interrupt_id: None, action: LandingHeavy, requirement: (OnGround) }
  15. ChangeSubactionRestartFrame(SpecialHiUnfold)
  16. if ((InternalConstantInt(ControlStickXAxisRelative) LessThan scalar(-0.5)))
    1. UnknownEvent { namespace: 0x20, code: 0x0, unk1: 0x0, arguments: [Variable(Variable { memory_type: InternalConstant, data_type: Int, address: 43029 }), Bool(false)] }
    2. ReverseDirection
  17. SetAirGround(0)
  18. UnknownEvent { namespace: 0x9, code: 0x0, unk1: 0x0, arguments: [Value(2)] }
  19. SetEdgeSlide(Airbourne)

Exit Script

  1. if (not(BoolIsTrue LongtermAccessBool (0x79)))
    1. SoundEffectStop(28369)
  2. if (not(BoolIsTrue LongtermAccessBool (0x7a)))
    1. ExternalGraphicEffect(ExternalGraphicEffect { file: 0, graphic: 51, bone: 70, 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: 0.8, 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 })