Jump to content

Secret Medicine/Fairy

Overview
Creator: Hari Added: 27 Mar 2016 Tags: Global, Item
Rating[?]: Rating: 3.5/5 (1 rating)
View Script
Information

Description Setup Reviews Comments

First, set the constant POTION_ID to the ID of the potion or fairy item, and set the constant POTION_SFX to the number of the sound effect to be played when the medicine takes effect. If you want a message to be displayed when the medicine takes effect, set the constant DISPLAY_MESSAGE to 1, and set the constant MESSAGE to the number of the message you want displayed. If you want a message to be displayed, make sure the quest rule "Messages Freeze All Action" is checked. If you don't already have a global script, just copy this script. If you do have a global script already, copy the main part of this script into your current global script. Make sure you place it before Waitdraw() and any ghost.zh functions.

No headers are required to use this script.