Brawl - Sheik - Action - 0x117
Entry Script
- BoolVariableSetFalse { variable: RandomAccessBool(EnableActionTransition) }
- CreateInterrupt { interrupt_id: None, action: 0x118, requirement: (ButtonPress value(1)) }
- CreateInterrupt { interrupt_id: None, action: 0x119, requirement: (ButtonPress value(3)) }
- CreateInterrupt { interrupt_id: None, action: 0x119, requirement: ((LongtermAccessInt(Temp1) GreaterThanOrEqual scalar(6))) }
- CreateInterrupt { interrupt_id: None, action: EscapeF, requirement: ((InternalConstantInt(ControlStickXAxisRelative) GreaterThanOrEqual InternalConstantInt (0xc4d))) }
- PreviousInterruptAddRequirement((InternalConstantInt (0x5209) LessThan InternalConstantInt (0x59fe)))
- PreviousInterruptAddRequirement(OnGround)
- CreateInterrupt { interrupt_id: None, action: EscapeB, requirement: ((InternalConstantInt(ControlStickXAxisRelativeReverse) GreaterThanOrEqual InternalConstantInt (0xc4d))) }
- PreviousInterruptAddRequirement((InternalConstantInt (0x5209) LessThan InternalConstantInt (0x59fe)))
- PreviousInterruptAddRequirement(OnGround)
- CallEveryFrame { thread_id: 9, script: 0x18908 }
- loop Infinite times:
- if (OnGround)
- SetEdgeSlide(StayOn)
- SetAirGround(6)
- if (not(BoolIsTrue RandomAccessBool(EnableActionTransition)))
- ChangeSubactionRestartFrame(SpecialNLoop)
- else
- ChangeSubaction(SpecialNLoop)
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
- else
- SetEdgeSlide(Airbourne)
- SetAirGround(10)
- if (not(BoolIsTrue RandomAccessBool(EnableActionTransition)))
- ChangeSubactionRestartFrame(SpecialAirNLoop)
- else
- ChangeSubaction(SpecialAirNLoop)
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
- BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
- LoopRest
Exit Script
- if ((InternalConstantInt(CurrentAction) NotEqual scalar(31)))
- IfStatementAnd ((InternalConstantInt(CurrentAction) NotEqual scalar(32)))
- IfStatementAnd ((InternalConstantInt(CurrentAction) NotEqual scalar(280)))
- IfStatementAnd ((InternalConstantInt(CurrentAction) NotEqual scalar(281)))
- IntVariableSet { variable: LongtermAccessInt(Temp1), value: 0 }