I noticed LevelUp wasn't working at all. After some debugging I found out there's an issue with FindNPCChatText. I believe it was updated to the current NPC chat, but not for things like level up screens.
Debugged LevelUp:
Simba Code:
{*******************************************************************************
function LevelUp : Boolean;
By: R1ch
Description: Checks if you've leveled up - click Continue and returns True.
*******************************************************************************}
function LevelUp : Boolean;
var
X, Y : Integer;
begin
if (not(FindColor(X, Y, 0, 7, 460, 69, 474))) then
//Result:= FindNPCChatText('gratu', Nothing);
Writeln(':P');
Writeln('.');
if (Result) then
Writeln(':)');
if Result then
begin
ClickContinue(True, True);
WriteLn(Players[CurrentPlayer].Name + ' leveled up');
end;
end;
Progress Report:
:P
.
Successfully executed.
Wasn't capable of reading the text.