P+ - Ike - Action - 0x92 LadderClimb
Entry Script (Common)
- CreateInterrupt { interrupt_id: None, action: Fall, requirement: (InAir) }
- PreviousInterruptAddRequirement(TouchingAFloorWallOrCeiling value(6))
- CreateInterrupt { interrupt_id: None, action: Wait, requirement: (OnGround) }
- PreviousInterruptAddRequirement(TouchingAFloorWallOrCeiling value(6))
- CreateInterrupt { interrupt_id: None, action: LadderWait, requirement: ((InternalConstantInt(ControlStickYAxisAbsolute) GreaterThanOrEqual InternalConstantInt (0xd16))) }
- PreviousInterruptAddRequirement((InternalConstantInt(CurrentFrame) GreaterThanOrEqual InternalConstantInt (0xd17)))
- CreateInterrupt { interrupt_id: None, action: LadderWait, requirement: (AnimationEnd) }
- loop Infinite times:
- if (OnGround)
- SetEdgeSlide(StayOn)
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
- EnableInterruptGroup(GroundSpecial)
- EnableInterruptGroup(GroundItem)
- EnableInterruptGroup(GroundAttack)
- DisableInterruptGroup(AirLanding)
- if ((InternalConstantInt(CharacterDirection) Equal scalar(1)))
- if (BoolIsTrue RandomAccessBool (0x5))
- ChangeSubaction(LadderCatchR)
- else
- ChangeSubactionRestartFrame(LadderCatchR)
- BoolVariableSetTrue { variable: RandomAccessBool (0x5) }
- else
- if (BoolIsTrue RandomAccessBool (0x5))
- ChangeSubaction(LadderCatchL)
- else
- ChangeSubactionRestartFrame(LadderCatchL)
- BoolVariableSetTrue { variable: RandomAccessBool (0x5) }
- else
- SetEdgeSlide(Airbourne)
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
- DisableInterruptGroup(GroundSpecial)
- DisableInterruptGroup(GroundItem)
- DisableInterruptGroup(GroundAttack)
- EnableInterruptGroup(AirLanding)
- if ((InternalConstantInt(CharacterDirection) Equal scalar(1)))
- if (BoolIsTrue RandomAccessBool (0x5))
- ChangeSubaction(LadderCatchAirR)
- else
- ChangeSubactionRestartFrame(LadderCatchAirR)
- BoolVariableSetTrue { variable: RandomAccessBool (0x5) }
- else
- if (BoolIsTrue RandomAccessBool (0x5))
- ChangeSubaction(LadderCatchAirL)
- else
- ChangeSubactionRestartFrame(LadderCatchAirL)
- BoolVariableSetTrue { variable: RandomAccessBool (0x5) }
- LoopRest
Exit Script (Common)