P+ - Zelda - Action - 0x11a
Entry Script
- if (ButtonPress value(1))
- IfStatementAnd ((InternalConstantInt(PreviousAction) Equal scalar(281)))
- BoolVariableSetTrue { variable: RandomAccessBool (0x1c) }
- if (InAir)
- IfStatementAnd ((RandomAccessInt (0x47a) LessThan scalar(10)))
- IntVariableSet { variable: RandomAccessInt (0x47a), value: 10 }
- ChangeHurtBoxStateAll { state: IntangibleFlashing }
- TagDisplay(false)
- Subroutine(0x267d8)
- UnknownEvent { namespace: 0x4, code: 0x0, unk1: 0x0, arguments: [Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 10 })] }
- CreateInterrupt { interrupt_id: None, action: 0x11a, requirement: (AnimationEnd) }
- loop Infinite times:
- if (OnGround)
- SetAirGround(6)
- SetEdgeSlide(StayOn)
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
- else
- SetAirGround(10)
- SetEdgeSlide(Airbourne)
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
- LoopRest
- else
- if (OnGround)
- ChangeSubactionRestartFrame(SpecialHi)
- CreateInterrupt { interrupt_id: None, action: Fall, requirement: (InAir) }
- CreateInterrupt { interrupt_id: None, action: Wait, requirement: (AnimationEnd) }
- else
- SetAirGround(10)
- ChangeSubactionRestartFrame(SpecialAirHi)
- CreateInterrupt { interrupt_id: None, action: FallSpecial, requirement: (AnimationEnd) }
- CreateInterrupt { interrupt_id: None, action: LandingFallSpecial, requirement: (OnGround) }
- FloatVariableSet { variable: LongtermAccessFloat(SpecialLandingLag), value: InternalConstantInt (0xfb2) }
- FloatVariableSet { variable: LongtermAccessFloat(SpecialFallMobilityMultiplier), value: InternalConstantInt (0xfb1) }
- if (BoolIsTrue RandomAccessBool (0x1c))
- UnknownEvent { namespace: 0xe, code: 0x8, unk1: 0x0, arguments: [Scalar(0.0), Scalar(0.0), Scalar(0.0), Value(1)] }
- AddVelocity { x_vel: Variable(RandomAccessFloat(Address(6))), y_vel: Variable(RandomAccessFloat(Address(7))) }
Exit Script
- UnknownEvent { namespace: 0xb, code: 0x2, unk1: 0x0, arguments: [Bool(true)] }