From a8276339bd6605b7ef0fd655c32d5a26eefec32b Mon Sep 17 00:00:00 2001 From: Atemo Date: Mon, 16 May 2022 16:17:36 +0200 Subject: [PATCH] Updated the script to use the commands cloakonnpcself/cloakoffnpcself (#6946) --- npc/re/jobs/novice/academy.txt | 8 +- npc/re/merchants/enchan_illusion_17_1.txt | 6 +- npc/re/other/achievements.txt | 4 +- npc/re/quests/quests_16_1.txt | 370 ++++++++-------- npc/re/quests/quests_16_2.txt | 504 +++++++++++----------- npc/re/quests/quests_16_2_illusion.txt | 18 +- npc/re/quests/quests_17_1.txt | 80 ++-- npc/re/quests/quests_rockridge.txt | 142 +++--- 8 files changed, 566 insertions(+), 566 deletions(-) diff --git a/npc/re/jobs/novice/academy.txt b/npc/re/jobs/novice/academy.txt index 13d9229a63..b85352bda0 100644 --- a/npc/re/jobs/novice/academy.txt +++ b/npc/re/jobs/novice/academy.txt @@ -66,8 +66,8 @@ iz_int04,51,30,0 duplicate(iz_int#intro_evt02) iz_int04#intro_evt02 HIDDEN_WARP_ //== Wounded Swordsman (iz_int) ================================= iz_int,56,32,3 script Wounded Swordsman#intro_npc01_iz_int 4_TOWER_01,5,5,{ npctalk "Oh...", "", bc_self; - cloakonnpc strnpcinfo(0), getcharid(0); - cloakoffnpc "Wounded Swordsman#intro_npc02_" + strnpcinfo(4), getcharid(0); + cloakonnpcself(); + cloakoffnpcself( "Wounded Swordsman#intro_npc02_" + strnpcinfo(4) ); end; OnTouch: @@ -283,7 +283,7 @@ int_land,73,100,3 script Lumin#new_ship 4_M_NOV_RUMIN,{ mes "[Lumin]"; mes "Yes."; next; - cloakonnpc strnpcinfo(0), getcharid(0); + cloakonnpcself(); cutin "fly_trock.bmp",2; mes "[Captain Carocc]"; mes "Oh boy."; @@ -307,7 +307,7 @@ int_land,73,100,3 script Lumin#new_ship 4_M_NOV_RUMIN,{ mes "....."; mes "....So?"; next; - cloakonnpc strnpcinfo(0), getcharid(0); + cloakonnpcself(); mes "- Lu just walked away with a cynical look on his face."; next; cutin "fly_trock.bmp",2; diff --git a/npc/re/merchants/enchan_illusion_17_1.txt b/npc/re/merchants/enchan_illusion_17_1.txt index 0556227458..7ba5e9d4de 100644 --- a/npc/re/merchants/enchan_illusion_17_1.txt +++ b/npc/re/merchants/enchan_illusion_17_1.txt @@ -124,7 +124,7 @@ sp_cor,108,130,5 script Rebellion#rm171_7 4_F_REBELLION3,{ mes "[Rebellion]"; mes "So, you received the message. The Captains are having a meeting on the inside. Captain Elena Volkova must have called you."; mes "... I was going to call her, but she's already here."; - cloakoffnpc "Elena Volkova#rm171_0", getcharid(0); + cloakoffnpcself( "Elena Volkova#rm171_0" ); npctalk "Elena Volkova: Ah, I've been looking for you, Adventurer.", "Elena Volkova#rm171_0", bc_self; if (isbegin_quest(16352) == 0) setquest 16352; @@ -146,7 +146,7 @@ sp_cor,108,130,5 script Rebellion#rm171_7 4_F_REBELLION3,{ mes "[Rebellion]"; mes "Did you bring Damaged Weapons? Would you like to see that science criminal? He's in there. Want me to call him for you?"; mes "Or do you have business with me? I can exchange Weapon Modification Devices and Armor Modification Modules."; - cloakoffnpc "Elyumina#rm171_4", getcharid(0); + cloakoffnpcself( "Elyumina#rm171_4" ); npctalk "Rebellion: Hey, criminal. You're wanted.", "Rebellion#rm171_7", bc_self; npctalk "Elyumina: Alright, alright! I'm coming! You're so pathetic that without me, you'll have to fight with bean bags.", "Elyumina#rm171_4", bc_self; next; @@ -266,7 +266,7 @@ sp_cor,111,130,3 script Elyumina#rm171_4 4_EP17_ELYUMINA,{ mes "[Elyumina]"; mes "Argh! Why do you keep asking for me when I need to focus on my research? I'm busy, alright? If you're bored, go bring me more damaged weapons!"; close2; - cloakonnpc "Elyumina#rm171_3", getcharid(0); + cloakonnpcself( "Elyumina#rm171_3" ); cutin "",255; end; } diff --git a/npc/re/other/achievements.txt b/npc/re/other/achievements.txt index 72c74b1332..a827b1b5ff 100644 --- a/npc/re/other/achievements.txt +++ b/npc/re/other/achievements.txt @@ -15,7 +15,7 @@ OnTouch: if (.@num == 0) end; if (!achievementexists(.@num)) // Don't trigger if the player has already completed. - cloakoffnpc ("#tr" + .@num), getcharid(0); + cloakoffnpcself( ("#tr" + .@num) ); end; } @@ -277,7 +277,7 @@ yuno_fild11,141,357,4 duplicate(ach_treasure#touch) #wp120061 HIDDEN_WARP_NPC,5, end; if (!achievementexists(.@num)) achievementcomplete(.@num); - cloakonnpc strnpcinfo(0), getcharid(0); + cloakonnpcself(); end; OnInit: cloakonnpc(); diff --git a/npc/re/quests/quests_16_1.txt b/npc/re/quests/quests_16_1.txt index cc6d532586..8209090cc7 100644 --- a/npc/re/quests/quests_16_1.txt +++ b/npc/re/quests/quests_16_1.txt @@ -186,7 +186,7 @@ prt_cas,215,146,0 script #ep16_evt_01_on HIDDEN_WARP_NPC,1,1,{ end; OnTouch: if (isbegin_quest(7681) == 1) { - cloakoffnpc "Chamberlain Bell#ep16_01", getcharid(0); + cloakoffnpcself( "Chamberlain Bell#ep16_01" ); setpcblock PCBLOCK_NPC, true; sleep2 3000; setpcblock PCBLOCK_NPC, false; @@ -215,7 +215,7 @@ prt_cas,217,150,3 script Chamberlain Bell#ep16_01 4_M_RUSMAN1,{ mes "Let me go ahead and mall all the preparations."; mes "Come with me, please."; close2; - cloakonnpc "Chamberlain Bell#ep16_01", getcharid(0); + cloakonnpcself( "Chamberlain Bell#ep16_01" ); end; } end; @@ -231,7 +231,7 @@ prt_cas,163,163,0 script #ep16_evt_02_on HIDDEN_WARP_NPC,3,3,{ end; OnTouch: if (isbegin_quest(7681) == 1) { - cloakoffnpc "Chamberlain Bell#ep16_02", getcharid(0); + cloakoffnpcself( "Chamberlain Bell#ep16_02" ); npctalk "This way. Sir " + strcharinfo(0) + "...", "Chamberlain Bell#ep16_02", bc_self; } end; @@ -247,7 +247,7 @@ prt_cas,155,165,4 script Chamberlain Bell#ep16_02 4_M_RUSMAN1,{ mes "Let me tell you the story in detail after moving into the room."; mes "Come this way."; close2; - cloakonnpc "Chamberlain Bell#ep16_02", getcharid(0); + cloakonnpcself( "Chamberlain Bell#ep16_02" ); } end; } @@ -256,7 +256,7 @@ prt_cas_q,150,8,0 script #ep16_evt_03_on HIDDEN_WARP_NPC,1,1,{ end; OnTouch: if (isbegin_quest(7681) == 1) { - cloakoffnpc "Chamberlain Bell#ep16_03", getcharid(0); + cloakoffnpcself( "Chamberlain Bell#ep16_03" ); npctalk "This way. Sir " + strcharinfo(0) + "...", "Chamberlain Bell#ep16_03", bc_self; } end; @@ -274,7 +274,7 @@ prt_cas_q,135,10,4 script Chamberlain Bell#ep16_03 4_M_RUSMAN1,{ mes "You may find me when you need a help."; } close2; - cloakonnpc "Chamberlain Bell#ep16_03", getcharid(0); + cloakonnpcself( "Chamberlain Bell#ep16_03" ); end; } @@ -454,7 +454,7 @@ prt_cas_q,26,30,3 script Chamberlain Bell#ep16_main 4_M_RUSMAN1,{ mes "By the way, the Court Mage has visited just before."; mes "The Court Magician will be back soon after visiting other families."; next; - cloakoffnpc "Court Mage Nillem#ep16_wiz01", getcharid(0); + cloakoffnpcself( "Court Mage Nillem#ep16_wiz01" ); npctalk "Yeah! Here comes Nillem the genius mage!", "Court Mage Nillem#ep16_wiz01", bc_self; sleep2 1000; mes "[Belle]"; @@ -493,7 +493,7 @@ prt_cas_q,26,30,3 script Chamberlain Bell#ep16_main 4_M_RUSMAN1,{ npctalk "You are back already?", "", bc_self; setpcblock PCBLOCK_NPC, true; sleep2 1000; - cloakoffnpc "Court Mage Nillem#ep16_wiz01", getcharid(0); + cloakoffnpcself( "Court Mage Nillem#ep16_wiz01" ); npctalk "Oh! Here you are!", "Court Mage Nillem#ep16_wiz01", bc_self; sleep2 500; npctalk "Eh?", "", bc_self; @@ -600,7 +600,7 @@ prt_cas_q,26,30,3 script Chamberlain Bell#ep16_main 4_M_RUSMAN1,{ mes "Court Mage Nillem opened the door and left right away."; mes "Saying, 'Where are you?' " + strcharinfo(0) + " The magician must be looking for you."; close2; - cloakoffnpc "Court Mage Nillem#ep16_wiz01", getcharid(0); + cloakoffnpcself( "Court Mage Nillem#ep16_wiz01" ); npctalk "There you are!", "Court Mage Nillem#ep16_wiz01", bc_self; setpcblock PCBLOCK_NPC, true; sleep2 500; @@ -620,7 +620,7 @@ prt_cas_q,26,30,3 script Chamberlain Bell#ep16_main 4_M_RUSMAN1,{ close2; setpcblock PCBLOCK_NPC, true; sleep2 500; - cloakoffnpc "Court Mage Nillem#ep16_wiz01", getcharid(0); + cloakoffnpcself( "Court Mage Nillem#ep16_wiz01" ); sleep2 500; if (ep16_royal < 24) { npctalk "Thank you for using the million-call ticket today!", "Court Mage Nillem#ep16_wiz01", bc_self; @@ -691,7 +691,7 @@ prt_cas_q,26,30,3 script Chamberlain Bell#ep16_main 4_M_RUSMAN1,{ setpcblock PCBLOCK_NPC, true; sleep2 500; setpcblock PCBLOCK_NPC, false; - cloakoffnpc "Kafra Employee#ep16_s01", getcharid(0); + cloakoffnpcself( "Kafra Employee#ep16_s01" ); npctalk "Kafra Service.", "Kafra Employee#ep16_s01", bc_self; end; case 2: @@ -702,15 +702,15 @@ prt_cas_q,26,30,3 script Chamberlain Bell#ep16_main 4_M_RUSMAN1,{ setpcblock PCBLOCK_NPC, true; sleep2 500; setpcblock PCBLOCK_NPC, false; - cloakoffnpc "Giant Beast Manager#ep16_s02", getcharid(0); + cloakoffnpcself( "Giant Beast Manager#ep16_s02" ); npctalk "I am at your service.", "Giant Beast Manager#ep16_s02", bc_self; end; case 3: mes "[Belle]"; mes "I see."; close2; - cloakonnpc "Kafra Employee#ep16_s01", getcharid(0); - cloakonnpc "Giant Beast Manager#ep16_s02", getcharid(0); + cloakonnpcself( "Kafra Employee#ep16_s01" ); + cloakonnpcself( "Giant Beast Manager#ep16_s02" ); end; } } @@ -734,7 +734,7 @@ prt_cas_q,29,30,3 script Giant Beast Manager#ep16_s02 8W_SOLDIER,{ mes "[Giant Beast Manager]"; mes "I see. Then, good bye."; close2; - cloakonnpc "Giant Beast Manager#ep16_s02", getcharid(0); + cloakonnpcself( "Giant Beast Manager#ep16_s02" ); end; } if (getskilllv("KN_RIDING") < 1) { @@ -834,7 +834,7 @@ prt_cas_q,28,30,3 script Kafra Employee#ep16_s01 4_F_KAFRA2,{ mes "Thank you for using Kafra Service as always."; close2; cutin "",255; - cloakonnpc "Kafra Employee#ep16_s01", getcharid(0); + cloakonnpcself( "Kafra Employee#ep16_s01" ); end; } end; @@ -942,8 +942,8 @@ OnTouch: if (ep16_royal == 3) { mes "I hear voices from somewhere."; sleep2 2000; - cloakoffnpc "Mysterious Guest#ep16_01", getcharid(0); - cloakoffnpc "Chamberlain#ep16_01", getcharid(0); + cloakoffnpcself( "Mysterious Guest#ep16_01" ); + cloakoffnpcself( "Chamberlain#ep16_01" ); npctalk "The story you just have told must be true, right?", "Mysterious Guest#ep16_01", bc_self; sleep2 3000; npctalk "Sure. It will meet the condition you are looking for just right.", "Chamberlain#ep16_01", bc_self; @@ -960,11 +960,11 @@ OnTouch: sleep2 3000; npctalk "Right. I'll see you later. Don't you dare disappoint me.", "Mysterious Guest#ep16_01", bc_self; sleep2 3000; - cloakonnpc "Mysterious Guest#ep16_01", getcharid(0); + cloakonnpcself( "Mysterious Guest#ep16_01" ); sleep2 1000; npctalk "What a bossy pants...", "Chamberlain#ep16_01", bc_self; sleep2 1000; - cloakonnpc "Chamberlain#ep16_01", getcharid(0); + cloakonnpcself( "Chamberlain#ep16_01" ); next; mes "I happen to eavesdrop on a fishy conversation."; ep16_royal = 4; @@ -1044,7 +1044,7 @@ function script F_banquet_main_4_spica { mes "Oh, you are right? Nyhill! This way!"; npctalk "Nyhill?", "Spica Nerius#ep16_02", bc_self; next; - cloakoffnpc "Nyhill M. Heine#ep16_02", .@char_id; + cloakoffnpcself( "Nyhill M. Heine#ep16_02" ); cutin "ep16_nihi_miseria_heine01",2; mes "[Nyhill]"; mes "You don't have to scream like that, Skia."; @@ -1084,7 +1084,7 @@ function script F_banquet_main_4_spica { next; npctalk "You must have done something wrong, right?", "Spica Nerius#ep16_02", bc_self; sleep2 1000; - cloakoffnpc "Violeta#ep16_02", .@char_id; + cloakoffnpcself( "Violeta#ep16_02" ); npctalk "I am not surprised since it was Mijeria who had nothing!", "Violeta#ep16_02", bc_self; cutin "",255; mes "[Drunk Woman]"; @@ -1142,7 +1142,7 @@ function script F_banquet_main_4_spica { mes "Well, I'll get back."; mes "Since things have turned out this way, you better go to join the Nerius family, then! He!"; next; - cloakonnpc "Violeta#ep16_02", .@char_id; + cloakonnpcself( "Violeta#ep16_02" ); cutin "ep16_skia_nerius01",0; mes "[Skia]"; mes "How does the story go that way?"; @@ -1170,7 +1170,7 @@ function script F_banquet_main_4_spica { cutin "",255; mes "[Nyhill]"; mes "Skia, it is the same for you. You sometimes have to become a shadow yourself."; - cloakoffnpc "Royal Chamberlain#ep16_02", .@char_id; + cloakoffnpcself( "Royal Chamberlain#ep16_02" ); npctalk "Light champagne. Would you like some?", "Royal Chamberlain#ep16_02", bc_self; next; npctalk "Thanks.", "Nyhill M. Heine#ep16_02", bc_self; @@ -1179,7 +1179,7 @@ function script F_banquet_main_4_spica { mes "[Spica]"; mes "However, I didn't know you have been treated like that by the members of your own family."; next; - cloakonnpc "Royal Chamberlain#ep16_02", .@char_id; + cloakonnpcself( "Royal Chamberlain#ep16_02" ); npctalk ".....", "Nyhill M. Heine#ep16_02", bc_self; cutin "ep16_nihi_miseria_heine04",2; mes "[Nyhill]"; @@ -1198,7 +1198,7 @@ function script F_banquet_main_4_spica { npctalk "It was fun!", "Skia Nerius#ep16_02", bc_self; npctalk "...Which part of it was fun...?", "Crux Findel#ep16_02", bc_self; next; - cloakonnpc "Nyhill M. Heine#ep16_02", .@char_id; + cloakonnpcself( "Nyhill M. Heine#ep16_02" ); cutin "ep16_spica_nerius01",2; mes "[Spica]"; mes "...Hum..."; @@ -1257,8 +1257,8 @@ function script F_banquet_main_4_spica { sleep2 1000; npctalk "Yes, my lady.", "Crux Findel#ep16_02", bc_self; next; - cloakonnpc "Spica Nerius#ep16_02", .@char_id; - cloakonnpc "Crux Findel#ep16_02", .@char_id; + cloakonnpcself( "Spica Nerius#ep16_02" ); + cloakonnpcself( "Crux Findel#ep16_02" ); npctalk "How cold-hearted...", "Skia Nerius#ep16_02", bc_self; mes "[Skia]"; mes "Well, hero?"; @@ -1455,8 +1455,8 @@ OnTouch: unittalk getcharid(3), "" + .@name$ + " : ...Hum? Who's coming?", bc_self; setpcblock PCBLOCK_NPC, true; sleep2 2000; - cloakoffnpc "#ep16_7689_01", .@char_id; - cloakoffnpc "#ep16_7689_02", .@char_id; + cloakoffnpcself( "#ep16_7689_01" ); + cloakoffnpcself( "#ep16_7689_02" ); npctalk "How did it go?", "#ep16_7689_02", bc_self; sleep2 2000; npctalk "Hum... Not as much as I have wanted, but I seem to have a clue now.", "#ep16_7689_01", bc_self; @@ -1475,9 +1475,9 @@ OnTouch: sleep2 3000; npctalk "Then, let's get prepared for the big event.", "#ep16_7689_01", bc_self; sleep2 1000; - cloakonnpc "#ep16_7689_01", .@char_id; - cloakonnpc "#ep16_7689_02", .@char_id; - cloakoffnpc "Skia Nerius#ep16_7689", .@char_id; + cloakonnpcself( "#ep16_7689_01" ); + cloakonnpcself( "#ep16_7689_02" ); + cloakoffnpcself( "Skia Nerius#ep16_7689" ); npctalk "Did you find Nyhill?", "Skia Nerius#ep16_7689", bc_self; sleep2 1000; unittalk getcharid(3), "" + .@name$ + " : What the!", bc_self; @@ -1496,7 +1496,7 @@ OnTouch: } sleep2 3000; setpcblock PCBLOCK_NPC, false; - cloakonnpc "Skia Nerius#ep16_7689", .@char_id; + cloakonnpcself( "Skia Nerius#ep16_7689" ); } end; OnInit: @@ -1564,7 +1564,7 @@ prt_cas,25,35,5 script Skia Nerius#ep16_7690 4_EP16_SKIA,{ mes "[Nyhill]"; mes "Well, then. Please excuse me."; next; - cloakonnpc "Unstable Nyhill#ep16_7690", getcharid(0); + cloakonnpcself( "Unstable Nyhill#ep16_7690" ); cutin "ep16_skia_nerius03",0; mes "[Skia]"; mes "Whoa! He is fast."; @@ -1592,8 +1592,8 @@ prt_cas,27,43,0 script #ep16_evt_7690 HIDDEN_WARP_NPC,1,1,{ end; OnTouch: if (ep16_royal == 6) { - cloakoffnpc "Unstable Nyhill#ep16_7690", getcharid(0); - cloakoffnpc "Skia Nerius#ep16_7690", getcharid(0); + cloakoffnpcself( "Unstable Nyhill#ep16_7690" ); + cloakoffnpcself( "Skia Nerius#ep16_7690" ); setpcblock PCBLOCK_NPC, true; sleep2 1000; setpcblock PCBLOCK_NPC, false; @@ -1684,7 +1684,7 @@ prt_lib,91,85,3 script Mage Nillem#ep16_warp 4_M_JOB_WIZARD,{ mes "[Nillem]"; mes "Whoa! The gate to the next area has been activated!"; mes "Well, let's get in there!"; - cloakoffnpc "Room of Consciousness#evt_gate01", getcharid(0); + cloakoffnpcself( "Room of Consciousness#evt_gate01" ); close; case 9: mes "[Nillem]"; @@ -1799,7 +1799,7 @@ prt_lib,91,85,3 script Mage Nillem#ep16_warp 4_M_JOB_WIZARD,{ mes "I wonder what we are going to see this time!"; setquest 7700;// Once More! erasequest 7699;// To the Past - cloakoffnpc "Dimension Warper MkII#ep16_lib", getcharid(0); + cloakoffnpcself( "Dimension Warper MkII#ep16_lib" ); close; case 19: case 20: @@ -1808,7 +1808,7 @@ prt_lib,91,85,3 script Mage Nillem#ep16_warp 4_M_JOB_WIZARD,{ mes "We haven't solved all the secrets yet!"; mes "Well, we have to go back!"; next; - cloakoffnpc "Dimension Warper MkII#ep16_lib", getcharid(0); + cloakoffnpcself( "Dimension Warper MkII#ep16_lib" ); mes "[Nillem]"; mes "Let's finish it off this time!"; close; @@ -1817,7 +1817,7 @@ prt_lib,91,85,3 script Mage Nillem#ep16_warp 4_M_JOB_WIZARD,{ mes "What are you doing?"; mes "Go grill the librarian to dig out the truth!"; next; - cloakoffnpc "Kronecker G. Heine#ep16_01_lib01", getcharid(0); + cloakoffnpcself( "Kronecker G. Heine#ep16_01_lib01" ); mes "[Nillem]"; mes "What did we go through all the trouble for?"; mes "Look, there is Archduke Grantz."; @@ -1843,7 +1843,7 @@ prt_lib,91,85,3 script Mage Nillem#ep16_warp 4_M_JOB_WIZARD,{ mes "What would be waiting for us today?"; mes "I guess this would end up a failure again, though."; mes "Hahaha-"; - cloakoffnpc "Dimension Warper MkII#ep16_lib", getcharid(0); + cloakoffnpcself( "Dimension Warper MkII#ep16_lib" ); close; } } @@ -1923,11 +1923,11 @@ prt_lib,88,80,0 script #ep16_lib_evt01 HIDDEN_WARP_NPC,1,1,{ end; OnTouch: if (ep16_royal == 9) { - cloakoffnpc "Ian Walther#ep16_lib01", getcharid(0); - cloakoffnpc "Levuiere Wigner#ep16_lib01", getcharid(0); - cloakoffnpc "Maximilian Roegenburg#ep16_lib01", getcharid(0); - cloakoffnpc "Kronecker G. Heine#ep16_01_lib01", getcharid(0); - cloakoffnpc "Nyhill M. Heine#ep16_lib01", getcharid(0); + cloakoffnpcself( "Ian Walther#ep16_lib01" ); + cloakoffnpcself( "Levuiere Wigner#ep16_lib01" ); + cloakoffnpcself( "Maximilian Roegenburg#ep16_lib01" ); + cloakoffnpcself( "Kronecker G. Heine#ep16_01_lib01" ); + cloakoffnpcself( "Nyhill M. Heine#ep16_lib01" ); setpcblock PCBLOCK_NPC, true; sleep2 2000; npctalk "You are here at last.", "Ian Walther#ep16_lib01", bc_self; @@ -1936,7 +1936,7 @@ OnTouch: npctalk "I have something to tell you, special guest.", "Ian Walther#ep16_lib01", bc_self; } if (ep16_royal == 22) - cloakoffnpc "Kronecker G. Heine#ep16_01_lib01", getcharid(0); + cloakoffnpcself( "Kronecker G. Heine#ep16_01_lib01" ); end; OnInit: cloakonnpc "Ian Walther#ep16_lib01"; @@ -2148,8 +2148,8 @@ prt_lib,85,82,5 script Ian Walther#ep16_lib01 1_M_JOBTESTER,{ mes "[Nyhill]"; mes "That must be..."; next; - cloakonnpc "Kronecker G. Heine#ep16_01_lib01", .@char_id; - cloakoffnpc "Kronecker G. Heine#ep16_01_lib02", .@char_id; + cloakonnpcself( "Kronecker G. Heine#ep16_01_lib01" ); + cloakoffnpcself( "Kronecker G. Heine#ep16_01_lib02" ); mes "[Kronecker]"; mes "How troublesome."; mes "Have you seen this document before?"; @@ -2318,16 +2318,16 @@ prt_lib,85,82,5 script Ian Walther#ep16_lib01 1_M_JOBTESTER,{ sleep2 3000; npctalk "Is that so? Well, then. Please excuse me.", "Ian Walther#ep16_lib01", bc_self; sleep2 3000; - cloakonnpc "Ian Walther#ep16_lib01", .@char_id; + cloakonnpcself( "Ian Walther#ep16_lib01" ); sleep2 500; - cloakonnpc "Levuiere Wigner#ep16_lib01", .@char_id; - cloakonnpc "Maximilian Roegenburg#ep16_lib01", .@char_id; + cloakonnpcself( "Levuiere Wigner#ep16_lib01" ); + cloakonnpcself( "Maximilian Roegenburg#ep16_lib01" ); sleep2 500; npctalk "Nyhill, come with me.", "Kronecker G. Heine#ep16_01_lib02", bc_self; sleep2 3000; setpcblock PCBLOCK_NPC, false; - cloakonnpc "Kronecker G. Heine#ep16_01_lib02", .@char_id; - cloakonnpc "Nyhill M. Heine#ep16_lib01", .@char_id; + cloakonnpcself( "Kronecker G. Heine#ep16_01_lib02" ); + cloakonnpcself( "Nyhill M. Heine#ep16_lib01" ); end; } mes "[Ian Walther]"; @@ -2340,16 +2340,16 @@ prt_lib,85,82,5 script Ian Walther#ep16_lib01 1_M_JOBTESTER,{ sleep2 3000; npctalk "Is that so? Well, then. Please excuse me.", "Ian Walther#ep16_lib01", bc_self; sleep2 3000; - cloakonnpc "Ian Walther#ep16_lib01", .@char_id; + cloakonnpcself( "Ian Walther#ep16_lib01" ); sleep2 500; - cloakonnpc "Levuiere Wigner#ep16_lib01", .@char_id; - cloakonnpc "Maximilian Roegenburg#ep16_lib01", .@char_id; + cloakonnpcself( "Levuiere Wigner#ep16_lib01" ); + cloakonnpcself( "Maximilian Roegenburg#ep16_lib01" ); sleep2 500; npctalk "Nyhill, come with me.", "Kronecker G. Heine#ep16_01_lib02", bc_self; sleep2 3000; setpcblock PCBLOCK_NPC, false; - cloakonnpc "Kronecker G. Heine#ep16_01_lib02", .@char_id; - cloakonnpc "Nyhill M. Heine#ep16_lib01", .@char_id; + cloakonnpcself( "Kronecker G. Heine#ep16_01_lib02" ); + cloakonnpcself( "Nyhill M. Heine#ep16_lib01" ); end; } prt_lib,88,83,4 duplicate(Ian Walther#ep16_lib01) Levuiere Wigner#ep16_lib01 4_EP16_LOUVIERE @@ -2408,7 +2408,7 @@ prt_lib_q,91,85,3 script Nillem#ep16_lib_q 4_M_JOB_WIZARD,{ npctalk "Humph-!", bc_self; specialeffect EF_BEGINSPELL; next; - cloakoffnpc "Swaying Space#evt_gate02", getcharid(0); + cloakoffnpcself( "Swaying Space#evt_gate02" ); mes "[Nillem]"; mes "Connect the spaces by force!"; mes "Well, let's see what has happened here."; @@ -2420,7 +2420,7 @@ prt_lib_q,91,85,3 script Nillem#ep16_lib_q 4_M_JOB_WIZARD,{ close; } if (ep16_royal == 19) { - cloakoffnpc "Swaying Space#evt_gate02", getcharid(0); + cloakoffnpcself( "Swaying Space#evt_gate02" ); if (getcharid(1) == 0 || is_party_leader() == false) { mes "^4d4dffIt is an event which proceeds as a memorial."; mes "Only the party leader can proceed with a memorial event. Try again after forming a party.^000000"; @@ -2451,7 +2451,7 @@ prt_lib_q,91,85,3 script Nillem#ep16_lib_q 4_M_JOB_WIZARD,{ mes "[Nillem]"; mes "Whoa! The gate to the next area has been activated!"; mes "Well, let's get in there!"; - cloakoffnpc "Swaying Space#evt_gate02", getcharid(0); + cloakoffnpcself( "Swaying Space#evt_gate02" ); close; } if (ep16_royal == 20) { @@ -2643,7 +2643,7 @@ prt_lib_q,91,85,3 script Nillem#ep16_lib_q 4_M_JOB_WIZARD,{ mes "[Nillem]"; mes "Whoa! The gate to the next area has been activated!"; mes "Well, let's get in there!"; - cloakoffnpc "Swaying Space#evt_gate02", getcharid(0); + cloakoffnpcself( "Swaying Space#evt_gate02" ); close; case 2: mes "[Nillem]"; @@ -2684,7 +2684,7 @@ prt_lib_q,88,90,1 script Swaying Space#evt_gate02 4_ENERGY_RED,{ if (checkquest(7706,PLAYTIME) > 0 || checkquest(7705,HUNTING) > 1) { mes "The uneasy flow of magical power can be sensed near the twisted space."; mes "The gap connected by force disappeared after serving its duty."; - cloakonnpc "Swaying Space#evt_gate02", getcharid(0); + cloakonnpcself( "Swaying Space#evt_gate02" ); close; } if (getcharid(1) == 0 || is_party_leader() == false) {// solo instance @@ -3935,18 +3935,18 @@ prt_cas_q,30,128,0 script #ep16_evt_neriusroom HIDDEN_WARP_NPC,2,2,{ end; OnTouch: if (ep16_royal == 15) { - cloakonnpc "Bodyguard Crux#ep16_room01", getcharid(0); - cloakonnpc "Spica Nerius#ep16_room01", getcharid(0); - cloakonnpc "Skia Nerius#ep16_room01", getcharid(0); - cloakoffnpc "Spica Nerius#ep16_room02", getcharid(0); + cloakonnpcself( "Bodyguard Crux#ep16_room01" ); + cloakonnpcself( "Spica Nerius#ep16_room01" ); + cloakonnpcself( "Skia Nerius#ep16_room01" ); + cloakoffnpcself( "Spica Nerius#ep16_room02" ); } else if (ep16_royal > 2 && ep16_royal < 7) { - cloakonnpc "Bodyguard Crux#ep16_room01", getcharid(0); - cloakonnpc "Spica Nerius#ep16_room01", getcharid(0); - cloakonnpc "Skia Nerius#ep16_room01", getcharid(0); + cloakonnpcself( "Bodyguard Crux#ep16_room01" ); + cloakonnpcself( "Spica Nerius#ep16_room01" ); + cloakonnpcself( "Skia Nerius#ep16_room01" ); } else if (ep16_royal > 17) - cloakonnpc "Skia Nerius#ep16_room01", getcharid(0); + cloakonnpcself( "Skia Nerius#ep16_room01" ); end; } @@ -4235,7 +4235,7 @@ prt_cas_q,18,136,3 script Spica Nerius#ep16_room02 4_EP16_SPICA,{ mes "I invited you for no special reason."; mes "Since they keep calling for meetings to discuss what has happened during the ritual."; next; - cloakoffnpc "Nyhill M. Heine#ep16_nroom01", getcharid(0); + cloakoffnpcself( "Nyhill M. Heine#ep16_nroom01" ); mes "[Spica]"; mes "There comes lord of the Heine family."; mes "You seem to move around rather freely considering that you are under confinement."; @@ -4439,7 +4439,7 @@ prt_cas_q,20,184,3 script Ian Walther#ep16wal 1_M_JOBTESTER,5,5,{ S_Mysterious: if (isbegin_quest(14516) != 2) { - cloakoffnpc "Mysterious Person#ep16wal", getcharid(0); + cloakoffnpcself( "Mysterious Person#ep16wal" ); mes "[Man from the Richard]"; mes "Long time no see, Ian."; next; @@ -4502,7 +4502,7 @@ S_Mysterious: mes "[Man from the Richard]"; mes "Well, I cannot be absent for so long anyway. Let me head back now."; next; - cloakonnpc "Mysterious Person#ep16wal", getcharid(0); + cloakonnpcself( "Mysterious Person#ep16wal" ); mes "[Ian]"; mes "Argh... How dare...!"; mes "I shouldn't have worked with him in the first place. I lost my poor nephew for nothing."; @@ -5270,17 +5270,17 @@ prt_cas_q,30,78,0 script #ep16_heine_evt01 HIDDEN_WARP_NPC,1,1,{ end; OnTouch: if (ep16_royal == 2 && isbegin_quest(7683) == 0) { - cloakoffnpc "Nyhill M. Heine#ep16_01", getcharid(0); - cloakoffnpc "Peter Heine#ep16_01", getcharid(0); - cloakonnpc "Peter Heine#ep16_02", getcharid(0); + cloakoffnpcself( "Nyhill M. Heine#ep16_01" ); + cloakoffnpcself( "Peter Heine#ep16_01" ); + cloakonnpcself( "Peter Heine#ep16_02" ); } else if (ep16_royal < 10) { - cloakoffnpc "Peter Heine#ep16_01", getcharid(0); - cloakonnpc "Peter Heine#ep16_02", getcharid(0); + cloakoffnpcself( "Peter Heine#ep16_01" ); + cloakonnpcself( "Peter Heine#ep16_02" ); } else if (ep16_royal > 9) { - cloakonnpc "Peter Heine#ep16_01", getcharid(0); - cloakoffnpc "Peter Heine#ep16_02", getcharid(0); + cloakonnpcself( "Peter Heine#ep16_01" ); + cloakoffnpcself( "Peter Heine#ep16_02" ); } end; } @@ -5811,7 +5811,7 @@ OnTouch: sleep2 3000; npctalk "However, I have to bear all the responsibilities. I can't take it anymore.", "Nyhill M. Heine#ep16_0", bc_self; sleep2 1000; - cloakonnpc "Nyhill M. Heine#ep16_01", getcharid(0); + cloakonnpcself( "Nyhill M. Heine#ep16_01" ); sleep2 500; unittalk getcharid(3), "" + strcharinfo(0) + " : Oh, he left.", bc_self; sleep2 1000; @@ -5833,8 +5833,8 @@ prt_cas_q,141,36,0 script #ep16_evt_7686 HIDDEN_WARP_NPC,3,1,{ end; OnTouch: if (isbegin_quest(7683) == 2 && isbegin_quest(7686) == 0) { - cloakoffnpc "Skia#ep16_7686", getcharid(0); - cloakoffnpc "Nyhill#ep16_7686", getcharid(0); + cloakoffnpcself( "Skia#ep16_7686" ); + cloakoffnpcself( "Nyhill#ep16_7686" ); setpcblock PCBLOCK_NPC, true; sleep2 2000; npctalk "Are you the shadow princess whom people talk about?", "Nyhill#ep16_7686", bc_self; @@ -5883,12 +5883,12 @@ OnTouch: sleep2 3000; npctalk "Please excuse me now.", "Skia#ep16_7686", bc_self; sleep2 1000; - cloakonnpc "Skia#ep16_7686", getcharid(0); + cloakonnpcself( "Skia#ep16_7686" ); sleep2 3000; npctalk "...Skia... There is an interesting lady in the Nerius family.", "Nyhill#ep16_7686", bc_self; sleep2 3000; setpcblock PCBLOCK_NPC, false; - cloakonnpc "Nyhill#ep16_7686", getcharid(0); + cloakonnpcself( "Nyhill#ep16_7686" ); if (isbegin_quest(7686) == 0) { setquest 7686;// Nyhill and Skia completequest 7686;// Nyhill and Skia @@ -7106,7 +7106,7 @@ prt_cas_q,96,186,3 script Wolf Roegenburg#ep16lug 4_EP16_WOLF,{ mes "[Wolf]"; mes "Agnes, don't say that. it is not appropriate. We are telling the adventurer of the story of the Roegenburg..."; next; - cloakoffnpc "Myer Roegenburg#ep16lug", getcharid(0); + cloakoffnpcself( "Myer Roegenburg#ep16lug" ); cutin "16mye_nor",1; mes "[Myer]"; mes "Now, will my prince come with me?"; @@ -7163,7 +7163,7 @@ prt_cas_q,96,186,3 script Wolf Roegenburg#ep16lug 4_EP16_WOLF,{ mes "[Myer]"; mes "Yes, you are right. I think I am the unwelcome guest. I'd better leave. Agnes, I'll come back later."; next; - cloakonnpc "Myer Roegenburg#ep16lug", getcharid(0); + cloakonnpcself( "Myer Roegenburg#ep16lug" ); cutin "16agn_nor",2; mes "[Agnes]"; mes "Oh my god, I forgot. I have to make preparations!"; @@ -7233,7 +7233,7 @@ prt_cas_q,96,186,3 script Wolf Roegenburg#ep16lug 4_EP16_WOLF,{ mes "You just go to the ^0000cdWigner and bring a thing from Isaac^000000."; close3; } - cloakoffnpc "Myer Roegenburg#ep16lug", getcharid(0); + cloakoffnpcself( "Myer Roegenburg#ep16lug" ); cutin "16wol_nor",2; mes "[Wolf]"; mes "Dear adventurer, did you bring the thing? Oh, you have brought it. Thank you very much."; @@ -7564,7 +7564,7 @@ prt_cas_q,96,186,3 script Wolf Roegenburg#ep16lug 4_EP16_WOLF,{ mes "[Myer]"; mes "...Excuse me."; next; - cloakonnpc "Myer Roegenburg#ep16lug", getcharid(0); + cloakonnpcself( "Myer Roegenburg#ep16lug" ); cutin "16agn_ang",2; mes "[Agnes]"; mes "Myer! where are you going? Are going to leave the family again?"; @@ -7593,12 +7593,12 @@ prt_cas_q,96,186,3 script Wolf Roegenburg#ep16lug 4_EP16_WOLF,{ mes "......"; mes "Excuse me too."; next; - cloakonnpc "Helmut Roegenburg#ep16lug", getcharid(0); + cloakonnpcself( "Helmut Roegenburg#ep16lug" ); cutin "",255; mes "[Kalbern]"; mes "Lord Helmut! where are you going?"; next; - cloakonnpc "Kalbern#ep16lug", getcharid(0); + cloakonnpcself( "Kalbern#ep16lug" ); cutin "16wol_nor",2; mes "[Wolf]"; mes "......"; @@ -7831,13 +7831,13 @@ prt_cas_q,90,184,7 script #ep16lug004 HIDDEN_NPC,5,5,{ end; OnTouch: if (ep16_lug < 3) - cloakonnpc "Myer Roegenburg#ep16lug", getcharid(0); + cloakonnpcself( "Myer Roegenburg#ep16lug" ); else if (ep16_lug > 2 && ep16_lug < 7) - cloakoffnpc "Myer Roegenburg#ep16lug", getcharid(0); + cloakoffnpcself( "Myer Roegenburg#ep16lug" ); else if (ep16_lug > 6) { - cloakonnpc "Helmut Roegenburg#ep16lug", getcharid(0); - cloakonnpc "Myer Roegenburg#ep16lug", getcharid(0); - cloakonnpc "Kalbern#ep16lug", getcharid(0); + cloakonnpcself( "Helmut Roegenburg#ep16lug" ); + cloakonnpcself( "Myer Roegenburg#ep16lug" ); + cloakonnpcself( "Kalbern#ep16lug" ); } end; } @@ -7871,13 +7871,13 @@ prt_cas_q,74,189,5 script #ep16lug000 HIDDEN_NPC,5,5,{ end; OnTouch: if (ep16_lug < 3) - cloakonnpc "Myer Roegenburg#ep16lug", getcharid(0); + cloakonnpcself( "Myer Roegenburg#ep16lug" ); else if (ep16_lug > 2 && ep16_lug < 7) - cloakoffnpc "Myer Roegenburg#ep16lug", getcharid(0); + cloakoffnpcself( "Myer Roegenburg#ep16lug" ); else if (ep16_lug > 6) { - cloakonnpc "Helmut Roegenburg#ep16lug", getcharid(0); - cloakonnpc "Myer Roegenburg#ep16lug", getcharid(0); - cloakonnpc "Kalbern#ep16lug", getcharid(0); + cloakonnpcself( "Helmut Roegenburg#ep16lug" ); + cloakonnpcself( "Myer Roegenburg#ep16lug" ); + cloakonnpcself( "Kalbern#ep16lug" ); } end; } @@ -8186,7 +8186,7 @@ function script F_kids_roegenburg_quest { mes "[Harriet]"; mes "Ah, there he comes!, Jonathan! We have a guest."; next; - cloakoffnpc "Ordinary Man#ep16lug02", getcharid(0); + cloakoffnpcself( "Ordinary Man#ep16lug02" ); mes "[Myer]"; mes "Dear adventurer. What has brought you here?"; next; @@ -8439,7 +8439,7 @@ prontera,271,68,1 script Kiddo#ep16lug02 4_M_KID1,5,5,{ OnTouch: if (ep16_lug >= 12) - cloakoffnpc "Ordinary Man#ep16lug02", getcharid(0); + cloakoffnpcself( "Ordinary Man#ep16lug02" ); end; } @@ -10069,8 +10069,8 @@ prt_cas_q,82,21,1 script Levuiere Wigner#ep16wig 4_EP16_LOUVIERE,{ mes "Please visit our manor too if you have the time, dear adventurer. You are always welcome."; mes "Where is ^0000cdJurgen^000000 now?"; next; - cloakoffnpc "Jurgen Wigner#ep16wig00", getcharid(0); - cloakonnpc "Jurgen Wigner#ep16wig", getcharid(0); + cloakoffnpcself( "Jurgen Wigner#ep16wig00" ); + cloakonnpcself( "Jurgen Wigner#ep16wig" ); cutin "16jur_nor",0; mes "[Jurgen]"; mes "Are you looking for me?"; @@ -10092,8 +10092,8 @@ prt_cas_q,82,21,1 script Levuiere Wigner#ep16wig 4_EP16_LOUVIERE,{ mes "[Jurgen]"; mes "Then, please excuse me."; next; - cloakonnpc "Jurgen Wigner#ep16wig00", getcharid(0); - cloakoffnpc "Jurgen Wigner#ep16wig", getcharid(0); + cloakonnpcself( "Jurgen Wigner#ep16wig00" ); + cloakoffnpcself( "Jurgen Wigner#ep16wig" ); cutin "",255; mes "[Levuiere]"; mes "Tut, I am worried that he lacks sociability. He would have to meet a lot of people as the heir of the house, you know. Dear adventurer, please excuse my son's discourtesy."; @@ -10224,7 +10224,7 @@ prt_cas_q,82,21,1 script Levuiere Wigner#ep16wig 4_EP16_LOUVIERE,{ next; mes "[" + strcharinfo(0) + "]"; mes "You two stay here. It might be dangerous. Let me go take a look first."; - cloakonnpc "Isaac Wigner#ep16wig", getcharid(0); + cloakonnpcself( "Isaac Wigner#ep16wig" ); erasequest 14476;// To Levuiere and His Wife setquest 14477;// What Is Going on? ep16_wig = 3; @@ -10483,7 +10483,7 @@ prt_cas_q,95,9,5 script Jurgen Wigner#ep16wig 4_M_4THPRIN1,{ else { mes "Oh, there he goes again. I should get going now. Dear adventurer, I would like to see you later."; next; - cloakonnpc "Isaac Wigner#ep16wig", getcharid(0); + cloakonnpcself( "Isaac Wigner#ep16wig" ); } cutin "16kat_nor",2; mes "[Katrin]"; @@ -10569,7 +10569,7 @@ prt_cas_q,95,9,5 script Jurgen Wigner#ep16wig 4_M_4THPRIN1,{ mes "[Jurgen]"; mes "What a nonsense! Phew... This is exactly why I have told her to open her heart to others and talk more..."; next; - cloakoffnpc "Katrin Wigner#ep16wig", getcharid(0); + cloakoffnpcself( "Katrin Wigner#ep16wig" ); cutin "16kat_nor",2; mes "[Katrin]"; mes "Why should I do that? I don't care about the people who don't know me well anyway."; @@ -10649,7 +10649,7 @@ prt_cas_q,95,9,5 script Jurgen Wigner#ep16wig 4_M_4THPRIN1,{ mes "[" + strcharinfo(0) + "]"; mes "Both of you should calm down."; next; - cloakoffnpc "Isaac Wigner#ep16wig", getcharid(0); + cloakoffnpcself( "Isaac Wigner#ep16wig" ); cutin "16isa",1; mes "[Isaac]"; mes "Yes. Whatever it is, you'd better calm down. I could hear you yelling at each other from the other end of the hallway."; @@ -10722,7 +10722,7 @@ prt_cas_q,95,9,5 script Jurgen Wigner#ep16wig 4_M_4THPRIN1,{ mes "[Katrin]"; mes "That's all right now. I'll forget it all. You don't have to care about it either."; next; - cloakonnpc "Katrin Wigner#ep16wig", getcharid(0); + cloakonnpcself( "Katrin Wigner#ep16wig" ); cutin "16isa",1; mes "[Isaac]"; mes "She walks so fast. What was it all about?"; @@ -11017,7 +11017,7 @@ prt_cas_q,95,9,5 script Jurgen Wigner#ep16wig 4_M_4THPRIN1,{ mes "[Isaac]"; mes "I have already called her."; next; - cloakoffnpc "Katrin Wigner#ep16wig", getcharid(0); + cloakoffnpcself( "Katrin Wigner#ep16wig" ); cutin "16kat_nor",2; mes "[Katrin]"; mes "Why do you keep calling me? Please leave me alone for that I am not mad at you any more."; @@ -11116,7 +11116,7 @@ prt_cas_q,95,9,5 script Jurgen Wigner#ep16wig 4_M_4THPRIN1,{ mes "Thanks to your help, we have never been better than this."; mes "I've been talking to my sister much more, and.."; next; - cloakoffnpc "Maid#ep16wig01", getcharid(0); + cloakoffnpcself( "Maid#ep16wig01" ); cutin "",255; mes "[Maid]"; mes "Excuse me."; @@ -11167,7 +11167,7 @@ prt_cas_q,95,9,5 script Jurgen Wigner#ep16wig 4_M_4THPRIN1,{ mes "Then, I should get going."; mes "I am supposed to clean the room when there is no one inside anyway. Please excuse me."; next; - cloakonnpc "Maid#ep16wig01", getcharid(0); + cloakonnpcself( "Maid#ep16wig01" ); cutin "16jur_sim",0; mes "[Jurgen]"; mes "You shouldn't have to... Well, she's gone..."; @@ -11640,7 +11640,7 @@ prt_cas_q,96,7,1 script Katrin Wigner#ep16wig 4_EP16_POE,{ mes "Should I..."; mes "Then, please help me, dear adventurer. I'll go search other pleases then."; next; - cloakonnpc "Katrin Wigner#ep16wig", getcharid(0); + cloakonnpcself( "Katrin Wigner#ep16wig" ); cutin "16jur_nor",0; mes "[Jurgen]"; mes "Please, help her. I have heard that ^0000cdthe maids are in the kitchen^000000."; @@ -11781,7 +11781,7 @@ prt_cas_q,94,7,7 script Isaac Wigner#ep16wig 4_EP16_ISAAC,{ next; mes "[Isaac]"; mes "Please excuse me then."; - cloakonnpc "Isaac Wigner#ep16wig", getcharid(0); + cloakonnpcself( "Isaac Wigner#ep16wig" ); } erasequest 14496;// To Isaac setquest 14497;// Delivery for Wolf @@ -11800,7 +11800,7 @@ prt_cas_q,94,7,7 script Isaac Wigner#ep16wig 4_EP16_ISAAC,{ next; mes "[Isaac]"; mes "Please excuse me then."; - cloakonnpc "Isaac Wigner#ep16wig", getcharid(0); + cloakonnpcself( "Isaac Wigner#ep16wig" ); } close3; } @@ -11845,7 +11845,7 @@ prt_cas_q,94,7,7 script Isaac Wigner#ep16wig 4_EP16_ISAAC,{ next; mes "[Isaac]"; mes "Please excuse me then."; - cloakonnpc "Isaac Wigner#ep16wig", getcharid(0); + cloakonnpcself( "Isaac Wigner#ep16wig" ); } delitem 6931,1;// Secret_Documents erasequest 14502;// To Isaac @@ -11869,7 +11869,7 @@ prt_cas_q,94,7,7 script Isaac Wigner#ep16wig 4_EP16_ISAAC,{ next; mes "[Isaac]"; mes "Please excuse me then."; - cloakonnpc "Isaac Wigner#ep16wig", getcharid(0); + cloakonnpcself( "Isaac Wigner#ep16wig" ); } close3; } @@ -12028,26 +12028,26 @@ prt_cas_q,74,21,5 script #ep16wig003 HIDDEN_NPC,5,5,{ end; OnTouch: if (ep16_wig == 2 || ep16_wig == 3) { - cloakoffnpc "Katrin Wigner#ep16wig", getcharid(0); + cloakoffnpcself( "Katrin Wigner#ep16wig" ); if (ep16_lug == 2 || ep16_lug == 7) - cloakoffnpc "Isaac Wigner#ep16wig", getcharid(0); + cloakoffnpcself( "Isaac Wigner#ep16wig" ); else - cloakonnpc "Isaac Wigner#ep16wig", getcharid(0); + cloakonnpcself( "Isaac Wigner#ep16wig" ); } else if (ep16_wig > 3 && ep16_wig < 15) { - cloakonnpc "Katrin Wigner#ep16wig", getcharid(0); + cloakonnpcself( "Katrin Wigner#ep16wig" ); if (ep16_lug == 2 || ep16_lug == 7) - cloakoffnpc "Isaac Wigner#ep16wig", getcharid(0); + cloakoffnpcself( "Isaac Wigner#ep16wig" ); else - cloakonnpc "Isaac Wigner#ep16wig", getcharid(0); + cloakonnpcself( "Isaac Wigner#ep16wig" ); } else if (ep16_wig == 15) { - cloakonnpc "Katrin Wigner#ep16wig", getcharid(0); - cloakoffnpc "Isaac Wigner#ep16wig", getcharid(0); + cloakonnpcself( "Katrin Wigner#ep16wig" ); + cloakoffnpcself( "Isaac Wigner#ep16wig" ); } else { - cloakoffnpc "Katrin Wigner#ep16wig", getcharid(0); - cloakoffnpc "Isaac Wigner#ep16wig", getcharid(0); + cloakoffnpcself( "Katrin Wigner#ep16wig" ); + cloakoffnpcself( "Isaac Wigner#ep16wig" ); } end; } @@ -12056,26 +12056,26 @@ prt_cas_q,95,7,5 script #ep16wig004 HIDDEN_NPC,5,5,{ end; OnTouch: if (ep16_wig == 2 || ep16_wig == 3) { - cloakoffnpc "Katrin Wigner#ep16wig", getcharid(0); + cloakoffnpcself( "Katrin Wigner#ep16wig" ); if (ep16_lug == 2 || ep16_lug == 7) - cloakoffnpc "Isaac Wigner#ep16wig", getcharid(0); + cloakoffnpcself( "Isaac Wigner#ep16wig" ); else - cloakonnpc "Isaac Wigner#ep16wig", getcharid(0); + cloakonnpcself( "Isaac Wigner#ep16wig" ); } else if (ep16_wig > 3 && ep16_wig < 15) { - cloakonnpc "Katrin Wigner#ep16wig", getcharid(0); + cloakonnpcself( "Katrin Wigner#ep16wig" ); if (ep16_lug == 2 || ep16_lug == 7) - cloakoffnpc "Isaac Wigner#ep16wig", getcharid(0); + cloakoffnpcself( "Isaac Wigner#ep16wig" ); else - cloakonnpc "Isaac Wigner#ep16wig", getcharid(0); + cloakonnpcself( "Isaac Wigner#ep16wig" ); } else if (ep16_wig == 15) { - cloakonnpc "Katrin Wigner#ep16wig", getcharid(0); - cloakoffnpc "Isaac Wigner#ep16wig", getcharid(0); + cloakonnpcself( "Katrin Wigner#ep16wig" ); + cloakoffnpcself( "Isaac Wigner#ep16wig" ); } else { - cloakoffnpc "Katrin Wigner#ep16wig", getcharid(0); - cloakoffnpc "Isaac Wigner#ep16wig", getcharid(0); + cloakoffnpcself( "Katrin Wigner#ep16wig" ); + cloakoffnpcself( "Isaac Wigner#ep16wig" ); } end; } @@ -14930,7 +14930,7 @@ prt_q,221,193,0 script Lad Quest_START#EP161QU01 HIDDEN_WARP_NPC,6,6,{ end; OnTouch: if (isbegin_quest(5448) == 1) { - cloakoffnpc "Village Lad#EP161HO01", getcharid(0); + cloakoffnpcself( "Village Lad#EP161HO01" ); npctalk "Village Lad: Arghhhhhh!", "Village Lad#EP161HO01", bc_self; } end; @@ -14964,7 +14964,7 @@ prt_q,221,193,4 script Village Lad#EP161HO01 4_M_03,{ mes "Do you see me? How strange. I am not supposed to be seen."; close2; } - cloakonnpc "Village Lad#EP161HO01", getcharid(0); + cloakonnpcself( "Village Lad#EP161HO01" ); end; OnInit: @@ -15004,9 +15004,9 @@ prt_q,79,96,7 script Soldier#EP161HO02 8W_SOLDIER,5,5,{ OnTouch: if (isbegin_quest(5453) == 1 || isbegin_quest(5455) == 1) - cloakoffnpc "Village Lad#EP161HO03", getcharid(0); + cloakoffnpcself( "Village Lad#EP161HO03" ); if (isbegin_quest(5461) == 1) - cloakoffnpc "Soldier#EP161HU03", getcharid(0); + cloakoffnpcself( "Soldier#EP161HU03" ); end; } @@ -15044,7 +15044,7 @@ prt_q,77,98,8 script Village Lad#EP161HO03 4_M_03,{ mes "[Village Lad]"; mes "Oh! Never mind. I am counting on you."; close2; - cloakonnpc "Village Lad#EP161HO03", getcharid(0); + cloakonnpcself( "Village Lad#EP161HO03" ); end; } if (isbegin_quest(5455) == 1) { @@ -15065,13 +15065,13 @@ prt_q,77,98,8 script Village Lad#EP161HO03 4_M_03,{ mes "[Village Lad]"; mes "Thank you. Farewell."; close2; - cloakonnpc "Village Lad#EP161HO03", getcharid(0); + cloakonnpcself( "Village Lad#EP161HO03" ); end; } mes "[Village Lad]"; mes "Do you see me? How strange. I am not supposed to be seen."; close2; - cloakonnpc "Village Lad#EP161HO03", getcharid(0); + cloakonnpcself( "Village Lad#EP161HO03" ); end; OnInit: @@ -15208,7 +15208,7 @@ prt_q,276,242,0 script Girl Quest_START#EP161QU02 HIDDEN_WARP_NPC,6,6,{ end; OnTouch: if (isbegin_quest(5449) == 1 && isbegin_quest(5457) == 0) { - cloakoffnpc "Girl#EP161GU01", getcharid(0); + cloakoffnpcself( "Girl#EP161GU01" ); npctalk "Girl: Awwww...", "Girl#EP161GU01", bc_self; } end; @@ -15239,13 +15239,13 @@ prt_q,276,242,4 script Girl#EP161GU01 4_F_RUSCHILD,{ mes "[Lowen]"; mes "We promised to meet at the cathedral when we are lost. I believe she would be there in the church."; close2; - cloakonnpc "Girl#EP161GU01", getcharid(0); + cloakonnpcself( "Girl#EP161GU01" ); end; } mes "[Lowen]"; mes "Oh? Do you see me? How strange. I am not supposed to be seen."; close2; - cloakonnpc "Girl#EP161GU01", getcharid(0); + cloakonnpcself( "Girl#EP161GU01" ); end; OnInit: @@ -15312,12 +15312,12 @@ prt_q,235,315,4 script Cathedral Knight#EP161GU04 4_F_CRU,5,5,{ OnTouch: if (isbegin_quest(5457) == 1) - cloakoffnpc "Girl#EP161GU03", getcharid(0); + cloakoffnpcself( "Girl#EP161GU03" ); if (isbegin_quest(5463) == 1 || isbegin_quest(5467) == 1) - cloakoffnpc "Eryus#EP161BU02", getcharid(0); + cloakoffnpcself( "Eryus#EP161BU02" ); else if (isbegin_quest(5465) == 1) { - cloakoffnpc "Eryus#EP161BU02", getcharid(0); - cloakoffnpc "Female#EP161BU04", getcharid(0); + cloakoffnpcself( "Eryus#EP161BU02" ); + cloakoffnpcself( "Female#EP161BU04" ); } end; } @@ -15445,13 +15445,13 @@ prt_q,229,317,6 script Girl#EP161GU03 4_F_RUSCHILD,{ mes "[PecoPeco Mechanic]"; mes "Thank you. Please take care of her."; close2; - cloakonnpc "Girl#EP161GU03", getcharid(0); + cloakonnpcself( "Girl#EP161GU03" ); end; } mes "[Lowen]"; mes "Oh? Do you see me? How strange. I am not supposed to be seen."; close2; - cloakonnpc "Girl#EP161GU03", getcharid(0); + cloakonnpcself( "Girl#EP161GU03" ); end; OnInit: @@ -15485,11 +15485,11 @@ prt_q,52,340,6 script Knight Gray#EP161GU05 2_M_SWORDMASTER,7,7,{ OnTouch: if (isbegin_quest(5458) == 1) { - cloakoffnpc "Girl#EP161GU06", getcharid(0); - cloakoffnpc "Rosa Erinin#EP161GU07", getcharid(0); + cloakoffnpcself( "Girl#EP161GU06" ); + cloakoffnpcself( "Rosa Erinin#EP161GU07" ); } if (isbegin_quest(5460) == 1) { - cloakoffnpc "Soldier#EP161HU02", getcharid(0); + cloakoffnpcself( "Soldier#EP161HU02" ); npctalk "Soldier: Hey you! Here! This way...", "Soldier#EP161HU02", bc_self; } end; @@ -15534,21 +15534,21 @@ prt_q,55,347,6 script Rosa Erinin#EP161GU07 4W_F_01,{ mes "[Lowen]"; mes "Thank you. Goodbye!"; close2; - cloakonnpc "Rosa Erinin#EP161GU07", getcharid(0); - cloakonnpc "Girl#EP161GU06", getcharid(0); + cloakonnpcself( "Rosa Erinin#EP161GU07" ); + cloakonnpcself( "Girl#EP161GU06" ); end; } if (strnpcinfo(1) == "Girl") { mes "[Lowen]"; mes "Oh? Do you see me? How strange. I am not supposed to be seen."; close2; - cloakonnpc "Girl#EP161GU06", getcharid(0); + cloakonnpcself( "Girl#EP161GU06" ); end; } mes "[Rosa Erinin]"; mes "Dear adventurer, do you see me? Strange. I am not supposed to be seen."; close2; - cloakonnpc "Rosa Erinin#EP161GU07", getcharid(0); + cloakonnpcself( "Rosa Erinin#EP161GU07" ); end; OnInit: @@ -15562,7 +15562,7 @@ prt_q,140,304,0 script Soldier Quest_START#EP161QU03 HIDDEN_WARP_NPC,7,7,{ end; OnTouch: if (isbegin_quest(5450) == 1) { - cloakoffnpc "Soldier#EP161HU01", getcharid(0); + cloakoffnpcself( "Soldier#EP161HU01" ); npctalk "Soldier: Argh! Don't come this way!", "Soldier#EP161HU01", bc_self; } } @@ -15609,13 +15609,13 @@ prt_q,140,304,6 script Soldier#EP161HU01 4_M_GEF_SOLDIER,{ mes "[Soldier]"; mes "Good. Since I am tired from the previous battle, please escort me to the Knight's building."; close2; - cloakonnpc "Soldier#EP161HU01", getcharid(0); + cloakonnpcself( "Soldier#EP161HU01" ); end; } mes "[Soldier]"; mes "Haha, do you see me? Strange. I am not supposed to be seen."; close2; - cloakonnpc "Soldier#EP161HU01", getcharid(0); + cloakonnpcself( "Soldier#EP161HU01" ); end; } @@ -15645,13 +15645,13 @@ prt_q,68,336,4 script Soldier#EP161HU02 4_M_GEF_SOLDIER,{ mes "[Soldier]"; mes "Since I want to save my energy for the battle, please escort me to the village office."; close2; - cloakonnpc "Soldier#EP161HU02", getcharid(0); + cloakonnpcself( "Soldier#EP161HU02" ); end; } mes "[Soldier]"; mes "Haha, do you see me? Strange. I am not supposed to be seen."; close2; - cloakonnpc "Soldier#EP161HU02", getcharid(0); + cloakonnpcself( "Soldier#EP161HU02" ); end; OnInit: @@ -15709,13 +15709,13 @@ prt_q,79,102,8 script Soldier#EP161HU03 4_M_GEF_SOLDIER,{ mes "[Soldier]"; mes "Good luck."; close2; - cloakonnpc "Soldier#EP161HU03", getcharid(0); + cloakonnpcself( "Soldier#EP161HU03" ); end; } mes "[Soldier]"; mes "Haha, do you see me? Strange. I am not supposed to be seen."; close2; - cloakonnpc "Soldier#EP161HU03", getcharid(0); + cloakonnpcself( "Soldier#EP161HU03" ); end; OnInit: @@ -15728,7 +15728,7 @@ prt_q,38,261,0 script Married couple Quest_START#EP161QU04 HIDDEN_WARP_NPC,6,6,{ end; OnTouch: if (isbegin_quest(5451) == 1) { - cloakoffnpc "Eryus#EP161BU01", getcharid(0); + cloakoffnpcself( "Eryus#EP161BU01" ); npctalk "Eryus: Ellie! Where are you? Honey! My love!", "Eryus#EP161BU01", bc_self; } end; @@ -15779,13 +15779,13 @@ prt_q,38,261,6 script Eryus#EP161BU01 4_F_03,{ mes "[Eryus]"; mes "Awww... Please help me. Please find my wife."; close2; - cloakonnpc "Eryus#EP161BU01", getcharid(0); + cloakonnpcself( "Eryus#EP161BU01" ); end; } mes "[Eryus]"; mes "Awww... I need to find my wife... And I am not supposed to be seen."; close2; - cloakonnpc "Eryus#EP161BU01", getcharid(0); + cloakonnpcself( "Eryus#EP161BU01" ); end; OnInit: @@ -15865,7 +15865,7 @@ prt_q,231,310,4 script Eryus#EP161BU02 4_F_03,{ mes "[Eryus]"; mes "Would you do that for us? Please. We are running out of time. Ellie. hold on..."; close2; - cloakonnpc "Female#EP161BU04", getcharid(0); + cloakonnpcself( "Female#EP161BU04" ); end; } if (isbegin_quest(5466) == 1) { @@ -15886,13 +15886,13 @@ prt_q,231,310,4 script Eryus#EP161BU02 4_F_03,{ mes "[Eryus]"; mes "Thank you so much. God bless your journey..."; close2; - cloakonnpc "Eryus#EP161BU02", getcharid(0); + cloakonnpcself( "Eryus#EP161BU02" ); end; } mes "[Eryus]"; mes "Awww... I need to find my wife... And I am not supposed to be seen."; close2; - cloakonnpc "Eryus#EP161BU02", getcharid(0); + cloakonnpcself( "Eryus#EP161BU02" ); end; OnInit: @@ -15927,10 +15927,10 @@ prt_q,108,164,4 script Female#EP161BU03 4W_F_01,{ mes "[Ellie]"; mes "Thank you, dear adventurer."; close2; - cloakonnpc "Female#EP161BU03", getcharid(0); + cloakonnpcself( "Female#EP161BU03" ); end; } - cloakonnpc "Female#EP161BU03", getcharid(0); + cloakonnpcself( "Female#EP161BU03" ); mes "[Ellie]"; mes "Dear adventurer, do you see me? This is not good."; close; @@ -15980,20 +15980,20 @@ prt_q,229,310,6 script Female#EP161BU04 4W_F_01,{ mes "[Eryus]"; mes "Would you do that for us? Please. We are running out of time. Ellie. hold on..."; close2; - cloakonnpc "Female#EP161BU04", getcharid(0); + cloakonnpcself( "Female#EP161BU04" ); end; } if (isbegin_quest(5466) == 1) { mes "[Ellie]"; mes "Cough... Cough... Cough..."; close2; - cloakonnpc "Female#EP161BU04", getcharid(0); + cloakonnpcself( "Female#EP161BU04" ); end; } mes "[Ellie]"; mes "Dear adventurer, do you see me? This is not good."; close2; - cloakonnpc "Female#EP161BU04", getcharid(0); + cloakonnpcself( "Female#EP161BU04" ); end; OnInit: @@ -16005,7 +16005,7 @@ prt_q,111,166,0 script Emergency Medicine#EP161BU05 HIDDEN_WARP_NPC,6,6,{ end; OnTouch: if (isbegin_quest(5464) == 1) - cloakoffnpc "Female#EP161BU03", getcharid(0); + cloakoffnpcself( "Female#EP161BU03" ); else if (isbegin_quest(5466) == 1) { mes "It seems to be the bundle of medicine dropped by Ellie while running."; next; diff --git a/npc/re/quests/quests_16_2.txt b/npc/re/quests/quests_16_2.txt index 907aa540e9..8bd5493f92 100644 --- a/npc/re/quests/quests_16_2.txt +++ b/npc/re/quests/quests_16_2.txt @@ -14,20 +14,20 @@ OnTouch: if (ep16_royal < 17) // pre-req : access to room of consciousness (first time) end; if (terra_gloria_main == 0) { - cloakoffnpc "Nihil M. Heine#ep162_01", getcharid(0); - cloakoffnpc "Skia Nerius#ep162_02", getcharid(0); + cloakoffnpcself( "Nihil M. Heine#ep162_01" ); + cloakoffnpcself( "Skia Nerius#ep162_02" ); } else if (terra_gloria_main == 1 || terra_gloria_main == 2) { - cloakoffnpc "Nihil M. Heine#ep162_01", getcharid(0); - cloakoffnpc "Skia Nerius#ep162_02", getcharid(0); - cloakoffnpc "Spica Nerius#ep162_01", getcharid(0); + cloakoffnpcself( "Nihil M. Heine#ep162_01" ); + cloakoffnpcself( "Skia Nerius#ep162_02" ); + cloakoffnpcself( "Spica Nerius#ep162_01" ); } else if (terra_gloria_main == 6) { // first back from Lighthalzen - cloakoffnpc "Nihil M. Heine#ep162_01", getcharid(0); - cloakoffnpc "Spica Nerius#ep162_01", getcharid(0); + cloakoffnpcself( "Nihil M. Heine#ep162_01" ); + cloakoffnpcself( "Spica Nerius#ep162_01" ); } else if (terra_gloria_main == 23) - cloakoffnpc "Skia Nerius#ep162_01", getcharid(0); + cloakoffnpcself( "Skia Nerius#ep162_01" ); end; } @@ -89,7 +89,7 @@ prt_cas_q,21,39,3 script Nihil M. Heine#ep162_01 4_EP16_NIHIL,{ sleep2 2000; npctalk "She has arrived.", "Nihil M. Heine#ep162_01", bc_self; npctalk "Thank you for coming.", "Spica Nerius#ep162_01", bc_self; - cloakoffnpc "Spica Nerius#ep162_01", getcharid(0); + cloakoffnpcself( "Spica Nerius#ep162_01" ); terra_gloria_main = 1; sleep2 2000; setpcblock PCBLOCK_NPC, false; @@ -150,9 +150,9 @@ prt_cas_q,21,39,3 script Nihil M. Heine#ep162_01 4_EP16_NIHIL,{ mes "Now, please excuse me."; close2; cutin "",255; - cloakonnpc "Nihil M. Heine#ep162_01", getcharid(0); - cloakonnpc "Spica Nerius#ep162_01", getcharid(0); - cloakonnpc "Skia Nerius#ep162_02", getcharid(0); + cloakonnpcself( "Nihil M. Heine#ep162_01" ); + cloakonnpcself( "Spica Nerius#ep162_01" ); + cloakonnpcself( "Skia Nerius#ep162_02" ); end; } if (terra_gloria_main == 6) { @@ -203,7 +203,7 @@ prt_cas_q,21,39,3 script Nihil M. Heine#ep162_01 4_EP16_NIHIL,{ cutin "ep16_spica_nerius06.bmp",1; mes "[Spica]"; mes "Because I trust Crux."; - cloakoffnpc "Crux#ep162_03", getcharid(0); + cloakoffnpcself( "Crux#ep162_03" ); next; cutin "ep16_crux_findel01.bmp",0; mes "[Crux]"; @@ -317,7 +317,7 @@ prt_cas_q,21,39,3 script Nihil M. Heine#ep162_01 4_EP16_NIHIL,{ mes "It depends on how the Schwartz government reacts to us."; cutin "ep16_nihi_miseria_heine04.bmp",2; next; - cloakonnpc "Crux#ep162_03", getcharid(0); + cloakonnpcself( "Crux#ep162_03" ); cutin "ep16_spica_nerius07.bmp",1; mes "[Spica]"; mes "For that issue, please trust the next leader of the Nerius family."; @@ -333,8 +333,8 @@ prt_cas_q,21,39,3 script Nihil M. Heine#ep162_01 4_EP16_NIHIL,{ npctalk "I am going too.", "", bc_self; sleep2 2000; setpcblock PCBLOCK_NPC, false; - cloakonnpc "Nihil M. Heine#ep162_01", getcharid(0); - cloakonnpc "Spica Nerius#ep162_01", getcharid(0); + cloakonnpcself( "Nihil M. Heine#ep162_01" ); + cloakonnpcself( "Spica Nerius#ep162_01" ); cutin "",255; end; } @@ -460,9 +460,9 @@ prt_cas_q,23,36,3 script Spica Nerius#ep162_01 4_EP16_SPICA,{ mes "Now, please excuse me."; close2; cutin "",255; - cloakonnpc "Nihil M. Heine#ep162_01", getcharid(0); - cloakonnpc "Spica Nerius#ep162_01", getcharid(0); - cloakonnpc "Skia Nerius#ep162_02", getcharid(0); + cloakonnpcself( "Nihil M. Heine#ep162_01" ); + cloakonnpcself( "Spica Nerius#ep162_01" ); + cloakonnpcself( "Skia Nerius#ep162_02" ); end; } } @@ -535,7 +535,7 @@ prt_cas_q,18,37,5 script Skia Nerius#ep162_01 4_EP16_SKIA,{ } cutin "ep16_spica_nerius01.bmp",1; next; - cloakoffnpc "Spica Nerius#ep162_01", getcharid(0); + cloakoffnpcself( "Spica Nerius#ep162_01" ); npctalk "Could you tell me slowly?", "Spica Nerius#ep162_01", bc_self; mes "Skia told Spica about her symptoms."; next; @@ -567,7 +567,7 @@ prt_cas_q,18,37,5 script Skia Nerius#ep162_01 4_EP16_SKIA,{ mes "[Bel]"; mes "Prince Grantz has arrived."; next; - cloakoffnpc "Kronecker G. Heine#ep162", getcharid(0); + cloakoffnpcself( "Kronecker G. Heine#ep162" ); mes "[Kronecker]"; mes "Hmm. The esteemed daughters of the Nerius family are here too."; mes "First of all, " + strcharinfo(0) + " I have come to show my gratitude to you."; @@ -632,7 +632,7 @@ prt_cas_q,18,37,5 script Skia Nerius#ep162_01 4_EP16_SKIA,{ mes "See you later. I will contact you."; npctalk "I will be waiting.", "Kronecker G. Heine#ep162", bc_self; next; - cloakonnpc "Kronecker G. Heine#ep162", getcharid(0); + cloakonnpcself( "Kronecker G. Heine#ep162" ); mes "[Spica]"; mes "Skia?"; mes "Why don't you have a quiet conversation with me?"; @@ -663,8 +663,8 @@ prt_cas_q,18,37,5 script Skia Nerius#ep162_01 4_EP16_SKIA,{ unittalk getcharid(3), "" + strcharinfo(0) + " : ....", bc_self; sleep2 2000; setpcblock PCBLOCK_NPC, false; - cloakonnpc "Skia Nerius#ep162_01", getcharid(0); - cloakonnpc "Spica Nerius#ep162_01", getcharid(0); + cloakonnpcself( "Skia Nerius#ep162_01" ); + cloakonnpcself( "Spica Nerius#ep162_01" ); end; } end; @@ -701,7 +701,7 @@ lhz_airport,189,39,3 script Crux#ep162_01 4_EP16_CRUX,{ mes "Have you come alone?"; mes "I heard Skia was coming too ..."; next; - cloakoffnpc "Skia#ep162_03", getcharid(0); + cloakoffnpcself( "Skia#ep162_03" ); npctalk "I'm here!", "Skia#ep162_03", bc_self; mes "[Crux]"; mes "Oh! You've arrived."; @@ -757,7 +757,7 @@ lhz_airport,189,39,3 script Crux#ep162_01 4_EP16_CRUX,{ setquest 7732;// Searching the suspect terra_gloria_main = 4; close2; - cloakonnpc "Skia#ep162_03", getcharid(0); + cloakonnpcself( "Skia#ep162_03" ); cutin "",255; end; } @@ -868,8 +868,8 @@ OnTouch: setpcblock PCBLOCK_NPC, true; unittalk getcharid(3), "" + strcharinfo(0) + " : .....! Those people?!", bc_self; sleep2 1000; - cloakoffnpc "Man#ep162_01", getcharid(0); - cloakoffnpc "Scientist#ep162_01", getcharid(0); + cloakoffnpcself( "Man#ep162_01" ); + cloakoffnpcself( "Scientist#ep162_01" ); npctalk "Haven't we completed our business already?", "Scientist#ep162_01", bc_self; sleep2 3000; npctalk "Why did you come all the way here and call me out?", "Scientist#ep162_01", bc_self; @@ -892,7 +892,7 @@ OnTouch: sleep2 3000; npctalk "I will wait.", "Man#ep162_01", bc_self; sleep2 1000; - cloakonnpc "Man#ep162_01", getcharid(0); + cloakonnpcself( "Man#ep162_01" ); sleep2 1000; npctalk "Hey, get rid of him.", "Scientist#ep162_01", bc_self; sleep2 2000; @@ -906,7 +906,7 @@ OnTouch: terra_gloria_main = 5; sleep2 3000; setpcblock PCBLOCK_NPC, false; - cloakonnpc "Scientist#ep162_01", getcharid(0); + cloakonnpcself( "Scientist#ep162_01" ); unittalk getcharid(3), "" + strcharinfo(0) + " : I must tell Skia about this and head to the slum right away!", bc_self; end; } @@ -945,7 +945,7 @@ lighthalzen,309,263,3 script Man#ep162_02 1_M_01,{ sleep2 1000; npctalk "Who are you? Why do you call me?", "", bc_self; sleep2 1000; - cloakoffnpc "Suspicious mercenary#ep", getcharid(0); + cloakoffnpcself( "Suspicious mercenary#ep" ); npctalk "We are in trouble.", "Suspicious mercenary#ep", bc_self; sleep2 2000; npctalk ".... Heart ... Heart Hunter! What is a Heart Hunter doing here?!", "", bc_self; @@ -958,8 +958,8 @@ lighthalzen,309,263,3 script Man#ep162_02 1_M_01,{ sleep2 2000; npctalk "Now, die.", "Suspicious mercenary#ep", bc_self; sleep2 500; - cloakoffnpc "Skia#ep162_04", getcharid(0); - cloakoffnpc "Crux#ep162_02", getcharid(0); + cloakoffnpcself( "Skia#ep162_04" ); + cloakoffnpcself( "Crux#ep162_02" ); specialeffect EF_NPC_STOP, AREA, "Suspicious mercenary#ep"; specialeffect EF_HIT3, AREA, "Suspicious mercenary#ep"; sleep2 300; @@ -984,7 +984,7 @@ lighthalzen,309,263,3 script Man#ep162_02 1_M_01,{ specialeffect EF_GUARD, AREA, "Skia#ep162_04"; specialeffect EF_GUARD; sleep2 1000; - cloakonnpc "Suspicious mercenary#ep", getcharid(0); + cloakonnpcself( "Suspicious mercenary#ep" ); monster "lighthalzen",307,265, "Suspicious mercenary", 3454,1, "Man#ep162_02::OnMobDead"; killmonster "lighthalzen", "Man#ep162_02::OnMobDead"; sleep2 2000; @@ -1012,8 +1012,8 @@ lighthalzen,309,263,3 script Man#ep162_02 1_M_01,{ npctalk "Yes, lady. See you in the palace.", "Crux#ep162_02", bc_self; sleep2 2000; setpcblock PCBLOCK_NPC, false; - cloakonnpc "Crux#ep162_02", getcharid(0); - cloakonnpc "Man#ep162_02", getcharid(0); + cloakonnpcself( "Crux#ep162_02" ); + cloakonnpcself( "Man#ep162_02" ); erasequest 7733;// Pursuit! setquest 7734;// Arrest terra_gloria_main = 6; @@ -1128,9 +1128,9 @@ lhz_in02,238,150,0 script #ep162_lhz_evt02 HIDDEN_WARP_NPC,1,1,{ end; OnTouch: if (terra_gloria_main == 8) { - cloakoffnpc "Spica Nerius#ep162_02", getcharid(0); - cloakoffnpc "Philopontess#ep162_01", getcharid(0); - cloakoffnpc "Crux#ep162_05", getcharid(0); + cloakoffnpcself( "Spica Nerius#ep162_02" ); + cloakoffnpcself( "Philopontess#ep162_01" ); + cloakoffnpcself( "Crux#ep162_05" ); } end; } @@ -1362,7 +1362,7 @@ lhz_in02,239,148,4 script Philopontess#ep162_01 4_M_PHILOFONTES,{ mes "Thank you for your support in advance."; mes "I will go to the president for a report."; next; - cloakonnpc "Philopontess#ep162_01", getcharid(0); + cloakonnpcself( "Philopontess#ep162_01" ); cutin "ep16_spica_nerius05.bmp",0; mes "[Spica]"; mes "... What a straightforward man."; @@ -1385,8 +1385,8 @@ lhz_in02,239,148,4 script Philopontess#ep162_01 4_M_PHILOFONTES,{ npctalk "I will see you later.", "Crux#ep162_05", bc_self; sleep2 2000; setpcblock PCBLOCK_NPC, false; - cloakonnpc "Spica Nerius#ep162_02", getcharid(0); - cloakonnpc "Crux#ep162_05", getcharid(0); + cloakonnpcself( "Spica Nerius#ep162_02" ); + cloakonnpcself( "Crux#ep162_05" ); cutin "",255; end; } @@ -1405,7 +1405,7 @@ einbroch,239,269,0 script #16nego15 HIDDEN_WARP_NPC,3,0,{ end; OnTouch: if (terra_gloria_main > 9) - cloakonnpc "Unusual person#16nego01", getcharid(0); + cloakonnpcself( "Unusual person#16nego01" ); end; } einbroch,226,276,0 duplicate(#16nego15) #16nego16 HIDDEN_WARP_NPC,3,0 @@ -1659,8 +1659,8 @@ einbroch,239,269,3 script Unusual person#16nego01 4_M_LAZY,{ close2; navigateto( "einbroch",267,268,NAV_NONE,1 ); cutin "",255; - cloakonnpc "Unusual person#16nego01", getcharid(0); - cloakoffnpc "Lazy#16nego06", getcharid(0); + cloakonnpcself( "Unusual person#16nego01" ); + cloakoffnpcself( "Lazy#16nego06" ); end; } if (terra_gloria_main == 10) { @@ -1670,8 +1670,8 @@ einbroch,239,269,3 script Unusual person#16nego01 4_M_LAZY,{ close2; navigateto( "einbroch",267,268,NAV_NONE,1 ); cutin "",255; - cloakonnpc "Unusual person#16nego01", getcharid(0); - cloakoffnpc "Lazy#16nego06", getcharid(0); + cloakonnpcself( "Unusual person#16nego01" ); + cloakoffnpcself( "Lazy#16nego06" ); end; } if (terra_gloria_main == 11) { @@ -1680,7 +1680,7 @@ einbroch,239,269,3 script Unusual person#16nego01 4_M_LAZY,{ mes "Long time no see! I'm going to another mission spot. Got it? See you later!"; close2; cutin "",255; - cloakonnpc "Unusual person#16nego01", getcharid(0); + cloakonnpcself( "Unusual person#16nego01" ); end; } if (terra_gloria_main < 17) { @@ -1689,7 +1689,7 @@ einbroch,239,269,3 script Unusual person#16nego01 4_M_LAZY,{ mes "Are you okay to be here now?"; close2; cutin "",255; - cloakonnpc "Unusual person#16nego01", getcharid(0); + cloakonnpcself( "Unusual person#16nego01" ); end; } cutin "16lei_01.bmp",2; @@ -1697,7 +1697,7 @@ einbroch,239,269,3 script Unusual person#16nego01 4_M_LAZY,{ mes "Long time no see! I'm going to another mission spot. Got it? See you later!"; close2; cutin "",255; - cloakonnpc "Unusual person#16nego01", getcharid(0); + cloakonnpcself( "Unusual person#16nego01" ); end; OnInit: @@ -1707,8 +1707,8 @@ OnInit: einbroch,270,267,5 script Very small hole#16nego0 4_CRACK,5,5,{ if (terra_gloria_main != 10 && terra_gloria_main != 11) { - cloakonnpc "Very small hole#16nego0", getcharid(0); - cloakonnpc "Lazy#16nego06", getcharid(0); + cloakonnpcself( "Very small hole#16nego0" ); + cloakonnpcself( "Lazy#16nego06" ); end; } if (terra_gloria_main == 10) { @@ -1722,13 +1722,13 @@ einbroch,270,267,5 script Very small hole#16nego0 4_CRACK,5,5,{ OnTouch: if (terra_gloria_main == 10 || terra_gloria_main == 11) - cloakoffnpc "Very small hole#16nego0", getcharid(0); + cloakoffnpcself( "Very small hole#16nego0" ); end; } einbroch,270,268,3 script Lazy#16nego06 4_M_LAZY,{ if (terra_gloria_main != 10) { - cloakonnpc "Lazy#16nego06", getcharid(0); + cloakonnpcself( "Lazy#16nego06" ); end; } cutin "16lei_01.bmp",2; @@ -1768,7 +1768,7 @@ einbroch,270,268,3 script Lazy#16nego06 4_M_LAZY,{ terra_gloria_main = 11; close2; cutin "",255; - cloakonnpc "Lazy#16nego06", getcharid(0); + cloakonnpcself( "Lazy#16nego06" ); end; OnInit: @@ -1782,7 +1782,7 @@ einbech,44,207,0 script #16negobok06 HIDDEN_WARP_NPC,5,5,{ OnTouch: if (terra_gloria_main == 10 || terra_gloria_main == 11) end; - cloakonnpc "Lazy#16nego01", getcharid(0); + cloakonnpcself( "Lazy#16nego01" ); end; } einbech,66,208,0 duplicate(#16negobok06) #16negobok13 HIDDEN_WARP_NPC,5,5 @@ -1801,7 +1801,7 @@ einbech,46,208,3 script Lazy#16nego01 4_M_LAZY,{ mes "He told me he'd come here. Maybe he's still in Einbroch train station? I have to go there again."; close2; cutin "",255; - cloakonnpc "Lazy#16nego01", getcharid(0); + cloakonnpcself( "Lazy#16nego01" ); end; } if (terra_gloria_main == 10 || terra_gloria_main == 11) { @@ -1891,7 +1891,7 @@ einbech,46,208,3 script Lazy#16nego01 4_M_LAZY,{ cutin "",255; viewpoint 1,74,129,1,0x4D4DFF00; navigateto( "einbech",74,129,NAV_NONE,1 ); - cloakonnpc "Lazy#16nego01", getcharid(0); + cloakonnpcself( "Lazy#16nego01" ); end; } if (terra_gloria_main == 12) { @@ -1902,7 +1902,7 @@ einbech,46,208,3 script Lazy#16nego01 4_M_LAZY,{ cutin "",255; viewpoint 1,74,129,1,0x4D4DFF00; navigateto( "einbech",74,129,NAV_NONE,1 ); - cloakonnpc "Lazy#16nego01", getcharid(0); + cloakonnpcself( "Lazy#16nego01" ); end; } if (terra_gloria_main < 17) { @@ -1912,7 +1912,7 @@ einbech,46,208,3 script Lazy#16nego01 4_M_LAZY,{ mes "We must go to the rebellion."; close2; cutin "",255; - cloakonnpc "Lazy#16nego01", getcharid(0); + cloakonnpcself( "Lazy#16nego01" ); end; } cutin "16lei_01.bmp",2; @@ -1920,7 +1920,7 @@ einbech,46,208,3 script Lazy#16nego01 4_M_LAZY,{ mes "Long time no see! I'm going to another mission spot. Got it? See you later!"; close2; cutin "",255; - cloakonnpc "Lazy#16nego01", getcharid(0); + cloakonnpcself( "Lazy#16nego01" ); end; } @@ -1929,8 +1929,8 @@ einbech,94,127,0 script #16negobok08 HIDDEN_WARP_NPC,5,5,{ end; OnTouch: if (terra_gloria_main == 12) { - cloakoffnpc "Lazy#16nego02", getcharid(0); - cloakoffnpc "Enormous stack#16nego01", getcharid(0); + cloakoffnpcself( "Lazy#16nego02" ); + cloakoffnpcself( "Enormous stack#16nego01" ); } end; } @@ -1957,8 +1957,8 @@ einbech,76,131,3 script Lazy#16nego02 4_M_LAZY,{ mes "If I get rid of this and that...!"; npctalk "Come and help me!", "", bc_self; next; - cloakonnpc "Enormous stack#16nego01", getcharid(0); - cloakoffnpc "Collapsed person#16nego", getcharid(0); + cloakonnpcself( "Enormous stack#16nego01" ); + cloakoffnpcself( "Collapsed person#16nego" ); cutin "16lei_01.bmp",2; mes "[Lazy]"; mes "Wow... I think today is a lucky day. This mission is going to be easier than we thought."; @@ -2057,8 +2057,8 @@ einbech,76,131,3 script Lazy#16nego02 4_M_LAZY,{ close2; cutin "",255; navigateto( "einbech",217,82,NAV_NONE,1 ); - cloakonnpc "Lazy#16nego02", getcharid(0); - cloakonnpc "Collapsed person#16nego", getcharid(0); + cloakonnpcself( "Lazy#16nego02" ); + cloakonnpcself( "Collapsed person#16nego" ); end; } if (terra_gloria_main == 13) { @@ -2069,8 +2069,8 @@ einbech,76,131,3 script Lazy#16nego02 4_M_LAZY,{ cutin "",255; viewpoint 1,217,82,1,0x4D4DFF00; navigateto( "einbech",217,82,NAV_NONE,1 ); - cloakonnpc "Lazy#16nego02", getcharid(0); - cloakonnpc "Collapsed person#16nego", getcharid(0); + cloakonnpcself( "Lazy#16nego02" ); + cloakonnpcself( "Collapsed person#16nego" ); end; } end; @@ -2084,7 +2084,7 @@ einbech,200,79,0 script #16negobok12 HIDDEN_WARP_NPC,5,5,{ end; OnTouch: if (terra_gloria_main == 13) - cloakoffnpc "Lazy#16nego03", getcharid(0); + cloakoffnpcself( "Lazy#16nego03" ); end; } @@ -2111,7 +2111,7 @@ einbech,217,82,3 script Lazy#16nego03 4_M_LAZY,{ next; mes "[" + strcharinfo(0) + "]"; mes "Arrgh..."; - cloakoffnpc "Gonie#16nego02", getcharid(0); + cloakoffnpcself( "Gonie#16nego02" ); unittalk getcharid(3), "" + strcharinfo(0) + " : Oh, I feel alive now.", bc_self; npctalk "You are exaggerating your pain.", "", bc_self; next; @@ -2173,7 +2173,7 @@ einbech,217,82,3 script Lazy#16nego03 4_M_LAZY,{ setquest 14598;// Invisible entrance terra_gloria_main = 14; close2; - cloakonnpc "Lazy#16nego03", getcharid(0); + cloakonnpcself( "Lazy#16nego03" ); cutin "",255; end; } @@ -2183,7 +2183,7 @@ einbech,217,82,3 script Lazy#16nego03 4_M_LAZY,{ mes "What are you doing? Come in!"; close2; cutin "",255; - cloakonnpc "Lazy#16nego03", getcharid(0); + cloakonnpcself( "Lazy#16nego03" ); end; } end; @@ -2223,7 +2223,7 @@ rebel_in,21,41,0 script #16negobok05 HIDDEN_WARP_NPC,5,5,{ end; OnTouch: if (terra_gloria_main != 14) - cloakonnpc "Lazy#16nego04", getcharid(0); + cloakonnpcself( "Lazy#16nego04" ); end; } @@ -2233,7 +2233,7 @@ rebel_in,23,43,5 script Gonie#16nego03 4_M_FALLENGONY,{ mes "......"; close2; cutin "",255; - cloakonnpc "Gonie#16nego03", getcharid(0); + cloakonnpcself( "Gonie#16nego03" ); end; OnInit: cloakonnpc(); @@ -2417,7 +2417,7 @@ rebel_in,21,45,5 script Lazy#16nego04 4_M_LAZY,{ next; mes "[Shopkeeper]"; mes "I won't tolerate you if you're playing shallow tricks."; - cloakonnpc "Nemi#16nego01", getcharid(0); + cloakonnpcself( "Nemi#16nego01" ); next; cutin "16lei_02.bmp",2; mes "[Lazy]"; @@ -2436,8 +2436,8 @@ rebel_in,21,45,5 script Lazy#16nego04 4_M_LAZY,{ sleep2 500; unittalk getcharid(3), "" + strcharinfo(0) + " : What! What is it? Why did you stop talking?", bc_self; next; - cloakoffnpc "Nemi#16nego01", getcharid(0); - cloakoffnpc "Gonie#16nego03", getcharid(0); + cloakoffnpcself( "Nemi#16nego01" ); + cloakoffnpcself( "Gonie#16nego03" ); mes "[Shopkeeper]"; mes "Arrgh..."; next; @@ -2453,7 +2453,7 @@ rebel_in,21,45,5 script Lazy#16nego04 4_M_LAZY,{ mes "Lucky?"; emotion ET_QUESTION; next; - cloakonnpc "Eri#16nego01", getcharid(0); + cloakonnpcself( "Eri#16nego01" ); mes "[Shopkeeper]"; mes "Hey, what did you to this guy?"; next; @@ -2486,8 +2486,8 @@ rebel_in,21,45,5 script Lazy#16nego04 4_M_LAZY,{ emotion ET_CRY; next; cutin "16loo_01.bmp",0; - cloakoffnpc "Eri#16nego01", getcharid(0); - cloakoffnpc "Lucky#16nego01", getcharid(0); + cloakoffnpcself( "Eri#16nego01" ); + cloakoffnpcself( "Lucky#16nego01" ); mes "[Lucky]"; mes "Nemi, what happened? Is Gonie dead?"; emotion ET_STARE_ABOUT, getnpcid(0, "Lucky#16nego01"); @@ -2651,9 +2651,9 @@ rebel_in,21,45,5 script Lazy#16nego04 4_M_LAZY,{ cutin "16lei_03.bmp",2; mes "[Lazy]"; mes "Wait! They're sending us away like this? Seems like they are. Did I get it wrong?"; - cloakonnpc "Nemi#16nego01", getcharid(0); - cloakonnpc "Lucky#16nego01", getcharid(0); - cloakonnpc "Gonie#16nego03", getcharid(0); + cloakonnpcself( "Nemi#16nego01" ); + cloakonnpcself( "Lucky#16nego01" ); + cloakonnpcself( "Gonie#16nego03" ); next; mes "[Lazy]"; mes "Oops? They went inside! Come on!"; @@ -2689,8 +2689,8 @@ rebel_in,21,45,5 script Lazy#16nego04 4_M_LAZY,{ mes "Who kicks me out! That's impossible! I will lie down here! Come out!"; unittalk getcharid(3), "" + strcharinfo(0) + " : I am so ashamed...", bc_self; next; - cloakoffnpc "Nemi#16nego01", getcharid(0); - cloakoffnpc "Lucky#16nego01", getcharid(0); + cloakoffnpcself( "Nemi#16nego01" ); + cloakoffnpcself( "Lucky#16nego01" ); cutin "16loo_03.bmp",0; mes "[Lucky]"; mes "Phew..."; @@ -2730,8 +2730,8 @@ rebel_in,21,45,5 script Lazy#16nego04 4_M_LAZY,{ cutin "16loo_01.bmp",0; mes "[Lucky]"; mes "Follow me. It's this way."; - cloakonnpc "Lucky#16nego01", getcharid(0); - cloakonnpc "Lazy#16nego04", getcharid(0); + cloakonnpcself( "Lucky#16nego01" ); + cloakonnpcself( "Lazy#16nego04" ); erasequest 14598;// Invisible entrance setquest 14599;// A glass of tea gratitude terra_gloria_main = 15; @@ -2784,7 +2784,7 @@ rebel_in,65,46,5 script Rebellion Squadder#ep16 4_M_GUNSLINGER2,3,3,{ mes "Someone has come, and I think he is looking for you."; mes "I let him come in, even though I had a bad feeling about it."; next; - cloakoffnpc "Philopontess#ep162_02", getcharid(0); + cloakoffnpcself( "Philopontess#ep162_02" ); npctalk "Hoo ...", "Philopontess#ep162_02", bc_self; mes "[Tess]"; mes "These people are really rude."; @@ -2845,7 +2845,7 @@ rebel_in,65,46,5 script Rebellion Squadder#ep16 4_M_GUNSLINGER2,3,3,{ mes "Now you know the direction."; npctalk "I will be waiting in the hotel.", "Philopontess#ep162_02", bc_self; close2; - cloakonnpc "Philopontess#ep162_02", getcharid(0); + cloakonnpcself( "Philopontess#ep162_02" ); if (.@s == 1) warp "einbech",68,208; end; @@ -3035,11 +3035,11 @@ ein_in01,273,275,0 script #ep162_evt04 HIDDEN_WARP_NPC,1,1,{ OnTouch: if (terra_gloria_main == 18) { setpcblock PCBLOCK_NPC, true; - cloakoffnpc "Nihil#ep162_02", getcharid(0); - cloakoffnpc "Philopontess#ep162_03", getcharid(0); - cloakoffnpc "Skia#ep162_05", getcharid(0); - cloakoffnpc "Rookie#ep162_01", getcharid(0); - cloakoffnpc "Lazy#ep162_01", getcharid(0); + cloakoffnpcself( "Nihil#ep162_02" ); + cloakoffnpcself( "Philopontess#ep162_03" ); + cloakoffnpcself( "Skia#ep162_05" ); + cloakoffnpcself( "Rookie#ep162_01" ); + cloakoffnpcself( "Lazy#ep162_01" ); npctalk "Mr. Lazy, was that a joke?", "Philopontess#ep162_03", bc_self; sleep2 2000; npctalk "Uhm? Break-in or ambush ...", "Lazy#ep162_01", bc_self; @@ -3061,9 +3061,9 @@ OnTouch: end; } if (terra_gloria_main == 22) { - cloakoffnpc "Nihil#ep162_02", getcharid(0); - cloakoffnpc "Philopontess#ep162_03", getcharid(0); - cloakoffnpc "Skia#ep162_05", getcharid(0); + cloakoffnpcself( "Nihil#ep162_02" ); + cloakoffnpcself( "Philopontess#ep162_03" ); + cloakoffnpcself( "Skia#ep162_05" ); } end; } @@ -3424,7 +3424,7 @@ que_swat,150,58,3 script Rookie#ep162_03 4_M_ROOKIE,{ cutin "16loo_01.bmp",2; mes "[Rookie]"; mes "Wow, welcome back."; - cloakoffnpc "Skia#ep162_07", getcharid(0); + cloakoffnpcself( "Skia#ep162_07" ); npctalk "Hero!", "Skia#ep162_07", bc_self; next; mes "[Skia]"; @@ -3456,7 +3456,7 @@ que_swat,150,58,3 script Rookie#ep162_03 4_M_ROOKIE,{ mes "[Rookie]"; mes "Damn, go away!"; close2; - cloakonnpc "Skia#ep162_07", getcharid(0); + cloakonnpcself( "Skia#ep162_07" ); warp "ein_fild04",279,339; end; } @@ -4691,8 +4691,8 @@ rebel_in,70,78,3 script Elena Volkova#16.2rm 4_F_ELENA,{ mes "[USU commander Elena]"; mes "So you're all here? I've heard the whole story."; next; - cloakoffnpc "Ilya Lebedev#16.2rms", getcharid(0); - cloakoffnpc "Jana Levedeva#16.2rms", getcharid(0); + cloakoffnpcself( "Ilya Lebedev#16.2rms" ); + cloakoffnpcself( "Jana Levedeva#16.2rms" ); cutin "",255; mes "[Ilya Lebedev]"; mes "Yes."; @@ -4791,8 +4791,8 @@ rebel_in,70,78,3 script Elena Volkova#16.2rm 4_F_ELENA,{ mes "[Lebedev twins]"; mes "Yes!"; next; - cloakonnpc "Ilya Lebedev#16.2rms", getcharid(0); - cloakonnpc "Jana Levedeva#16.2rms", getcharid(0); + cloakonnpcself( "Ilya Lebedev#16.2rms" ); + cloakonnpcself( "Jana Levedeva#16.2rms" ); cutin "162elena_01.bmp",2; mes "[USU commander Elena]"; mes "Phew..."; @@ -5165,7 +5165,7 @@ rebel_in,122,71,3 script Rebellion leader#162gmb 4_M_RUPERT,{ mes "[Rebellion leader Rupert]"; mes "If I didn't see a ghost, you are living a pretty long life. Aren't you?"; next; - cloakoffnpc "Rebellion Guard leader#4", getcharid(0); + cloakoffnpcself( "Rebellion Guard leader#4" ); mes "[Rebellion Guard leader Larcis]"; mes "Sir!"; next; @@ -5231,7 +5231,7 @@ rebel_in,122,71,3 script Rebellion leader#162gmb 4_M_RUPERT,{ mes "I think I have seen a phantom. Would you like to read it?"; emotion ET_HUM; next; - cloakoffnpc "Rebellion Guard leader#4", getcharid(0); + cloakoffnpcself( "Rebellion Guard leader#4" ); mes "[Rebellion Guard leader Larcis]"; mes "Yeah?"; mes "Yes! Sir!"; @@ -5277,7 +5277,7 @@ rebel_in,122,71,3 script Rebellion leader#162gmb 4_M_RUPERT,{ mes "You don't have to come in, Rupert."; mes "It was so noisy outside, so I came out. It was you."; emotion ET_HNG, getnpcid(0, "Dien#162gmbs2"); - cloakoffnpc "Dien#162gmbs2", getcharid(0); + cloakoffnpcself( "Dien#162gmbs2" ); erasequest 11460;// Doubt setquest 11461;// Doubt terra_gloria_lady_part = 8; @@ -5293,7 +5293,7 @@ rebel_in,122,71,3 script Rebellion leader#162gmb 4_M_RUPERT,{ mes "Where is Dien?"; mes "In the room?"; next; - cloakoffnpc "Dien#162gmbs2", getcharid(0); + cloakoffnpcself( "Dien#162gmbs2" ); mes "[Dien]"; mes "You don't have to come in, Rupert."; mes "It was so noisy outside, so I came out. It was you."; @@ -5301,9 +5301,9 @@ rebel_in,122,71,3 script Rebellion leader#162gmb 4_M_RUPERT,{ close; } if (terra_gloria_lady_part == 9 || terra_gloria_lady_part == 10) { - cloakoffnpc "Dien#162gmbs2", getcharid(0); + cloakoffnpcself( "Dien#162gmbs2" ); if (terra_gloria_lady_part == 9) { - cloakoffnpc "Rebellion Guard leader#4", getcharid(0); + cloakoffnpcself( "Rebellion Guard leader#4" ); mes "[Rebellion leader Rupert]"; mes "Guard leader!"; mes "What are you doing!"; @@ -5436,7 +5436,7 @@ rebel_in,122,71,3 script Rebellion leader#162gmb 4_M_RUPERT,{ cutin "ep162_dn01.bmp",2; next; cutin "",255; - cloakonnpc "Rebellion Guard leader#4", getcharid(0); + cloakonnpcself( "Rebellion Guard leader#4" ); } mes "[Rebellion leader Rupert]"; mes "No..."; @@ -5470,7 +5470,7 @@ rebel_in,122,71,3 script Rebellion leader#162gmb 4_M_RUPERT,{ npctalk "Dien : It's so important... It won't take long.", "Dien#162gmbs2", bc_self; emotion ET_COMEON, getnpcid(0, "Dien#162gmbs2"); cutin "ep162_dn03.bmp",2; - cloakonnpc "Dien#162gmbs2", getcharid(0); + cloakonnpcself( "Dien#162gmbs2" ); if (terra_gloria_lady_part == 9) { getitem 25155,10; // Swz_Honor_Token getexp 200000,200000; @@ -5704,12 +5704,12 @@ rebel_in,86,61,5 script Lazy#16nego05 4_M_LAZY,{ mes "[Lucky]"; mes "I can't figure out what you want. Have a sit there anyway. I will give you a cup of tea that you desired."; next; - cloakoffnpc "Magenta#16nego01", getcharid(0); + cloakoffnpcself( "Magenta#16nego01" ); mes "[Magenta]"; mes "Lucky~~~ Where have you been!! I've been waiting for a while! I'm going out for a mission and wish me a good luck."; npctalk "Come on. The spell of fortune~", "Magenta#16nego01", bc_self; next; - cloakoffnpc "Denny#16nego03", getcharid(0); + cloakoffnpcself( "Denny#16nego03" ); mes "[Denny]"; mes "Rookie!!!! Help me arrange the warehouse quickly. There are bunch of them and I can't do it alone. Hurry up."; npctalk "Hurry up! Lend me your magical hand!", "Denny#16nego03", bc_self; @@ -5738,9 +5738,9 @@ rebel_in,86,61,5 script Lazy#16nego05 4_M_LAZY,{ npctalk "Didn't you say you were in a hurry?", "Magenta#16nego01", bc_self; sleep2 300; npctalk "He says he's busy now! I will leave first so you have to come to me first!", "Denny#16nego03", bc_self; - cloakonnpc "Denny#16nego03", getcharid(0); + cloakonnpcself( "Denny#16nego03" ); npctalk "Lucky! Me first!!!", "Magenta#16nego01", bc_self; - cloakonnpc "Magenta#16nego01", getcharid(0); + cloakonnpcself( "Magenta#16nego01" ); next; cutin "16lei_01.bmp",2; mes "[Lazy]"; @@ -5748,8 +5748,8 @@ rebel_in,86,61,5 script Lazy#16nego05 4_M_LAZY,{ npctalk "Maybe that's why your name is Lucky?", "", bc_self; next; cutin "",255; - cloakoffnpc "Senior#16nego01", getcharid(0); - cloakoffnpc "Senior#16nego04", getcharid(0); + cloakoffnpcself( "Senior#16nego01" ); + cloakoffnpcself( "Senior#16nego04" ); mes "[Senior]"; mes "Rookie, where have you been? Everyone's looking for you."; next; @@ -5760,7 +5760,7 @@ rebel_in,86,61,5 script Lazy#16nego05 4_M_LAZY,{ sleep2 500; npctalk "Don't you know Rookie is the busiest person here?", "Senior#16nego04", bc_self; next; - cloakoffnpc "Senior#16nego02", getcharid(0); + cloakoffnpcself( "Senior#16nego02" ); mes "[Senior]"; mes "Lucky, bring a cup of tea."; npctalk "Mine too.", "Senior#16nego01", bc_self; @@ -5769,7 +5769,7 @@ rebel_in,86,61,5 script Lazy#16nego05 4_M_LAZY,{ sleep2 300; npctalk "What? You, step outside.", "Senior#16nego01", bc_self; next; - cloakoffnpc "Senior#16nego03", getcharid(0); + cloakoffnpcself( "Senior#16nego03" ); mes "[Senior]"; mes "Lucky, they are strangers. Who are they?"; npctalk "A cup of tea for me too.", "Senior#16nego03", bc_self; @@ -5924,7 +5924,7 @@ rebel_in,86,61,5 script Lazy#16nego05 4_M_LAZY,{ npctalk "Where are you going!", "Senior#16nego01", bc_self; npctalk "That guy has a great sense and wits.", "", bc_self; next; - cloakonnpc "Rookie#16nego02", getcharid(0); + cloakonnpcself( "Rookie#16nego02" ); cutin "16lei_01.bmp",2; mes "[Lazy]"; mes "Hahaha! Nice to meet you. Did I surprise you by coming in all of a sudden in leisure hours?"; @@ -5957,7 +5957,7 @@ rebel_in,86,61,5 script Lazy#16nego05 4_M_LAZY,{ mes "President? Since I heard that unpleasant word, let me wash my ears!"; npctalk "I am precious, so I should see and listen to good things.", "Senior#16nego04", bc_self; sleep2 300; - cloakonnpc "Senior#16nego04", getcharid(0); + cloakonnpcself( "Senior#16nego04" ); next; mes "[Senior]"; mes "What is a spoiled crow of the President doing here?"; @@ -5994,7 +5994,7 @@ rebel_in,86,61,5 script Lazy#16nego05 4_M_LAZY,{ npctalk "Please... Let's just talk...", "", bc_self; next; cutin "16loo_02.bmp",0; - cloakoffnpc "Rookie#16nego02", getcharid(0); + cloakoffnpcself( "Rookie#16nego02" ); mes "[Rookie]"; mes "Drink tea, please."; next; @@ -6157,14 +6157,14 @@ rebel_in,86,61,5 script Lazy#16nego05 4_M_LAZY,{ mes "Lucky, thanks for the tea. Send them now. Let the crow go back to its nest."; npctalk "Make sure they never come back!!", "Senior#16nego01", bc_self; next; - cloakonnpc "Senior#16nego01", getcharid(0); + cloakonnpcself( "Senior#16nego01" ); mes "[Senior]"; mes "We will never see them again. So send them gently. Rookie."; npctalk "Do not make any fuss.", "Senior#16nego02", bc_self; next; - cloakonnpc "Senior#16nego02", getcharid(0); + cloakonnpcself( "Senior#16nego02" ); sleep2 1000; - cloakonnpc "Senior#16nego03", getcharid(0); + cloakonnpcself( "Senior#16nego03" ); cutin "16lei_03.bmp",2; mes "[Lazy]"; mes "Please, you can't leave like this...!!!"; @@ -6478,10 +6478,10 @@ rebel_in,86,61,5 script Lazy#16nego05 4_M_LAZY,{ mes "Not a housekeeping. A sort of cleaning-up?"; next; cutin "",255; - cloakoffnpc "Senior#16nego01", getcharid(0); - cloakoffnpc "Senior#16nego02", getcharid(0); - cloakoffnpc "Senior#16nego03", getcharid(0); - cloakoffnpc "Senior#16nego04", getcharid(0); + cloakoffnpcself( "Senior#16nego01" ); + cloakoffnpcself( "Senior#16nego02" ); + cloakoffnpcself( "Senior#16nego03" ); + cloakoffnpcself( "Senior#16nego04" ); mes "[Senior]"; mes "Hey Rookie. Why did you bring those jerks in here? They are wandering around and humiliating us! Rookie, are you a spy from the government?"; emotion ET_FRET, getnpcid(0, "Senior#16nego01"); @@ -6538,7 +6538,7 @@ rebel_in,86,61,5 script Lazy#16nego05 4_M_LAZY,{ sleep2 500; npctalk "Get them out.", "Senior#16nego03", bc_self; next; - cloakoffnpc "Gonie#16nego04", getcharid(0); + cloakoffnpcself( "Gonie#16nego04" ); cutin "16go_03.bmp",2; mes "[Gonie]"; mes "......"; @@ -6641,7 +6641,7 @@ rebel_in,86,61,5 script Lazy#16nego05 4_M_LAZY,{ mes "But I will never trust you guys! I will keep my eyes on you!!!"; next; cutin "16lei_02.bmp",2; - cloakonnpc "Senior#16nego01", getcharid(0); + cloakonnpcself( "Senior#16nego01" ); mes "[Lazy]"; mes "Oh, what a passionate propose. I've never had anything like this in my life. I feel a little shy."; npctalk "That's so cool.", "", bc_self; @@ -6655,9 +6655,9 @@ rebel_in,86,61,5 script Lazy#16nego05 4_M_LAZY,{ sleep2 500; npctalk "Well, I have to carry him.", "Senior#16nego04", bc_self; next; - cloakonnpc "Senior#16nego02", getcharid(0); - cloakonnpc "Senior#16nego03", getcharid(0); - cloakonnpc "Senior#16nego04", getcharid(0); + cloakonnpcself( "Senior#16nego02" ); + cloakonnpcself( "Senior#16nego03" ); + cloakonnpcself( "Senior#16nego04" ); cutin "16go_03.bmp",2; mes "[Gonie]"; mes "......"; @@ -6667,7 +6667,7 @@ rebel_in,86,61,5 script Lazy#16nego05 4_M_LAZY,{ mes "Yes. Let me handle this place. You go inside and get ready."; next; cutin "16lei_01.bmp",0; - cloakonnpc "Gonie#16nego04", getcharid(0); + cloakonnpcself( "Gonie#16nego04" ); mes "[Lazy]"; mes "I've never imagined that this would be done so perfectly. I owe you for this. Thanks."; npctalk "The happiness is always with me.", "", bc_self; @@ -6761,7 +6761,7 @@ rebel_in,86,61,5 script Lazy#16nego05 4_M_LAZY,{ unittalk getcharid(3), "" + strcharinfo(0) + " : I think you are regarding him as an item.", bc_self; next; cutin "16go_03.bmp",2; - cloakoffnpc "Gonie#16nego04", getcharid(0); + cloakoffnpcself( "Gonie#16nego04" ); mes "[Gonie]"; mes "......"; next; @@ -6781,7 +6781,7 @@ rebel_in,86,61,5 script Lazy#16nego05 4_M_LAZY,{ mes "[Rookie]"; mes "He says we have prepared someone to proceed the cooperation. If you go to the passage to the store, you can meet that person."; npctalk "Thanks.", "Rookie#16nego02", bc_self; - cloakonnpc "Gonie#16nego04", getcharid(0); + cloakonnpcself( "Gonie#16nego04" ); next; mes "[" + strcharinfo(0) + "]"; mes "Yes. I will meet that person and listen."; @@ -6851,7 +6851,7 @@ function script F_TerraGloria_Lady { mes "Although he sent you here, you cannot enter."; mes "Please go back."; next; - cloakoffnpc "Rebellion Guard leader#1", getcharid(0); + cloakoffnpcself( "Rebellion Guard leader#1" ); mes "[Rebellion Guard leader]"; mes "Why is it so noisy here?"; npctalk "Rebellion Guard leader : Be quiet!", "Rebellion Guard leader#1", bc_self; @@ -6920,7 +6920,7 @@ function script F_TerraGloria_Lady { mes "A good idea."; mes "The exit is downstairs. Go there."; npctalk "Rebellion Guard leader : Hey~ Hey~ Go away!", "Rebellion Guard leader#1", bc_self; - cloakonnpc "Rebellion Guard leader#1", getcharid(0); + cloakonnpcself( "Rebellion Guard leader#1" ); close; } mes "[Rebellion Guard leader Larcis]"; @@ -6954,7 +6954,7 @@ function script F_TerraGloria_Lady { mes "[Rebellion Guard leader Larcis]"; mes "If you behave rudely, you won't go back alive."; npctalk "Rebellion Guard leader : If anything goes wrong, we will die together!", "Rebellion Guard leader#1", bc_self; - cloakonnpc "Rebellion Guard leader#1", getcharid(0); + cloakonnpcself( "Rebellion Guard leader#1" ); erasequest 11454;// Doubt setquest 11455;// Doubt terra_gloria_lady_part = 2; @@ -7794,7 +7794,7 @@ rebel_in,210,89,5 script Special Force commander 4_F_ESTLOVELOY,{ mes "I haven't seen you before."; emotion ET_FRET; next; - cloakoffnpc "Rebellion Guard leader#3", getcharid(0); + cloakoffnpcself( "Rebellion Guard leader#3" ); cutin "",255; mes "[Rebellion Guard leader Larcis]"; mes "Ah.. that is...."; @@ -7885,7 +7885,7 @@ rebel_in,210,89,5 script Special Force commander 4_F_ESTLOVELOY,{ mes "[Special Force commander Erst]"; mes "Let's agree with it."; mes "For now."; - cloakonnpc "Rebellion Guard leader#3", getcharid(0); + cloakonnpcself( "Rebellion Guard leader#3" ); erasequest 11457;// Doubt setquest 11458;// Doubt completequest 14613;// Erst on second floor @@ -7964,7 +7964,7 @@ rebel_in,82,68,2 script Arinoa Yurhik#TFQ01 4_F_GUNSLINGER,{ next; switch( checkquest(5727,PLAYTIME) ) { case -1: - cloakoffnpc "Arivero Yurhik#TFQ02", getcharid(0); + cloakoffnpcself( "Arivero Yurhik#TFQ02" ); npctalk "Are you the adventurer who is making a fuss in Clana Nemieri?", "Arivero Yurhik#TFQ02", bc_self; mes "[Strange man]"; mes "Are you the adventurer who is making a fuss in Clana Nemieri?"; @@ -7981,7 +7981,7 @@ rebel_in,82,68,2 script Arinoa Yurhik#TFQ01 4_F_GUNSLINGER,{ case 2: mes "It is time. Let me talk to them now."; next; - cloakoffnpc "Arivero Yurhik#TFQ02", getcharid(0); + cloakoffnpcself( "Arivero Yurhik#TFQ02" ); npctalk "Oops?! Here are you. Have you arrived already?", "Arivero Yurhik#TFQ02", bc_self; mes "[Arivero Yurhik]"; mes "Oops?! Here are you. Have you arrived already?"; @@ -7992,7 +7992,7 @@ rebel_in,82,68,2 script Arinoa Yurhik#TFQ01 4_F_GUNSLINGER,{ emotion ET_THINK; mes "The poker-faced Gunslinger girl who was fishing around books and documents stole a glance at me. Then she resumed fishing around books and documents again."; next; - cloakoffnpc "Arivero Yurhik#TFQ02", getcharid(0); + cloakoffnpcself( "Arivero Yurhik#TFQ02" ); npctalk "You have to talk to me. Not to the elder sister.", "Arivero Yurhik#TFQ02", bc_self; mes "[Arivero Yurhik]"; mes "You have to talk to me. Not to the elder sister."; @@ -8006,7 +8006,7 @@ rebel_in,82,68,2 script Arinoa Yurhik#TFQ01 4_F_GUNSLINGER,{ emotion ET_THINK; mes "The poker-faced Gunslinger girl who was fishing around books and documents stole a glance at me. Then she resumed fishing around books and documents again."; next; - cloakoffnpc "Arivero Yurhik#TFQ02", getcharid(0); + cloakoffnpcself( "Arivero Yurhik#TFQ02" ); npctalk "Kahaha. Welcome, pal.", "Arivero Yurhik#TFQ02", bc_self; mes "[Arivero Yurhik]"; mes "Kahaha. Welcome, pal."; @@ -8023,7 +8023,7 @@ rebel_in,82,68,2 script Arinoa Yurhik#TFQ01 4_F_GUNSLINGER,{ emotion ET_THINK; mes "The poker-faced Gunslinger girl who was fishing around books and documents stole a glance at me. Then she resumed fishing around books and documents again."; next; - cloakoffnpc "Arivero Yurhik#TFQ02", getcharid(0); + cloakoffnpcself( "Arivero Yurhik#TFQ02" ); npctalk "Have you brought the Star Crumb?", "Arivero Yurhik#TFQ02", bc_self; mes "[Arivero Yurhik]"; mes "Have you brought the Star Crumb?"; @@ -8041,7 +8041,7 @@ rebel_in,82,68,2 script Arinoa Yurhik#TFQ01 4_F_GUNSLINGER,{ emotion ET_THINK; mes "The poker-faced Gunslinger girl is looking at books and documents, as usual."; next; - cloakoffnpc "Rebellion leader#TFQ15", getcharid(0); + cloakoffnpcself( "Rebellion leader#TFQ15" ); npctalk "I have seen you talking to that kid lately."; mes "[Rebellion leader]"; mes "I have seen you talking to that kid lately. Do you care about her?"; @@ -8140,7 +8140,7 @@ rebel_in,78,66,6 script Arivero Yurhik#TFQ02 4_M_GUNSLINGER,{ mes "[Arivero Yurhik]"; mes "I will be fully ready after 4:00 am tomorrow. Once you are ready after that time, tell my elder sister. Then I will get here quickly."; close2; - cloakonnpc "Arivero Yurhik#TFQ02", getcharid(0); + cloakonnpcself( "Arivero Yurhik#TFQ02" ); end; case 0: case 1: @@ -8335,7 +8335,7 @@ rebel_in,78,66,6 script Arivero Yurhik#TFQ02 4_M_GUNSLINGER,{ mes "[Arivero Yurhik]"; mes "See you at the end of the freight train."; close2; - cloakonnpc "Arivero Yurhik#TFQ02", getcharid(0); + cloakonnpcself( "Arivero Yurhik#TFQ02" ); end; } if (yurhik_quest == 4) { @@ -8419,7 +8419,7 @@ rebel_in,78,66,6 script Arivero Yurhik#TFQ02 4_M_GUNSLINGER,{ mes "Oh!"; mes "Hey, let's get down to the business. Bring the materials and see you in Lighthalzen."; close2; - cloakonnpc "Arivero Yurhik#TFQ02", getcharid(0); + cloakonnpcself( "Arivero Yurhik#TFQ02" ); end; } if (yurhik_quest == 6) { @@ -8469,7 +8469,7 @@ rebel_in,78,66,6 script Arivero Yurhik#TFQ02 4_M_GUNSLINGER,{ mes "All we have to do is to insert the Star Crumb. So once you bring it, we can leave right away."; mes "Regarding the location and required attribute stone, I will inform you then. I haven't finished collecting the information yet. I will count on you."; close2; - cloakonnpc "Arivero Yurhik#TFQ02", getcharid(0); + cloakonnpcself( "Arivero Yurhik#TFQ02" ); end; } if (yurhik_quest == 7) { @@ -8526,7 +8526,7 @@ rebel_in,78,66,6 script Arivero Yurhik#TFQ02 4_M_GUNSLINGER,{ mes "[Arivero Yurhik]"; mes "See you in Yuno."; close2; - cloakonnpc "Arivero Yurhik#TFQ02", getcharid(0); + cloakonnpcself( "Arivero Yurhik#TFQ02" ); end; } end; @@ -8597,7 +8597,7 @@ rebel_in,78,63,6 script Rebellion leader#TFQ15 4_M_RUPERT,{ mes "[Rebellion leader]"; mes "Let's say this is a small compensation for your great work."; next; - cloakonnpc "Rebellion leader#TFQ15", getcharid(0); + cloakonnpcself( "Rebellion leader#TFQ15" ); mes "The Rebellion leader disappeared like that."; mes "What the hell happened to me?"; mes "I will remember this as a mission with various questions remaining."; @@ -8630,7 +8630,7 @@ einbech,212,212,6 script Arivero Yurhik#TFQ04 4_M_GUNSLINGER,{ mes "[Arivero Yurhik]"; mes "Shall I try? Let's see. This seems to be the place the agent told us about. Now we have to break the Flame Heart you brought into pieces.."; next; - cloakoffnpc "Teleport Prohibition equipment#1", getcharid(0); + cloakoffnpcself( "Teleport Prohibition equipment#1" ); specialeffect EF_FLAMELAUNCHER, AREA, "Teleport Prohibition equipment#1"; mes "[Arivero Yurhik]"; mes "Yeah~ Great. It's a success."; @@ -8709,7 +8709,7 @@ einbech,212,212,6 script Arivero Yurhik#TFQ04 4_M_GUNSLINGER,{ npctalk "Bang!", "Teleport Prohibition equipment#1", bc_self; sleep2 2000; specialeffect EF_LORD, AREA, "Teleport Prohibition equipment#1"; - cloakonnpc "Teleport Prohibition equipment#1", getcharid(0); + cloakonnpcself( "Teleport Prohibition equipment#1" ); sleep2 1000; mes "[Arivero Yurhik]"; mes "Great! We destroyed the equipment."; @@ -8728,7 +8728,7 @@ einbech,212,212,6 script Arivero Yurhik#TFQ04 4_M_GUNSLINGER,{ mes "[Arivero Yurhik]"; mes "We destroyed the prohibition equipment. Now let's go back to Clana Nemieri."; close2; - cloakonnpc "Arivero Yurhik#TFQ04", getcharid(0); + cloakonnpcself( "Arivero Yurhik#TFQ04" ); end; } end; @@ -8741,9 +8741,9 @@ einbech,215,210,0 script Einbech Prohibition equipment HIDDEN_WARP_NPC,5,5,{ end; OnTouch: if (yurhik_quest < 4) - cloakoffnpc "Arivero Yurhik#TFQ04", getcharid(0); + cloakoffnpcself( "Arivero Yurhik#TFQ04" ); if (yurhik_quest == 3) - cloakoffnpc "Teleport Prohibition equipment#1", getcharid(0); + cloakoffnpcself( "Teleport Prohibition equipment#1" ); end; } @@ -8771,7 +8771,7 @@ lighthalzen,135,233,6 script Arivero Yurhik#TFQ07 4_M_GUNSLINGER,{ mes "Oops! There's someone passing by."; mes "I might look suspicious, so I will hide myself."; close2; - cloakonnpc "Arivero Yurhik#TFQ07", getcharid(0); + cloakonnpcself( "Arivero Yurhik#TFQ07" ); end; } mes "[Arivero Yurhik]"; @@ -8811,7 +8811,7 @@ lighthalzen,135,233,6 script Arivero Yurhik#TFQ07 4_M_GUNSLINGER,{ npctalk "Bang!", "Teleport Prohibition equipment#2", bc_self; sleep2 1000; specialeffect EF_LORD, AREA, "Teleport Prohibition equipment#2"; - cloakonnpc "Teleport Prohibition equipment#2", getcharid(0); + cloakonnpcself( "Teleport Prohibition equipment#2" ); sleep2 1000; mes "[Arivero Yurhik]"; mes "Nevertheless, the first one is always tough and it is easier from the second one. Now let us disappear with teleporting.."; @@ -8838,7 +8838,7 @@ lighthalzen,135,233,6 script Arivero Yurhik#TFQ07 4_M_GUNSLINGER,{ mes "To avoid getting caught, let's scatter."; mes "See you in Clana Nemieri."; close2; - cloakonnpc "Arivero Yurhik#TFQ07", getcharid(0); + cloakonnpcself( "Arivero Yurhik#TFQ07" ); end; } end; @@ -8851,10 +8851,10 @@ lighthalzen,137,231,0 script Rihrtarzen Prohibition equipment HIDDEN_WARP_NPC,5 end; OnTouch: if (yurhik_quest == 5) { - cloakoffnpc "Teleport Prohibition equipment#2", getcharid(0); + cloakoffnpcself( "Teleport Prohibition equipment#2" ); mes "Is this it? The mansion surrounded by water? According to the condition, it seems like it."; next; - cloakoffnpc "Arivero Yurhik#TFQ07", getcharid(0); + cloakoffnpcself( "Arivero Yurhik#TFQ07" ); npctalk "Oops?! My hot friend has already arrived.", "Arivero Yurhik#TFQ07", bc_self; mes "[Arivero Yurhik]"; mes "Oops?! My hot friend has already arrived."; @@ -8905,7 +8905,7 @@ yuno,204,226,6 script Arivero Yurhik#TFQ10 4_M_GUNSLINGER,{ npctalk "Bang!", "Teleport Prohibition equipment#3", bc_self; sleep2 1000; specialeffect EF_LORD, AREA, "Teleport Prohibition equipment#3"; - cloakonnpc "Teleport Prohibition equipment#3", getcharid(0); + cloakonnpcself( "Teleport Prohibition equipment#3" ); mes "[Arivero Yurhik]"; mes "We destroyed the prohibition equipment and there appear to be.. no eyewitnesses. Just in case, let's scatter and move to Einbroch."; next; @@ -8918,7 +8918,7 @@ yuno,204,226,6 script Arivero Yurhik#TFQ10 4_M_GUNSLINGER,{ mes "Oh! I haven't told you the location."; mes "It is the place where Einbroch Wind turbine is located. You bring three Flame Hearts and one remaining Great Nature. We will use them to destroy the equipment."; next; - cloakonnpc "Arivero Yurhik#TFQ10", getcharid(0); + cloakonnpcself( "Arivero Yurhik#TFQ10" ); mes "Vero disappeared in a hurry, as if he was being chased by something. Take three Flame Hearts and one Great Nature and go to Einbroch."; close; } @@ -8932,8 +8932,8 @@ yuno,206,224,0 script Yuno Prohibition equipment HIDDEN_WARP_NPC,5,5,{ end; OnTouch: if (yurhik_quest == 8) { - cloakoffnpc "Arivero Yurhik#TFQ10", getcharid(0); - cloakoffnpc "Teleport Prohibition equipment#3", getcharid(0); + cloakoffnpcself( "Arivero Yurhik#TFQ10" ); + cloakoffnpcself( "Teleport Prohibition equipment#3" ); } end; } @@ -8960,7 +8960,7 @@ einbroch,262,42,4 script Arivero Yurhik#TFQ13 4_M_GUNSLINGER,{ mes "His voice betrays his panic. And he also asked me to do the job that he had been doing by himself. Is there something wrong? I was curious. I broke the Great Nature into pieces as he asked."; next; specialeffect EF_SEISMICWEAPON, AREA, "Teleport Prohibition equipment#4"; - cloakoffnpc "Teleport Prohibition equipment#4", getcharid(0); + cloakoffnpcself( "Teleport Prohibition equipment#4" ); emotion ET_BLABLA; mes "[Arivero Yurhik]"; mes "Now! Time to use the Flame Heart!"; @@ -8989,7 +8989,7 @@ einbroch,262,42,4 script Arivero Yurhik#TFQ13 4_M_GUNSLINGER,{ npctalk "Arrggh.. I can only go this far......", "", bc_self; sleep2 1000; specialeffect EF_LORD, AREA, "Teleport Prohibition equipment#4"; - cloakonnpc "Teleport Prohibition equipment#4", getcharid(0); + cloakonnpcself( "Teleport Prohibition equipment#4" ); sleep2 1000; mes "The equipment was destroyed quickly. Then I realized that Vero looked a bit abnormal. Is he sick or something?"; next; @@ -9017,7 +9017,7 @@ einbroch,262,42,4 script Arivero Yurhik#TFQ13 4_M_GUNSLINGER,{ specialeffect EF_MAPPILLAR; sleep2 4000; npctalk "Oh..", "Arivero Yurhik#TFQ13", bc_self; - cloakonnpc "Arivero Yurhik#TFQ13", getcharid(0); + cloakonnpcself( "Arivero Yurhik#TFQ13" ); delitem 997,1;// Great Nature delitem 994,3;// Flame Heart erasequest 5736; // To Einbroch @@ -9037,7 +9037,7 @@ einbroch,260,40,0 script Einbroch Prohibition equipment HIDDEN_WARP_NPC,5,5,{ end; OnTouch: if (yurhik_quest == 9) { - cloakoffnpc "Arivero Yurhik#TFQ13", getcharid(0); + cloakoffnpcself( "Arivero Yurhik#TFQ13" ); npctalk "Friend! You've arrived!", "Arivero Yurhik#TFQ13", bc_self; } end; @@ -10415,14 +10415,14 @@ rebel_in,108,27,3 script Milo River#16.2rm 4_M_GUNSLINGER2,{ } } case 1: - cloakoffnpc "Charity#16.2rm", getcharid(0); + cloakoffnpcself( "Charity#16.2rm" ); mes "[Charity]"; mes "Meow~"; if (isbegin_quest(16041) == 1) {// daily - cloakoffnpc "Morana Rudel#16.2rm", getcharid(0); + cloakoffnpcself( "Morana Rudel#16.2rm" ); npctalk "Miss Charity! She's ruturned!", "Morana Rudel#16.2rm", bc_self; sleep2 1000; - cloakoffnpc "Nice Looking Gun#16.2rm", getcharid(0); + cloakoffnpcself( "Nice Looking Gun#16.2rm" ); npctalk "Miss Charity! You are beautiful as usual!", "Nice Looking Gun#16.2rm", bc_self; sleep2 1000; npctalk "Miss Charity! I love you!!!", "Morana Rudel#16.2rm", bc_self; @@ -10492,8 +10492,8 @@ rebel_in,108,27,3 script Milo River#16.2rm 4_M_GUNSLINGER2,{ sleep2 1000; npctalk "Oh, Miss Charity. Look at her shape and voice. She is great!"; } - cloakonnpc "Morana Rudel#16.2rm", getcharid(0); - cloakonnpc "Nice Looking Gun#16.2rm", getcharid(0); + cloakonnpcself( "Morana Rudel#16.2rm" ); + cloakonnpcself( "Nice Looking Gun#16.2rm" ); if (countitem(25162) > 0) delitem 25162,1; // Anchovy_cookie erasequest 16044;// In charge of Charity @@ -10503,7 +10503,7 @@ rebel_in,108,27,3 script Milo River#16.2rm 4_M_GUNSLINGER2,{ next; mes "[Charity]"; mes "Meow~"; - cloakonnpc "Charity#16.2rm", getcharid(0); + cloakonnpcself( "Charity#16.2rm" ); close; case 2: end; @@ -10591,9 +10591,9 @@ einbech,34,209,3 script Empty bench#16.2rm2 HIDDEN_NPC,{ close; } if (strnpcinfo(0) == "Empty bench#16.2rm2") - cloakoffnpc "Charity#16.2rmb2", getcharid(0); + cloakoffnpcself( "Charity#16.2rmb2" ); else - cloakoffnpc "Charity#16.2rmb3", getcharid(0); + cloakoffnpcself( "Charity#16.2rmb3" ); mes "[Charity]"; mes "Meow~"; next; @@ -10607,9 +10607,9 @@ einbech,34,209,3 script Empty bench#16.2rm2 HIDDEN_NPC,{ close2; } if (strnpcinfo(0) == "Empty bench#16.2rm2") - cloakonnpc "Charity#16.2rmb2", getcharid(0); + cloakonnpcself( "Charity#16.2rmb2" ); else - cloakonnpc "Charity#16.2rmb3", getcharid(0); + cloakonnpcself( "Charity#16.2rmb3" ); end; OnTimer30000: @@ -11802,7 +11802,7 @@ rebel_in,108,36,3 script Master#16nego02 4_F_HUWOMAN,{ mes "[Master]"; mes "By the way, he should be here now."; next; - cloakoffnpc "Daryl#16nego01", getcharid(0); + cloakoffnpcself( "Daryl#16nego01" ); mes "[Daryl]"; mes "I'm here."; next; @@ -11882,8 +11882,8 @@ rebel_in,108,36,3 script Master#16nego02 4_F_HUWOMAN,{ mes "[Master]"; mes "We will keep your Lady for a while. You reflect on yourself in the training room for some time!"; next; - cloakoffnpc "Trainee#16nego01", getcharid(0); - cloakoffnpc "Trainee#16nego02", getcharid(0); + cloakoffnpcself( "Trainee#16nego01" ); + cloakoffnpcself( "Trainee#16nego02" ); mes "[Master]"; mes "Trainees!!!"; npctalk "Yes!!", "Trainee#16nego01", bc_self; @@ -11901,9 +11901,9 @@ rebel_in,108,36,3 script Master#16nego02 4_F_HUWOMAN,{ npctalk "Let's go.", "Trainee#16nego01", bc_self; npctalk "This time, I will make no mistake in shooting.", "Trainee#16nego02", bc_self; next; - cloakonnpc "Trainee#16nego01", getcharid(0); - cloakonnpc "Trainee#16nego02", getcharid(0); - cloakonnpc "Daryl#16nego01", getcharid(0); + cloakonnpcself( "Trainee#16nego01" ); + cloakonnpcself( "Trainee#16nego02" ); + cloakonnpcself( "Daryl#16nego01" ); mes "[Master]"; mes "You must be so tired by now. Take some rest. Can we count on you tomorrow? If you are interested, come back to us after the dawn."; emotion ET_SWEAT, playerattached(); @@ -12099,7 +12099,7 @@ rebel_in,88,61,5 script Rookie#16nego02 4_M_ROOKIE,{ mes "[" + strcharinfo(0) + "]"; mes "...You told me I had to come here, didn't you?"; next; - cloakoffnpc "Denny#16nego01", getcharid(0); + cloakoffnpcself( "Denny#16nego01" ); mes "[Denny]"; mes "Here come Denny again, the superstar!!!"; next; @@ -12107,8 +12107,8 @@ rebel_in,88,61,5 script Rookie#16nego02 4_M_ROOKIE,{ mes "[Rookie]"; mes "Well, speak of the devil."; next; - cloakonnpc "Denny#16nego01", getcharid(0); - cloakoffnpc "Denny#16nego02", getcharid(0); + cloakonnpcself( "Denny#16nego01" ); + cloakoffnpcself( "Denny#16nego02" ); mes "[Denny]"; mes "Yikes! It's cold!"; next; @@ -12124,8 +12124,8 @@ rebel_in,88,61,5 script Rookie#16nego02 4_M_ROOKIE,{ mes "[Rookie]"; mes "It's me."; next; - cloakonnpc "Denny#16nego02", getcharid(0); - cloakoffnpc "Denny#16nego03", getcharid(0); + cloakonnpcself( "Denny#16nego02" ); + cloakoffnpcself( "Denny#16nego03" ); mes "[Denny]"; mes "Hey! How can you do this to me?"; emotion ET_FRET, getnpcid(0, "Denny#16nego03"); @@ -12323,7 +12323,7 @@ rebel_in,88,61,5 script Rookie#16nego02 4_M_ROOKIE,{ mes "[Denny]"; mes "I'm so sad!!!!!!"; next; - cloakonnpc "Denny#16nego03", getcharid(0); + cloakonnpcself( "Denny#16nego03" ); cutin "16loo_03.bmp",2; mes "[Rookie]"; mes "Phew, he's so rude. We have no choice. I will look for someone else to do it. You don't have to worry about this."; @@ -12345,7 +12345,7 @@ rebel_in,88,61,5 script Rookie#16nego02 4_M_ROOKIE,{ mes "[Denny]"; mes "Yes! We will be waiting!"; next; - cloakonnpc "Denny#16nego03", getcharid(0); + cloakonnpcself( "Denny#16nego03" ); cutin "16loo_01.bmp",2; mes "[Rookie]"; mes "Be careful!"; @@ -12356,12 +12356,12 @@ rebel_in,88,61,5 script Rookie#16nego02 4_M_ROOKIE,{ mes "[Rookie]"; mes "Great job, adventurer. I must have been hard for you to take that job all of a sudden."; next; - cloakoffnpc "Denny#16nego01", getcharid(0); + cloakoffnpcself( "Denny#16nego01" ); mes "[Denny]"; mes "Here come Denny again, the superstar!!!"; next; - cloakonnpc "Denny#16nego01", getcharid(0); - cloakoffnpc "Denny#16nego03", getcharid(0); + cloakonnpcself( "Denny#16nego01" ); + cloakoffnpcself( "Denny#16nego03" ); mes "[Denny]"; mes "Adventurer! Have you brought them all? Let me see."; next; @@ -12378,7 +12378,7 @@ rebel_in,88,61,5 script Rookie#16nego02 4_M_ROOKIE,{ mes "[Denny]"; mes "Superstar Denny is going home now!"; next; - cloakonnpc "Denny#16nego03", getcharid(0); + cloakonnpcself( "Denny#16nego03" ); cutin "16loo_01.bmp",2; mes "[Rookie]"; mes "What kind of superstar is that? After all, we are counting on you. He is more persistent than he looks. So I am saying this for you."; @@ -12397,7 +12397,7 @@ rebel_in,88,61,5 script Rookie#16nego02 4_M_ROOKIE,{ mes "[Denny]"; mes "Superstar Denny is going home now!"; next; - cloakonnpc "Denny#16nego03", getcharid(0); + cloakonnpcself( "Denny#16nego03" ); cutin "16loo_01.bmp",2; mes "[Rookie]"; mes "What kind of superstar is that? After all, we are counting on you. He is more persistent than he looks. So I am saying this for you."; @@ -12412,7 +12412,7 @@ rebel_in,88,61,5 script Rookie#16nego02 4_M_ROOKIE,{ mes "[Denny]"; mes "Then I will go and prepare for repairing! I will count on you again!"; next; - cloakonnpc "Denny#16nego03", getcharid(0); + cloakonnpcself( "Denny#16nego03" ); cutin "16loo_03.bmp",2; mes "[Rookie]"; mes "He went back only after saying what he wants. How spoiled! But I didn't educate him like that."; @@ -12444,7 +12444,7 @@ rebel_in,88,61,5 script Rookie#16nego02 4_M_ROOKIE,{ mes "[" + strcharinfo(0) + "]"; mes "...You told me I had to come here, didn't you?"; next; - cloakoffnpc "Cyan#16nego02", getcharid(0); + cloakoffnpcself( "Cyan#16nego02" ); mes "[Cyan]"; mes "Yikes, it's so cold!"; next; @@ -12463,16 +12463,16 @@ rebel_in,88,61,5 script Rookie#16nego02 4_M_ROOKIE,{ mes "Oh! When did I get dressed like this!"; emotion ET_HUK; next; - cloakonnpc "Cyan#16nego02", getcharid(0); - cloakoffnpc "Cyan#16nego01", getcharid(0); + cloakonnpcself( "Cyan#16nego02" ); + cloakoffnpcself( "Cyan#16nego01" ); mes "[Cyan]"; mes "Let's see... I thought so. The fireplace is weaker now. No firewood?"; next; mes "[Rookie]"; mes "Well, it's true."; next; - cloakoffnpc "Cyan#16nego02", getcharid(0); - cloakonnpc "Cyan#16nego01", getcharid(0); + cloakoffnpcself( "Cyan#16nego02" ); + cloakonnpcself( "Cyan#16nego01" ); mes "[Cyan]"; mes "Once this last firewood is burnt out, I will die... Last... firewood..."; next; @@ -12561,7 +12561,7 @@ rebel_in,88,61,5 script Rookie#16nego02 4_M_ROOKIE,{ mes "[Cyan]"; mes "My dear, come back if you miss me!"; next; - cloakonnpc "Cyan#16nego02", getcharid(0); + cloakonnpcself( "Cyan#16nego02" ); mes "[" + strcharinfo(0) + "]"; mes "Yes. I will."; close3; @@ -12607,7 +12607,7 @@ rebel_in,88,61,5 script Rookie#16nego02 4_M_ROOKIE,{ mes "Be careful, my dear~"; next; cutin "16loo_01.bmp",2; - cloakonnpc "Cyan#16nego02", getcharid(0); + cloakonnpcself( "Cyan#16nego02" ); emotion ET_PROFUSELY_SWEAT, playerattached(); mes "[Rookie]"; mes "Phew... We will count on you anyway. Regardless of what that fellow told you, everyone will get a cold once the fire goes out."; @@ -12618,7 +12618,7 @@ rebel_in,88,61,5 script Rookie#16nego02 4_M_ROOKIE,{ mes "[Rookie]"; mes "Adventurer, seems like you gave so much effort!"; next; - cloakoffnpc "Cyan#16nego02", getcharid(0); + cloakoffnpcself( "Cyan#16nego02" ); mes "[Cyan]"; mes "Welcome back, dear!!! Have you got them all for me? Right?"; next; @@ -12632,7 +12632,7 @@ rebel_in,88,61,5 script Rookie#16nego02 4_M_ROOKIE,{ mes "[Cyan]"; mes "And don't forget to defeat about 10 Waste Stoves! I will be sleeping in by bed. It's so cold!"; next; - cloakonnpc "Cyan#16nego02", getcharid(0); + cloakonnpcself( "Cyan#16nego02" ); cutin "16loo_03.bmp",2; mes "[Rookie]"; mes "That's so spoiled. Adventurer, We will count on you again. If you don't bring them, Cyan will pester you all day long."; @@ -12648,7 +12648,7 @@ rebel_in,88,61,5 script Rookie#16nego02 4_M_ROOKIE,{ mes "[Cyan]"; mes "Defeat ^0000cd10 Waste Stoves^000000. I will be sleeping in by bed. It's so cold!"; next; - cloakonnpc "Cyan#16nego02", getcharid(0); + cloakonnpcself( "Cyan#16nego02" ); cutin "16loo_03.bmp",2; mes "[Rookie]"; mes "That's so spoiled. Adventurer, We will count on you again. If you don't bring them, Cyan will pester you all day long."; @@ -12657,7 +12657,7 @@ rebel_in,88,61,5 script Rookie#16nego02 4_M_ROOKIE,{ mes "[Cyan]"; mes "Wow! You've brought all of them! My dear, you are so reliable!"; next; - cloakoffnpc "#16negofire", getcharid(0); + cloakoffnpcself( "#16negofire" ); mes "[Cyan]"; mes "Okay. Put the wood and coal in... Fire!!!!!!!!"; specialeffect EF_FIREWALL, AREA, "#16negofire"; @@ -12701,8 +12701,8 @@ rebel_in,88,61,5 script Rookie#16nego02 4_M_ROOKIE,{ mes "[Cyan]"; mes "Now I will go in and sleep. See you!"; next; - cloakonnpc "#16negofire", getcharid(0); - cloakonnpc "Cyan#16nego02", getcharid(0); + cloakonnpcself( "#16negofire" ); + cloakonnpcself( "Cyan#16nego02" ); mes "[Rookie]"; mes "Phew, I am exhausted as well. Please take a good rest now and come back after the ^0000cddawn^000000."; erasequest 14604;// National Fuel Solar Fuel @@ -12729,7 +12729,7 @@ rebel_in,88,61,5 script Rookie#16nego02 4_M_ROOKIE,{ mes "[" + strcharinfo(0) + "]"; mes "... You told me I had to come here, didn't you?"; next; - cloakoffnpc "Magenta#16nego01", getcharid(0); + cloakoffnpcself( "Magenta#16nego01" ); mes "[Magenta]"; mes "Twinkle twinkle little star~ My shooting star, you are still beautiful."; next; @@ -12861,7 +12861,7 @@ rebel_in,88,61,5 script Rookie#16nego02 4_M_ROOKIE,{ mes "[Magenta]"; mes "I see... Please come back if you remember it later on. I will be waiting for you. Bye... then."; next; - cloakonnpc "Magenta#16nego01", getcharid(0); + cloakonnpcself( "Magenta#16nego01" ); mes "[Rookie]"; mes "See you later. Be careful."; close3; @@ -12884,7 +12884,7 @@ rebel_in,88,61,5 script Rookie#16nego02 4_M_ROOKIE,{ mes "[Magenta]"; mes "Please bring ^0000cd 10 pieces of crystal and 10 pieces of black crystal^000000. You can get them by defeating ^0000cdObsidians and Minerals^000000. Be careful!"; next; - cloakonnpc "Magenta#16nego01", getcharid(0); + cloakonnpcself( "Magenta#16nego01" ); mes "[Rookie]"; mes "Phew. He's so loud. I will count on you, adventurer."; setquest 14605;// Sparkling things @@ -12895,7 +12895,7 @@ rebel_in,88,61,5 script Rookie#16nego02 4_M_ROOKIE,{ mes "[Rookie]"; mes "Welcome back, adventurer. I know you are suffering from the weird guy."; next; - cloakoffnpc "Magenta#16nego01", getcharid(0); + cloakoffnpcself( "Magenta#16nego01" ); mes "[Magenta]"; mes "You've come! Have you brought everything I asked for? Let me see!"; next; @@ -12909,7 +12909,7 @@ rebel_in,88,61,5 script Rookie#16nego02 4_M_ROOKIE,{ mes "[Magenta]"; mes "You can get them from ^0000cdObsidians and Mineral^000000. So defeat them. I have to go now. See you!"; next; - cloakonnpc "Magenta#16nego01", getcharid(0); + cloakonnpcself( "Magenta#16nego01" ); cutin "16loo_03.bmp",2; mes "[Rookie]"; mes "Phew, so complicated. We will count on you. That fellow is so persistent."; @@ -12925,7 +12925,7 @@ rebel_in,88,61,5 script Rookie#16nego02 4_M_ROOKIE,{ mes "[Magenta]"; mes "Sorry to request you again, adventurer. Please defeat ^0000cd10 Obsidians and 10 Minerals^000000. I will count on you."; next; - cloakonnpc "Magenta#16nego01", getcharid(0); + cloakonnpcself( "Magenta#16nego01" ); cutin "16loo_03.bmp",2; mes "[Rookie]"; mes "Phew, so complicated. We will count on you. That fellow is so persistent."; @@ -12976,7 +12976,7 @@ rebel_in,88,61,5 script Rookie#16nego02 4_M_ROOKIE,{ mes "[Magenta]"; mes "Thank you so much! I should start working. Be careful!"; next; - cloakonnpc "Magenta#16nego01", getcharid(0); + cloakonnpcself( "Magenta#16nego01" ); cutin "16loo_03.bmp",2; mes "[Rookie]"; mes "That fellow is really loud, isn't he? I apologize on behalf of him. Please take a good rest and come back ^0000cdafter the dawn^000000."; @@ -13002,7 +13002,7 @@ rebel_in,88,61,5 script Rookie#16nego02 4_M_ROOKIE,{ mes "[" + strcharinfo(0) + "]"; mes "...You told me I had to come here, didn't you?"; next; - cloakoffnpc "Denny#16nego01", getcharid(0); + cloakoffnpcself( "Denny#16nego01" ); mes "[Denny]"; mes "Here come Denny again, the superstar!!!"; next; @@ -13024,7 +13024,7 @@ rebel_in,88,61,5 script Rookie#16nego02 4_M_ROOKIE,{ mes "[Denny]"; mes "Cheer up!"; next; - cloakonnpc "Denny#16nego03", getcharid(0); + cloakonnpcself( "Denny#16nego03" ); mes "[Rookie]"; mes "Ouch, I'm so busy. Sorry to request you again. Go, adventurer!"; erasequest 14609;// Quiet time @@ -13036,15 +13036,15 @@ rebel_in,88,61,5 script Rookie#16nego02 4_M_ROOKIE,{ mes "[Rookie]"; mes "Welcome back, adventurer. Thank you for your support. Our silly kid gave you some trouble."; next; - cloakoffnpc "Denny#16nego01", getcharid(0); + cloakoffnpcself( "Denny#16nego01" ); mes "[Denny]"; mes "The adventurer is here?"; next; mes "[Denny]"; mes "Here come Denny again, the superstar!!!"; next; - cloakonnpc "Denny#16nego01", getcharid(0); - cloakoffnpc "Denny#16nego03", getcharid(0); + cloakonnpcself( "Denny#16nego01" ); + cloakoffnpcself( "Denny#16nego03" ); mes "[Denny]"; mes "Adventurer! Have you brought them all? Let me see."; next; @@ -13061,7 +13061,7 @@ rebel_in,88,61,5 script Rookie#16nego02 4_M_ROOKIE,{ mes "[Denny]"; mes "Superstar Denny is going home now!"; next; - cloakonnpc "Denny#16nego03", getcharid(0); + cloakonnpcself( "Denny#16nego03" ); cutin "16loo_03.bmp",2; mes "[Rookie]"; mes "What a spoiled kid. I apologize on behalf of him. We will count on you for the rest items."; @@ -13080,7 +13080,7 @@ rebel_in,88,61,5 script Rookie#16nego02 4_M_ROOKIE,{ mes "[Denny]"; mes "Superstar Denny is going home now!"; next; - cloakonnpc "Denny#16nego03", getcharid(0); + cloakonnpcself( "Denny#16nego03" ); cutin "16loo_03.bmp",2; mes "[Rookie]"; mes "What a spoiled kid. I apologize on behalf of him. We will count on you for the rest items."; @@ -13095,7 +13095,7 @@ rebel_in,88,61,5 script Rookie#16nego02 4_M_ROOKIE,{ mes "[Denny]"; mes "Then I will go and prepare for repairing! I will count on you again!"; next; - cloakonnpc "Denny#16nego03", getcharid(0); + cloakonnpcself( "Denny#16nego03" ); cutin "16loo_03.bmp",2; mes "[Rookie]"; mes "He went back only after saying what he wants. How spoiled! But I didn't educate him like that."; @@ -13125,7 +13125,7 @@ rebel_in,88,61,5 script Rookie#16nego02 4_M_ROOKIE,{ mes "[" + strcharinfo(0) + "]"; mes "...You told me I had to come here, didn't you?"; next; - cloakoffnpc "Cyan#16nego02", getcharid(0); + cloakoffnpcself( "Cyan#16nego02" ); mes "[Cyan]"; mes "Yikes, it's so cold!"; next; @@ -13144,16 +13144,16 @@ rebel_in,88,61,5 script Rookie#16nego02 4_M_ROOKIE,{ mes "Oh! When did I get dressed like this!"; emotion ET_HUK; next; - cloakonnpc "Cyan#16nego02", getcharid(0); - cloakoffnpc "Cyan#16nego01", getcharid(0); + cloakonnpcself( "Cyan#16nego02" ); + cloakoffnpcself( "Cyan#16nego01" ); mes "[Cyan]"; mes "Let's see... I thought so. The fireplace is weaker now. No firewood?"; next; mes "[Rookie]"; mes "Well, it's true."; next; - cloakoffnpc "Cyan#16nego02", getcharid(0); - cloakonnpc "Cyan#16nego01", getcharid(0); + cloakoffnpcself( "Cyan#16nego02" ); + cloakonnpcself( "Cyan#16nego01" ); mes "[Cyan]"; mes "Once this last firewood is burnt out, I will die... Last... firewood..."; next; @@ -13266,7 +13266,7 @@ rebel_in,88,61,5 script Rookie#16nego02 4_M_ROOKIE,{ mes "[Cyan]"; mes "Be careful, my dear~"; next; - cloakonnpc "Cyan#16nego02", getcharid(0); + cloakonnpcself( "Cyan#16nego02" ); emotion ET_SWEAT, playerattached(); mes "[Rookie]"; mes "Phew... We will count on you anyway. Regardless of what that fellow told you, everyone will get a cold once the fire goes out."; @@ -13282,7 +13282,7 @@ rebel_in,88,61,5 script Rookie#16nego02 4_M_ROOKIE,{ mes "[Cyan]"; mes "What? Adventurer? My dear?"; next; - cloakoffnpc "Cyan#16nego02", getcharid(0); + cloakoffnpcself( "Cyan#16nego02" ); mes "[Cyan]"; mes "My dear~~~ You're late! I've been waiting for you for a long time! Have you brought the right one again? I mean, the firewood."; next; @@ -13296,7 +13296,7 @@ rebel_in,88,61,5 script Rookie#16nego02 4_M_ROOKIE,{ mes "[Cyan]"; mes "And don't forget to defeat about 10 Waste Stoves! I will be sleeping in by bed. It's so cold!"; next; - cloakonnpc "Cyan#16nego02", getcharid(0); + cloakonnpcself( "Cyan#16nego02" ); cutin "16loo_03.bmp",2; mes "[Rookie]"; mes "Sorry. Some of our kids are spoiled... We will count on you."; @@ -13312,7 +13312,7 @@ rebel_in,88,61,5 script Rookie#16nego02 4_M_ROOKIE,{ mes "[Cyan]"; mes "Defeat ^0000cd10 Waste Stoves^000000. I will be sleeping in by bed. It's so cold!"; next; - cloakonnpc "Cyan#16nego02", getcharid(0); + cloakonnpcself( "Cyan#16nego02" ); cutin "16loo_03.bmp",2; mes "[Rookie]"; mes "Sorry. Some of our kids are spoiled... We will count on you."; @@ -13321,9 +13321,9 @@ rebel_in,88,61,5 script Rookie#16nego02 4_M_ROOKIE,{ mes "[Cyan]"; mes "Burnt Tree and coal, you have everything! That's why I like you, dear!"; next; - cloakonnpc "Cyan#16nego02", getcharid(0); - cloakoffnpc "Cyan#16nego01", getcharid(0); - cloakoffnpc "#16negofire", getcharid(0); + cloakonnpcself( "Cyan#16nego02" ); + cloakoffnpcself( "Cyan#16nego01" ); + cloakoffnpcself( "#16negofire" ); mes "[Cyan]"; mes "Okay. Put the wood and coal in... Fire!!!!!!!!"; specialeffect EF_FIREWALL, AREA, "#16negofire"; @@ -13331,14 +13331,14 @@ rebel_in,88,61,5 script Rookie#16nego02 4_M_ROOKIE,{ mes "[Cyan]"; mes "Oh, it's warm now. As warm as your love~"; next; - cloakonnpc "Cyan#16nego01", getcharid(0); - cloakoffnpc "Cyan#16nego02", getcharid(0); - cloakonnpc "#16negofire", getcharid(0); + cloakonnpcself( "Cyan#16nego01" ); + cloakoffnpcself( "Cyan#16nego02" ); + cloakonnpcself( "#16negofire" ); next; mes "[Cyan]"; mes "Thank you so much! I will count you again later on! MY DEAR!"; next; - cloakonnpc "Cyan#16nego02", getcharid(0); + cloakonnpcself( "Cyan#16nego02" ); cutin "16loo_03.bmp",2; mes "[Rookie]"; mes "There he leaves again without saying goodbye to you. Sorry about him. Some of our kids are spoiled. But not every Rebellion is like that."; @@ -13368,7 +13368,7 @@ rebel_in,88,61,5 script Rookie#16nego02 4_M_ROOKIE,{ mes "[" + strcharinfo(0) + "]"; mes "...You told me I had to come here, didn't you?"; next; - cloakoffnpc "Magenta#16nego01", getcharid(0); + cloakoffnpcself( "Magenta#16nego01" ); mes "[Magenta]"; mes "Wait!!! Adventurer! Please talk to me!"; next; @@ -13384,7 +13384,7 @@ rebel_in,88,61,5 script Rookie#16nego02 4_M_ROOKIE,{ mes "[Magenta]"; mes "Eee you later! I have to go and arrange the stuffs I made. I will count on you!"; next; - cloakonnpc "Magenta#16nego01", getcharid(0); + cloakonnpcself( "Magenta#16nego01" ); cutin "16loo_03.bmp",2; mes "[Rookie]"; mes "Ouch, Sorry to request you again. It must be tough for you now."; @@ -13397,7 +13397,7 @@ rebel_in,88,61,5 script Rookie#16nego02 4_M_ROOKIE,{ mes "[Rookie]"; mes "Welcome back, adventurer. Thank you for your support. That flake gave you some trouble."; next; - cloakoffnpc "Magenta#16nego01", getcharid(0); + cloakoffnpcself( "Magenta#16nego01" ); mes "[Magenta]"; mes "You've come! Have you brought everything I asked for? Let me see!"; next; @@ -13411,7 +13411,7 @@ rebel_in,88,61,5 script Rookie#16nego02 4_M_ROOKIE,{ mes "[Magenta]"; mes "You can get them from ^0000cdObsidians and Mineral^000000. So defeat them. I have to go now. See you!"; next; - cloakonnpc "Magenta#16nego01", getcharid(0); + cloakonnpcself( "Magenta#16nego01" ); cutin "16loo_03.bmp",2; mes "[Rookie]"; mes "Sorry. Some of our kids are spoiled... We will count on you."; @@ -13427,7 +13427,7 @@ rebel_in,88,61,5 script Rookie#16nego02 4_M_ROOKIE,{ mes "[Magenta]"; mes "Sorry to request you again, adventurer. Please defeat ^0000cd10 Obsidians and 10 Minerals^000000. I will count on you."; next; - cloakonnpc "Magenta#16nego01", getcharid(0); + cloakonnpcself( "Magenta#16nego01" ); cutin "16loo_03.bmp",2; mes "[Rookie]"; mes "Sorry. Some of our kids are spoiled... We will count on you."; @@ -13439,7 +13439,7 @@ rebel_in,88,61,5 script Rookie#16nego02 4_M_ROOKIE,{ mes "[Magenta]"; mes "Thank you so much! Can I ask you for a favor again next time? This is great!!!"; next; - cloakonnpc "Magenta#16nego01", getcharid(0); + cloakonnpcself( "Magenta#16nego01" ); cutin "16loo_03.bmp",2; mes "[Rookie]"; mes "There he leaves again without saying goodbye to you. Sorry about him. Some of our kids are spoiled. But not every Rebellion is like that."; diff --git a/npc/re/quests/quests_16_2_illusion.txt b/npc/re/quests/quests_16_2_illusion.txt index 9a4578a7cf..734b699e4e 100644 --- a/npc/re/quests/quests_16_2_illusion.txt +++ b/npc/re/quests/quests_16_2_illusion.txt @@ -1917,9 +1917,9 @@ OnTouch: cloakoffnpc( "Wizard#ilgf28", .@char_id ); } else if (ill_vampire == 10) { - cloakoffnpc "Dracula#ilgf02", getcharid(0); - cloakoffnpc "King#ilgf01", getcharid(0); - cloakoffnpc "Wizard#ilgf02", getcharid(0); + cloakoffnpcself( "Dracula#ilgf02" ); + cloakoffnpcself( "King#ilgf01" ); + cloakoffnpcself( "Wizard#ilgf02" ); } else if (ill_vampire == 12 || ill_vampire == 13) { .@char_id = getcharid(0); @@ -3334,9 +3334,9 @@ gef_d01_i,81,135,5 script Wizard#ilgf01 4_F_BOMI,5,5,{ next; mes "[Bomi]"; mes "You'd better hurry."; - cloakoffnpc "Dracula#ilgf02", getcharid(0); - cloakoffnpc "King#ilgf01", getcharid(0); - cloakoffnpc "Wizard#ilgf02", getcharid(0); + cloakoffnpcself( "Dracula#ilgf02" ); + cloakoffnpcself( "King#ilgf01" ); + cloakoffnpcself( "Wizard#ilgf02" ); delitem 25268,10;// Sticky_Blood delitem 25269,10;// Mushroom_Sap erasequest 14660;// Ingredients for Fake Blood @@ -3345,9 +3345,9 @@ gef_d01_i,81,135,5 script Wizard#ilgf01 4_F_BOMI,5,5,{ close; } if (ill_vampire < 12) { - cloakoffnpc "Dracula#ilgf02", getcharid(0); - cloakoffnpc "King#ilgf01", getcharid(0); - cloakoffnpc "Wizard#ilgf02", getcharid(0); + cloakoffnpcself( "Dracula#ilgf02" ); + cloakoffnpcself( "King#ilgf01" ); + cloakoffnpcself( "Wizard#ilgf02" ); mes "[Bomi]"; mes "I hope you'll find your friend soon. Why don't you check the catacombs in the south? He might be there."; close; diff --git a/npc/re/quests/quests_17_1.txt b/npc/re/quests/quests_17_1.txt index d2ed21695f..f3e0be7eb0 100644 --- a/npc/re/quests/quests_17_1.txt +++ b/npc/re/quests/quests_17_1.txt @@ -6168,13 +6168,13 @@ sp_cor,110,130,3 script Elena Volkova#rm171_0 4_F_ELENA,{ mes "Ack, what was that?"; next; cutin "",255; - cloakoffnpc "Rebellion#rm171_0", getcharid(0); + cloakoffnpcself( "Rebellion#rm171_0" ); mes "[Rebellion]"; mes "Captain, there was another explosion near the facilities!"; mes "That researcher named ^0000CDElyumina^000000 must have done it. We'll go after him right away!"; next; cutin "162elena_01",2; - cloakonnpc "Rebellion#rm171_0", getcharid(0); + cloakonnpcself( "Rebellion#rm171_0" ); emotion 6; mes "[Elena Volkova]"; mes "So, he knows he can't take us head-on. He's using guerrilla tactics."; @@ -6286,12 +6286,12 @@ sp_cor,180,169,3 script Elena Volkova#rm171_1 4_F_ELENA,{ setquest 16357; close3; } - cloakoffnpc "Rebellion#rm171_1", getcharid(0); - cloakoffnpc "Rebellion#rm171_2", getcharid(0); - cloakoffnpc "Rebellion#rm171_3", getcharid(0); - cloakoffnpc "Rebellion#rm171_4", getcharid(0); - cloakoffnpc "Rebellion#rm171_5", getcharid(0); - cloakoffnpc "Rebellion#rm171_6", getcharid(0); + cloakoffnpcself( "Rebellion#rm171_1" ); + cloakoffnpcself( "Rebellion#rm171_2" ); + cloakoffnpcself( "Rebellion#rm171_3" ); + cloakoffnpcself( "Rebellion#rm171_4" ); + cloakoffnpcself( "Rebellion#rm171_5" ); + cloakoffnpcself( "Rebellion#rm171_6" ); cutin "162elena_01",2; mes "[Elena Volkova]"; mes "The area has been closed. The evacuation process is almost complete."; @@ -6354,12 +6354,12 @@ sp_cor,180,169,3 script Elena Volkova#rm171_1 4_F_ELENA,{ end; switch (instance_enter("Cor Memorial")) { case IE_OK: - cloakonnpc "Rebellion#rm171_1", getcharid(0); - cloakonnpc "Rebellion#rm171_2", getcharid(0); - cloakonnpc "Rebellion#rm171_3", getcharid(0); - cloakonnpc "Rebellion#rm171_4", getcharid(0); - cloakonnpc "Rebellion#rm171_5", getcharid(0); - cloakonnpc "Rebellion#rm171_6", getcharid(0); + cloakonnpcself( "Rebellion#rm171_1" ); + cloakonnpcself( "Rebellion#rm171_2" ); + cloakonnpcself( "Rebellion#rm171_3" ); + cloakonnpcself( "Rebellion#rm171_4" ); + cloakonnpcself( "Rebellion#rm171_5" ); + cloakonnpcself( "Rebellion#rm171_6" ); if (isbegin_quest(16355) > 0) erasequest 16355; if (isbegin_quest(16356) > 0) @@ -6505,16 +6505,16 @@ sp_cor,136,210,7 script Goni#rm171_1 4_M_GONY,{ mes "..."; next; cutin "16loo_01",2; - cloakoffnpc "Rookie#rm171_1", getcharid(0); - cloakoffnpc "Elena Volkova#rm171_2", getcharid(0); - cloakoffnpc "Philopontes#rm171_1", getcharid(0); + cloakoffnpcself( "Rookie#rm171_1" ); + cloakoffnpcself( "Elena Volkova#rm171_2" ); + cloakoffnpcself( "Philopontes#rm171_1" ); mes "[Rookie]"; mes "Ah, you came early. I thought you'd come later after a break."; mes "Mr. Lazy, please bring out the prisoner."; next; cutin "16lei_01",2; - cloakoffnpc "Lazy#rm171_1", getcharid(0); - cloakoffnpc "Elyumina#rm171_1", getcharid(0); + cloakoffnpcself( "Lazy#rm171_1" ); + cloakoffnpcself( "Elyumina#rm171_1" ); mes "[Lazy]"; mes "Yes, sir. Here he is."; mes "It hasn't been that long since we met, and you're already bossing me around."; @@ -6540,11 +6540,11 @@ sp_cor,136,210,7 script Goni#rm171_1 4_M_GONY,{ close3; case 2: if (isbegin_quest(16359) < 2) { - cloakoffnpc "Rookie#rm171_1", getcharid(0); - cloakoffnpc "Elena Volkova#rm171_2", getcharid(0); - cloakoffnpc "Philopontes#rm171_1", getcharid(0); - cloakoffnpc "Lazy#rm171_1", getcharid(0); - cloakoffnpc "Elyumina#rm171_1", getcharid(0); + cloakoffnpcself( "Rookie#rm171_1" ); + cloakoffnpcself( "Elena Volkova#rm171_2" ); + cloakoffnpcself( "Philopontes#rm171_1" ); + cloakoffnpcself( "Lazy#rm171_1" ); + cloakoffnpcself( "Elyumina#rm171_1" ); } cutin "16go_01",0; mes "[Goni]"; @@ -6691,8 +6691,8 @@ sp_cor,135,216,5 script Rookie#rm171_1 4_M_ROOKIE,{ mes "Now, let's get down to the business, shall we? Please send him here, Mr. Lazy."; npctalk "Lazy: Go do your best, Ms. Great Scientist.", "Lazy#rm171_1", bc_self; next; - cloakonnpc "Elyumina#rm171_1", getcharid(0); - cloakoffnpc "Elyumina#rm171_2", getcharid(0); + cloakonnpcself( "Elyumina#rm171_1" ); + cloakoffnpcself( "Elyumina#rm171_2" ); cutin "16lei_01",2; npctalk "Rookie: ... So... Ah, I see...", "Rookie#rm171_1", bc_self; mes "[Lazy]"; @@ -6759,11 +6759,11 @@ sp_cor,135,216,5 script Rookie#rm171_1 4_M_ROOKIE,{ completequest 16359; setquest 16360; close2; - cloakonnpc "Rookie#rm171_1", getcharid(0); - cloakonnpc "Elena Volkova#rm171_2", getcharid(0); - cloakonnpc "Lazy#rm171_1", getcharid(0); - cloakonnpc "Elyumina#rm171_2", getcharid(0); - cloakonnpc "Philopontes#rm171_1", getcharid(0); + cloakonnpcself( "Rookie#rm171_1" ); + cloakonnpcself( "Elena Volkova#rm171_2" ); + cloakonnpcself( "Lazy#rm171_1" ); + cloakonnpcself( "Elyumina#rm171_2" ); + cloakonnpcself( "Philopontes#rm171_1" ); cutin "",255; end; case 2: @@ -6811,9 +6811,9 @@ sp_cor,255,285,1 script Rookie#rm171_2 4_M_ROOKIE,{ mes " - Your bag is full. Please check your weight and carrying item quantity, and then talk to me again. -"; close; } - cloakoffnpc "Goni#rm171_2", getcharid(0); - cloakoffnpc "Elyumina#rm171_3", getcharid(0); - cloakoffnpc "Elena Volkova#rm171_3", getcharid(0); + cloakoffnpcself( "Goni#rm171_2" ); + cloakoffnpcself( "Elyumina#rm171_3" ); + cloakoffnpcself( "Elena Volkova#rm171_3" ); cutin "16loo_03",2; emotion 19; mes "[Rookie]"; @@ -6899,9 +6899,9 @@ sp_cor,255,285,1 script Rookie#rm171_2 4_M_ROOKIE,{ getexp 0,400000; getexp 0,400000; close2; - cloakonnpc "Goni#rm171_2", getcharid(0); - cloakonnpc "Elyumina#rm171_3", getcharid(0); - cloakonnpc "Elena Volkova#rm171_3", getcharid(0); + cloakonnpcself( "Goni#rm171_2" ); + cloakonnpcself( "Elyumina#rm171_3" ); + cloakonnpcself( "Elena Volkova#rm171_3" ); cutin "",255; end; case 2: @@ -7706,7 +7706,7 @@ sp_cor,113,130,3 script Rebellion#rm171_8 4_M_REBELLION3,{ mes "[Rebellion]"; mes "Mina said you can come back later. It's too early for his lovely children to be up and about."; next; - cloakoffnpc "Elyumina#rm171_4", getcharid(0); + cloakoffnpcself( "Elyumina#rm171_4" ); cutin "ep171_elyumina03",0; npctalk "Elyumina: S-stop calling me that ridiculous name!", "Elyumina#rm171_4", bc_self; mes "[Elyumina]"; @@ -7731,7 +7731,7 @@ sp_cor,113,130,3 script Rebellion#rm171_8 4_M_REBELLION3,{ npctalk "Mina?", "", bc_self; next; cutin "ep171_elyumina03",0; - cloakoffnpc "Elyumina#rm171_4", getcharid(0); + cloakoffnpcself( "Elyumina#rm171_4" ); npctalk "Elyumina: S-stop calling me that!", "Elyumina#rm171_4", bc_self; npctalk "You?", "", bc_self; mes "[Elyumina]"; @@ -7789,7 +7789,7 @@ sp_cor,113,130,3 script Rebellion#rm171_8 4_M_REBELLION3,{ mes "It's time Mina's children are up and about, Adventurer."; mes "Do you want to play with them and tuck them back into bed while everyone else waits for you to finish?"; next; - cloakoffnpc "Elyumina#rm171_4", getcharid(0); + cloakoffnpcself( "Elyumina#rm171_4" ); cutin "ep171_elyumina03",0; mes "[Elyumina]"; mes "... Soon, my security devices and traps will come out of their low power mode and become mobile again."; diff --git a/npc/re/quests/quests_rockridge.txt b/npc/re/quests/quests_rockridge.txt index b0d0965fae..9a889bcc53 100644 --- a/npc/re/quests/quests_rockridge.txt +++ b/npc/re/quests/quests_rockridge.txt @@ -1023,7 +1023,7 @@ har_in01,89,26,5 script Johnny James#har_in01 4_M_JOHNNYJAMES,{ setpcblock PCBLOCK_NPC, true; npctalk "You sneaky bastards, how dare you show up again? Go to hell!", "", bc_self; sleep2 2000; - cloakoffnpc "Ivoka Skudi#har02", getcharid(0); + cloakoffnpcself( "Ivoka Skudi#har02" ); setpcblock PCBLOCK_NPC, false; npctalk "Ah, you'd better show some respect to our future mayor.", "Ivoka Skudi#har02", bc_self; mes "[Ivoka Skudi]"; @@ -1212,7 +1212,7 @@ har_in01,88,22,6 script Ivoka Skudi#har02 4_M_EVOKASCUDI,{ mes "[Ivoka Skudi]"; mes "(Whispering) He's more simpleminded than I thought. Let's go report to the Sheriff."; close2; - cloakonnpc "Ivoka Skudi#har02", getcharid(0); + cloakonnpcself( "Ivoka Skudi#har02" ); end; } end; @@ -1234,19 +1234,19 @@ rockrdg1,156,312,3 script Unmoving Freight Train# 4_ENERGY_RED,{ setpcblock PCBLOCK_NPC, true; unittalk getcharid(3), "" + strcharinfo(0) + " : I think this is the place, but maybe I came too early.", bc_self; sleep2 2000; - cloakoffnpc "Johnny James#revt04", getcharid(0); + cloakoffnpcself( "Johnny James#revt04" ); sleep2 1000; emotion ET_QUESTION, getnpcid(0,"Johnny James#revt04"); npctalk "Who's this? You're not the one I was expecting.", "Johnny James#revt04", bc_self; sleep2 1000; - cloakoffnpc "Albert Ford#revt08", getcharid(0); + cloakoffnpcself( "Albert Ford#revt08" ); npctalk "Hey Boss, I told you not to go without me.", "Albert Ford#revt08", bc_self; sleep2 2000; npctalk "Mm? I don't remember if Costello looks like that.", "Albert Ford#revt08", bc_self; sleep2 2500; npctalk "Hey, I'm having an important meeting here. Scram!", "Johnny James#revt04", bc_self; sleep2 2000; - cloakoffnpc "Wyatt Warp#revt03", getcharid(0); + cloakoffnpcself( "Wyatt Warp#revt03" ); sleep2 1000; npctalk "Johnny James? You shouldn't be so rude to the Officer.", "Wyatt Warp#revt03", bc_self; sleep2 2500; @@ -1277,10 +1277,10 @@ rockrdg1,156,312,3 script Unmoving Freight Train# 4_ENERGY_RED,{ npctalk "What? I haven't even started?", "Johnny James#revt04", bc_self; sleep2 500; specialeffect 563, AREA, "Johnny James#revt04"; - cloakoffnpc "Cactus Gunslinger#revt05", getcharid(0); - cloakoffnpc "Cactus Gunslinger#revt06", getcharid(0); - cloakoffnpc "Cactus Gunslinger#revt07", getcharid(0); - cloakoffnpc "Ivoka Skudi#revt02", getcharid(0); + cloakoffnpcself( "Cactus Gunslinger#revt05" ); + cloakoffnpcself( "Cactus Gunslinger#revt06" ); + cloakoffnpcself( "Cactus Gunslinger#revt07" ); + cloakoffnpcself( "Ivoka Skudi#revt02" ); npctalk "Freeze!", "Ivoka Skudi#revt02", bc_self; sleep2 1000; specialeffect 453, AREA, "Johnny James#revt04"; @@ -1306,7 +1306,7 @@ rockrdg1,156,312,3 script Unmoving Freight Train# 4_ENERGY_RED,{ npctalk "I-I'll go bring the rest of our gang!", "Albert Ford#revt08", bc_self; sleep2 1000; npctalk "WHAT?", "Johnny James#revt04", bc_self; - cloakonnpc "Albert Ford#revt08", getcharid(0); + cloakonnpcself( "Albert Ford#revt08" ); sleep2 1000; npctalk "ALBERT!", "Johnny James#revt04", bc_self; sleep2 2000; @@ -1329,11 +1329,11 @@ rockrdg1,156,312,3 script Unmoving Freight Train# 4_ENERGY_RED,{ sleep2 1000; npctalk "Guys, let's go!", "Ivoka Skudi#revt02", bc_self; sleep2 2000; - cloakonnpc "Cactus Gunslinger#revt05", getcharid(0); - cloakonnpc "Cactus Gunslinger#revt06", getcharid(0); - cloakonnpc "Cactus Gunslinger#revt07", getcharid(0); - cloakonnpc "Ivoka Skudi#revt02", getcharid(0); - cloakonnpc "Johnny James#revt04", getcharid(0); + cloakonnpcself( "Cactus Gunslinger#revt05" ); + cloakonnpcself( "Cactus Gunslinger#revt06" ); + cloakonnpcself( "Cactus Gunslinger#revt07" ); + cloakonnpcself( "Ivoka Skudi#revt02" ); + cloakonnpcself( "Johnny James#revt04" ); sleep2 2000; npctalk "Let's go back, shall we?", "Wyatt Warp#revt03", bc_self; rock_main_quest = 6; @@ -1367,7 +1367,7 @@ rockrdg1,153,303,5 script Wyatt Warp#revt03 4_M_YATTWARP,{ mes "[Wyatt Warp]"; mes "Let's go back to my office."; close2; - cloakonnpc "Wyatt Warp#revt03", getcharid(0); + cloakonnpcself( "Wyatt Warp#revt03" ); end; } end; @@ -1820,14 +1820,14 @@ rockrdg2,279,313,3 script Concaved Rock#revt09 4_ENERGY_RED,{ close; } npctalk "Boss? Is that you, Boss?", "Albert Ford#rockrdg2", bc_self; - cloakoffnpc "Albert Ford#rockrdg2", getcharid(0); + cloakoffnpcself( "Albert Ford#rockrdg2" ); close; } if (rock_main_quest == 14) { if (countitem(25249) < 1) { mes "I knocked on the signaling rock, and Albert Ford came out running."; npctalk "Who are you?!", "Albert Ford#rockrdg2", bc_self; - cloakoffnpc "Albert Ford#rockrdg2", getcharid(0); + cloakoffnpcself( "Albert Ford#rockrdg2" ); close; } mes "I don't have to use this right now."; @@ -1840,7 +1840,7 @@ rockrdg2,279,313,3 script Concaved Rock#revt09 4_ENERGY_RED,{ } mes "I knocked on the signaling rock, and Albert Ford came out running."; npctalk "Who are you?!", "Albert Ford#rockrdg2", bc_self; - cloakoffnpc "Albert Ford#rockrdg2", getcharid(0); + cloakoffnpcself( "Albert Ford#rockrdg2" ); close; } if (rock_main_quest == 20) { @@ -1850,7 +1850,7 @@ rockrdg2,279,313,3 script Concaved Rock#revt09 4_ENERGY_RED,{ } if (countitem(25249) < 1) { mes "I knocked on the signaling rock, and Albert Ford came out running."; - cloakoffnpc "Albert Ford#rockrdg2", getcharid(0); + cloakoffnpcself( "Albert Ford#rockrdg2" ); npctalk "Who are you?!", "Albert Ford#rockrdg2", bc_self; close; } @@ -2066,7 +2066,7 @@ rockrdg2,295,309,3 script Albert Ford#rockrdg2 4_M_ALBERTFORD,{ setquest 7803;// Happy for Broken Trust rock_main_quest = 14; close2; - cloakonnpc strnpcinfo(0), getcharid(0); + cloakonnpcself(); end; } if (rock_main_quest == 14 && countitem(25249) < 1) { @@ -2084,7 +2084,7 @@ rockrdg2,295,309,3 script Albert Ford#rockrdg2 4_M_ALBERTFORD,{ mes "Here, take it."; getitem 25249,1;// Mane_Of_Cow close2; - cloakonnpc strnpcinfo(0), getcharid(0); + cloakonnpcself(); end; } if (rock_main_quest == 20 && checkquest(7807,HUNTING) == 2) { @@ -2096,7 +2096,7 @@ rockrdg2,295,309,3 script Albert Ford#rockrdg2 4_M_ALBERTFORD,{ mes "What? What is it?"; mes "Don't call me unless you have something to tell me!"; close2; - cloakonnpc strnpcinfo(0), getcharid(0); + cloakonnpcself(); end; } mes "[Albert Ford]"; @@ -2189,7 +2189,7 @@ rockrdg2,295,309,3 script Albert Ford#rockrdg2 4_M_ALBERTFORD,{ setquest 7808;// Case Solved rock_main_quest = 21; close2; - cloakonnpc strnpcinfo(0), getcharid(0); + cloakonnpcself(); } end; } @@ -2516,7 +2516,7 @@ rockrdg1,182,124,3 script Suspicious Sand Mound#rremef05 4_ENERGY_RED,15,15,{ getitem 25246,1; // Juice_Package setquest 16082; completequest 16082; - cloakonnpc "Suspicious Sand Mound#rremef05", getcharid(0); + cloakonnpcself( "Suspicious Sand Mound#rremef05" ); if (countitem("Juice_Package") > 4) { next; .@name$ = strcharinfo(0); @@ -2532,9 +2532,9 @@ rockrdg1,182,124,3 script Suspicious Sand Mound#rremef05 4_ENERGY_RED,15,15,{ close; OnTouch: if (checkquest(16078,HUNTING) != 0 && checkquest(16078,HUNTING) != 1 || countitem("Juice_Package") > 4 || isbegin_quest(16082) == 2) - cloakonnpc "Suspicious Sand Mound#rremef05", getcharid(0); + cloakonnpcself( "Suspicious Sand Mound#rremef05" ); else - cloakoffnpc "Suspicious Sand Mound#rremef05", getcharid(0); + cloakoffnpcself( "Suspicious Sand Mound#rremef05" ); end; OnInit: cloakonnpc(); @@ -2564,7 +2564,7 @@ rockrdg1,286,247,3 script Suspicious Sand Mound#rremef06 4_ENERGY_RED,15,15,{ getitem 25246,1; // Juice_Package setquest .@quest_id; completequest .@quest_id; - cloakonnpc .@npc_name$, getcharid(0); + cloakonnpcself( .@npc_name$ ); if (countitem("Juice_Package") > 4) { next; .@name$ = strcharinfo(0); @@ -2584,7 +2584,7 @@ rockrdg1,286,247,3 script Suspicious Sand Mound#rremef06 4_ENERGY_RED,15,15,{ mes "- It's not usable. I'll just have to leave it and look for another one. -"; setquest .@quest_id; completequest .@quest_id; - cloakonnpc strnpcinfo(0), getcharid(0); + cloakonnpcself(); close; S_Quest: @@ -2608,9 +2608,9 @@ OnTouch: .@quest_id = callsub( S_Quest ); .@npc_name$ = callsub( S_Name ); if (checkquest(16078,HUNTING) != 0 && checkquest(16078,HUNTING) != 1 || countitem("Juice_Package") > 4 || isbegin_quest(.@quest_id) == 2) - cloakonnpc .@npc_name$, getcharid(0); + cloakonnpcself( .@npc_name$ ); else - cloakoffnpc .@npc_name$, getcharid(0); + cloakoffnpcself( .@npc_name$ ); end; OnInit: @@ -2702,7 +2702,7 @@ rockrdg1,146,164,1 script Wasteland Cactuten#rremef01 4_ENERGY_RED,15,15,{ getitem 25246,1;// Juice_Package setquest 16083;// Discovered Wasteland Cactuten erasequest 16083;// Discovered Wasteland Cactuten - cloakonnpc "Wasteland Cactuten#rremef01", getcharid(0); + cloakonnpcself( "Wasteland Cactuten#rremef01" ); if (countitem(25246) > 4) { next; mes "[" + .@player_name$ + "]"; @@ -2722,9 +2722,9 @@ rockrdg1,146,164,1 script Wasteland Cactuten#rremef01 4_ENERGY_RED,15,15,{ OnTouch: if (isbegin_quest(16078) != 1 || countitem("Juice_Package") > 4 || isbegin_quest(16083) > 1) - cloakonnpc "Wasteland Cactuten#rremef01", getcharid(0); + cloakonnpcself( "Wasteland Cactuten#rremef01" ); else - cloakoffnpc "Wasteland Cactuten#rremef01", getcharid(0); + cloakoffnpcself( "Wasteland Cactuten#rremef01" ); end; OnInit: @@ -2737,9 +2737,9 @@ rockrdg1,195,183,3 script Curious Coyote#rremef03 4_ENERGY_RED,15,15,{ end; OnTouch: if (isbegin_quest(16078) != 1 || countitem("Juice_Package") > 4 || isbegin_quest(16085) > 1) - cloakonnpc "Curious Coyote#rremef03", getcharid(0); + cloakonnpcself( "Curious Coyote#rremef03" ); else - cloakoffnpc "Curious Coyote#rremef03", getcharid(0); + cloakoffnpcself( "Curious Coyote#rremef03" ); end; OnInit: cloakonnpc(); @@ -2770,7 +2770,7 @@ OnTouch: getitem 25246,1;// Juice_Package setquest 16085;// Discovered Coyote completequest 16085;// Discovered Coyote - cloakonnpc "Curious Coyote#rremef03", getcharid(0); + cloakonnpcself( "Curious Coyote#rremef03" ); if (countitem(25246) > 4) { next; mes "[" + .@player_name$ + "]"; @@ -2843,7 +2843,7 @@ rockrdg1,305,200,3 script Cactus Girl#rremef02 4_ENERGY_RED,15,15,{ getitem 25246,1;// Juice_Package setquest 16087;// Discovered Cactus Girl completequest 16087;// Discovered Cactus Girl - cloakonnpc "Cactus Girl#rremef02", getcharid(0); + cloakonnpcself( "Cactus Girl#rremef02" ); if (countitem(25246) > 4) { next; mes "[" + .@player_name$ + "]"; @@ -2865,9 +2865,9 @@ rockrdg1,305,200,3 script Cactus Girl#rremef02 4_ENERGY_RED,15,15,{ OnTouch: if (isbegin_quest(16078) != 1 || countitem("Juice_Package") > 4 || isbegin_quest(16087) > 1) - cloakonnpc "Cactus Girl#rremef02", getcharid(0); + cloakonnpcself( "Cactus Girl#rremef02" ); else - cloakoffnpc "Cactus Girl#rremef02", getcharid(0); + cloakoffnpcself( "Cactus Girl#rremef02" ); end; OnInit: @@ -2880,9 +2880,9 @@ rockrdg1,266,219,3 script Absorbed Coyote#rremef04 4_ENERGY_RED,15,15,{ end; OnTouch: if (isbegin_quest(16078) != 1 || countitem("Juice_Package") > 4 || isbegin_quest(16088) > 1) - cloakonnpc "Absorbed Coyote#rremef04", getcharid(0); + cloakonnpcself( "Absorbed Coyote#rremef04" ); else - cloakoffnpc "Absorbed Coyote#rremef04", getcharid(0); + cloakoffnpcself( "Absorbed Coyote#rremef04" ); end; OnInit: cloakonnpc(); @@ -2913,7 +2913,7 @@ OnTouch: getitem 25246,1;// Juice_Package setquest 16088;// Discovered Coyote completequest 16088;// Discovered Coyote - cloakonnpc "Absorbed Coyote#rremef04", getcharid(0); + cloakonnpcself( "Absorbed Coyote#rremef04" ); if (countitem(25246) > 4) { next; mes "[" + .@player_name$ + "]"; @@ -5162,16 +5162,16 @@ rockrdg1,36,250,5 script Mr. McPhy#rkdlout 4W_M_02,{ next; mes "[Mr. McPhy]"; mes "But he couldn't have gone too far because he came back to me pretty quickly. Why don't you walk along the fence and look for holes with white hair floating around them?"; - cloakoffnpc "#rkq1321", getcharid(0); - cloakoffnpc "#rkdqgd11", getcharid(0); - cloakoffnpc "#rkdqgd22", getcharid(0); - cloakoffnpc "#rkdqgd33", getcharid(0); + cloakoffnpcself( "#rkq1321" ); + cloakoffnpcself( "#rkdqgd11" ); + cloakoffnpcself( "#rkdqgd22" ); + cloakoffnpcself( "#rkdqgd33" ); close; } if (isbegin_quest(1322) == 1 || isbegin_quest(1328) == 1) { mes "[Mr. McPhy]"; mes "Did you find something? Then let's go back!"; - cloakonnpc "Mr. McPhy#rkdlout", getcharid(0); + cloakonnpcself( "Mr. McPhy#rkdlout" ); close; } mes "[Mr. McPhy]"; @@ -5179,15 +5179,15 @@ rockrdg1,36,250,5 script Mr. McPhy#rkdlout 4W_M_02,{ next; mes "[Mr. McPhy]"; mes "Oh, right! Spotty has been shedding a lot lately. Maybe you should look for holes with white hair floating around them."; - cloakoffnpc "#rkq1321", getcharid(0); - cloakoffnpc "#rkq1323", getcharid(0); - cloakoffnpc "#rkq1324", getcharid(0); - cloakoffnpc "#rkq1325", getcharid(0); - cloakoffnpc "#rkq1326", getcharid(0); - cloakoffnpc "#rkq1327", getcharid(0); - cloakoffnpc "#rkdqgd11", getcharid(0); - cloakoffnpc "#rkdqgd22", getcharid(0); - cloakoffnpc "#rkdqgd33", getcharid(0); + cloakoffnpcself( "#rkq1321" ); + cloakoffnpcself( "#rkq1323" ); + cloakoffnpcself( "#rkq1324" ); + cloakoffnpcself( "#rkq1325" ); + cloakoffnpcself( "#rkq1326" ); + cloakoffnpcself( "#rkq1327" ); + cloakoffnpcself( "#rkdqgd11" ); + cloakoffnpcself( "#rkdqgd22" ); + cloakoffnpcself( "#rkdqgd33" ); next; mes "[Mr. McPhy]"; mes "And he doesn't seem to venture out too far. It's probably because he's still young. I've marked three possible locations in the middle of your map. You don't have to look further than those locations."; @@ -5209,7 +5209,7 @@ rockrdg1,36,250,5 script Mr. McPhy#rkdlout 4W_M_02,{ } mes "[Mr. McPhy]"; mes "*Gasp* Buffalo Bandits!"; - cloakonnpc "Mr. McPhy#rkdlout", getcharid(0); + cloakonnpcself( "Mr. McPhy#rkdlout" ); close; OnInit: @@ -5274,10 +5274,10 @@ rockrdg1,43,145,3 script Hole#rkq1321 4_CRACK,{ mes "I should take it with me for now. -"; completequest 1321; setquest 1322;// Found Something - cloakonnpc "#rkq1321", getcharid(0); - cloakonnpc "#rkdqgd11", getcharid(0); - cloakonnpc "#rkdqgd22", getcharid(0); - cloakonnpc "#rkdqgd33", getcharid(0); + cloakonnpcself( "#rkq1321" ); + cloakonnpcself( "#rkdqgd11" ); + cloakonnpcself( "#rkdqgd22" ); + cloakonnpcself( "#rkdqgd33" ); close; } mes "It has something inside it. -"; @@ -5285,15 +5285,15 @@ rockrdg1,43,145,3 script Hole#rkq1321 4_CRACK,{ mes "- This must be what Mr. McPhy is looking for. I should bring it to her. -"; erasequest .@list[.@i]; setquest 1328;// Found Missing Items - cloakonnpc "#rkq1321", getcharid(0); - cloakonnpc "#rkq1323", getcharid(0); - cloakonnpc "#rkq1324", getcharid(0); - cloakonnpc "#rkq1325", getcharid(0); - cloakonnpc "#rkq1326", getcharid(0); - cloakonnpc "#rkq1327", getcharid(0); - cloakonnpc "#rkdqgd11", getcharid(0); - cloakonnpc "#rkdqgd22", getcharid(0); - cloakonnpc "#rkdqgd33", getcharid(0); + cloakonnpcself( "#rkq1321" ); + cloakonnpcself( "#rkq1323" ); + cloakonnpcself( "#rkq1324" ); + cloakonnpcself( "#rkq1325" ); + cloakonnpcself( "#rkq1326" ); + cloakonnpcself( "#rkq1327" ); + cloakonnpcself( "#rkdqgd11" ); + cloakonnpcself( "#rkdqgd22" ); + cloakonnpcself( "#rkdqgd33" ); close; } switch( .@list[.@i] ) {