Dodge Roll Action
Overview
Creator:
Moosh
Added: 22 Apr 2020
Tags:
Global
Downloads: 52
|
View Script
Download Example (894.77 KB) |
Information
A global script that adds a dodge roll button action, which can be used to dodge enemies, obstacles, or just move faster.
Description Setup Reviews Comments
Joelmacool
Posted 13 May 2023 - 03:04 PM
Works like a charm and is a really, really great addition to the database! I also absolutely love how you can customize the roll in any way you wish, from the amount of sound effects you want for Link to use while rolling to the strength of the roll itself. Great job, Moosh - it's a brilliant script!
RephireZeKasual217
Edited 22 August 2020 - 06:52 PM
A really cool improvement to the script that I posted.
But one issue i found is you can pass through moving blocks when pushed.
Edit: I fixed it by adding this to LinkRoll_Update():
if(Screen->MovingBlockX || Screen->MovingBlockY){
LinkRoll[_LRI_STATE] = 3;
LinkRoll[_LRI_COUNTER] = LINKROLL_COOLDOWN;
return;
It only prevents you from rolling while the block is being moved altogether. There maybe a better fix but this seems to be a good substitute for now.
Edit: I fixed it by adding this to LinkRoll_Update():
if(Screen->MovingBlockX || Screen->MovingBlockY){
LinkRoll[_LRI_STATE] = 3;
LinkRoll[_LRI_COUNTER] = LINKROLL_COOLDOWN;
return;
It only prevents you from rolling while the block is being moved altogether. There maybe a better fix but this seems to be a good substitute for now.



