PM3.02 - Snake - Action - 0x33 AerialAttack

Entry Script (Common)

  1. Subroutine(0x22ba0)
  2. if ((InternalConstantInt(ControlStickXAxisAbsolute) LessThan InternalConstantInt (0xc5c)))
    1. IfStatementAnd ((InternalConstantInt(ControlStickYAxisAbsolute) LessThan InternalConstantInt (0xc5d)))
    2. ChangeSubactionRestartFrame(AttackAirN)
    3. UnknownEvent { namespace: 0xc, code: 0x1c, unk1: 0x0, arguments: [Value(2), Value(14)] }
  3. else
    1. if (StickDirectionPressed)
      1. if ((InternalConstantInt(ControlStickXAxisRelative) GreaterThanOrEqual scalar(0)))
        1. ChangeSubactionRestartFrame(AttackAirF)
        2. UnknownEvent { namespace: 0xc, code: 0x1c, unk1: 0x0, arguments: [Value(2), Value(15)] }
      2. else
        1. ChangeSubactionRestartFrame(AttackAirB)
        2. UnknownEvent { namespace: 0xc, code: 0x1c, unk1: 0x0, arguments: [Value(2), Value(16)] }
    2. else
      1. if ((InternalConstantInt(ControlStickYAxis) GreaterThanOrEqual scalar(0)))
        1. ChangeSubactionRestartFrame(AttackAirHi)
        2. UnknownEvent { namespace: 0xc, code: 0x1c, unk1: 0x0, arguments: [Value(2), Value(17)] }
      2. else
        1. ChangeSubactionRestartFrame(AttackAirLw)
        2. UnknownEvent { namespace: 0xc, code: 0x1c, unk1: 0x0, arguments: [Value(2), Value(18)] }
  4. UnknownEvent { namespace: 0x12, code: 0x0, unk1: 0x0, arguments: [Variable(Variable { memory_type: InternalConstant, data_type: Int, address: 20000 }), Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 0 })] }

Exit Script (Common)