Also lock statedelay

This commit is contained in:
AllyTally
2022-12-06 19:35:06 -04:00
committed by Misa Elizabeth Kai
parent 4b66920865
commit 86604c5748
6 changed files with 127 additions and 122 deletions

View File

@@ -2168,7 +2168,7 @@ void gameinput(void)
}
//which teleporter script do we use? it depends on the companion!
game.setstate(4000);
game.statedelay = 0;
game.setstatedelay(0);
}
else if (game.companion == 0)
{
@@ -2201,7 +2201,7 @@ void gameinput(void)
}
//which teleporter script do we use? it depends on the companion!
game.setstate(3000);
game.statedelay = 0;
game.setstatedelay(0);
}
}
}
@@ -2458,7 +2458,7 @@ void mapinput(void)
if (game.menupage >= 20 && game.menupage <= 21)
{
game.setstate(96);
game.statedelay = 0;
game.setstatedelay(0);
}
else
{
@@ -2467,7 +2467,7 @@ void mapinput(void)
graphics.textboxes.clear();
game.setstate(80);
game.statedelay = 0;
game.setstatedelay(0);
}
}
@@ -2867,7 +2867,7 @@ void teleporterinput(void)
}
//which teleporter script do we use? it depends on the companion!
game.setstate(4000);
game.statedelay = 0;
game.setstatedelay(0);
}
}
}