Adjusted instance script's instance_enter to new format

* Follow up to c97be60.
* No longer requires instance name.
This commit is contained in:
aleos89 2016-05-23 14:20:55 -04:00
parent 2cfb844429
commit c591586f2b
13 changed files with 13 additions and 13 deletions

View File

@ -291,7 +291,7 @@ e_tower,81,105,0 script Tower Protection Stone 406,{
}
L_Enter:
switch(instance_enter("Endless Tower")) {
switch(instance_enter()) {
case 3:
mes "An unknown error has occurred.";
close;

View File

@ -192,7 +192,7 @@ nyd_dun02,100,201,3 script Yggdrasil Gatekeeper 111,8,8,{
close;
L_Enter:
switch(instance_enter("Nidhoggur's Nest")) {
switch(instance_enter()) {
case 3:
mes "[Yggdrasil Gatekeeper]";
mes "An unknown error has occurred.";

View File

@ -84,7 +84,7 @@ gef_fild10,242,202,0 script Dimensional Gorge Piece 406,{
mes "In order to generate a dungeon you must be the Party Leader and have at least 2 members in the party.";
close;
L_Enter:
switch(instance_enter("Orc's Memory")) {
switch(instance_enter()) {
case 3:
mes "An unknown error has occurred.";
close;

View File

@ -214,7 +214,7 @@ monk_test,306,151,3 script Grave of Baphomet#edq 111,{
//set .@ins_bapho_check2,checkquest(3045,PLAYTIME);
if (.@ins_bapho_check == -1) {
switch(instance_enter("Sealed Catacomb")) {
switch(instance_enter()) {
case 3:
case 2:
mes "It's cold to the touch. It doesn't respond.";

View File

@ -74,7 +74,7 @@ ma_scene01,174,179,4 script Taho 541,{
mes "Now I'm weaving, so you can go down when I'm done.";
close;
case 2:
switch(instance_enter(.@md_name$)) {
switch(instance_enter()) {
case 3:
mes "[Taho]";
mes "An unknown error occurred.";

View File

@ -282,7 +282,7 @@ L_Enter:
cutin "",255;
end;
case 2:
switch(instance_enter(.@md_name$)) {
switch(instance_enter()) {
case 3:
mes "[Nurse Maenne]";
mes "A critical situation has happened.";

View File

@ -126,7 +126,7 @@ OnTouch:
}
switch(select("Enter.:Turn back.")) {
case 1:
switch(instance_enter("Buwaya Cave")) {
switch(instance_enter()) {
case 3:
mes "[Guard]";
mes "Oh, now is not a good time.";

View File

@ -74,7 +74,7 @@ ecl_hub01,130,15,0 script It is closed shut. 844,{
mes "It is pretty difficult to guide an outsider like you.";
close;
}
switch (instance_enter(.@md_name$)) {
switch (instance_enter()) {
case 3:
mes "An unknown error has occurred.";
close;

View File

@ -139,7 +139,7 @@ bif_fild01,161,355,0 script Log Tunnel 844,{
next;
if(select("Enter the tunnel.:Give up.") == 2)
close;
switch(instance_enter("Mistwood Maze")) {
switch(instance_enter()) {
case 3:
mes "[Laphine Soldier]";
mes "Something doesn't feel right. Looks like something dangerous is going on, so you'd better turn back today.";

View File

@ -432,7 +432,7 @@ mal_in01,160,34,4 script Missing, the Cleaner 545,{
}
end;
L_Enter:
switch(instance_enter("Culvert")) {
switch(instance_enter()) {
case 3:
mes "An unknown error has occurred.";
close;

View File

@ -119,7 +119,7 @@ mal_dun01,153,237,5 script Weird Entrance 844,{
switch(select("Go in.:Stop.")) {
case 1:
if (countitem(6442)) {
switch(instance_enter("Octopus Cave")) {
switch(instance_enter()) {
case 3:
mes "[Starfish]";
mes "Ah, now is not the time...";

View File

@ -51,7 +51,7 @@ glast_01,204,273,6 script Hugin#ghinstance 755,{
mes "The time gap was created. When you're ready, talk to me again.";
close;
case 2:
switch(instance_enter(.@md_name$)) {
switch(instance_enter()) {
case 3:
mes "An unknown error has occurred.";
close;

View File

@ -877,7 +877,7 @@ lhz_dun04,147,279,0 script Laboratory Entrance#memo CLEAR_NPC,{
mes "You have stopped entering to Wolfchev's laboratory.";
close;
}
if (instance_enter("Wolfchev's Laboratory") != 0) { // probably missing failure cases
if (instance_enter() != 0) { // probably missing failure cases
mes "^FF0000Warning^000000";
mes ""+ strcharinfo(0) +". . .";
mes "^FF0000Unregistered personnel^000000";