summaryrefslogtreecommitdiff
path: root/npc/other/dts_warper.txt
diff options
context:
space:
mode:
authorLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-11-19 04:46:50 +0000
committerLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-11-19 04:46:50 +0000
commitc116ea51790a6d42280cf599192614dc373cf91d (patch)
tree8eccdef78694bac85683e7a5730bd42d3a6a4228 /npc/other/dts_warper.txt
parent2b6f3618d99f725d224859d17344b640e0255d59 (diff)
downloadhercules-c116ea51790a6d42280cf599192614dc373cf91d.tar.gz
hercules-c116ea51790a6d42280cf599192614dc373cf91d.tar.bz2
hercules-c116ea51790a6d42280cf599192614dc373cf91d.tar.xz
hercules-c116ea51790a6d42280cf599192614dc373cf91d.zip
Updated scripts with select().. THERE ARE TONS OF THEM!! Will somebody give me a hand or something? :B
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9259 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/other/dts_warper.txt')
-rw-r--r--npc/other/dts_warper.txt10
1 files changed, 3 insertions, 7 deletions
diff --git a/npc/other/dts_warper.txt b/npc/other/dts_warper.txt
index f7f71d9c2..31d38bba2 100644
--- a/npc/other/dts_warper.txt
+++ b/npc/other/dts_warper.txt
@@ -824,17 +824,13 @@ function script F_DTS_Warp {
next;
switch(select(@dtswarp$[0],@dtswarp$[1],@dtswarp$[2],@dtswarp$[3])){
case 1:
- set @num, 0;
- break;
case 2:
- set @num, 1;
- break;
case 3:
- set @num, 2;
- break;
case 4:
- set @num, 3;
+ set @num, @menu - 1;
break;
+ default:
+ end;
}
Lwarp:
if (@dtswarp$[@num] == "Cancel") goto Lcancel;