Aschbourne_PRC8/_module/nss/_c_page_back.nss
Jaysyn904 f5ffe7d0b9 Module commit
Module commit.
2024-06-14 10:48:20 -04:00

18 lines
314 B
Plaintext

#include "_c_inc_message"
void main()
{
object oPC = GetPCSpeaker();
int nPage = GetDataBaseInt(_PAGE_);
if(nPage < 1) {
FloatingTextStringOnCreature("End of List",oPC);
PlaySound("gui_error");
return;
} else {
--nPage;
SetDataBaseInt(_PAGE_,nPage);
}
}