- Joined
- Apr 27, 2008
- Messages
- 15
- Reaction score
- 0
Hey
i've released Amoria Teleporter to go there and go back
The npc is Thomas swift (Guy in suit)[henesys]
en-Joy!
Join KevinMS Nao!
Name the file 9201022.js
i've released Amoria Teleporter to go there and go back
The npc is Thomas swift (Guy in suit)[henesys]
en-Joy!
Join KevinMS Nao!
To view the content, you need to sign in or register
Name the file 9201022.js
Code:
/*
This file is part of the OdinMS Maple Story Server
Copyright (C) 2008 Patrick Huy <[email protected]>
Matthias Butz <[email protected]>
Jan Christian Meyer <[email protected]>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License version 3
as published by the Free Software Foundation. You may not use, modify
or distribute this program under any other version of the
GNU Affero General Public License.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/**
Thomas Swift (Guy in suit)
**/
var status = 0;
function start() {
action(1, 0, 0);
}
function action(mode, type, selection) {
if (status == 0) {
if (cm.getChar().getMapId() == 100000000) {
cm.sendYesNo("Would you like to Visit Amoria?");
} else {
cm.sendYesNo("Would you like to go back to Henesys??");
}
status++;
} else {
if ((status == 1 && type == 1 && selection == -1 && mode == 0) || mode == -1) {
cm.dispose();
} else {
if (status == 1) {
cm.sendNext ("Alright, see you next time. Take care.");
status++
} else if (status == 2) {
if (cm.getChar().getMapId() == 100000000) {
cm.warp(680000000, 0);
} else {
cm.warp(100000000, 0);
}
cm.dispose();
}
}
}
}