Reformat and clean up npc scripts
This commit is contained in:
@@ -32,20 +32,22 @@ function start() {
|
||||
|
||||
function action(mode, type, selection) {
|
||||
status++;
|
||||
if (mode != 1){
|
||||
if(mode == 0 && status == 2){
|
||||
if (mode != 1) {
|
||||
if (mode == 0 && status == 2) {
|
||||
status -= 2;
|
||||
start();
|
||||
}else if(mode == 0)
|
||||
status-= 2;
|
||||
else
|
||||
} else if (mode == 0) {
|
||||
status -= 2;
|
||||
} else {
|
||||
cm.dispose();
|
||||
}else{
|
||||
if (status == 1)
|
||||
}
|
||||
} else {
|
||||
if (status == 1) {
|
||||
cm.sendNextPrev("If you want to get stronger, then go to #bSouthperry#k where there's a harbor. Ride on the gigantic ship and head to the place called #bVictoria Island#k. It's incomparable in size compared to this tiny island.");
|
||||
else if (status == 2)
|
||||
} else if (status == 2) {
|
||||
cm.sendPrev("At the Victoria Island, you can choose your job. Is it called #bPerion#k...? I heard there's a bare, desolate town where warriors live. A highland...what kind of a place would that be?");
|
||||
else if (status == 3)
|
||||
} else if (status == 3) {
|
||||
cm.dispose();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user