Quick Reference
Getting Information 2
| idOf() | What a tip's showings are counted under: its words and its stage (the same words teach a key at two stages, e… |
| textOf() | A tip as the line shows it now, or "" when one of its controls has no key or button. |
Actions 2
| reset() | The teaching starts over: every tip is due its times again. |
| show() | A tip goes on the line (or none: the plain stage line). |
Updating & Drawing 1
| update() | Once a frame: a new state brings its next tip, a state the player stays in brings another every F.Hints.FRAME… |
Other 4
| enabled() | Enabled. |
| seen() | How often each tip has been shown (by idOf), kept with the save. |
| choose() | The next tip for the state the battle is in: the one shown least so far, never the one just shown; none when… |
| covered() | Whether the HUD's line says something else than the tip now: why the highlighted command cannot be chosen, or… |
Getting Information
idOf
static sourceHints.idOf(tip)
What a tip's showings are counted under: its words and its stage (the same words teach a key at two stages, each with its own times).
textOf
static sourceHints.textOf(tip)
A tip as the line shows it now, or "" when one of its controls has no key or button.
Actions
reset
static sourceHints.reset()
The teaching starts over: every tip is due its times again.
show
static sourceHints.show(fight, hint, tip)
A tip goes on the line (or none: the plain stage line).
Details
A tip goes on the line (or none: the plain stage line). Being put there counts for nothing: update counts it once it has been read.
Updating & Drawing
update
static sourceHints.update(fight)
Once a frame: a new state brings its next tip, a state the player stays in brings another every F.Hints.FRAMES, and the tip on the line is counted as shown when it has stood there F.Hints.READ frames in all (once a showing: hint.read keeps the frames of a tip not yet counted, by idOf).
Other
enabled
static sourceHints.enabled()
Enabled.
seen
static sourceHints.seen()
How often each tip has been shown (by idOf), kept with the save.
choose
static sourceHints.choose(fight, hint)
The next tip for the state the battle is in: the one shown least so far, never the one just shown; none when all have had their times.
covered
static sourceHints.covered(fight, hint, state)
Whether the HUD's line says something else than the tip now: why the highlighted command cannot be chosen, or why the cell aimed at cannot be struck.
Details
Whether the HUD's line says something else than the tip now: why the highlighted command cannot be chosen, or why the cell aimed at cannot be struck. A tip nobody can see is not being read.