|
@@ -226,7 +226,7 @@ dali02,137,121,3 script Magic Scholar Artie#tnm 4_M_FAIRYKID6,{
|
|
|
mes "Don't take any unncessary risks, okay?";
|
|
|
close;
|
|
|
}
|
|
|
- if (getpartyleader(.@party_id,2) != getcharid(0)) {
|
|
|
+ if (is_party_leader() == false) {
|
|
|
mes "[Artie]";
|
|
|
mes "Bring the Expedition Chief.";
|
|
|
mes "Devil's Tower is not a place to visit alone.";
|
|
@@ -441,7 +441,7 @@ OnTimer26000:
|
|
|
1@tnm1,57,112,5 script Officer Heim#heim0 4_TOWER_05,{ end; }
|
|
|
|
|
|
1@tnm1,56,110,3 script Officer Heim#heim 4_TOWER_05,{
|
|
|
- if (getpartyleader(getcharid(1),2) != getcharid(0)) {
|
|
|
+ if (is_party_leader() == false) {
|
|
|
mes "[Officer Heim]";
|
|
|
mes "Who brought you all here?";
|
|
|
mes "I will talk to a representative.";
|
|
@@ -454,7 +454,7 @@ OnTimer26000:
|
|
|
npctalk "Officer Heim: Back up soldiers? So why are you just standing there?";
|
|
|
next;
|
|
|
select("Right now?");
|
|
|
- if (getpartyleader(getcharid(1),2) == getcharid(0) && 'devil_tower == 0) {
|
|
|
+ if (is_party_leader() == true && 'devil_tower == 0) {
|
|
|
enablenpc instance_npcname("Healer Fama#feima");
|
|
|
'devil_tower = 1;
|
|
|
}
|
|
@@ -638,7 +638,7 @@ OnTouch:
|
|
|
}
|
|
|
|
|
|
1@tnm1,46,105,5 script Lucile#tnm01 4_F_LUCILE,{
|
|
|
- if (getpartyleader(getcharid(1),2) != getcharid(0)) {
|
|
|
+ if (is_party_leader() == false) {
|
|
|
cutin "tnm_lucile01.bmp",2;
|
|
|
mes "[Lucile]";
|
|
|
mes "Who is in charge of the back-up team?";
|
|
@@ -831,7 +831,7 @@ OnMobDead:
|
|
|
1@tnm1,138,96,3 script Lucile#tnm02 4_F_LUCILE,{
|
|
|
if (isbegin_quest(7571) == 0)
|
|
|
end;
|
|
|
- if (getpartyleader(getcharid(1),2) != getcharid(0)) {
|
|
|
+ if (is_party_leader() == false) {
|
|
|
mes "You wave your hand in front of her but she doesn't react.";
|
|
|
close;
|
|
|
}
|
|
@@ -857,7 +857,7 @@ OnMobDead:
|
|
|
next;
|
|
|
sleep2 750;
|
|
|
npctalk "Lucile: Please hold tight.";
|
|
|
- if (getpartyleader(getcharid(1),2) == getcharid(0) && 'devil_tower == 4) {
|
|
|
+ if (is_party_leader() == true && 'devil_tower == 4) {
|
|
|
donpcevent instance_npcname("Huey#hui02") + "::OnEnable";
|
|
|
'devil_tower = 5;
|
|
|
}
|
|
@@ -868,7 +868,7 @@ OnMobDead:
|
|
|
mes "I can hear mechanical sounds all of a sudden.";
|
|
|
specialeffect EF_LEVEL99_3;
|
|
|
// progressbar "000000",40; // fix me: progressbar doesn't display close button on cancel
|
|
|
- if (getpartyleader(getcharid(1),2) == getcharid(0) && 'devil_tower == 5) {
|
|
|
+ if (is_party_leader() == true && 'devil_tower == 5) {
|
|
|
if (isbegin_quest(7572) == 0)
|
|
|
setquest 7572;// Lucile...?
|
|
|
'devil_tower = 6;
|
|
@@ -996,7 +996,7 @@ OnMobDead:
|
|
|
1@tnm2,133,139,5 duplicate(Officer Heim#heim0) Demon Morocc#tnm01 1916
|
|
|
|
|
|
1@tnm2,144,137,3 script Lucile#tnm03 4_F_LUCILE,{
|
|
|
- if (getpartyleader(getcharid(1),2) != getcharid(0)) {
|
|
|
+ if (is_party_leader() == false) {
|
|
|
mes "[Lucile]";
|
|
|
mes "I am talking to your party leader now so please step back for a while.";
|
|
|
cutin "tnm_lucile01.bmp",2;
|
|
@@ -1012,7 +1012,7 @@ OnMobDead:
|
|
|
mes "We need to stop the demon...";
|
|
|
mes "Can you do that?";
|
|
|
npctalk "Lucile: We need to stop the demon... Can you do that?";
|
|
|
- if (getpartyleader(getcharid(1),2) == getcharid(0) && 'devil_tower == 7) {
|
|
|
+ if (is_party_leader() == true && 'devil_tower == 7) {
|
|
|
if (isbegin_quest(7573) == 0)
|
|
|
setquest 7573;// Magic Swordman Thanatos
|
|
|
'demon$ = instance_npcname("Demon Morocc#tnm01");
|
|
@@ -1464,7 +1464,7 @@ OnTimer9000:
|
|
|
close;
|
|
|
}
|
|
|
if ('devil_tower == 10) {
|
|
|
- if (getpartyleader(getcharid(1),2) != getcharid(0)) {
|
|
|
+ if (is_party_leader() == false) {
|
|
|
mes "[Young Girl]";
|
|
|
mes "*weeping* The demons are so scary.";
|
|
|
close;
|
|
@@ -1493,7 +1493,7 @@ OnTimer9000:
|
|
|
mes "Please come with me through the passage behind that shelf!";
|
|
|
npctalk "Young Girl: Please come with me through the passage behind that shelf!";
|
|
|
close2;
|
|
|
- if (getpartyleader(getcharid(1),2) == getcharid(0) && 'devil_tower == 10) {
|
|
|
+ if (is_party_leader() == true && 'devil_tower == 10) {
|
|
|
enablenpc instance_npcname("#tnm3gate01");
|
|
|
enablenpc instance_npcname("#tnm3event02ect");
|
|
|
'devil_tower = 11;
|
|
@@ -1825,7 +1825,7 @@ OnTimer55500:
|
|
|
1@tnm3,137,65,3 script Loki#tnmloki02 4_M_ROKI2,{
|
|
|
if ('devil_tower != 13)
|
|
|
end;
|
|
|
- if (getpartyleader(getcharid(1),2) != getcharid(0)) {
|
|
|
+ if (is_party_leader() == false) {
|
|
|
mes "[Loki]";
|
|
|
mes "I am talking to your boss.";
|
|
|
close;
|
|
@@ -1853,7 +1853,7 @@ OnTimer55500:
|
|
|
mes "You will be in charge of activating Mind Blaster.";
|
|
|
npctalk "Loki: You will be in charge of activating Mind Blaster.", instance_npcname("Loki#tnmloki02");
|
|
|
next;
|
|
|
- if (getpartyleader(getcharid(1),2) == getcharid(0) && 'devil_tower == 13) {
|
|
|
+ if (is_party_leader() == true && 'devil_tower == 13) {
|
|
|
disablenpc instance_npcname("Loki#tnmloki02");
|
|
|
mes "^4d4dffLoki, Guillotine Cross of the Assassin Guild, has joined your party.";
|
|
|
mes "We have to get rid of the demonic Lord Knight by Mind Blasting him with Loki's skill.^000000";
|