I am trying to make the original boss (Hans) drop another item on episode 2 map 8. I do not want him to drop the gold key on this map. Instead I want him to drop boclip2. Here is my code so far:
WL_STATE.C
Right now, the boss drops the boclip2, but he ALSO still drops the gold key. How do I get him to NOT drop the gold key on this level?
Thanks!
WL_STATE.C
- Code:
case bossobj:
GivePoints (5000);
NewState (ob,&s_bossdie1);
PlaceItemType (bo_key1,tilex,tiley);
if ((gamestate.mapon + 10*gamestate.episode) == 17 ) // my new code
{
PlaceItemType (bo_clip2,tilex,tiley);
} // new code ends on this line
break;
Right now, the boss drops the boclip2, but he ALSO still drops the gold key. How do I get him to NOT drop the gold key on this level?
Thanks!