summaryrefslogtreecommitdiff
path: root/npc/instances
diff options
context:
space:
mode:
authorRidley <ridley8819@gmail.com>2017-04-23 11:59:58 +0200
committerGitHub <noreply@github.com>2017-04-23 11:59:58 +0200
commit7a1dbca29bcf6aa9066e5501d3e0ab20d6416383 (patch)
treecf3e755c7e81aab9b92d4d05c511584a30d34fb2 /npc/instances
parent1bc4994db3b611dd489d6bde0a218b232ca785f5 (diff)
parent060c4ba50162363315f2f50b35cad931e2b75ec9 (diff)
downloadhercules-7a1dbca29bcf6aa9066e5501d3e0ab20d6416383.tar.gz
hercules-7a1dbca29bcf6aa9066e5501d3e0ab20d6416383.tar.bz2
hercules-7a1dbca29bcf6aa9066e5501d3e0ab20d6416383.tar.xz
hercules-7a1dbca29bcf6aa9066e5501d3e0ab20d6416383.zip
Merge pull request #1548 from AtlantisRO/goto_removal
Removed the usage of deprecated command goto from npc scripts (except custom folder)
Diffstat (limited to 'npc/instances')
-rw-r--r--npc/instances/NydhoggsNest.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/npc/instances/NydhoggsNest.txt b/npc/instances/NydhoggsNest.txt
index 2c583d441..2a64e13be 100644
--- a/npc/instances/NydhoggsNest.txt
+++ b/npc/instances/NydhoggsNest.txt
@@ -150,7 +150,7 @@ nyd_dun02,100,201,3 script Yggdrasil Gatekeeper HIDDEN_NPC,8,8,{
mes "If you are ready, I will allow you to enter.";
close;
case 2:
- goto L_Enter;
+ callsub L_Enter;
case 3:
close;
}
@@ -160,7 +160,7 @@ nyd_dun02,100,201,3 script Yggdrasil Gatekeeper HIDDEN_NPC,8,8,{
next;
if(select("I want to go in.", "I want to leave.") == 2)
close;
- goto L_Enter;
+ callsub L_Enter;
} else {
.@instance = has_instance2("1@nyd");
if (.@instance >= 0) {
@@ -180,7 +180,7 @@ nyd_dun02,100,201,3 script Yggdrasil Gatekeeper HIDDEN_NPC,8,8,{
next;
if(select("I want to go in.", "I want to leave.") == 2)
close;
- goto L_Enter;
+ callsub L_Enter;
} else if (.@ins_nyd_check == 2) {
if (.@ins_nyd_check2 == 1) {
mes "[Yggdrasil Gatekeeper]";