summaryrefslogtreecommitdiff
path: root/npc/re/quests/quests_malaya.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/re/quests/quests_malaya.txt')
-rw-r--r--npc/re/quests/quests_malaya.txt24
1 files changed, 15 insertions, 9 deletions
diff --git a/npc/re/quests/quests_malaya.txt b/npc/re/quests/quests_malaya.txt
index 00fe70246..fa19f3be9 100644
--- a/npc/re/quests/quests_malaya.txt
+++ b/npc/re/quests/quests_malaya.txt
@@ -3174,7 +3174,7 @@ ma_fild01,251,93,3 script Lost Child#malaya01 4_F_BARYO_GIRL,{
next;
mes "[Little Kid]";
mes "Why~ Do I always go in circles here?";
- mes "Do you why, " + ((Sex) ? "mister" : "ma'am") + "?";
+ mes "Do you why, " + (Sex == SEX_MALE ? "mister" : "ma'am") + "?";
mes "What's with this road?";
mes "Is somebody trying to trick me?";
close;
@@ -4223,11 +4223,11 @@ ma_in01,47,101,3 script Totoy#buwaya 4_M_BARYO_BOY,7,7,{
mes "[Totoy]";
mes "Um... hey!";
next;
- select("You are a " + ((Sex) ? "boy" : "girl") + ", aren't you?");
+ select("You are a " + (Sex == SEX_MALE ? "boy" : "girl") + ", aren't you?");
emotion e_omg,1;
mes "[Totoy]";
mes "Huh?";
- if (!Sex) {
+ if (Sex == SEX_FEMALE) {
mes "Totoy is a girl, and you are a boy.";
mes "You're not a boy?";
} else {
@@ -4377,7 +4377,10 @@ malaya,290,152,5 script Master of Hunting#buwaya 4_M_BARYO_MAN,{
mes "Try collecting 10 Animal Samples from where the kid saw the monster. I will look for traces of that monster from the samples.";
next;
mes "[Master of Hunting]";
- mes (Sex) ? "It won't be pleasant but any brave man could easily do it, don't you agree?" : "I don't want the hands of a pretty girl to smell bad but I could care less with someone like you. Ha ha!";
+ if (Sex == SEX_MALE)
+ mes "It won't be pleasant but any brave man could easily do it, don't you agree?";
+ else
+ mes "I don't want the hands of a pretty girl to smell bad but I could care less with someone like you. Ha ha!";
malaya_buwaya = 7;
erasequest 2273;
setquest 2274;
@@ -4401,7 +4404,10 @@ malaya,290,152,5 script Master of Hunting#buwaya 4_M_BARYO_MAN,{
mes "Try collecting 10 Animal Samples from where the kid saw the monster. I will look for traces of that monster from the samples.";
next;
mes "[Master of Hunting]";
- mes (Sex) ? "It won't be pleasant but any brave man could easily do it, don't you agree?" : "I don't want the hands of a pretty girl to smell bad but I could care less with someone like you. Ha ha!";
+ if (Sex == SEX_MALE)
+ mes "It won't be pleasant but any brave man could easily do it, don't you agree?";
+ else
+ mes "I don't want the hands of a pretty girl to smell bad but I could care less with someone like you. Ha ha!";
malaya_buwaya = 7;
erasequest 2273;
setquest 2274;
@@ -7271,7 +7277,7 @@ malaya,55,72,4 script Nurse#ma_n1 4_F_NURSE,{
emotion e_what;
next;
mes "[???]";
- mes "Hey "+((Sex)?"dude":"missy")+",";
+ mes "Hey "+ (Sex == SEX_MALE ? "dude" : "missy") +",";
mes "You're not getting in the hospital.";
next;
mes "["+strcharinfo(0)+"]";
@@ -7816,7 +7822,7 @@ malaya,53,68,4 script Bushes#ma CLEAR_NPC,{
if (malaya_bang == 13) {
mes "[???]";
mes "Don't come any closer!";
- mes "Old "+((Sex)?"man":"lady")+"!";
+ mes "Old "+ (Sex == SEX_MALE ? "man" : "lady") +"!";
mes "How'd you know I was here?";
emotion e_omg;
next;
@@ -7900,7 +7906,7 @@ malaya,53,68,4 script Bushes#ma CLEAR_NPC,{
} else if (malaya_bang == 15) {
mes "[???]";
mes "Don't come any closer!";
- mes "Old "+((Sex)?"man":"lady")+"!";
+ mes "Old "+ (Sex == SEX_MALE ? "man" : "lady") +"!";
mes "How'd you know I was here?";
emotion e_omg;
next;
@@ -8520,7 +8526,7 @@ ma_fild01,179,260,2 script Festival Helper Boy#pin 4_M_BARYO_BOY,{
mes "Sigh... We are still short of materials to start the '^7A96E0Pintados Festival^000000'.";
close;
case 3:
- .@str$ = (Sex)?"Bro":"Sis";
+ .@str$ = (Sex == SEX_MALE ? "Bro" : "Sis");
break;
}
emotion e_lv;