Game Crashes in Battles

So I'm using Galv's bust script and for whatever reason when entering a battle the attached image pops up. It references line 129 which is this:
Code:
if !$game_message.bust_name.empty? && !$game_switches[Galv_Bust::DISABLE_SWITCH]
Any reason why it would do that?
$game_message.bust_name is non existent
oh- I disabled that part of the script and it's working fine now, thanks!
$game_message.bust_name is non existent
That's generally not a good idea. Do you know how to script? Do you know what will happen because you disabled that? I'm surprised there isn't another error message about an extra 'end' statement.

To edit scripts when you don't know the consequences is never a good idea.
That's generally not a good idea. Do you know how to script? Do you know what will happen because you disabled that? I'm surprised there isn't another error message about an extra 'end' statement.

To edit scripts when you don't know the consequences is never a good idea.
I essentially disabled the entire section, not just that one line, however, it also disables the busts entirely. Is there a way for me to make it so that battles don't look at that script?

Edit: Never mind. I just deleted the whole script and inserted the original backup, it works again.

Original thread: https://forums.rpgmakerweb.com/threads/game-crashes-in-battles.119117/