Difference between revisions of "Enemy prize packs"
From ALttP Speedrunning Wiki
(8 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | Every enemy sprite is part of a group. Each group have their own "prize pack", meaning an ordered list of what they will drop when you kill them. | + | Every enemy sprite is part of a group. Each group have their own "prize pack", meaning an ordered list of what they will drop when you kill them. The first time an enemy in a specific group drops an item, you will always get the first item in that pack. And next time the second etc. Each group has its own "counter", so advancing one prize pack does not affect the others. Any enemy that is designated to drop a key will never drop an item from its prize pack, even if the key is obtained. Enemies will always drop a green rupee if killed while stunned or killed with anything but the hammer while frozen. Killing an enemy with a dash will force the drop rate to 0%. |
− | + | <!--- | |
− | + | To determine if an enemy will drop an item when killed, the following operations are performed in order (Bank 06 ~line 6591) | |
− | |||
− | |||
− | |||
− | |||
− | |||
+ | # If the enemy was a pikit holding an item, drop the stolen item and exit routine | ||
+ | # If the enemy drops a specific item (keys), drop the key and exit routine (effectively) | ||
+ | # Check what prize pack the enemy drops | ||
+ | ## If the enemy has no prize pack then skip to step #, otherwise check Link's luck: | ||
+ | ##* If Link has no luck from the pond of happiness, continue to next step | ||
+ | ##* If Link has bad luck, skip to step # | ||
+ | ##* If Link has good luck, skip to step # | ||
+ | # Get a random number to determine if the enemy will drop an item | ||
+ | # Determine the next prize to be dropped and load it into a register | ||
+ | # If | ||
+ | ---> | ||
{| class="wikitable" style="text-align: center;" | {| class="wikitable" style="text-align: center;" | ||
{{Prize pack header|0}} | {{Prize pack header|0}} | ||
|- | |- | ||
| colspan="8" | ''Empty prize pack'' | | colspan="8" | ''Empty prize pack'' | ||
− | {{Prize pack droppers|Keese| | + | {{Prize pack droppers|Keese|ref1=<ref name="LightWorld" />|Babasu|Zoro|Tile|Freezor|Bee|Gibo|Hoarder|Octoballoon|Kyameron|Pirogusu|Swamola|Wallmaster}} |
{{Prize pack header|1|50}} | {{Prize pack header|1|50}} | ||
{{Prize pack line|Heart|Heart|Heart|Heart|Green rupee|Heart|Heart|Green rupee}} | {{Prize pack line|Heart|Heart|Heart|Heart|Green rupee|Heart|Heart|Green rupee}} | ||
− | {{Prize pack droppers|Moblin|Blue sword guard|Green dagger guard|Green sword guard|Green spear guard|Usain Bolt|Red spear and shield guard|Blue tarosu|Red tarosu|Toppo|Snake|Crab|Bush stal|Quake slime|Green leever|Purple leever|Wizzrobe|Skeletal wizzrobe|Green zirro}} | + | {{Prize pack droppers|Moblin|Blue sword guard|Green dagger guard|Green sword guard|Green spear guard|Usain Bolt|Red spear and shield guard|Blue tarosu|Red tarosu|Toppo|ref10=<ref name="Toppo" />|Snake|Crab|Bush stal|Quake slime|Green leever|Purple leever|Wizzrobe|Skeletal wizzrobe|Green zirro}} |
{{Prize pack header|2|50}} | {{Prize pack header|2|50}} | ||
{{Prize pack line|Blue rupee|Green rupee|Blue rupee|Red rupee|Blue rupee|Green rupee|Blue rupee|Blue rupee}} | {{Prize pack line|Blue rupee|Green rupee|Blue rupee|Red rupee|Blue rupee|Green rupee|Blue rupee|Blue rupee}} | ||
− | {{Prize pack droppers|Octorok|Mini moldorm|Ropa|Pikit|Red hardhat beetle|Geldman | + | {{Prize pack droppers|Octorok|Mini moldorm|Popo|Ropa|Kyune|Pikit|Red hardhat beetle|Geldman|Red devalant|Blue devalant|Ball-and-chain guard|Rat|Buzz|Hover|Terrorpin|Blue tektite|Red tektite}} |
− | {{Prize pack header|3|50}} | + | {{Prize pack header|3|50|ref=<ref name="Magic" />}} |
{{Prize pack line|Big magic decanter|Small magic decanter|Small magic decanter|Blue rupee|Big magic decanter|Small magic decanter|Heart|Small magic decanter}} | {{Prize pack line|Big magic decanter|Small magic decanter|Small magic decanter|Blue rupee|Big magic decanter|Small magic decanter|Heart|Small magic decanter}} | ||
− | {{Prize pack droppers|Pengator | + | {{Prize pack droppers|Pengator|Buzzblob|Red spear guard|Gibdo}} |
{{Prize pack header|4|100}} | {{Prize pack header|4|100}} | ||
{{Prize pack line|1 bomb|1 bomb|1 bomb|4 bombs|1 bomb|1 bomb|8 bombs|1 bomb}} | {{Prize pack line|1 bomb|1 bomb|1 bomb|4 bombs|1 bomb|1 bomb|8 bombs|1 bomb}} | ||
− | {{Prize pack droppers|Floating stal| | + | {{Prize pack droppers|Floating stal|ref1=<ref name="LightWorld" />|Hinox|Sluggula|Bomb guard|Zora|Ku|Stalfos knight}} |
{{Prize pack header|5|50}} | {{Prize pack header|5|50}} | ||
Line 41: | Line 47: | ||
{{Prize pack header|7|50}} | {{Prize pack header|7|50}} | ||
{{Prize pack line|Heart|Fairy|Big magic decanter|Red rupee|8 bombs|Heart|Red rupee|10 arrows}} | {{Prize pack line|Heart|Fairy|Big magic decanter|Red rupee|8 bombs|Heart|Red rupee|10 arrows}} | ||
− | {{Prize pack droppers|Snapdragon|Mini helmasaur|Bluesain Bolt|Red bush spear guard|Stalrope|Keese| | + | {{Prize pack droppers|Snapdragon|Mini helmasaur|Bluesain Bolt|Red bush spear guard|Stalrope|Keese|ref6=<ref name="DarkWorld" />|Floating stal|ref7=<ref name="DarkWorld" />|Yellow stalfos|Blue zirro|Pokey|Lynel}} |
|} | |} | ||
+ | |||
+ | <references> | ||
+ | <ref name="LightWorld">Prize pack applies to Light World</ref> | ||
+ | <ref name="DarkWorld">Prize pack applies to Dark World</ref> | ||
+ | <ref name="Toppo">Toppo only give their prize pack when talked to after destroying the grass under them.</ref> | ||
+ | <ref name="Magic">All enemies that drop an item will use this prize pack at a drop rate of 100% if hammered while frozen.</ref> | ||
+ | </references> | ||
+ | |||
+ | == See also == | ||
+ | * [[Rupee pull]] | ||
+ | * [[Bush prize pack]] | ||
+ | [[Category:Tech]] |
Latest revision as of 11:52, 19 December 2019
Every enemy sprite is part of a group. Each group have their own "prize pack", meaning an ordered list of what they will drop when you kill them. The first time an enemy in a specific group drops an item, you will always get the first item in that pack. And next time the second etc. Each group has its own "counter", so advancing one prize pack does not affect the others. Any enemy that is designated to drop a key will never drop an item from its prize pack, even if the key is obtained. Enemies will always drop a green rupee if killed while stunned or killed with anything but the hammer while frozen. Killing an enemy with a dash will force the drop rate to 0%.
Prize pack 0 | |||||||
---|---|---|---|---|---|---|---|
Empty prize pack | |||||||
[1] | |||||||
Prize pack 1 (50% drop rate) | |||||||
Heart | Heart | Heart | Heart | Green rupee | Heart | Heart | Green rupee |
[2] | |||||||
Prize pack 2 (50% drop rate) | |||||||
Blue rupee | Green rupee | Blue rupee | Red rupee | Blue rupee | Green rupee | Blue rupee | Blue rupee |
Prize pack 3 (50% drop rate) [3] | |||||||
Big magic decanter | Small magic decanter | Small magic decanter | Blue rupee | Big magic decanter | Small magic decanter | Heart | Small magic decanter |
Prize pack 4 (100% drop rate) | |||||||
1 bomb | 1 bomb | 1 bomb | 4 bombs | 1 bomb | 1 bomb | 8 bombs | 1 bomb |
[1] | |||||||
Prize pack 5 (50% drop rate) | |||||||
5 arrows | Heart | 5 arrows | 10 arrows | 5 arrows | Heart | 5 arrows | 10 arrows |
Prize pack 6 (50% drop rate) | |||||||
Small magic decanter | Green rupee | Heart | 5 arrows | Small magic decanter | 1 bomb | Green rupee | Heart |
Prize pack 7 (50% drop rate) | |||||||
Heart | Fairy | Big magic decanter | Red rupee | 8 bombs | Heart | Red rupee | 10 arrows |
[4] | [4] | ||||||
- ↑ 1.0 1.1 Prize pack applies to Light World
- ↑ Toppo only give their prize pack when talked to after destroying the grass under them.
- ↑ All enemies that drop an item will use this prize pack at a drop rate of 100% if hammered while frozen.
- ↑ 4.0 4.1 Prize pack applies to Dark World