//Link`s Awakening Triforce Entrance unlocking cutscene.
If hero steps on trigger flag fith full Triforce (or full set of custom McGuffins), all it`s pieces appear in circle, 1 by 1, then circle around specific spot for certain period of time, then secrets open.
//FF_whistle trigger.
Like normal whistle trigger, but needs higher whistle level to work. Also can be triggered anywhere in the screen.
//Instant counter trigger
Triggers screen secrets immediately, if Link has counters high enough to afford cost. Otherwise renders message string.
Update 13.05.2025 - Instant Counter Trigger - String on Trigger option.
//Link`s Awakening Triforce Entrance unlocking cutscene.
1. Set up as many combos in sequence, as you have Triforce Pieces in quest.
2. If you want to use custom items, instead of Triforce pieces, set up array of consecutive empty passive items in Editor, so they render in subscreen when collected.
2. Flag all trigger spots in triforce-locked entrance screen via CF_TRIFORCE_SCENE_TRIGGER combo flag.
3. Place invisible FFC with 1st combo from step 1 at locked dungeon entrance.
D0 - number of Triforce pieces (items) needed to unlock secret.
D1 - String to display if not enough.
D2 - MIDI to play during cutscene.
D3 - circling radius for Triforce pieces.
D4 - circling speed for Triforce pieces. negative for reverse direction.
D5 - duration of cutscene in frames.
D6 - >0 - use array of D0 consecutive custom items in leu of Triforce pieces, starting from D6 as ID.
D7 - delay between triforce piece appearing during cutscene initialization, in frames.
//FF_whistle trigger.
Place invisible FFC anywhere in the screen.
D0 - minimum whistle level needed.
D1 - Combo flag for trigger position Link needs to stand on to trigger secrets. 0 for anywhere in the screen.
//Instant counter trigger
Place invisible FFC anywhere in the screen.
D0 to D5 - #####.____ - counters to check.
_____.#### - costs to apply.
D6 - 2->Drain subtraction, 1->Instant subtraction, 0->Only validate cost.
D7- #####.____ - String to display on counter fail.
_____.#### - String to display on secret trigger.