I found this in the Undertale code. According to it, at 20 love, your attack and defense stats increase to 99, but other sources say that at 20 love, the player’s attack and defense are set to 30, and the player becomes weaker than at 19 love. Please explain this to me.
if (global.lv != currentlevel)
{
levelup = 1
global.maxhp = 16 + global.lv * 4
global.at = 8 + global.lv * 2
global.df = 9 + (ceil(global.lv / 4))
if (global.lv == 20)
{
global.maxhp = 99
global.at = 99
global.df = 99
}
}