Permanent Tiered Secrets
Overview
Creator:
Moosh
Added: 19 Jul 2014
Tags:
FFC
Downloads: 74
|
View Script
Download Example (861.45 KB) |
Information
Normally ZC only remembers the first secret on a screen with tiered secrets and also can't save secrets on dungeon screens. This script fixes both those problems.
Setup Reviews Comments
- Set the screen to have temporary secrets. The script will handle saving secrets for you.
- Place down an FFC with the script over a combo that will be changed every time secrets are triggered. (Usually this will be a two state looping secret like in the top left corner of screen 2:00 in the example quest)
- Check the FFC's Run Script at Screen Init flag
- If Screen->D[0] is used by another script, set the FFC's D0 to something that isn't. Otherwise, leave it at 0.
- If you're using all the flag 16-31 secrets on a screen, you can place the secret detection combo on a layer and set D1 to that layer. This is done on screen 2:12 in the example quest. Otherwise, leave it at 0.
- If the screen's tiered secrets loop endlessly, set D2 to the number of states it has. (For example, screen 2:00 has 3 states: Green, Red, and Blue.) Otherwise, leave it at 0.
This script requires std.zh.