Edit: No issue here
Counter Potions
Overview
Creator:
Shoshon the Elegant
Updated: 12 Jan 2019
Tags:
Item
Downloads: 16
|
View Script
Download Script (0.25 KB) |
Information
This script allows you to make potions (or really any item technically), that can restore any counter item such as bombs and arrows.
Description Setup Reviews Comments
This script only uses std.zh.
CounterPotions:
Getting Started:
Compile the script as usual.
Place the script into the action script slot of whatever item you want to restore a counter item.
Arguments:
To properly define your D arguments, you need to know what each number represents.
That is all you need to know. Contact me if you need assistance still.
CounterPotions:
Getting Started:
Compile the script as usual.
Place the script into the action script slot of whatever item you want to restore a counter item.
Arguments:
- D0: Set this to the sfx (sound effect) you wish for the item to use. 0 defaults to the refill sfx.
- D1: Set this to the assigned number for the counter item you wish to increase.
- D2: Set this to how much you want the counter item to increase.
Keep in mind that magic and life increase with higher numbers than arrows or bombs. Life for instance, would require a 16 for its D2, to increase Link's health by 1 heart. Experiment with magic as magic is more confusing and may differ depending on quest.
To properly define your D arguments, you need to know what each number represents.
- SFX (D0)
To find the number of a particular SFX, go to...
Quest->Audio->SFX Data (the number will appear next to the sound effect) - Counter (D1)
You can find the counter item in std_constants. To make it simple, here is the list...
Life = 0
Rupees = 1
Bombs = 2
Arrows = 3
Magic = 4
Keys = 5
Super Bombs = 6
Scripted Counters = 7-31
See your specific quest to figure out what scripted counters may be assigned to what.- Increment (D2)
This is simple. Simply set this to how much you want the counter item to increase.
That is all you need to know. Contact me if you need assistance still.


