Trying to think through the best way to do this. What I'm looking for is a passive equipment item that when you have it a combo is displayed over any combos that have certain flags. I can make it work with a very very simple ffc script:
ffc script Glow { void run() { if(Link->Item[155]) { this->Data = GLOW_COMBO; this->CSet = GLOW_CSET; } } }
And then just attaching this script to an FFC at the correct location, but that method has two problems: 1) it will a pain to account for triggered secrets and 2) it's going to be a pain to find EVERY secret trigger in the quest and slap the same FFC over it.
The psuedocode I'm looking for would be in the global (I think):
Screen Loads If Link has the right item Scan each combo on the screen If combo flag = 1 OR 2 OR 6 Create FFC at that combo's location with Data = GLOW_COMBO If a secret is triggered Remove FFC over that combo
I don't know if what I'm describing is possible without scanning every combo every frame (which would bog things a bit, I'd think).
Edited by jsm116, 20 September 2018 - 04:13 PM.