by KABOOM » October 6th, 2012, 7:10 am
I'm sure there's a topic that explains this, but I'll try to explain it myself.
Every type of item has an ID number, which appears next to its name when you select it in the LD. HOWEVER! The ID number is not always the same as it is in the LD. For items in the second tab, such as enemies and FLUDDs, you must add 50 to the number in the LD. For items in the third tab, mostly decorations, you must add 100 to the number in the LD. So for example, the ID for the start point (the first item in the first tab) is 1, while the ID for the Goomba (the first item in the second tab) is 51.
When you save your level code, find the place in the code where it says "|X," where X is the ID of the item you want to disable. For example, a Goomba is shown in the code as "|51,". Then add a 0 in front of the X, so the Goomba example becomes "|051,". Then load the code again and the object should be disabled.
However, sometimes if you have multiple items of the same type and you want to disable one of them, you might disable the wrong one. This is why you may want to disable items immediately after placing them, because then the item will be the last one in the level code. Also, some items, such as bridges, will not disable. Keep that in mind.
I hope this helps.