diff --git a/npc/instances/NydhoggsNest.txt b/npc/instances/NydhoggsNest.txt index a2f09125f23..930b32245f7 100644 --- a/npc/instances/NydhoggsNest.txt +++ b/npc/instances/NydhoggsNest.txt @@ -139,7 +139,7 @@ nyd_dun02,100,201,3 script Yggdrasil Gatekeeper 111,8,8,{ goto L_Enter; } else { if (.@ins_nyd_check == 0 || .@ins_nyd_check == 1) { - if ('ins_nyd2 == 3 || 'ins_nyd2 == 4) { + if (ins_nyd2 == 3 || ins_nyd2 == 4) { mes "[Yggdrasil Gatekeeper]"; mes "With the defeat of Nidhoggur's Shadow, the roots of the World Tree Yggdrasil are also affected."; next; @@ -166,7 +166,7 @@ nyd_dun02,100,201,3 script Yggdrasil Gatekeeper 111,8,8,{ mes "If you would like to enter again, please register with me."; erasequest 3135; erasequest 3136; - set 'ins_nyd2,0; + set ins_nyd2,0; close; } } @@ -1605,7 +1605,7 @@ OnTouch_: next; mes "[World Tree Yggdrasil]"; mes "And... Be careful... Be careful of the shadow's power."; - set 'ins_nyd2,1; + 'ins_nyd2 = ins_nyd2 = 1; donpcevent instance_npcname("ins_nyd_1f_timer")+"::OnEnable"; donpcevent instance_npcname("nyd_call_mon_1")+"::OnEnable"; close; @@ -1700,7 +1700,7 @@ OnMyMobDead: mapannounce .@map$, "All of Nidhoggur's Guardians have been defeated!",bc_map,"0x00ff99"; donpcevent instance_npcname("ins_nyd_1f_timer")+"::OnDisable"; donpcevent instance_npcname("nyd_to2f_warp")+"::OnEnable"; - set 'ins_nyd2,2; + 'ins_nyd2 = ins_nyd2 = 2; } end; } @@ -1760,7 +1760,7 @@ OnEnable: end; OnTouch: - set 'ins_nyd2,3; + 'ins_nyd2 = ins_nyd2 = 3; warp instance_mapname("2@nyd"),200,10; end; } @@ -1922,7 +1922,7 @@ OnMyMobDead: donpcevent instance_npcname("nyd_2f_white_c")+"::OnDisable"; donpcevent instance_npcname("nyd_2f_yellow_c")+"::OnDisable"; donpcevent instance_npcname("nyd_2f_green_c")+"::OnDisable"; - set 'ins_nyd2,4; + 'ins_nyd2 = ins_nyd2 = 4; end; } end; @@ -1973,7 +1973,8 @@ OnTimer180000: next; switch(select("Please let me out.:I want to look around for a while.")) { case 1: - set 'ins_nyd2,0; + 'ins_nyd2 = 0; + // ins_nyd2 = 0; set ins_nyd,203; //setquest 3135; warp "nyd_dun02",98,196;