Jump to content

Hamiltonian Path

Overview
Creator: Moosh Added: 13 Feb 2018 Tags: FFC Downloads: 58
Rating[?]: Rating: 4.5/5 (3 ratings)
View Script Download Example
(894.61 KB)
Information

Description Setup Reviews Comments

First, set the only constant, SFX_HAMILTINIAN_PATH, to the sound that you want to play when Link steps on a new tile in the path.

Next, place an invisible FFC on the screen with the scirpt. Set it's arguments as follows:
  • D0: The combo number of the inactive (not yet stepped on) path tiles.
  • D1: The combo number of the active path tiles
  • D2: The combo number of the path tile marking Link's current position along the path
  • D3: The combo number of the path tile the whole thing changes to when completed
  • D4: Set this to 1 if the secrets triggered should be permanent
  • D5: Set this to the SFX to play when secrets are triggered. If 0, it will use the default.
All combos used in the path on the screen should be the combo specified by D0. They should all be placed on layer 0. If you want a fixed starting combo for the path, you can place down one of the combo specified by D2.

This script requires std.zh.