PM3.6 - Charizard - Action - 0x112 SpecialN
Entry Script
- BoolVariableSetFalse { variable: RandomAccessBool(EnableActionTransition) }
- BoolVariableSetFalse { variable: RandomAccessBool (0x11) }
- BoolVariableSetFalse { variable: RandomAccessBool(SpecialsMovement) }
- IntVariableSet { variable: RandomAccessInt(ThrowDataParam1), value: 0 }
- CreateInterrupt { interrupt_id: Some(10147), action: Wait, requirement: (AnimationEnd) }
- DisableInterrupt(10147)
- CreateInterrupt { interrupt_id: Some(10148), action: Fall, requirement: (AnimationEnd) }
- DisableInterrupt(10148)
- CallEveryFrame { thread_id: 9, script: 0x17464 }
- loop Infinite times:
- if (OnGround)
- SetEdgeSlide(StayOn)
- CreateInterrupt { interrupt_id: None, action: Fall, requirement: (InAir) }
- UnknownEvent { namespace: 0x0, code: 0x10, unk1: 0x0, arguments: [Value(10000), Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 2 })] }
- Case(0)
- SetAirGround(15)
- if (BoolIsTrue RandomAccessBool(EnableActionTransition))
- ChangeSubaction(SpecialNStart)
- else
- ChangeSubactionRestartFrame(SpecialNStart)
- BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: AnimationEnd }] }
- Case(1)
- SetAirGround(6)
- if (BoolIsTrue RandomAccessBool (0x11))
- ChangeSubaction(SpecialN)
- else
- ChangeSubactionRestartFrame(SpecialN)
- BoolVariableSetTrue { variable: RandomAccessBool (0x11) }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: ButtonNotPressed }, Value(1)] }
- 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)] }
- 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 })] }
- Case(2)
- SetAirGround(6)
- if (BoolIsTrue RandomAccessBool(SpecialsMovement))
- ChangeSubaction(SpecialNEnd)
- else
- ChangeSubactionRestartFrame(SpecialNEnd)
- BoolVariableSetTrue { variable: RandomAccessBool(SpecialsMovement) }
- EnableInterrupt(10147)
- DisableInterrupt(10148)
- EndSwitch
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
- else
- SetAirGround(0)
- SetEdgeSlide(Airbourne)
- UnknownEvent { namespace: 0x0, code: 0x10, unk1: 0x0, arguments: [Value(10000), Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 2 })] }
- Case(0)
- if (BoolIsTrue RandomAccessBool(EnableActionTransition))
- ChangeSubaction(SpecialAirNStart)
- else
- ChangeSubactionRestartFrame(SpecialAirNStart)
- BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: AnimationEnd }] }
- Case(1)
- if (BoolIsTrue RandomAccessBool (0x11))
- ChangeSubaction(SpecialAirN)
- else
- ChangeSubactionRestartFrame(SpecialAirN)
- BoolVariableSetTrue { variable: RandomAccessBool (0x11) }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: ButtonNotPressed }, Value(1)] }
- 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)] }
- 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 })] }
- Case(2)
- if (BoolIsTrue RandomAccessBool(SpecialsMovement))
- ChangeSubaction(SpecialAirNEnd)
- else
- ChangeSubactionRestartFrame(SpecialAirNEnd)
- BoolVariableSetTrue { variable: RandomAccessBool(SpecialsMovement) }
- DisableInterrupt(10147)
- EnableInterrupt(10148)
- EndSwitch
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
- LoopRest
- UnknownEvent { namespace: 0x0, code: 0x10, unk1: 0x0, arguments: [Value(10000), Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 2 })] }
- Case(0)
- if (AnimationEnd)
- IntVariableSet { variable: RandomAccessInt(ThrowDataParam1), value: 1 }
- Case(1)
- if (ButtonNotPressed value(1))
- IfStatementAnd ((RandomAccessInt (0x1) GreaterThanOrEqual scalar(1)))
- IfStatementAnd ((RandomAccessInt (0x0) GreaterThanOrEqual InternalConstantInt (0x5dc0)))
- IntVariableSet { variable: RandomAccessInt(ThrowDataParam1), value: 2 }
- Case(2)
- EndSwitch
Exit Script