-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Tweaking the count of health beeps
In Pokémon Emerald, the health beeps are a single-channel MIDI file (sound/songs/midi/se_low_health.mid
) played as a sound effect. This MIDI file is basically two tones and a short pause in an endless loop. Note that the loop points aren't defined in the MIDI sheet, but as a custom interpretation of two MIDI markers (shown in the example Rosegarden screenshot as [
]
above the channel data, the way this is shown can be different in other MIDI editors).
To change how many time this loop should play is to delete the markers from the metadata and then manually duplicate the loops in the sheet in your MIDI editor and overwrite this MIDI file with your edit. Below is an example showing how the result with 4 loops look in Rosegarden:
You don't have to edit the code for this.
Additionally; https://github.com/Pawkkie/Team-Aquas-Asset-Repo/tree/main/Audio/Graion%20Dilach/Healthalarms includes multiple MIDI example setups for a simple file change.