Jump to content

Pegasus Boots [2.55]

Overview
Creator: Moosh Updated: 15 Mar 2024 Tags: 2.55, Item, Combo, Generic Downloads: 40
Rating[?]: Rating: 4.33/5 (2 ratings)
View Script Download Example
(2.46 MB)
Information

Description Setup Reviews Comments

Compile the scripts and assign the item script PegasusBoots, the generic script PegasusBoots_Generic, and the combo script PegasusCrystal to script slots. Put the PegasusBoots script on your item.

Set up 12 tiles for Link's dash animations. Each animation has three frames and they go in the order of up, down, left, right. Set TIL_LINK_DASHFRAMES to the first of these tiles.

From there you're pretty much done with the item. There's plenty of constants you can tweak, here's some of the more important ones:
  • SFX_DASH: The sound that plays on loop while dashing
  • SFX_DASH_BOUNCE: The sound to play when you bonk into a wall.
  • SPR_DASH_DUST: The sprite for dust poofs kicked up while dashing.
  • DASH_STEERING_MULTIPLIER: If >0, you can strafe to the side while dashing by this percent of the dash speed.
  • DASH_ENABLE_SWORD: If true, Link can hold out a sword while dashing
  • DASH_REQUIRE_SWORD_EQUIPPED: If true, the sword only comes out when equipped
  • DASH_USES_LTM: If true, Link's tile modifiers will be added onto the dash tiles.
  • DASH_LOWERS_SHIELD: If true, Link can be hit from the front while dashing. Currently bugged with pit combos due to a ZC bug.
  • DASH_ALLOW_FEATHER: If true, the feather can be used during the dash.
  • I_DASH_TURN_UPGRADE: If this is >0, this is the ID of an item that allows Link to turn instantly to any direction while dashing.
Breakable combos:
Any combo with the PegasusCrystal script will be treated as breakable. You can find settings for this in the Flags and Attrib 1 tabs.

If you're a scripter or tinkerer, see the functions at the top of the script. You can use those to more easily add some interconnectivity with your other scripts.

This script only requires std.zh.