P+ - Pikachu - Common Subroutine 0x102f4
- Subroutine(0x8054c070)
- 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 })] }
- 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(CapturePulledHi)
- else
- ChangeSubactionRestartFrame(CapturePulledHi)
- BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
- LoopRest