Fixed the 'no' option not working (#167)
This commit is contained in:
@@ -39,10 +39,12 @@ function start() {
|
||||
function action(mode, type, selection) {
|
||||
status++;
|
||||
if (mode == -1){
|
||||
if(mode == 0)
|
||||
cm.sendNext("This town also has a lot to offer. Find us if and when you feel the need to go to the Ant Tunnel Park.");
|
||||
cm.dispose();
|
||||
return;
|
||||
}else if(mode == 0) {
|
||||
cm.sendOk("This town also has a lot to offer. Find us if and when you feel the need to go to the Ant Tunnel Park.");
|
||||
cm.dispose();
|
||||
return;
|
||||
}
|
||||
if (status == 1) {
|
||||
cm.sendYesNo(cm.getJobId() == 0 ? "We have a special 90% discount for beginners. The Ant Tunnel is located deep inside in the dungeon that's placed at the center of the Victoria Island, where the 24 Hr Mobile Store is. Would you like to go there for #b1,000 mesos#k?" : "The regular fee applies for all non-beginners. The Ant Tunnel is located deep inside in the dungeon that's placed at the center of the Victoria Island, where 24 Hr Mobile Store is. Would you like to go there for #b10,000 mesos#k?");
|
||||
@@ -56,4 +58,4 @@ function action(mode, type, selection) {
|
||||
}
|
||||
cm.dispose();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user