blob: d02c365a0bbc7ccc4f8d74c769a4966fcd1ad0e4 (
plain) (
tree)
|
|
009-3.gat,162,80,0|script|#PVPCaveBarrier|45,0,0,
{
mes "Do you want to enter the PVP cave? It costs 150GP.";
menu
"No.", L_Exit,
"Yes.", -;
if (Zeny < 150)
goto L_NotEnoughMoney;
if (Zeny >= 150)
goto L_Pay;
L_Exit:
close;
L_Pay:
set Zeny, Zeny - 150;
warp "009-6.gat", 36, 47;
close;
L_NotEnoughMoney:
mes "You don't have enough money!";
close;
}
|