From 0cc411074f4e34b4520f6f351ce2a479f3d6d10f Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 23 Jun 2020 01:22:55 -0300 Subject: Fix bugs after testing --- npc/008-2/_config.txt | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'npc') diff --git a/npc/008-2/_config.txt b/npc/008-2/_config.txt index 663ffd5ad..ce9c7ad2b 100644 --- a/npc/008-2/_config.txt +++ b/npc/008-2/_config.txt @@ -1,20 +1,20 @@ // This file is generated automatically. All manually added changes will be removed when running the Converter. // Map 008-2: 2nd Floor - Party Dungeon conf -008-2,84,208,0 script #008-2_84_208 NPC_HIDDEN,{ +008-2,80,208,0 script #008-2_80_208 NPC_HIDDEN,{ end; OnDisable: - delcells "008-2_84_208"; end; + delcells "008-2_80_208"; end; OnEnable: OnInit: - setcells "008-2", 84, 208, 92, 208, 3, "008-2_84_208"; + setcells "008-2", 80, 208, 88, 208, 3, "008-2_80_208"; } // FIXME: Either let flip/unflip, or only run once. // This could be done with a new attribute and checking NPC display when only run once. 008-2,106,237,0 script #008-2_106_237 NPC_SWITCH_ONLINE,{ callfunc "massprovoke", 12; - setnpcdisplay 008-2_106_237, NPC_SWITCH_OFFLINE; + setnpcdisplay "#008-2_106_237", NPC_SWITCH_OFFLINE; end; OnInit: .distance=2; @@ -24,7 +24,7 @@ OnInit: // This could be done with a new attribute and checking NPC display when only run once. 008-2,66,143,0 script #008-2_66_143 NPC_SWITCH_OFFLINE,{ callfunc "grenade", 12, 10000; - setnpcdisplay 008-2_66_143, NPC_SWITCH_ONLINE; + setnpcdisplay "#008-2_66_143", NPC_SWITCH_ONLINE; end; OnInit: .distance=2; @@ -34,7 +34,7 @@ OnInit: // This could be done with a new attribute and checking NPC display when only run once. 008-2,111,166,0 script #008-2_111_166 NPC_SWITCH_ONLINE,{ callfunc "ALCReset"; - setnpcdisplay 008-2_111_166, NPC_SWITCH_OFFLINE; + setnpcdisplay "#008-2_111_166", NPC_SWITCH_OFFLINE; end; OnInit: .distance=2; @@ -50,7 +50,7 @@ OnTouch: 008-2,54,237,0 script #008-2_54_237 NPC_HIDDEN,2,1,{ end; OnTouch: - doevent "#008-2_84_208::OnDisable"; + doevent "#008-2_80_208::OnDisable"; end; } @@ -83,7 +83,7 @@ OnTouchNPC: IronTrap(200, 10, 2); end; OnTimer10000: - stopnpctimer; setnpctimer 0; setnpcdisplay 008-2_46_211, NPC_TRAP; end; + stopnpctimer; setnpctimer 0; setnpcdisplay "#008-2_46_211", NPC_TRAP; end; } 008-2,85,117,0 script #008-2_85_117 NPC_TRAP,0,0,{ @@ -95,5 +95,5 @@ OnTouchNPC: IronTrap(400, 15, 3); end; OnTimer15000: - stopnpctimer; setnpctimer 0; setnpcdisplay 008-2_85_117, NPC_TRAP; end; + stopnpctimer; setnpctimer 0; setnpcdisplay "#008-2_85_117", NPC_TRAP; end; } -- cgit v1.2.3-70-g09d2