P+ - Sonic - Action - 0x27 AttackS3

Entry Script (Common)

  1. ControllerUnk02
  2. CreateInterrupt { interrupt_id: None, action: Fall, requirement: (InAir) }
  3. CreateInterrupt { interrupt_id: None, action: Wait, requirement: (AnimationEnd) }
  4. PreviousInterruptAddRequirement(OnGround)
  5. CallEveryFrame { thread_id: 9, script: 0x12a9c }
  6. loop Infinite times:
    1. ControllerUnk02
    2. BoolVariableSetFalse { variable: RandomAccessBool(EnableActionTransition) }
    3. BoolVariableSetFalse { variable: RandomAccessBool(EnableGlide) }
    4. BoolVariableSetTrue { variable: RandomAccessBool(SpecialsMovement) }
    5. UnknownEvent { namespace: 0x13, code: 0x0, unk1: 0x0, arguments: [Value(2)] }
    6. UnknownEvent { namespace: 0x0, code: 0x10, unk1: 0x0, arguments: [Value(10000), Variable(Variable { memory_type: InternalConstant, data_type: Int, address: 21000 })] }
    7. Case(1)
    8. if ((InternalConstantInt(ControlStickYAxis2) GreaterThan InternalConstantInt (0xc50)))
      1. ChangeSubactionRestartFrame(AttackS3Hi)
    9. else
      1. if ((InternalConstantInt(ControlStickYAxis2) LessThan InternalConstantInt (0xc51)))
        1. ChangeSubactionRestartFrame(AttackS3Lw)
      2. else
        1. ChangeSubactionRestartFrame(AttackS3S)
    10. Case(2)
    11. ChangeSubactionRestartFrame(AppealBrawlHiR)
    12. UnknownEvent { namespace: 0xc, code: 0x1c, unk1: 0x0, arguments: [Value(2), Value(7)] }
    13. UnknownEvent { namespace: 0xc, code: 0x27, unk1: 0x0, arguments: [] }
    14. Case(3)
    15. ChangeSubactionRestartFrame(AppealBrawlHiL)
    16. UnknownEvent { namespace: 0xc, code: 0x1c, unk1: 0x0, arguments: [Value(2), Value(8)] }
    17. UnknownEvent { namespace: 0xc, code: 0x27, unk1: 0x0, arguments: [] }
    18. EndSwitch
    19. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: Comparison }, Variable(Variable { memory_type: InternalConstant, data_type: Int, address: 21000 }), Value(0), Variable(Variable { memory_type: InternalConstant, data_type: Int, address: 23183 })] }
    20. UnknownEvent { namespace: 0x4, code: 0x3, unk1: 0x0, arguments: [Requirement { flip: false, ty: BoolIsTrue }, Variable(Variable { memory_type: RandomAccess, data_type: Bool, address: 19 })] }
    21. UnknownEvent { namespace: 0x4, code: 0x3, unk1: 0x0, arguments: [Requirement { flip: false, ty: BoolIsTrue }, Variable(Variable { memory_type: RandomAccess, data_type: Bool, address: 16 })] }
    22. LoopRest

Exit Script (Common)