From 05a2538114972de94352e66586f6f2a5affea9c6 Mon Sep 17 00:00:00 2001 From: Emistry Date: Mon, 25 Jan 2016 23:00:26 +0800 Subject: Replaced the SEX_FEMALE/SEX_MALE constants to scripts, where appropriate --- npc/quests/seals/brisingamen_seal.txt | 6 +++--- npc/quests/seals/megingard_seal.txt | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'npc/quests/seals') diff --git a/npc/quests/seals/brisingamen_seal.txt b/npc/quests/seals/brisingamen_seal.txt index df5a905dc..c04d4de54 100644 --- a/npc/quests/seals/brisingamen_seal.txt +++ b/npc/quests/seals/brisingamen_seal.txt @@ -609,7 +609,7 @@ prt_fild08,175,374,3 script Bard#brising 1_M_BARD,{ mes "do you not?"; next; mes "[Nelliorde]"; - if (Sex) { + if (Sex == SEX_MALE) { mes "Hahahaha, forgive my rudeness,"; mes "but I fail to remember your name, although your face does seem rather familiar."; } @@ -2315,7 +2315,7 @@ prt_castle,84,51,5 script Librarian#2 8W_SOLDIER,{ next; switch(select("Lowen, Sibling", "Lowen, Spouse", "Lowen, Enemy", "Lowen, a Friend")) { case 1: - if (Sex) { + if (Sex == SEX_MALE) { mes "[Librarian]"; mes "How dare you"; mes "lie to the royal"; @@ -2362,7 +2362,7 @@ prt_castle,84,51,5 script Librarian#2 8W_SOLDIER,{ close; } case 2: - if (Sex) { + if (Sex == SEX_MALE) { mes "[Librarian]"; mes "Spouse...?"; mes "Well, I guess you look like a husband. Heh, I've got a girlfriend myself. Well, at least I think so. Anyway..."; diff --git a/npc/quests/seals/megingard_seal.txt b/npc/quests/seals/megingard_seal.txt index ffc70f318..894ac2ab5 100644 --- a/npc/quests/seals/megingard_seal.txt +++ b/npc/quests/seals/megingard_seal.txt @@ -650,7 +650,7 @@ prt_in,172,109,0 script A File#megin1 HIDDEN_NPC,{ } else if (god_eremes < 7) { mes "[Librarian Jekan]"; - mes "I'm sorry "+((Sex)?"sir":"ma'am")+","; + mes "I'm sorry "+ (Sex == SEX_MALE ? "sir" : "ma'am") +","; mes "but special authorization is required to browse that section. Otherwise, it's off limits."; close; } -- cgit v1.2.3-60-g2f50