LXP2.1 - Geno - Action - 0x112 SpecialN
Entry Script
- BoolVariableSetTrue { variable: LongtermAccessBool (0x75) }
- BoolVariableSetFalse { variable: LongtermAccessBool (0x76) }
- BoolVariableSetFalse { variable: LongtermAccessBool (0x77) }
- FloatVariableSet { variable: LongtermAccessFloat (0x3d), value: 0 }
- IntVariableSet { variable: RandomAccessInt (0x0), value: 0 }
- CreateInterrupt { interrupt_id: None, action: Wait, requirement: (AnimationEnd) }
- PreviousInterruptAddRequirement(OnGround)
- CreateInterrupt { interrupt_id: None, action: Fall, requirement: (AnimationEnd) }
- PreviousInterruptAddRequirement(InAir)
- CreateInterrupt { interrupt_id: Some(10002), action: Fall, requirement: (InAir) }
- DisableInterrupt(10002)
- CreateInterrupt { interrupt_id: Some(10026), action: LandingHeavy, requirement: (OnGround) }
- DisableInterrupt(10026)
- CallEveryFrame { thread_id: 9, script: 0x2df18 }
- loop Infinite times:
- if (OnGround)
- SetAirGround(6)
- SetEdgeSlide(Unknown(2))
- UnknownEvent { namespace: 0x0, code: 0x10, unk1: 0x0, arguments: [Value(10000), Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 0 })] }
- Case(0)
- if (BoolIsTrue RandomAccessBool(EnableActionTransition))
- ChangeSubaction(SpecialNStart)
- else
- ChangeSubactionRestartFrame(SpecialNStart)
- BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
- Case(1)
- if (BoolIsTrue RandomAccessBool (0x11))
- ChangeSubaction(SpecialNHold)
- else
- ChangeSubactionRestartFrame(SpecialNHold)
- BoolVariableSetTrue { variable: RandomAccessBool (0x11) }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: ShieldInputPress }] }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: BoolIsTrue }, Variable(Variable { memory_type: RandomAccess, data_type: Bool, address: 22 })] }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: BoolIsTrue }, Variable(Variable { memory_type: RandomAccess, data_type: Bool, address: 23 })] }
- Case(2)
- if (BoolIsTrue RandomAccessBool(SpecialsMovement))
- ChangeSubaction(SpecialNHold2)
- else
- ChangeSubactionRestartFrame(SpecialNHold2)
- BoolVariableSetTrue { variable: RandomAccessBool(SpecialsMovement) }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: ShieldInputPress }] }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: BoolIsTrue }, Variable(Variable { memory_type: RandomAccess, data_type: Bool, address: 22 })] }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: BoolIsTrue }, Variable(Variable { memory_type: RandomAccess, data_type: Bool, address: 23 })] }
- Case(3)
- if (BoolIsTrue RandomAccessBool(EnableGlide))
- ChangeSubaction(SpecialNHold3)
- else
- ChangeSubactionRestartFrame(SpecialNHold3)
- BoolVariableSetTrue { variable: RandomAccessBool(EnableGlide) }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: ShieldInputPress }] }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: BoolIsTrue }, Variable(Variable { memory_type: RandomAccess, data_type: Bool, address: 22 })] }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: BoolIsTrue }, Variable(Variable { memory_type: RandomAccess, data_type: Bool, address: 23 })] }
- Case(4)
- if (BoolIsTrue RandomAccessBool(EnableJabLoop))
- ChangeSubaction(SpecialNMax)
- else
- ChangeSubactionRestartFrame(SpecialNMax)
- BoolVariableSetTrue { variable: RandomAccessBool(EnableJabLoop) }
- Case(5)
- if (BoolIsTrue RandomAccessBool (0x15))
- ChangeSubaction(SpecialNShoot)
- else
- ChangeSubactionRestartFrame(SpecialNShoot)
- BoolVariableSetTrue { variable: RandomAccessBool (0x15) }
- EnableInterrupt(10002)
- DisableInterrupt(10026)
- Case(6)
- if (BoolIsTrue RandomAccessBool (0x15))
- ChangeSubaction(SpecialNCancel)
- else
- ChangeSubactionRestartFrame(SpecialNCancel)
- BoolVariableSetTrue { variable: RandomAccessBool (0x15) }
- EnableInterrupt(10002)
- DisableInterrupt(10026)
- EndSwitch
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
- else
- SetAirGround(10)
- SetEdgeSlide(Airbourne)
- UnknownEvent { namespace: 0x0, code: 0x10, unk1: 0x0, arguments: [Value(10000), Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 0 })] }
- Case(0)
- if (BoolIsTrue RandomAccessBool(EnableActionTransition))
- ChangeSubaction(SpecialAirNStart)
- else
- ChangeSubactionRestartFrame(SpecialAirNStart)
- BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
- Case(1)
- if (BoolIsTrue RandomAccessBool (0x11))
- ChangeSubaction(SpecialAirNHold)
- else
- ChangeSubactionRestartFrame(SpecialAirNHold)
- BoolVariableSetTrue { variable: RandomAccessBool (0x11) }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: ShieldInputPress }] }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: BoolIsTrue }, Variable(Variable { memory_type: RandomAccess, data_type: Bool, address: 22 })] }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: BoolIsTrue }, Variable(Variable { memory_type: RandomAccess, data_type: Bool, address: 23 })] }
- Case(2)
- if (BoolIsTrue RandomAccessBool(SpecialsMovement))
- ChangeSubaction(SpecialAirNHold2)
- else
- ChangeSubactionRestartFrame(SpecialAirNHold2)
- BoolVariableSetTrue { variable: RandomAccessBool(SpecialsMovement) }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: ShieldInputPress }] }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: BoolIsTrue }, Variable(Variable { memory_type: RandomAccess, data_type: Bool, address: 22 })] }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: BoolIsTrue }, Variable(Variable { memory_type: RandomAccess, data_type: Bool, address: 23 })] }
- Case(3)
- if (BoolIsTrue RandomAccessBool(EnableGlide))
- ChangeSubaction(SpecialAirNHold3)
- else
- ChangeSubactionRestartFrame(SpecialAirNHold3)
- BoolVariableSetTrue { variable: RandomAccessBool(EnableGlide) }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: ShieldInputPress }] }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: BoolIsTrue }, Variable(Variable { memory_type: RandomAccess, data_type: Bool, address: 22 })] }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: BoolIsTrue }, Variable(Variable { memory_type: RandomAccess, data_type: Bool, address: 23 })] }
- Case(4)
- if (BoolIsTrue RandomAccessBool(EnableJabLoop))
- ChangeSubaction(SpecialAirNMax)
- else
- ChangeSubactionRestartFrame(SpecialAirNMax)
- BoolVariableSetTrue { variable: RandomAccessBool(EnableJabLoop) }
- Case(5)
- if (BoolIsTrue RandomAccessBool (0x15))
- ChangeSubaction(SpecialAirNShoot)
- else
- ChangeSubactionRestartFrame(SpecialAirNShoot)
- BoolVariableSetTrue { variable: RandomAccessBool (0x15) }
- DisableInterrupt(10002)
- EnableInterrupt(10026)
- Case(6)
- if (BoolIsTrue RandomAccessBool (0x15))
- ChangeSubaction(SpecialAirNCancel)
- else
- ChangeSubactionRestartFrame(SpecialAirNCancel)
- BoolVariableSetTrue { variable: RandomAccessBool (0x15) }
- DisableInterrupt(10002)
- EnableInterrupt(10026)
- EndSwitch
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: AnimationEnd }] }
- LoopRest
- UnknownEvent { namespace: 0x0, code: 0x10, unk1: 0x0, arguments: [Value(10000), Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 0 })] }
- Case(0)
- if (ShieldInputPress)
- IntVariableSet { variable: RandomAccessInt (0x0), value: 6 }
- else
- if ((LongtermAccessFloat (0x3c) Equal scalar(3)))
- FloatVariableSet { variable: LongtermAccessFloat (0x3d), value: 3 }
- IntVariableSet { variable: RandomAccessInt (0x0), value: 5 }
- else
- if ((LongtermAccessFloat (0x3c) Equal scalar(2)))
- FloatVariableSet { variable: LongtermAccessFloat (0x3d), value: 2 }
- IntVariableSet { variable: RandomAccessInt (0x0), value: 3 }
- SoundEffect1(28405)
- SoundEffect1(28405)
- else
- if ((LongtermAccessFloat (0x3c) Equal scalar(1)))
- FloatVariableSet { variable: LongtermAccessFloat (0x3d), value: 1 }
- IntVariableSet { variable: RandomAccessInt (0x0), value: 2 }
- SoundEffect1(28404)
- SoundEffect1(28404)
- else
- BoolVariableSetTrue { variable: LongtermAccessBool (0x76) }
- IntVariableSet { variable: RandomAccessInt (0x0), value: 1 }
- SoundEffect1(28403)
- SoundEffect1(28403)
- Case(1)
- if (ShieldInputPress)
- IfStatementOr (BoolIsTrue RandomAccessBool (0x17))
- IntVariableSet { variable: RandomAccessInt (0x0), value: 6 }
- else
- if (BoolIsTrue RandomAccessBool(EnableAutoJab))
- IntVariableSet { variable: RandomAccessInt (0x0), value: 2 }
- SoundEffect1(28404)
- SoundEffect1(28404)
- Case(2)
- if (ShieldInputPress)
- IfStatementOr (BoolIsTrue RandomAccessBool (0x17))
- IntVariableSet { variable: RandomAccessInt (0x0), value: 6 }
- else
- if (BoolIsTrue RandomAccessBool(EnableAutoJab))
- IntVariableSet { variable: RandomAccessInt (0x0), value: 3 }
- SoundEffect1(28405)
- SoundEffect1(28405)
- Case(3)
- if (ShieldInputPress)
- IfStatementOr (BoolIsTrue RandomAccessBool (0x17))
- IntVariableSet { variable: RandomAccessInt (0x0), value: 6 }
- else
- if (BoolIsTrue RandomAccessBool(EnableAutoJab))
- IntVariableSet { variable: RandomAccessInt (0x0), value: 4 }
- Case(4)
- if (AnimationEnd)
- IntVariableSet { variable: RandomAccessInt (0x0), value: 5 }
- Case(5)
- Case(6)
- EndSwitch
Exit Script
- SoundEffectStop(28403)
- SoundEffectStop(28404)
- SoundEffectStop(28405)
- ArticleRemove(0)
- if ((InternalConstantInt(CurrentAction) NotEqual scalar(0)))
- IfStatementAnd ((InternalConstantInt(CurrentAction) NotEqual scalar(14)))
- IfStatementAnd (BoolIsTrue LongtermAccessBool (0x75))
- FloatVariableSet { variable: LongtermAccessFloat (0x3c), value: 0 }
- UnknownEvent { namespace: 0x11, code: 0x15, unk1: 0x0, arguments: [Value(25100301), Bool(true), Bool(true)] }