PM3.02 - Charizard - Action - 0x112 SpecialN

Entry Script

  1. BoolVariableSetFalse { variable: RandomAccessBool(EnableActionTransition) }
  2. BoolVariableSetFalse { variable: RandomAccessBool (0x11) }
  3. BoolVariableSetFalse { variable: RandomAccessBool(SpecialsMovement) }
  4. IntVariableSet { variable: RandomAccessInt(ThrowDataParam1), value: 0 }
  5. CreateInterrupt { interrupt_id: Some(10147), action: Wait, requirement: (AnimationEnd) }
  6. DisableInterrupt(10147)
  7. CreateInterrupt { interrupt_id: Some(10148), action: Fall, requirement: (AnimationEnd) }
  8. DisableInterrupt(10148)
  9. CallEveryFrame { thread_id: 9, script: 0x17464 }
  10. loop Infinite times:
    1. if (OnGround)
      1. SetEdgeSlide(StayOn)
      2. CreateInterrupt { interrupt_id: None, action: Fall, requirement: (InAir) }
      3. UnknownEvent { namespace: 0x0, code: 0x10, unk1: 0x0, arguments: [Value(10000), Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 2 })] }
      4. Case(0)
      5. SetAirGround(15)
      6. if (BoolIsTrue RandomAccessBool(EnableActionTransition))
        1. ChangeSubaction(SpecialNStart)
      7. else
        1. ChangeSubactionRestartFrame(SpecialNStart)
        2. BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
      8. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: AnimationEnd }] }
      9. Case(1)
      10. SetAirGround(6)
      11. if (BoolIsTrue RandomAccessBool (0x11))
        1. ChangeSubaction(SpecialN)
      12. else
        1. ChangeSubactionRestartFrame(SpecialN)
        2. BoolVariableSetTrue { variable: RandomAccessBool (0x11) }
      13. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: ButtonNotPressed }, Value(1)] }
      14. UnknownEvent { namespace: 0x4, code: 0x3, unk1: 0x0, arguments: [Requirement { flip: false, ty: Comparison }, Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 1 }), Value(4), Scalar(1.0)] }
      15. UnknownEvent { namespace: 0x4, code: 0x3, unk1: 0x0, arguments: [Requirement { flip: false, ty: Comparison }, Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 0 }), Value(4), Variable(Variable { memory_type: InternalConstant, data_type: Int, address: 24000 })] }
      16. Case(2)
      17. SetAirGround(6)
      18. if (BoolIsTrue RandomAccessBool(SpecialsMovement))
        1. ChangeSubaction(SpecialNEnd)
      19. else
        1. ChangeSubactionRestartFrame(SpecialNEnd)
        2. BoolVariableSetTrue { variable: RandomAccessBool(SpecialsMovement) }
      20. EnableInterrupt(10147)
      21. DisableInterrupt(10148)
      22. EndSwitch
      23. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
    2. else
      1. SetAirGround(0)
      2. SetEdgeSlide(Airbourne)
      3. UnknownEvent { namespace: 0x0, code: 0x10, unk1: 0x0, arguments: [Value(10000), Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 2 })] }
      4. Case(0)
      5. if (BoolIsTrue RandomAccessBool(EnableActionTransition))
        1. ChangeSubaction(SpecialAirNStart)
      6. else
        1. ChangeSubactionRestartFrame(SpecialAirNStart)
        2. BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
      7. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: AnimationEnd }] }
      8. Case(1)
      9. if (BoolIsTrue RandomAccessBool (0x11))
        1. ChangeSubaction(SpecialAirN)
      10. else
        1. ChangeSubactionRestartFrame(SpecialAirN)
        2. BoolVariableSetTrue { variable: RandomAccessBool (0x11) }
      11. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: ButtonNotPressed }, Value(1)] }
      12. UnknownEvent { namespace: 0x4, code: 0x3, unk1: 0x0, arguments: [Requirement { flip: false, ty: Comparison }, Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 1 }), Value(4), Scalar(1.0)] }
      13. UnknownEvent { namespace: 0x4, code: 0x3, unk1: 0x0, arguments: [Requirement { flip: false, ty: Comparison }, Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 0 }), Value(4), Variable(Variable { memory_type: InternalConstant, data_type: Int, address: 24000 })] }
      14. Case(2)
      15. if (BoolIsTrue RandomAccessBool(SpecialsMovement))
        1. ChangeSubaction(SpecialAirNEnd)
      16. else
        1. ChangeSubactionRestartFrame(SpecialAirNEnd)
        2. BoolVariableSetTrue { variable: RandomAccessBool(SpecialsMovement) }
      17. DisableInterrupt(10147)
      18. EnableInterrupt(10148)
      19. EndSwitch
      20. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
    3. LoopRest
    4. UnknownEvent { namespace: 0x0, code: 0x10, unk1: 0x0, arguments: [Value(10000), Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 2 })] }
    5. Case(0)
    6. if (AnimationEnd)
      1. IntVariableSet { variable: RandomAccessInt(ThrowDataParam1), value: 1 }
    7. Case(1)
    8. if (ButtonNotPressed value(1))
      1. IfStatementAnd ((RandomAccessInt (0x1) GreaterThanOrEqual scalar(1)))
      2. IfStatementAnd ((RandomAccessInt (0x0) GreaterThanOrEqual InternalConstantInt (0x5dc0)))
      3. IntVariableSet { variable: RandomAccessInt(ThrowDataParam1), value: 2 }
    9. Case(2)
    10. EndSwitch

Exit Script