Adding Additional Sounds to Galv's Message Sound Effects

I've been using Galv's Message Sound Effects for a while now and I recently tried to add more quick sound effects by copying and pasting the param and case parts of the code after the default 1-4.

Screen Shot 2020-03-09 at 2.16.51 PM.png


Screen Shot 2020-03-09 at 2.17.27 PM.png


After doing this, the game still runs fine and the original quick sound effects still work with no issue, but as soon as I try quick sound effect 5, I get "TypeError. Cannot read property 'name' of undefined." I recreated the issue in a new project, same result. I'm still relatively new to RPG Maker, and I don't really have any experience with scripting. Is there a simple fix to this or something I'm overlooking, or is it more complicated than that?
Okay so it turns out there was a 5 here that I just needed to change to a 6 to allow for another sound.
Screen Shot 2020-03-11 at 9.27.45 PM.png

It works now!

Original thread: https://forums.rpgmakerweb.com/threads/adding-additional-sounds-to-galvs-message-sound-effects.118979/