diff options
author | Asheraf <acheraf1998@gmail.com> | 2018-06-05 08:11:31 +0000 |
---|---|---|
committer | Asheraf <acheraf1998@gmail.com> | 2018-06-05 08:11:31 +0000 |
commit | 82d5ed8ee5349e0338f1819ecf472efe95523ae9 (patch) | |
tree | 60ceaca119c0524d65e96b9e5c7406bd477903b6 /npc/re/instances/BakonawaLake.txt | |
parent | 97dc1ef1695404ea5276813616a17653439ede46 (diff) | |
download | hercules-82d5ed8ee5349e0338f1819ecf472efe95523ae9.tar.gz hercules-82d5ed8ee5349e0338f1819ecf472efe95523ae9.tar.bz2 hercules-82d5ed8ee5349e0338f1819ecf472efe95523ae9.tar.xz hercules-82d5ed8ee5349e0338f1819ecf472efe95523ae9.zip |
Update instance scripts to follow official behaviour
Diffstat (limited to 'npc/re/instances/BakonawaLake.txt')
-rw-r--r-- | npc/re/instances/BakonawaLake.txt | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/npc/re/instances/BakonawaLake.txt b/npc/re/instances/BakonawaLake.txt index 65622171b..5226db6cc 100644 --- a/npc/re/instances/BakonawaLake.txt +++ b/npc/re/instances/BakonawaLake.txt @@ -82,18 +82,16 @@ ma_scene01,174,179,4 script Taho 4_M_DEWZATIMAN,{ switch (.@i) { case 1: .@instance = instance_create(.@md_name$, .@party_id); - if (.@instance < 0) { - mes("[Taho]"); - mes("Oh, the rope got dropped. I have to make a new one."); - close(); - } - if (instance_attachmap("1@ma_b", .@instance) == "") { - mesf("^0000ff%s^000000 - Reservation Failed!", .@md_name$); - instance_destroy(.@instance); - close(); + if (.@instance >= 0) { + if (instance_attachmap("1@ma_b", .@instance) == "") { + mes("[Taho]"); + mes("Oh, the rope got dropped. I have to make a new one."); + instance_destroy(.@instance); + close(); + } + instance_set_timeout(7200, 300, .@instance); + instance_init(.@instance); } - instance_set_timeout(7200, 300, .@instance); - instance_init(.@instance); mes("[Taho]"); mes("Now I'm weaving, so you can go down when I'm done."); close(); |