P+ - Kirby - Action - 0x26 AttackDash
Entry Script
- Subroutine(0x80fb25b4)
- PreviousInterruptAddRequirement(OnGround)
- RemoveCallEveryFrame { thread_id: 9 }
- CallEveryFrame { thread_id: 9, script: 0x2ece0 }
- 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)
- SetAirGround(18)
- BoolVariableSetFalse { variable: RandomAccessBool(EnableActionTransition) }
- loop Infinite times:
- if (OnGround)
- SetEdgeSlide(StayOn)
- SetAirGround(18)
- if (BoolIsTrue RandomAccessBool(EnableActionTransition))
- ChangeSubaction(AttackDash)
- else
- ChangeSubactionRestartFrame(AttackDash)
- BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
- else
- SetEdgeSlide(Airbourne)
- UnknownEvent { namespace: 0x8, code: 0x1, unk1: 0x0, arguments: [Value(4)] }
- LedgeGrabEnable(EnableInFront)
- SetAirGround(0)
- if (BoolIsTrue RandomAccessBool(EnableActionTransition))
- ChangeSubaction(AttackDashAir)
- else
- ChangeSubactionRestartFrame(AttackDashAir)
- BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
- LoopRest
Exit Script
- if (BoolIsTrue LongtermAccessBool (0x7f))
- ExternalGraphicEffect(ExternalGraphicEffect { file: 0, graphic: 34, bone: 405, x_offset: 2.0, y_offset: 7.0, z_offset: 0.0, x_rotation: 0.0, y_rotation: 0.0, z_rotation: 0.0, scale: 2.0, randomize: None, terminate_with_animation: false })
- BoolVariableSetFalse { variable: LongtermAccessBool (0x7f) }