Reformat and clean up npc scripts

This commit is contained in:
P0nk
2021-09-09 23:35:02 +02:00
parent 0c1545f81d
commit d893309b4f
665 changed files with 19932 additions and 19046 deletions

View File

@@ -27,16 +27,17 @@ function start() {
function action(mode, type, selection) {
status++;
if (mode != 1){
if(mode == 0)
cm.sendNext("If you wish to experience what it's like to be a Pirate, come see me again.");
if (mode != 1) {
if (mode == 0) {
cm.sendNext("If you wish to experience what it's like to be a Pirate, come see me again.");
}
cm.dispose();
return;
}
if (status == 0) {
cm.sendYesNo("Would you like to experience what it's like to be a Pirate?");
} else if (status == 1){
cm.lockUI();
} else if (status == 1) {
cm.lockUI();
cm.warp(1020500, 0);
cm.dispose();
}