Broken heart fix

Code was using a switch with variables in it. This doesn't work.
Replaced it with an if..else sequence.

Thanks to the guys from Paradise for finding this.

Note: this only fixes literal heart problems, it won't do anything for relationship issues.
Merge pull request #4374 from Loganbacca/bayfix

Broken heart fix