Reformat and clean up npc scripts
This commit is contained in:
@@ -27,15 +27,16 @@ function start() {
|
||||
|
||||
function action(mode, type, selection) {
|
||||
status++;
|
||||
if (mode != 1){
|
||||
if(mode == 0)
|
||||
if (mode != 1) {
|
||||
if (mode == 0) {
|
||||
cm.sendOk("Haven't you finished the training program yet? If you want to leave this place, please do not hesitate to tell me.");
|
||||
}
|
||||
cm.dispose();
|
||||
return;
|
||||
}
|
||||
if (status == 0)
|
||||
if (status == 0) {
|
||||
cm.sendNext("Then, I will send you out from here. Good job.");
|
||||
else{
|
||||
} else {
|
||||
cm.warp(40000, 0);
|
||||
cm.dispose();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user