Get Boss Key On Heart Container
Overview
Creator:
AdmiralJaden
Updated: 26 Mar 2016
Tags:
Item
Downloads: 25
|
View Script
Download Example (854.17 KB) |
Information
My first script.
This script allows you to get a boss key for a specific level (as defined in the script, by you), once you get a certain number of heart containers in total (also defined by you).
***The demo file that shows off this script contains a subscreen that shows you the boss key after getting the heart container***
This script allows you to get a boss key for a specific level (as defined in the script, by you), once you get a certain number of heart containers in total (also defined by you).
***The demo file that shows off this script contains a subscreen that shows you the boss key after getting the heart container***
Description Setup Reviews Comments
Import the script like any other.
Change the LEVEL number in the script (on the line that has "LEVEL = 0;") to match the level you want the boss key for;
For example. If you want the boss key for level 10, you'd set this to 10. If you want it on level 3, set it to 3.
(import again, if need be, unless you edited the buffer)
Place the script in your Heart Container Item's "Pickup Script" box.
Set D0 to the number of heart containers you want to have as the requirement (minus one: If you want to get it on your 12th heart container, set D0 to 11. Or if you want it on heart 4, then set D0 to 3. Etc. It must be one number lower than your target)
If you want a message to display on pickup as well, set D1 to the string you want to display. If you don't want a message, keep D1 as zero (make sure string zero is blank, if it's not, you'll have to set up a blank string and use it).
And that's it. You can now get a boss key for that level number, once you've collected D0's amount of heart containers total.
I hope that made sense, but if you're confused, please feel free to ask me about it and I'll refine this as I can.
Change the LEVEL number in the script (on the line that has "LEVEL = 0;") to match the level you want the boss key for;
For example. If you want the boss key for level 10, you'd set this to 10. If you want it on level 3, set it to 3.
(import again, if need be, unless you edited the buffer)
Place the script in your Heart Container Item's "Pickup Script" box.
Set D0 to the number of heart containers you want to have as the requirement (minus one: If you want to get it on your 12th heart container, set D0 to 11. Or if you want it on heart 4, then set D0 to 3. Etc. It must be one number lower than your target)
If you want a message to display on pickup as well, set D1 to the string you want to display. If you don't want a message, keep D1 as zero (make sure string zero is blank, if it's not, you'll have to set up a blank string and use it).
And that's it. You can now get a boss key for that level number, once you've collected D0's amount of heart containers total.
I hope that made sense, but if you're confused, please feel free to ask me about it and I'll refine this as I can.


