Just as I was boasting in another thread about how smart I was at working costumes out, I've hit a problem! Basically, I'd set animations from tile ID 400 onwards, and added code to the handler script so it looks like this:
http://i1360.photobucket.com/albums/r650/andygoulding85/tycoon_zps1b0957a9.png
(This is my costume, btw. He's Tycoon Dizzy :D )
// Player set costume
costume = 0;
if(ID_SCUBA!=-1) costume = InventoryHasItem(ID_SCUBA) ? 30 : 0;
PlayerSet(P_COSTUME,costume);
costume = 0;
if(ID_FANCY!=-1) costume = InventoryHasItem(ID_FANCY) ? 390 : 0;
PlayerSet(P_COSTUME,costume);
// Check Player Wind
Now, the scuba costume doesn't work! Whether you've collected this costume yet or not. Nor will it even function as a scuba. To be honest, I don't fully understand the coding and I was just fiddling around. Can someone please help me with this?
http://i1360.photobucket.com/albums/r650/andygoulding85/tycoon_zps1b0957a9.png(This is my costume, btw. He's Tycoon Dizzy :D )