Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- switch tiletype
- case 'P' % Pit type
- switch tiling
- case 'S'
- texture = pitSingle;
- case 'U'
- texture = pitUp;
- case 'L'
- texture = pitLeft;
- case 'D'
- texture = pitDown;
- case 'R'
- texture = pitRight;
- case 'UD'
- texture = pitVertical;
- case 'LR'
- texture = pitHorizontal;
- case 'UL'
- texture = pitUL;
- case 'LD'
- texture = pitLD;
- case 'DR'
- texture = pitDR;
- case 'UR'
- texture = pitUR;
- case 'ULR'
- texture = pitULR;
- case 'ULD'
- texture = pitULD;
- case 'LDR'
- texture = pitLDR;
- case 'UDR'
- texture = pitUDR;
- case 'ULDR'
- texture = pitFourC;
- otherwise
- texture = pitSingle;
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement