From 4a936259b71a43076a02b8e22a3a9f1370d7da36 Mon Sep 17 00:00:00 2001 From: mekolat Date: Wed, 22 Apr 2015 23:28:19 -0400 Subject: update for new emotion builtin --- world/map/npc/002-1/sarah.txt | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'world/map/npc/002-1/sarah.txt') diff --git a/world/map/npc/002-1/sarah.txt b/world/map/npc/002-1/sarah.txt index 83fc6558..19e5f866 100644 --- a/world/map/npc/002-1/sarah.txt +++ b/world/map/npc/002-1/sarah.txt @@ -51,14 +51,15 @@ L_Progress: mes "\"Whee!\""; next; mes "You brought me Cherry Cake! Here is your new hat, as promised.\""; - emotion EMOTE_TONGUE; getinventorylist; if ((@inventorylist_count - (countitem("CherryCake") == 1)) > 99) goto L_TooMany; delitem "CherryCake", 1; getitem "SerfHat", 1; set @state, 2; callsub S_Update_Var; - goto L_Close; + close2; + emotion EMOTE_TONGUE, strcharinfo(0); + end; L_NotEnough: mes "[Sarah]"; @@ -68,8 +69,9 @@ L_NotEnough: L_Done: mes "[Sarah]"; mes "\"It was so tasty, I can't eat anything more... Thank you!\""; - emotion EMOTE_TONGUE; - goto L_Close; + close2; + emotion EMOTE_TONGUE, strcharinfo(0); + end; L_Close: set @TEMP, 0; -- cgit v1.2.3-60-g2f50