P+ - Lucario - Action - 0x3e CaptureWaitHi
Entry Script (Common)
- Subroutine(0x1054c)
- UnknownEvent { namespace: 0xc, code: 0x29, unk1: 0x0, arguments: [] }
- UnknownEvent { namespace: 0x4, code: 0x1a, unk1: 0x0, arguments: [Value(459)] }
- UnknownEvent { namespace: 0x4, code: 0x18, unk1: 0x0, arguments: [Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 2 })] }
- CallEveryFrame { thread_id: 9, script: 0x104a4 }
- loop Infinite times:
- if (OnGround)
- SetEdgeSlide(StayOn)
- if (BoolIsTrue RandomAccessBool(EnableActionTransition))
- UnknownEvent { namespace: 0x4, code: 0x0, unk1: 0x0, arguments: [Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 0 }), Bool(true)] }
- else
- UnknownEvent { namespace: 0x4, code: 0x0, unk1: 0x0, arguments: [Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 0 })] }
- BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
- else
- SetEdgeSlide(Airbourne)
- if (BoolIsTrue RandomAccessBool(EnableActionTransition))
- ChangeSubaction(CaptureWaitHi)
- else
- ChangeSubactionRestartFrame(CaptureWaitHi)
- BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
- LoopRest
Exit Script (Common)