diff options
author | Emistry <Equinox1991@gmail.com> | 2016-01-25 23:00:26 +0800 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2016-02-29 01:52:22 +0100 |
commit | 05a2538114972de94352e66586f6f2a5affea9c6 (patch) | |
tree | f39d3e659d9b3801cc42a7b14e41aeec16c93ddf /npc/re/jobs/novice | |
parent | 75ba7024fe3b68718d0f0a289a68ea0719054d3b (diff) | |
download | hercules-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/re/jobs/novice')
-rw-r--r-- | npc/re/jobs/novice/academy.txt | 44 | ||||
-rw-r--r-- | npc/re/jobs/novice/supernovice_ex.txt | 6 |
2 files changed, 26 insertions, 24 deletions
diff --git a/npc/re/jobs/novice/academy.txt b/npc/re/jobs/novice/academy.txt index 758eeb110..949e6973d 100644 --- a/npc/re/jobs/novice/academy.txt +++ b/npc/re/jobs/novice/academy.txt @@ -5751,7 +5751,7 @@ iz_ac01,69,36,3 script Otter Samssoon#ac 4W_SAILOR,{ mes "[Otter Samssoon]"; switch(.@style) { case 1: - if(Sex) { + if (Sex == SEX_MALE) { mes "Oh my!!? 'Play Dead' cut?"; mes "This looks neat and relaxed.. So popular style."; } else { @@ -5761,7 +5761,7 @@ iz_ac01,69,36,3 script Otter Samssoon#ac 4W_SAILOR,{ } break; case 2: - if(Sex) { + if (Sex == SEX_MALE) { mes "Oh my!!? 'Two Handed Sword Mastery' cut?"; mes "You... You know the famous D..? He has exactly the same style!"; } else { @@ -5770,7 +5770,7 @@ iz_ac01,69,36,3 script Otter Samssoon#ac 4W_SAILOR,{ } break; case 3: - if(Sex) { + if (Sex == SEX_MALE) { mes "Oh my!!? 'Napalm Beat' cut?"; mes "It has well arranges hair line that makes feel charisma."; } else { @@ -5779,7 +5779,7 @@ iz_ac01,69,36,3 script Otter Samssoon#ac 4W_SAILOR,{ } break; case 4: - if(Sex) { + if (Sex == SEX_MALE) { mes "Oh my!!? 'Double Strafe' cut?"; mes "Natural hair is shaking by wind.. Clean and good feeling."; } else { @@ -5788,7 +5788,7 @@ iz_ac01,69,36,3 script Otter Samssoon#ac 4W_SAILOR,{ } break; case 5: - if(Sex) { + if (Sex == SEX_MALE) { mes "Oh my!!? 'Angelus' cut?"; mes "Calm and piety feeling.. Not boring style."; } else { @@ -5797,7 +5797,7 @@ iz_ac01,69,36,3 script Otter Samssoon#ac 4W_SAILOR,{ } break; case 6: - if(Sex) { + if (Sex == SEX_MALE) { mes "Oh my!!? 'Push Cart' cut?"; mes "Big Kar is motivated for this style with a romance of a man."; } else { @@ -5806,7 +5806,7 @@ iz_ac01,69,36,3 script Otter Samssoon#ac 4W_SAILOR,{ } break; case 7: - if(Sex) { + if (Sex == SEX_MALE) { mes "Oh my!!? 'Envenom' cut?"; mes "Tough style makes addicted."; } else { @@ -5816,7 +5816,7 @@ iz_ac01,69,36,3 script Otter Samssoon#ac 4W_SAILOR,{ } break; case 8: - if(Sex) { + if (Sex == SEX_MALE) { mes "Oh my!!? 'Bowling Bash' cut?"; mes "This style makes a nice guy to challenge."; mes "Just a giving a glance can steal the heart."; @@ -5826,7 +5826,7 @@ iz_ac01,69,36,3 script Otter Samssoon#ac 4W_SAILOR,{ } break; case 9: - if(Sex) { + if (Sex == SEX_MALE) { mes "Oh my!!? 'Venom Dust' cut?"; mes "This style has special ending line that looks fatal."; } else { @@ -5835,7 +5835,7 @@ iz_ac01,69,36,3 script Otter Samssoon#ac 4W_SAILOR,{ } break; case 10: - if(Sex) { + if (Sex == SEX_MALE) { mes "Oh my!!? 'Turn Undead' cut?"; mes "This style is like a cold city man who is strong enough to kill a monster."; } else { @@ -5844,7 +5844,7 @@ iz_ac01,69,36,3 script Otter Samssoon#ac 4W_SAILOR,{ } break; case 11: - if(Sex) { + if (Sex == SEX_MALE) { mes "Oh my!!? 'Dragonology' cut?"; mes "This style is intelligent style of mysterious dragon."; } else { @@ -5853,7 +5853,7 @@ iz_ac01,69,36,3 script Otter Samssoon#ac 4W_SAILOR,{ } break; case 12: - if(Sex) { + if (Sex == SEX_MALE) { mes "Oh my!!? 'Mace Mastery' cut?"; mes "Look fresh and look neat with wax treatment."; } else { @@ -5862,7 +5862,7 @@ iz_ac01,69,36,3 script Otter Samssoon#ac 4W_SAILOR,{ } break; case 13: - if(Sex) { + if (Sex == SEX_MALE) { mes "Oh my!!? 'Thunder Storm' cut?"; mes "This style has natural attractive perm which is like hitting by thunder storm."; } else { @@ -5871,7 +5871,7 @@ iz_ac01,69,36,3 script Otter Samssoon#ac 4W_SAILOR,{ } break; case 14: - if(Sex) { + if (Sex == SEX_MALE) { mes "Oh my!!? 'Encore' cut?"; mes "Rocker's favorite style.. Even the name itself.."; } else { @@ -5880,7 +5880,7 @@ iz_ac01,69,36,3 script Otter Samssoon#ac 4W_SAILOR,{ } break; case 15: - if(Sex) { + if (Sex == SEX_MALE) { mes "Oh my!!? 'Grimtooth' cut?"; mes "The style with edge."; } else { @@ -5890,7 +5890,7 @@ iz_ac01,69,36,3 script Otter Samssoon#ac 4W_SAILOR,{ } break; case 16: - if(Sex) { + if (Sex == SEX_MALE) { mes "Oh my!!? 'Blitz Beat' cut?"; mes "It is the style my senior invented after he broke up with his girlfriends 5 times."; } else { @@ -5899,7 +5899,7 @@ iz_ac01,69,36,3 script Otter Samssoon#ac 4W_SAILOR,{ } break; case 17: - if(Sex) { + if (Sex == SEX_MALE) { mes "Oh my!!? 'Find Ore' cut?"; mes "This style seems to bring encounter or find unexpected things while walking on the street."; } else { @@ -5908,7 +5908,7 @@ iz_ac01,69,36,3 script Otter Samssoon#ac 4W_SAILOR,{ } break; case 18: - if(Sex) { + if (Sex == SEX_MALE) { mes "Oh my!!? 'Fire Pillar' cut?"; mes "Everyone used to have this hair style.. Which means that was a trend of an era."; } else { @@ -5917,7 +5917,7 @@ iz_ac01,69,36,3 script Otter Samssoon#ac 4W_SAILOR,{ } break; case 19: - if(Sex) { + if (Sex == SEX_MALE) { mes "Oh my!!? 'Guillotine Fist'"; mes "It is like one-shot style.. Like a real man. Right?"; } else { @@ -6056,7 +6056,7 @@ iz_ac01,69,36,3 script Otter Samssoon#ac 4W_SAILOR,{ } L_cutin: - if(Sex) { + if (Sex == SEX_MALE) { if(getarg(0) < 10) cutin "hair_m_0"+getarg(0),4; else @@ -7144,7 +7144,7 @@ iz_ac02,142,85,6 script Lusa#ac 4_F_GUNSLINGER,{ mes "You're so cute! A ^ff0000Gunslinger^000000 who has true grit wield his weapons bringing justice in these wild times."; next; mes "[Lusa]"; - if (Sex == 1) + if (Sex == SEX_MALE) mes "Ya, know you remind me of my little brother, that varmint couldn't shoot the broadside of a barn.. at least not until I taught him."; else mes "Ya, know you remind me of my little sister, that scamp couldn't shoot the broadside of barn.. At least not until I taught her."; @@ -8186,7 +8186,7 @@ iz_ac02,70,85,5 script Arang#ac 4_F_TAEKWON,{ if (JobLevel >= 10) { cutin "arang01.bmp", 0; mes "[Arang]"; - mes "It's time to choose your job? How about Taekwon "+(Sex ? "boy" : "girl")+"? You may be a nice adult like me."; + mes "It's time to choose your job? How about Taekwon "+ (Sex == SEX_MALE ? "boy" : "girl") +"? You may be a nice adult like me."; next; } while (1) { diff --git a/npc/re/jobs/novice/supernovice_ex.txt b/npc/re/jobs/novice/supernovice_ex.txt index 5ee7cb695..56d70a140 100644 --- a/npc/re/jobs/novice/supernovice_ex.txt +++ b/npc/re/jobs/novice/supernovice_ex.txt @@ -681,8 +681,10 @@ airplane,33,47,5 script Nudor#sp2 4_F_NOVICE,{ } next; mes "[Nudor]"; - if (Sex) mes "Did you know? You're really handsome~"; - else mes "I need to tell you, you are really... really~ beautiful."; + if (Sex == SEX_MALE) + mes "Did you know? You're really handsome~"; + else + mes "I need to tell you, you are really... really~ beautiful."; next; mes "[Nudor]"; mes "- You feel like you're being -"; |