LXP2.1 - MetalSonic - Action - 0x10e Entrance

Entry Script (Common)

  1. ChangeHurtBoxStateAll { state: IntangibleNoFlashing }
  2. ControllerUnk06(false)
  3. UnknownEvent { namespace: 0x14, code: 0x5, unk1: 0x0, arguments: [Bool(false)] }
  4. UnknownEvent { namespace: 0xc, code: 0x16, unk1: 0x0, arguments: [] }
  5. UnknownEvent { namespace: 0xc, code: 0x17, unk1: 0x0, arguments: [Bool(true)] }
  6. if (FacingLeft)
    1. IfStatementAnd (SubactionExists value(451))
    2. ChangeSubactionRestartFrame(EntryL)
  7. else
    1. if (FacingRight)
      1. IfStatementAnd (SubactionExists value(450))
      2. ChangeSubactionRestartFrame(EntryR)
    2. else
      1. CreateInterrupt { interrupt_id: None, action: Wait, requirement: (ButtonTap) }
  8. loop Infinite times:
    1. if (OnGround)
      1. SetEdgeSlide(Unknown(2))
      2. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
    2. else
      1. SetEdgeSlide(Airbourne)
      2. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
    3. LoopRest

Exit Script (Common)

  1. UnknownEvent { namespace: 0xc, code: 0x10, unk1: 0x0, arguments: [] }