P+ - Sonic - Action - 0x126
Entry Script
- CreateInterrupt { interrupt_id: Some(10000), action: Wait, requirement: (AnimationEnd) }
- CreateInterrupt { interrupt_id: Some(10002), action: FallSpecial, requirement: (AnimationEnd) }
- BoolVariableSetTrue { variable: LongtermAccessBool(CannotDie) }
- UnknownEvent { namespace: 0x14, code: 0x5, unk1: 0x0, arguments: [Bool(false)] }
- IntVariableSet { variable: RandomAccessInt (0x0), value: 495 }
- IntVariableSet { variable: RandomAccessInt (0x1), value: 496 }
- loop Infinite times:
- if (OnGround)
- SetEdgeSlide(Unknown(2))
- if ((InternalConstantInt(CurrentSubaction) Equal RandomAccessInt (0x1)))
- 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 })] }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
- EnableInterrupt(10000)
- DisableInterrupt(10002)
- else
- SetEdgeSlide(Airbourne)
- if ((InternalConstantInt(CurrentSubaction) Equal RandomAccessInt (0x0)))
- UnknownEvent { namespace: 0x4, code: 0x0, unk1: 0x0, arguments: [Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 1 }), Bool(true)] }
- else
- UnknownEvent { namespace: 0x4, code: 0x0, unk1: 0x0, arguments: [Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 1 })] }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
- DisableInterrupt(10000)
- EnableInterrupt(10002)
- LoopRest
Exit Script
- ArticleRemove(1)
- UnknownEvent { namespace: 0xb, code: 0x2, unk1: 0x0, arguments: [Bool(true)] }
- UnknownEvent { namespace: 0x14, code: 0x5, unk1: 0x0, arguments: [Bool(true)] }
- BoolVariableSetFalse { variable: LongtermAccessBool(CannotDie) }
- UnknownEvent { namespace: 0x1a, code: 0x7, unk1: 0x0, arguments: [Bool(true)] }
- FinalSmashExit