Need help finding a piece of code.

Mods, guides how to use and install mods go right in here.
Post Reply
Gnagniel
Posts: 3
Joined: 20 May 2012, 22:39

Post » 20 May 2012, 22:49

I'm trying to find the piece of code that makes a mushroom/star/vine/etc. activate when Mario hits the block it is in.
Any help would be appreciated.
If this I worded this weird or something, just say so and I'll try to clarify.

User avatar
Dilster3k
Posts: 66
Joined: 21 Apr 2012, 19:53

Post » 20 May 2012, 22:51

What are you smoking?

Gnagniel
Posts: 3
Joined: 20 May 2012, 22:39

Post » 20 May 2012, 22:53

Dilster3k wrote:What are you smoking?
Your negativity is not appreciated.

Maurice
Stabyourself.net
Posts: 2145
Joined: 01 Feb 2012, 20:19

Post » 20 May 2012, 22:56

Look for "--blockbounce" in game.lua
It's line 293 in my version.

It calls "item" as soon as the animation is finished.
The blockbounce is created by "hitblock" in mario.lua

Gnagniel
Posts: 3
Joined: 20 May 2012, 22:39

Post » 20 May 2012, 23:03

Maurice wrote:Look for "--blockbounce" in game.lua
It's line 293 in my version.

It calls "item" as soon as the animation is finished.
The blockbounce is created by "hitblock" in mario.lua
Thanks, I'll mess around with that and see if I can figure out how to use it.

Post Reply