P+ - Wolf - Action - 0x2c AttackS4S

Entry Script (Common)

  1. CreateInterrupt { interrupt_id: None, action: Fall, requirement: (InAir) }
  2. CreateInterrupt { interrupt_id: None, action: Wait, requirement: (AnimationEnd) }
  3. PreviousInterruptAddRequirement(OnGround)
  4. if ((InternalConstantInt(ControlStickYAxis2) GreaterThan InternalConstantInt (0xc54)))
    1. IntVariableSet { variable: RandomAccessInt (0x0), value: 87 }
  5. else
    1. if ((InternalConstantInt(ControlStickYAxis2) LessThan InternalConstantInt (0xc55)))
      1. IntVariableSet { variable: RandomAccessInt (0x0), value: 90 }
    2. else
      1. IntVariableSet { variable: RandomAccessInt (0x0), value: 88 }
  6. loop Infinite times:
    1. ControllerUnk02
    2. BoolVariableSetFalse { variable: RandomAccessBool(EnableActionTransition) }
    3. UnknownEvent { namespace: 0x13, code: 0x0, unk1: 0x0, arguments: [Value(3)] }
    4. UnknownEvent { namespace: 0x0, code: 0x10, unk1: 0x0, arguments: [Value(10000), Variable(Variable { memory_type: InternalConstant, data_type: Int, address: 21000 })] }
    5. Case(1)
    6. UnknownEvent { namespace: 0x4, code: 0x0, unk1: 0x0, arguments: [Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 0 })] }
    7. Case(2)
    8. ChangeSubactionRestartFrame(NONE_11)
    9. UnknownEvent { namespace: 0xc, code: 0x27, unk1: 0x0, arguments: [] }
    10. EndSwitch
    11. 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: 23184 })] }
    12. UnknownEvent { namespace: 0x4, code: 0x3, unk1: 0x0, arguments: [Requirement { flip: false, ty: ButtonPress }, Value(0)] }
    13. UnknownEvent { namespace: 0x4, code: 0x3, unk1: 0x0, arguments: [Requirement { flip: false, ty: BoolIsTrue }, Variable(Variable { memory_type: RandomAccess, data_type: Bool, address: 16 })] }
    14. LoopRest

Exit Script (Common)