P+ - Snake - Action - 0x11f
Entry Script
- CreateInterrupt { interrupt_id: None, action: 0x120, requirement: (BoolIsTrue RandomAccessBool(EnableActionTransition)) }
- CreateInterrupt { interrupt_id: None, action: 0x121, requirement: (BoolIsTrue RandomAccessBool (0x11)) }
- CreateInterrupt { interrupt_id: None, action: 0x121, requirement: (ButtonPress value(3)) }
- FloatVariableSet { variable: RandomAccessFloat(EnableTurnWhenBelowZero), value: 0 }
- FloatVariableSet { variable: RandomAccessFloat (0x5), value: 0 }
- FloatVariableSet { variable: RandomAccessFloat (0x6), value: 0.5 }
- loop Infinite times:
- if (OnGround)
- Subroutine(0x19058)
- ChangeSubactionRestartFrame(SpecialSStart)
- UnknownEvent { namespace: 0x4, code: 0x6, unk1: 0x0, arguments: [Variable(Variable { memory_type: InternalConstant, data_type: Int, address: 1 })] }
- FrameSpeedModifier { multiplier: 0.0, unk: 0 }
- UnknownEvent { namespace: 0x4, code: 0xa, unk1: 0x0, arguments: [Value(495)] }
- UnknownEvent { namespace: 0x4, code: 0xb, unk1: 0x0, arguments: [Scalar(0.0)] }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
- else
- Subroutine(0x190b0)
- ChangeSubactionRestartFrame(SpecialAirSStart)
- UnknownEvent { namespace: 0x4, code: 0x6, unk1: 0x0, arguments: [Variable(Variable { memory_type: InternalConstant, data_type: Int, address: 1 })] }
- FrameSpeedModifier { multiplier: 0.0, unk: 0 }
- UnknownEvent { namespace: 0x4, code: 0xa, unk1: 0x0, arguments: [Value(491)] }
- UnknownEvent { namespace: 0x4, code: 0xb, unk1: 0x0, arguments: [Scalar(0.0)] }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
- LoopRest
Exit Script
- Subroutine(0x18f70)