PM3.6 - Kirby - Action - 0x129
Entry Script
- Subroutine(0x52004)
- if ((InternalConstantInt(PreviousAction) Equal scalar(38)))
- IfStatementOr ((InternalConstantInt(PreviousAction) Equal scalar(297)))
- CreateInterrupt { interrupt_id: None, action: Wait, requirement: (AnimationEnd) }
- PreviousInterruptAddRequirement(OnGround)
- CreateInterrupt { interrupt_id: None, action: Fall, requirement: (AnimationEnd) }
- PreviousInterruptAddRequirement(InAir)
- CreateInterrupt { interrupt_id: None, action: LandingHeavy, requirement: (ChangeInAirGroundState) }
- PreviousInterruptAddRequirement((InternalConstantInt(CurrentFrame) GreaterThan scalar(10)))
- PreviousInterruptAddRequirement(OnGround)
- CallEveryFrame { thread_id: 9, script: 0x48af4 }
- loop Infinite times:
- if (OnGround)
- SetEdgeSlide(StayOn)
- SetAirGround(18)
- if (BoolIsTrue RandomAccessBool(EnableActionTransition))
- ChangeSubactionRestartFrame(AttackDash)
- else
- ChangeSubaction(AttackDash)
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
- else
- SetEdgeSlide(Airbourne)
- SetAirGround(0)
- if (BoolIsTrue RandomAccessBool(EnableActionTransition))
- ChangeSubactionRestartFrame(AttackDashAir)
- else
- ChangeSubaction(AttackDashAir)
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
- BoolVariableSetFalse { variable: RandomAccessBool(EnableActionTransition) }
- LoopRest
- else
- if (BoolIsTrue LongtermAccessBool (0x77))
- CreateInterrupt { interrupt_id: None, action: Fall, requirement: (AnimationEnd) }
- PreviousInterruptAddRequirement(InAir)
- CreateInterrupt { interrupt_id: None, action: LandingHeavy, requirement: (ChangeInAirGroundState) }
- PreviousInterruptAddRequirement(OnGround)
- if (HasAFloorBelowThePlayer scalar(3))
- ChangeSubactionRestartFrame(ThrowCutter)
- else
- ChangeSubactionRestartFrame(ThrowCutter_1)
- SetAirGround(17)
- else
- BoolVariableSetFalse { variable: RandomAccessBool(EnableActionTransition) }
- IntVariableSet { variable: RandomAccessInt (0x0), value: 495 }
- IntVariableSet { variable: RandomAccessInt (0x1), value: 499 }
- CreateInterrupt { interrupt_id: None, action: 0x12a, requirement: (AnimationEnd) }
- CreateInterrupt { interrupt_id: None, action: 0x12b, requirement: (OnGround) }
- Subroutine(0x35614)
Exit Script