When I couldn't script, I wished there was a scripted item that allowed you to shoot stuff using the Ex1-4 buttons and at the time there weren't and now I couldn't find any. So, now I made one, due o the fact that I recently learnt scripting.
The script allows you to press the Ex1, Ex2, Ex3, Ex4 buttons to shoot different projectiles (some just stay where link is, e.g. explosions or bait). You must first pick up a specified item for this to happen. A noise is also made upon the shooting of the projectile.
Bear in mind that this is my first script and there are many ways in which it could be made more user-firendly/better. If there is a change you require, ask me and I may be able to do so, but I may not, due to limited knowledge of scripting.
std.zh is required for this script.
Step 1 - Setting Constants:
The first 2 constants are simple to set up. The four after that require a number from below for the projectile type.
Projectile types:
Arrow = 8
Sword Beam = 2
Boomerang = 3
Bomb = 6
Bomb Explosion = 4
Super bomb = 7
Super bomb Explosion = 5
Fire = 9
Whistle Noise = 10 (Kills Digdogger)
Bait = 11
Magic = 13
Whistle Whirlwind = 15 (Warps Link if he comes into contact with it)
Sparkle Trail = 23 (link leaves behind a trail of sparkles - no damage)
Fire Sparkle Trail = 24 (link leaves behind a trail of sparkles - damage dealing)
Step 2 - Combining Global Script: (If you already have a global script in your quest)
If you already are using a global script in the active slot, you will need to add some more code to it.
Get lines 22-42 and copy/paste them into your global script.
Make sure to put them in between the lines Waitdraw() and Waitframe().
If you need help with this, be sure to ask!