combined ch and gv scene, created bl scene
This commit is contained in:
@@ -220,6 +220,15 @@ public class PlayerBehavior : MonoBehaviour
|
||||
Destroy(collision.gameObject);
|
||||
StartCoroutine(DestroyPlayer());
|
||||
}
|
||||
//stupid stuff for claude's house
|
||||
else if (collision.gameObject.tag == "SirJacques")
|
||||
{
|
||||
Destroy(collision.gameObject);
|
||||
}
|
||||
else if (collision.gameObject.tag == "Door")
|
||||
{
|
||||
this.stateController.RespawnPlayer();
|
||||
}
|
||||
}
|
||||
|
||||
IEnumerator DestroyPlayer() {
|
||||
|
||||
@@ -88,6 +88,13 @@ public class StateController : MonoBehaviour {
|
||||
unlockedTambourine = false;
|
||||
unlockedClarinet = false;
|
||||
}
|
||||
|
||||
else if (SceneManager.GetActiveScene().name == "Brasslands")
|
||||
{
|
||||
unlockedTrumpet = true;
|
||||
unlockedTambourine = false;
|
||||
unlockedClarinet = false;
|
||||
}
|
||||
else if (SceneManager.GetActiveScene().name == "GrappleScene") {
|
||||
unlockedTrumpet = true;
|
||||
unlockedTambourine = true;
|
||||
|
||||
Reference in New Issue
Block a user