P+ - Snake - Subroutine - 0x18e40
- loop Infinite times:
- if (OnGround)
- Subroutine(0x19058)
- 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
- Subroutine(0x190b0)
- 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