ChangeTextSound: Difference between revisions

Argonien (talk | contribs)
Created the page
 
Adex (talk | contribs)
Added additional parameter description for ChangeTextSound
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:


=== Overview ===
=== Overview ===
----This patch, created by Adex, can be found in [[Skytemple]] under Patches -> ASM -> New Mechanics.
----This patch, created by Adex, can be found in [[SkyTemple]] under Patches -> ASM -> New Mechanics.


This patch allows you to change the sound the game plays when printing a character in Textboxes.
This patch allows you to change the sound the game plays when printing a character in Textboxes.


To set a new sound, the text-tag '''[TS:X]''' is used, with '''X''' being the sound effect ID. To reset the sound to the default one, the text-tag '''[TR]''' is used.
To set a new sound, the text-tag '''[TS:X:Y]''' is used, with '''X''' being the sound effect ID and '''Y''' being the volume. To reset the sound to the default one, the text-tag '''[TR]''' is used. If the '''Y''' parameter is not provided, a default volume of 256 is used.


This only works on textbox variants that usually make a sound when printing letters.
This only works on textbox variants that usually make a sound when printing letters.
{{NavPatches}}
{{NavPatches}}