P+ - Charizard - Action - 0x112 SpecialN
Entry Script
- if (OnGround)
- BoolVariableSetFalse { variable: RandomAccessBool(EnableActionTransition) }
- BoolVariableSetTrue { variable: RandomAccessBool (0x11) }
- BoolVariableSetTrue { variable: RandomAccessBool(SpecialsMovement) }
- CreateInterrupt { interrupt_id: Some(10002), action: Fall, requirement: (InAir) }
- DisableInterrupt(10029)
- CreateInterrupt { interrupt_id: None, action: Wait, requirement: (OnGround) }
- PreviousInterruptAddRequirement(AnimationEnd)
- CreateInterrupt { interrupt_id: None, action: Fall, requirement: (InAir) }
- PreviousInterruptAddRequirement(AnimationEnd)
- CallEveryFrame { thread_id: 9, script: 0x1d810 }
- loop Infinite times:
- if (OnGround)
- SetAirGround(15)
- if (BoolIsTrue RandomAccessBool(EnableActionTransition))
- ChangeSubaction(SpecialN)
- else
- ChangeSubactionRestartFrame(SpecialN)
- BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
- else
- SetEdgeSlide(Airbourne)
- if (BoolIsTrue RandomAccessBool(EnableActionTransition))
- ChangeSubaction(SpecialNAir)
- else
- ChangeSubactionRestartFrame(SpecialNAir)
- BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
- LoopRest
- else
- IntVariableSet { variable: RandomAccessInt(ThrowDataParam1), value: 0 }
- CreateInterrupt { interrupt_id: None, action: Wait, requirement: (AnimationEnd) }
- PreviousInterruptAddRequirement((RandomAccessInt(ThrowDataParam1) Equal scalar(3)))
- CreateInterrupt { interrupt_id: None, action: Fall, requirement: (InAir) }
- PreviousInterruptAddRequirement((RandomAccessInt(ThrowDataParam1) Equal scalar(3)))
- loop Infinite times:
- UnknownEvent { namespace: 0x0, code: 0x10, unk1: 0x0, arguments: [Value(10000), Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 2 })] }
- Case(0)
- SetAirGround(17)
- SetEdgeSlide(Airbourne)
- ChangeSubactionRestartFrame(SpecialAirNStart)
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: AnimationEnd }] }
- Case(2)
- SetAirGround(49)
- SetEdgeSlide(Airbourne)
- ChangeSubactionRestartFrame(SpecialAirN)
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
- Case(3)
- SetAirGround(6)
- SetEdgeSlide(Unknown(2))
- ChangeSubactionRestartFrame(SpecialAirNEnd)
- EndSwitch
- 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: 2 }
- Case(2)
- if (OnGround)
- IntVariableSet { variable: RandomAccessInt(ThrowDataParam1), value: 3 }
- Case(2)
- EndSwitch
Exit Script
- SoundEffectStop(5424)