set_victory_theme

Overwrites character’s victory theme. Can be assigned to a custom sound using

sound_get( sound )  Reference→

or set to one of the following indexes

ArgumentTypeDescription
theme:realVictory theme index or custom sound ID

Example, called from load.gml:

set_victory_theme( sound_get( "custom" ));