Note: TourianTourist's ring guide lists certain ring "classes" from 1-5, categorizing rings to help determine where they can come from. "Class 1" rings are the worst and most common, while "class 5" rings are the best and rarest.
In the disassembly, they are numbered from 0-4, and those numbers are arranged differently (not sorted in order of rarity). So, when referring to the disassembly's numbering, I say "ring tier"; when referring to TourianTourist's numbering, I say "ring class".
Overview of mechanics
When a seed is placed in a gasha spot, it will fully grow after 40 enemies are killed (20 with gasha ring).
The first time you harvest a gasha tree, you get a bad ring ("class 1" by TourianTourist's naming convention).
After that, the prize you receive is randomly chosen based on two factors.
The first factor is the gasha seed location; harder-to-reach spots give better rewards.
The second factor is a variable called "wGashaMaturity" in the disassembly. If this is 300 or higher, you get the best results; otherwise, the prizes are worse. Many things increase this value, including screen transitions (+5), killing enemies (+3), getting an essence (+150), heart piece (+36), or trade item (+100), and revealing hidden staircases, etc (+50 to +100).
It gets decreased by 200 whenever you harvest a gasha nut. So, harvesting a large number of gasha nuts may cause you to not be able to get the best prizes; in particular, the class 5 rings are only available when wGashaMaturity is 300 or higher.
If the prize would be a heart piece, but Link already got it, then Link instead gets a tier 0 (class 4) ring.
The below table is only accurate when the
wGashaMaturity variable is at least 300. This should be the case most of the time. If it's lower, then the probabilities change, and the better prizes become less common.
|Gasha spot rank (lower is better)|
|Prize||Rank 0||Rank 1||Rank 2||Rank 3||Rank 4|
|Tier 0 (class 4) ring||25.00%||14.84%||0.00%||0.00%||0.00%|
|Tier 1 (class 3) ring||14.84%||35.16%||14.84%||0.00%||0.00%|
|Tier 2 (class 2) ring||0.00%||19.92%||30.08%||35.16%||25.00%|
|Tier 3 (class 1) ring||0.00%||0.00%||39.84%||35.16%||20.31%|
|Tier 4 (class 5) ring||10.16%||0.00%||0.00%||0.00%||0.00%|
See below for which gasha spots have which rank.
Placing gasha spots
Gasha spots are interactions with ID $b6. Their subID must be a unique value from $0-$f. If two gasha spots share the same subid, their growths will interfere with each other.
Each subid has a preset "rank" (lower is better; only rank 0 gives the best rings). This can be changed by looking for the
@gashaSpotRanks label in object_code/common/interactionCode/group6.s. Below are the defaults.
|Rolling Ridge (Present) (near target carts)||1||2|
|Talus Peaks (Present)||2||2|
|Tokay Island (Present, northeast)||5||1|
|Tokay Island (Present, south/center)||6||1|
|Sea of Storms (Present)||7||0|
|Talus Peaks (Past, near tune of currents place)||8||3|
|Rolling Ridge (Past)||9||2|
|Rolling Ridge Base (Past)||a||2|
|Talus Peaks (Past) (from Deku Forest side)||b||1|
|Toilet House (Past)||c||4|
|South Shore (Past) (west of Rafton)||d||3|
|Above Zora Village (Past)||e||1|
|Tokay Island (Past)||f||0|
Each subid also has a preset "gfx header" to load based on what environment its in, which determines what kind of tile the tree turns into after it disappears?