Heldlayer.lua: Layer only moves when you hold an item! (V 1.2)
Posted: Wed Sep 27, 2023 9:55 pm
From Send Your Regrets to the Czar:
https://youtu.be/ksMHt293O3A?si=gmdH8RieTwcIyJLz&t=575
I don't know if MiracleWater made this ASM originally or if someone else made it.
BEFORE YOU CONTINUE:
https://imgur.com/a/uU94ivY
Anyway, what's this? This is a library that lets you control the movement of a layer whenever you're holding a specific item.
How to use the library:
And the download link is right here!
https://drive.google.com/file/d/1mpX4-5 ... sp=sharing
Added in 25 minutes 36 seconds:
Version 1.1! A quick update that fixes a bug:
Bug in question was the ticktimer wouldn't change if you're holding an item not registered in the triggertable. But it's fixed now to work properly.
Version 1.1.1 is here! Help from Emral in order to make this code more readable! (TYSM and huge props to him!)
Also changed the layerspeeds variable!
https://youtu.be/ksMHt293O3A?si=gmdH8RieTwcIyJLz&t=575
I don't know if MiracleWater made this ASM originally or if someone else made it.
BEFORE YOU CONTINUE:
Spoiler: show
Anyway, what's this? This is a library that lets you control the movement of a layer whenever you're holding a specific item.
How to use the library:
Spoiler: show
And the download link is right here!
https://drive.google.com/file/d/1mpX4-5 ... sp=sharing
Added in 25 minutes 36 seconds:
Version 1.1! A quick update that fixes a bug:
Bug in question was the ticktimer wouldn't change if you're holding an item not registered in the triggertable. But it's fixed now to work properly.
Version 1.1.1 is here! Help from Emral in order to make this code more readable! (TYSM and huge props to him!)
Also changed the layerspeeds variable!