Priorities are not actually part of the generated game. They are used only to calculate nInjectStartIndex and nAppendStartIndex for the layer on which the sprite resides. If you want an integer property of the sprite that can be accessed at run-time, you'll have to add it as a parameter to the sprite (or alter SGDK2 code).