The Mossmouth Forums

Games => Bugs/Suggestions => Topic started by: DariusK on January 20, 2010, 10:20:39 AM



Title: Minor Bug: Repeated if Statement in scrHoldItem
Post by: DariusK on January 20, 2010, 10:20:39 AM
in scrHoldItem we see this:

Code:
    if (itemType == "Rock") holdItem = instance_create(x, y, oRock);
    else if (itemType == "Jar") holdItem = instance_create(x, y, oJar);
    else if (itemType == "Skull") holdItem = instance_create(x, y, oSkull);
    else if (itemType == "Fish Bone") holdItem = instance_create(x, y, oFishBone);
    else if (itemType == "Arrow") holdItem = instance_create(x, y, oArrow);
    else if (itemType == "Rock") holdItem = instance_create(x, y, oRock);

The code for Rock is in there twice, one of those should be taken away. This doesn't affect the game but it confounded me when I was modding the Rock's functionality, as I thought I'd taken it out of this statement but it was still there due to the duplicate!


Title: Re: Minor Bug: Repeated if Statement in scrHoldItem
Post by: marsgreekgod on January 20, 2010, 10:49:56 AM
How odd.

interesting, the 2nd code could never be activated unless you held a rock with out holding it.


Title: Re: Minor Bug: Repeated if Statement in scrHoldItem
Post by: Arucard on January 20, 2010, 11:44:08 AM
You can hold it with your face...briefly.  :P
Yeah, strange thing to overlook though.


Title: Re: Minor Bug: Repeated if Statement in scrHoldItem
Post by: gummybears123 on January 20, 2010, 03:09:53 PM
He's using his teeth... DUH ;D


Title: Re: Minor Bug: Repeated if Statement in scrHoldItem
Post by: marsgreekgod on January 20, 2010, 03:11:31 PM
stick it in your hat.

really there is no need to say anything more here.


Title: Re: Minor Bug: Repeated if Statement in scrHoldItem
Post by: gummybears123 on January 20, 2010, 03:12:03 PM
Which is another way of saying LOCK THIS STUPID THREAD ;D


Title: Re: Minor Bug: Repeated if Statement in scrHoldItem
Post by: marsgreekgod on January 20, 2010, 03:14:09 PM
gummy. posting like that is just trying to get a high post count.


Title: Re: Minor Bug: Repeated if Statement in scrHoldItem
Post by: gummybears123 on January 20, 2010, 03:22:18 PM
I don't care about post count... I'm mossy remem?


Title: Re: Minor Bug: Repeated if Statement in scrHoldItem
Post by: Kegluneq on January 20, 2010, 09:22:16 PM
I gave up on post count a looong time ago.

TBH, gummy had something to do with it.


Title: Re: Minor Bug: Repeated if Statement in scrHoldItem
Post by: marsgreekgod on January 20, 2010, 09:31:27 PM
... don't worry keglueq you still high ranked here.


Title: Re: Minor Bug: Repeated if Statement in scrHoldItem
Post by: Kegluneq on January 20, 2010, 10:12:06 PM
I just realized I've become Mossy not too long ago. Yay!


Title: Re: Minor Bug: Repeated if Statement in scrHoldItem
Post by: marsgreekgod on January 20, 2010, 11:17:27 PM
sweet! good job.

where is how do you spell her name that said she would be back when there where other mossys?


Title: Re: Minor Bug: Repeated if Statement in scrHoldItem
Post by: Kegluneq on January 21, 2010, 12:53:03 AM
delgato? no idea.


Title: Re: Minor Bug: Repeated if Statement in scrHoldItem
Post by: Arucard on January 21, 2010, 09:21:12 AM
Modern Warfare 2, or on KoL with Eguee.

Edit: WOW! How did that happen? Sorry, E.


Title: Re: Minor Bug: Repeated if Statement in scrHoldItem
Post by: gummybears123 on January 21, 2010, 04:54:22 PM
COD6 is amazing