diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2021-03-05 09:58:45 -0500 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2021-03-05 09:58:45 -0500 |
commit | cd72ba5481705072b893d728e2f80931b5cca580 (patch) | |
tree | 5cc659195ec8b0797b530cf03d148fd4c839a625 /res/scripts/time_passage.lua | |
parent | 7e3b59b09399bf8da243fb4122caa2c9c10d2624 (diff) | |
download | tanetane-cd72ba5481705072b893d728e2f80931b5cca580.tar.gz tanetane-cd72ba5481705072b893d728e2f80931b5cca580.tar.bz2 tanetane-cd72ba5481705072b893d728e2f80931b5cca580.zip |
Wrote exit area scripts for underwater and time passage
Diffstat (limited to 'res/scripts/time_passage.lua')
-rw-r--r-- | res/scripts/time_passage.lua | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/res/scripts/time_passage.lua b/res/scripts/time_passage.lua index 11d51a8..e91a1cc 100644 --- a/res/scripts/time_passage.lua +++ b/res/scripts/time_passage.lua | |||
@@ -1,5 +1,12 @@ | |||
1 | time_passage = {} | 1 | time_passage = {} |
2 | 2 | ||
3 | function time_passage.exit_area() | ||
4 | ExitAreaTransition() | ||
5 | ChangeMap("hallucination_interior", "exit_area_from_time_passage", ChangeMapOptions.DO_NOT_FADE) | ||
6 | RemoveFadeout(1000) | ||
7 | EnablePlayerControl() | ||
8 | end | ||
9 | |||
3 | function time_passage.off_bottom() | 10 | function time_passage.off_bottom() |
4 | ChangeMap("time_passage_antechamber", "fromTop") | 11 | ChangeMap("time_passage_antechamber", "fromTop") |
5 | end | 12 | end |