diff options
author | Lance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-11-19 04:46:50 +0000 |
---|---|---|
committer | Lance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-11-19 04:46:50 +0000 |
commit | c116ea51790a6d42280cf599192614dc373cf91d (patch) | |
tree | 8eccdef78694bac85683e7a5730bd42d3a6a4228 /npc/cities | |
parent | 2b6f3618d99f725d224859d17344b640e0255d59 (diff) | |
download | hercules-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/cities')
-rw-r--r-- | npc/cities/amatsu.txt | 3 | ||||
-rw-r--r-- | npc/cities/gonryun.txt | 3 | ||||
-rw-r--r-- | npc/cities/hugel.txt | 2 | ||||
-rw-r--r-- | npc/cities/lighthalzen.txt | 2 | ||||
-rw-r--r-- | npc/cities/niflheim.txt | 9 | ||||
-rw-r--r-- | npc/cities/valkyrie.txt | 1 |
6 files changed, 19 insertions, 1 deletions
diff --git a/npc/cities/amatsu.txt b/npc/cities/amatsu.txt index a4542edc3..e54c56e10 100644 --- a/npc/cities/amatsu.txt +++ b/npc/cities/amatsu.txt @@ -823,6 +823,9 @@ s_Got: set @stoneStr$,"Rough Wind";
break;
+ case 255:
+ end;
+
}
if(countitem(@stoneID) < 8)goto s_NEnough;
mes "[Laspuchin Gregory]";
diff --git a/npc/cities/gonryun.txt b/npc/cities/gonryun.txt index 1549721d3..bc92d920f 100644 --- a/npc/cities/gonryun.txt +++ b/npc/cities/gonryun.txt @@ -239,6 +239,7 @@ gonryun.gat,237,226,3 script YunKyoHam#gn 776,{ mes "My curse shall be on his head!!!";
close;
}
+ if(@menu == 255) end;
mes "[YunKyoHam]";
mes "ohoh! Thank you!";
mes "Take these potions.";
@@ -500,6 +501,8 @@ gonryun.gat,163,60,4 script Gonryun Guide 780,{ mes "Enjoy your trip in";
mes "lovely Gonryun!";
break;
+ case 255:
+ end;
}
close;
}
diff --git a/npc/cities/hugel.txt b/npc/cities/hugel.txt index 61c6c5bb0..7d9a9e984 100644 --- a/npc/cities/hugel.txt +++ b/npc/cities/hugel.txt @@ -45,6 +45,8 @@ hu_in01.gat,23,311,4 script Johsh 898,{ mes @npcname$;
mes "Aww~~ you miss it";
close;
+ case 255:
+ end;
}
}
diff --git a/npc/cities/lighthalzen.txt b/npc/cities/lighthalzen.txt index c03c2c2d0..49fc9f60b 100644 --- a/npc/cities/lighthalzen.txt +++ b/npc/cities/lighthalzen.txt @@ -1050,7 +1050,7 @@ lighthalzen.gat,312,234,2 script Beggar 777,{ mes "Would you give me";
mes "some money?";
next;
- if(select("Give him some money.:Ignore him.")==2){
+ if(select("Give him some money.:Ignore him.")==2 || @menu == 255){
mes "[" + strcharinfo(0) + "]";
mes "...";
mes "......";
diff --git a/npc/cities/niflheim.txt b/npc/cities/niflheim.txt index 6c20f0141..99a4e5efd 100644 --- a/npc/cities/niflheim.txt +++ b/npc/cities/niflheim.txt @@ -171,12 +171,21 @@ L_book3: if(select("Clover.:Klaatu.:Kleitos.")==2)
set @nif_t,@nif_t + 10;
+ if(@menu == 255)
+ end;
+
if(select("Verit.:Veritas.:Verata.")==3)
set @nif_t,@nif_t + 10;
+ if(@menu == 255)
+ end;
+
if(select("Necktie.:Necklace.:Nero.:^FFFFFFNictu.^000000")==4)
set @nif_t,@nif_t + 10;
+ if(@menu == 255)
+ end;
+
mes "[Ashe Bruce]";
if(@nif_t == 30){
if(rand(9)){
diff --git a/npc/cities/valkyrie.txt b/npc/cities/valkyrie.txt index 1aea9c3aa..502cd46d5 100644 --- a/npc/cities/valkyrie.txt +++ b/npc/cities/valkyrie.txt @@ -45,6 +45,7 @@ yuno_in02.gat,93,207,0 script Book of Ymir 111,{ mes "can be realized in the Hall of Honor.";
next;
switch(select("Stop reading.:Continue reading.")) {
+ case 255:
case 1:
mes "[Book of Ymir]";
mes ". . . . .";
|