add death on exit course define (#564)

if the define is enabled, exiting course is the same as dying (warps to failure warp node)
This commit is contained in:
Reonu authored and GitHub committed 2023-06-16 20:57:33 -04:00
1 parent 7f08d3d963
commit fffebd1065
2 files changed
+14 -1

No files matched your search

+7 -1
View File
@@ -17,7 +17,13 @@
#define EXIT_COURSE_WHILE_MOVING
/**
* Decides which level, area and warp ID the "Exit Course" option takes you to (has no effect if you disable Exit Course).
* Decides whether to treat exiting course as if the player had died.
* If enabled, the player will get warped to the failure warp node when selecting EXIT COURSE. (Has no effect if you disable Exit Course)
*/
// #define DEATH_ON_EXIT_COURSE
/**
* Decides which level, area and warp ID the "Exit Course" option takes you to (has no effect if you disable Exit Course or enable DEATH_ON_EXIT_COURSE).
* Ensure that the warp exists, or else the game will crash.
*/
#define EXIT_COURSE_LEVEL LEVEL_CASTLE