summaryrefslogtreecommitdiff
path: root/npc/quests/quests_lighthalzen.txt
diff options
context:
space:
mode:
authorEmistry <Equinox1991@gmail.com>2016-01-25 23:00:26 +0800
committerHaru <haru@dotalux.com>2016-02-29 01:52:22 +0100
commit05a2538114972de94352e66586f6f2a5affea9c6 (patch)
treef39d3e659d9b3801cc42a7b14e41aeec16c93ddf /npc/quests/quests_lighthalzen.txt
parent75ba7024fe3b68718d0f0a289a68ea0719054d3b (diff)
downloadhercules-05a2538114972de94352e66586f6f2a5affea9c6.tar.gz
hercules-05a2538114972de94352e66586f6f2a5affea9c6.tar.bz2
hercules-05a2538114972de94352e66586f6f2a5affea9c6.tar.xz
hercules-05a2538114972de94352e66586f6f2a5affea9c6.zip
Replaced the SEX_FEMALE/SEX_MALE constants to scripts, where appropriate
Diffstat (limited to 'npc/quests/quests_lighthalzen.txt')
-rw-r--r--npc/quests/quests_lighthalzen.txt32
1 files changed, 19 insertions, 13 deletions
diff --git a/npc/quests/quests_lighthalzen.txt b/npc/quests/quests_lighthalzen.txt
index 0637ef18f..044fb10dd 100644
--- a/npc/quests/quests_lighthalzen.txt
+++ b/npc/quests/quests_lighthalzen.txt
@@ -1111,7 +1111,7 @@ lhz_cube,234,200,0 script Desk#cube HIDDEN_NPC,{
mes "the clutter on the desk";
mes "proves to be useless to you.^000000";
next;
- if (Sex) {
+ if (Sex == SEX_MALE) {
mes "^3355FFAn issue of the";
mes "Dancer magazine,";
mes "''Harmonic Lick'' catches";
@@ -5686,7 +5686,7 @@ lhz_in01,273,121,1 script Mad Scientist#li 4_LGTSCIENCE,{
while (1) {
switch(select("Ask about hobbies", "Ask about work")) {
case 1:
- if (Sex == 1) {
+ if (Sex == SEX_MALE) {
mes "[Wolfchev]";
mes "Hyuu~ I think you're";
mes "just a little too innocent";
@@ -6787,8 +6787,10 @@ lighthalzen,179,170,4 script Ordinary Man 4W_M_02,{
next;
mes "[??????]";
mes "^666666Now...^000000";
- if(Sex == 1) mes "^666666Make him^000000";
- else mes "^666666Make her^000000";
+ if (Sex == SEX_MALE)
+ mes "^666666Make him^000000";
+ else
+ mes "^666666Make her^000000";
mes "^666666swallow this pill.^000000";
next;
mes "^3355FFYou're forced to swallow";
@@ -7506,8 +7508,10 @@ yuno_pre,69,20,4 script Secretary#1 4_F_LGTGIRL,{
mes "Oh, the president";
mes "is expecting you.";
mes "Please, go right";
- if(Sex == 1) mes "on ahead, sir.";
- else mes "on ahead, ma'am.";
+ if (Sex == SEX_MALE)
+ mes "on ahead, sir.";
+ else
+ mes "on ahead, ma'am.";
close2;
warp "yuno_pre",113,53;
end;
@@ -7597,8 +7601,10 @@ yuno_pre,95,71,5 script Guard 4_M_EIN_SOLDIER,{
mes "Yes, it's about time";
mes "for me to depart. Ah,";
mes "and may I ask who this";
- if(Sex == 1) mes "young gentleman here is?";
- else mes "lovely young lady is?";
+ if (Sex == SEX_MALE)
+ mes "young gentleman here is?";
+ else
+ mes "lovely young lady is?";
next;
mes "[Guard]";
mes "Mr. Keshnaar,";
@@ -7639,12 +7645,12 @@ yuno_pre,95,71,5 script Guard 4_M_EIN_SOLDIER,{
switch( select( "Thank you.","Who was that gentleman...?" ) )
{
case 1:
- if(Sex == 1) mes "A Mister "+strcharinfo(0)+"";
+ if (Sex == SEX_MALE)
+ mes "A Mister " + strcharinfo(0);
+ else if (getpartnerid())
+ mes "A Missis " + strcharinfo(0);
else
- {
- if(getpartnerid()) mes "A Missis "+strcharinfo(0)+"";
- else mes "A Miss "+strcharinfo(0)+"";
- }
+ mes "A Miss " + strcharinfo(0);
mes "has arrived to see you now.";
next;
mes ".....";