First we need to save in a variable which mvp was summoned.
Find this line
set Zeny, Zeny - .zeny[.mobze[.@m]];
And add below it:
ultimo_mvp_invocado = .mobid[.@m];
Then insert it in the menu options when the player talks to NPC again.
Find this line
set .@m,select(.smenu$) - 1;
And add above it:
.@last = inarray(.mobid, ultimo_mvp_invocado);
if (.@last > -1) {
.@t$ = "^0000FF(Último) " + strmobinfo(1,.mobid[.@last]) + "^000000";
.@m = select(.@t$, .smenu$) - 2;
if (.@m == -1) .@m = .@last;
}
else