PM3.6 - Snake - Action - 0x131

Entry Script

  1. UnknownEvent { namespace: 0xc, code: 0x17, unk1: 0x0, arguments: [Bool(false)] }
  2. TagDisplay(false)
  3. GenerateArticle { article_id: 9, subaction_only: true }
  4. BoolVariableSetFalse { variable: LongtermAccessBool (0x19) }
  5. UnknownEvent { namespace: 0x14, code: 0x5, unk1: 0x0, arguments: [Bool(false)] }
  6. UnknownEvent { namespace: 0x1a, code: 0x7, unk1: 0x0, arguments: [Bool(false)] }
  7. CallEveryFrame { thread_id: 9, script: 0x1a008 }
  8. UnknownEvent { namespace: 0x12, code: 0x0, unk1: 0x0, arguments: [Variable(Variable { memory_type: InternalConstant, data_type: Int, address: 24004 }), Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 5 })] }
  9. CreateInterrupt { interrupt_id: Some(10146), action: 0x132, requirement: ((RandomAccessInt (0x5) LessThanOrEqual scalar(0))) }
  10. UnknownEvent { namespace: 0x12, code: 0x0, unk1: 0x0, arguments: [Variable(Variable { memory_type: InternalConstant, data_type: Int, address: 24001 }), Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 2 })] }
  11. loop Infinite times:
    1. if (not(Unknown(54) value(24)))
      1. IfStatementAnd (BoolIsTrue RandomAccessBool(EnableGlide))
      2. IntVariableDecrement { variable: RandomAccessInt(ThrowDataParam1) }
      3. IntVariableIncrement { variable: RandomAccessInt(ThrowDataParam2) }
      4. DisableInterrupt(10146)
      5. ChangeSubactionRestartFrame(FinalFire)
      6. UnknownEvent { namespace: 0x10, code: 0x4, unk1: 0x0, arguments: [Value(7), Value(2)] }
      7. UnknownEvent { namespace: 0x10, code: 0x4, unk1: 0x0, arguments: [Value(8), Value(0)] }
      8. if ((RandomAccessInt(ThrowDataParam2) GreaterThanOrEqual InternalConstantInt (0x5dc3)))
        1. CreateInterrupt { interrupt_id: None, action: 0x132, requirement: (AnimationEnd) }
      9. else
        1. UnknownEvent { namespace: 0x4, code: 0x1, unk1: 0x0, arguments: [Value(24), Requirement { flip: false, ty: AnimationEnd }] }
    2. else
      1. if ((RandomAccessInt(ThrowDataParam1) LessThanOrEqual scalar(0)))
        1. IfStatementAnd ((RandomAccessInt (0x5) GreaterThan scalar(0)))
        2. DisableInterrupt(10146)
        3. ChangeSubactionRestartFrame(FinalReload)
        4. UnknownEvent { namespace: 0x10, code: 0x4, unk1: 0x0, arguments: [Value(7), Value(3)] }
        5. UnknownEvent { namespace: 0x10, code: 0x4, unk1: 0x0, arguments: [Value(8), Value(1)] }
        6. UnknownEvent { namespace: 0x4, code: 0x1, unk1: 0x0, arguments: [Value(24), Requirement { flip: false, ty: AnimationEnd }] }
        7. UnknownEvent { namespace: 0x12, code: 0x0, unk1: 0x0, arguments: [Variable(Variable { memory_type: InternalConstant, data_type: Int, address: 24001 }), Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 2 })] }
      2. else
        1. BoolVariableSetTrue { variable: RandomAccessBool(EnableGlide) }
        2. EnableInterrupt(10146)
        3. ChangeSubactionRestartFrame(FinalSet)
        4. UnknownEvent { namespace: 0x10, code: 0x4, unk1: 0x0, arguments: [Value(7), Value(1)] }
        5. UnknownEvent { namespace: 0x10, code: 0x4, unk1: 0x0, arguments: [Value(8), Value(2)] }
        6. SetAnimationFrame(45.0)
        7. FrameSpeedModifier { multiplier: 0.0, unk: 0 }
        8. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: ButtonPress }, Value(0)] }
        9. UnknownEvent { namespace: 0x12, code: 0x0, unk1: 0x0, arguments: [Variable(Variable { memory_type: InternalConstant, data_type: Int, address: 24002 }), Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 4 })] }
        10. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: Comparison }, Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 4 }), Value(1), Scalar(0.0)] }
        11. UnknownEvent { namespace: 0x10, code: 0xf, unk1: 0x0, arguments: [Value(8), Value(0), Value(0)] }
        12. ArticleRemove(10)
    3. LoopRest

Exit Script

  1. UnknownEvent { namespace: 0x0, code: 0x10, unk1: 0x0, arguments: [Value(10000), Variable(Variable { memory_type: InternalConstant, data_type: Int, address: 20001 })] }
  2. Case(306)
  3. UnknownEvent { namespace: 0x0, code: 0x18, unk1: 0x0, arguments: [] }
  4. UnknownEvent { namespace: 0x0, code: 0x12, unk1: 0x0, arguments: [] }
  5. BoolVariableSetFalse { variable: LongtermAccessBool(CannotDie) }
  6. UnknownEvent { namespace: 0x1a, code: 0x7, unk1: 0x0, arguments: [Bool(true)] }
  7. FinalSmashExit
  8. UnknownEvent { namespace: 0x21, code: 0xc, unk1: 0x0, arguments: [] }
  9. UnknownEvent { namespace: 0x1a, code: 0xc, unk1: 0x0, arguments: [] }
  10. ArticleAnimation(7)
  11. ArticleAnimation(8)
  12. ArticleRemove(10)
  13. UnknownEvent { namespace: 0x14, code: 0x5, unk1: 0x0, arguments: [Bool(true)] }
  14. EndSwitch
  15. ArticleAnimation(9)