Source for my MapleSolaxiaV2 (v83 MapleStory).
This commit is contained in:
ronancpl
2015-11-02 23:17:21 -02:00
parent 324982e94f
commit 972517e7b2
1675 changed files with 261831 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
var status = 0;
var summon;
var nthtext = "bonus";
function start() {
status = -1;
action(1, 0, 0);
}
function action(mode, type, selection) {
if (mode == -1)
cm.dispose();//ExitChat
else if (mode == 0)
cm.dispose();//No
else{ //Regular Talk
if (mode == 1)
status++;
else
status--;
if(status == 0){
cm.sendYesNo("Would you like to leave?");
}else if(status == 1){
if(cm.getMapId() == 108010101)cm.getPlayer().changeMap(105040305);
if(cm.getMapId() == 108010201)cm.getPlayer().changeMap(100040106);
if(cm.getMapId() == 108010301)cm.getPlayer().changeMap(105070001);
if(cm.getMapId() == 108010401)cm.getPlayer().changeMap(107000402);
if(cm.getMapId() == 108010501)cm.getPlayer().changeMap(105040305);
var em = cm.getEventManager("3rdjob");
em.getInstance(cm.getPlayer().getName()).unregisterPlayer(cm.getPlayer());
cm.dispose();
}
}
}