P+ - Zelda - Action - 0x113 SpecialS
Entry Script
- Subroutine(0x28010)
- UnknownEvent { namespace: 0x12, code: 0x0, unk1: 0x0, arguments: [Variable(Variable { memory_type: InternalConstant, data_type: Int, address: 24001 }), Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 0 })] }
- UnknownEvent { namespace: 0x12, code: 0x0, unk1: 0x0, arguments: [Variable(Variable { memory_type: InternalConstant, data_type: Int, address: 24003 }), Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 3 })] }
- if ((InternalConstantInt(VerticalCharacterVelocity) GreaterThan scalar(0)))
- UnknownEvent { namespace: 0x12, code: 0x0, unk1: 0x0, arguments: [Variable(Variable { memory_type: InternalConstant, data_type: Int, address: 24002 }), Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 2 })] }
- ResetVerticalVelocityAndAcceleration(true)
- ResetVerticalVelocityAndAcceleration(false)
- if ((RandomAccessInt (0xa) LessThanOrEqual scalar(0)))
- IfStatementAnd (not(OnGround))
- BoolVariableSetTrue { variable: LongtermAccessBool (0x7e) }
- BoolVariableSetFalse { variable: RandomAccessBool(EnableActionTransition) }
- CallEveryFrame { thread_id: 9, script: 0x174f8 }
- CreateInterrupt { interrupt_id: None, action: 0x117, requirement: (AnimationEnd) }
- CreateInterrupt { interrupt_id: None, action: 0x118, requirement: ((RandomAccessInt (0xa) GreaterThan scalar(0))) }
- PreviousInterruptAddRequirement(not(BoolIsTrue RandomAccessBool (0x1f)))
- loop Infinite times:
- if (OnGround)
- SetAirGround(6)
- SetEdgeSlide(StayOn)
- if (BoolIsTrue RandomAccessBool(EnableActionTransition))
- ChangeSubaction(SpecialSStart)
- else
- ChangeSubactionRestartFrame(SpecialSStart)
- BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
- else
- SetAirGround(101)
- SetEdgeSlide(Airbourne)
- if (BoolIsTrue RandomAccessBool(EnableActionTransition))
- ChangeSubaction(SpecialAirSStart)
- else
- ChangeSubactionRestartFrame(SpecialAirSStart)
- BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
- LoopRest
Exit Script