LXP2.1 - Ridley-Classic - Action - 0x117

Entry Script

  1. SoundEffectTransient(19583)
  2. BoolVariableSetFalse { variable: LongtermAccessBool (0x3e) }
  3. IntVariableSet { variable: LongtermAccessInt (0x45), value: 464 }
  4. IntVariableSet { variable: LongtermAccessInt (0x46), value: 465 }
  5. UnknownEvent { namespace: 0x10, code: 0x7, unk1: 0x0, arguments: [Value(0), Value(1)] }
  6. if (OnGround)
    1. Subroutine(0x1f0b0)
  7. else
    1. Subroutine(0x1f118)
  8. UnknownEvent { namespace: 0x4, code: 0x6, unk1: 0x0, arguments: [Variable(Variable { memory_type: LongtermAccess, data_type: Int, address: 64 })] }
  9. Subroutine(0x1f2c0)
  10. CreateInterrupt { interrupt_id: None, action: 0x118, requirement: (AnimationEnd) }
  11. CreateInterrupt { interrupt_id: None, action: 0x119, requirement: (ButtonPress value(1)) }
  12. CreateInterrupt { interrupt_id: None, action: 0x11e, requirement: (ShieldInputPress) }
  13. loop Infinite times:
    1. if (OnGround)
      1. Subroutine(0x1f160)
      2. Subroutine(0x1f0b0)
      3. Subroutine(0x1f318)
      4. SetAirGround(6)
      5. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
    2. else
      1. Subroutine(0x1f188)
      2. Subroutine(0x1f118)
      3. Subroutine(0x1f360)
      4. SetAirGround(10)
      5. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
    3. LoopRest

Exit Script

  1. if ((LongtermAccessInt(Temp2) GreaterThanOrEqual scalar(7)))
    1. IfStatementAnd ((InternalConstantInt(CurrentAction) NotEqual scalar(281)))
    2. ExternalGraphicEffect(ExternalGraphicEffect { file: 0, graphic: 115, bone: 26, x_offset: 2.2999833, y_offset: 0.0, z_offset: 0.0, x_rotation: 0.0, y_rotation: 0.0, z_rotation: 0.0, scale: 0.3, randomize: None, terminate_with_animation: false })