summaryrefslogtreecommitdiff
path: root/npc/airports
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/airports
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/airports')
-rw-r--r--npc/airports/airships.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/npc/airports/airships.txt b/npc/airports/airships.txt
index ab5826fac..b6e43c727 100644
--- a/npc/airports/airships.txt
+++ b/npc/airports/airships.txt
@@ -856,6 +856,7 @@ function script applegamble {
mes "in a friendly game of Dice?";
next;
switch(select("Play Dice Game:Learn Dice Game Rules:Cancel")){
+ case 255:
case 3:
mes "["+getarg(0)+"]";
mes "I'm up for a game of";
@@ -937,7 +938,7 @@ L_Input:
mes "betting ^FF0000"+@amount+"^000000 Apples.";
mes "Is that right?";
next;
- if(select("Yes:No")==2){
+ if(select("Yes:No")==2 || @menu == 255){
mes "["+getarg(0)+"]";
mes "Mm, made a mistake?";
mes "Alright, please enter the";
@@ -1043,6 +1044,9 @@ L_Input:
mes "luck next time.";
}
close;
+ } else {
+ if(@menu == 255)
+ end;
}
mes "^0000FF*Rolling and rumbling*";
set @player3,rand(1,6);