A climbing Link to the future (maybe)
Posted: Tue Jul 05, 2022 1:32 pm
An alternative to Link where he climbs rather than shapeshifting.
You will need this code, by the magnificent MrDoubleA:
And this character sprite:

A simple little thing that seems like it should have already been made, but now it has!
A note is that there are a few quirks regarding how Link kills enemies below him, but it's nothing important, just having a weird inconsistency with the death effect for enemies below him.
You will need this code, by the magnificent MrDoubleA:
Code: Select all
function onStart()
Defines.player_link_fairyVineEnabled = false
end
local function canUseClimbAnimation()
return (
player.character == CHARACTER_LINK
and player.climbing
and player.forcedState == FORCEDSTATE_NONE
and player.deathTimer == 0
and not player:mem(0x13C,FIELD_BOOL) -- alive
)
end
local climbAnimationTimer = 0
local climbTurnTime = 8
local climbFrame = 25
function onTickEnd()
if canUseClimbAnimation() then
if player.keys.up or player.keys.left or player.keys.right then
climbAnimationTimer = (climbAnimationTimer + 1) % (climbTurnTime*2)
SFX.play{sound = 71,delay = 9}
end
if climbAnimationTimer >= climbTurnTime then
player:setFrame(-climbFrame)
else
player:setFrame(climbFrame)
end
else
climbAnimationTimer = 0
end
end
A simple little thing that seems like it should have already been made, but now it has!
A note is that there are a few quirks regarding how Link kills enemies below him, but it's nothing important, just having a weird inconsistency with the death effect for enemies below him.