Jump to content

Passive Subscreen A/B Counter Fix

Overview
Creator: justin Added: 21 Nov 2014 Tags: Global, Item, Misc
Rating[?]: Rating: 4/5 (1 rating)
View Script
Information

Description Setup Reviews Comments

More detailed setup instructions are included with the code.


Requires std.zh

1. Add SetCountersAB(); before the waitframe in your global active (slot2) script. A sample global script is included with the code.

2. Check the Script Counter constants that it uses to ensure there will be no conflicts. The defaults are the max values.

3. On your passive subscreen, place a Counter object with each Button Item display. Edit the properties.
On the Attributes Tab, change Item 1 to the corresponding Script counter - default is A Button = Script 24, B Button = Script 25
Leave "Show Zero" and "Only Selected" UNCHECKED.



Note: make sure that your item has its Counter Reference declared. Edit the item, Pickup tab.
For instance, Arrows are hardcoded to use either rupees or arrows. Unless the Counter Reference is set, the counter won't show.