From 7bb5e73c2c46723a4fe67c119d447fbd7ffdbfbb Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 1 Jun 2019 21:37:51 -0300 Subject: Remove another useless do{}while() form Ishi. It is not needed in goto() syntax. --- npc/003-1/ishi.txt | 29 +++++++++++++---------------- 1 file changed, 13 insertions(+), 16 deletions(-) (limited to 'npc') diff --git a/npc/003-1/ishi.txt b/npc/003-1/ishi.txt index a99a7674a..699a1ef6b 100644 --- a/npc/003-1/ishi.txt +++ b/npc/003-1/ishi.txt @@ -136,23 +136,20 @@ L_Items: L_Continue: mesq l("You still have @@ Monster Points! Do you want more items?", Mobpt); - do - { - select - l("Yes"), - l("No"); - - switch (@menu) - { - case 1: - goto L_Give_all; - break; - case 2: - goto L_Close; - break; - } - } while (@menu != 2); + select + l("Yes"), + l("No"); + switch (@menu) + { + case 1: + goto L_Give_all; + break; + case 2: + goto L_Close; + break; + } + close; L_Give_all: .@var = Mobpt / @mpq_cost; -- cgit v1.2.3-60-g2f50