Brawl - Squirtle - Action - 0x117
Entry Script
- CreateInterrupt { interrupt_id: None, action: 0x118, requirement: (ButtonPress value(1)) }
- CreateInterrupt { interrupt_id: None, action: Fall, requirement: (InAir) }
- PreviousInterruptAddRequirement(ButtonPress value(3))
- CreateInterrupt { interrupt_id: None, action: Fall, requirement: (InAir) }
- PreviousInterruptAddRequirement((LongtermAccessInt(Temp1) GreaterThanOrEqual InternalConstantInt (0x5dc0)))
- CreateInterrupt { interrupt_id: None, action: Wait, requirement: (OnGround) }
- PreviousInterruptAddRequirement(ButtonPress value(3))
- CreateInterrupt { interrupt_id: None, action: Wait, requirement: (OnGround) }
- PreviousInterruptAddRequirement((LongtermAccessInt(Temp1) GreaterThanOrEqual InternalConstantInt (0x5dc0)))
- 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: 0x18800 }
- loop Infinite times:
- if (OnGround)
- SetAirGround(6)
- SetEdgeSlide(Unknown(2))
- if (BoolIsTrue RandomAccessBool(EnableActionTransition))
- ChangeSubaction(SpecialNHold)
- else
- ChangeSubactionRestartFrame(SpecialNHold)
- BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
- else
- SetAirGround(0)
- SetEdgeSlide(Airbourne)
- if (BoolIsTrue RandomAccessBool(EnableActionTransition))
- ChangeSubaction(SpecialAirNHold)
- else
- ChangeSubactionRestartFrame(SpecialAirNHold)
- BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
- LoopRest
Exit Script
- UnknownEvent { namespace: 0x0, code: 0x10, unk1: 0x0, arguments: [Value(10000), Variable(Variable { memory_type: InternalConstant, data_type: Int, address: 20001 })] }
- Case(0)
- Case(14)
- UnknownEvent { namespace: 0x0, code: 0x18, unk1: 0x0, arguments: [] }
- Case(280)
- UnknownEvent { namespace: 0x0, code: 0x18, unk1: 0x0, arguments: [] }
- Case(31)
- Case(32)
- UnknownEvent { namespace: 0x0, code: 0x18, unk1: 0x0, arguments: [] }
- UnknownEvent { namespace: 0x0, code: 0x12, unk1: 0x0, arguments: [] }
- IntVariableSet { variable: LongtermAccessInt(Temp1), value: 0 }
- UnknownEvent { namespace: 0x0, code: 0x18, unk1: 0x0, arguments: [] }
- EndSwitch