Made COTMC, TOTWC, VCUTM, WMOTR use the normal death barrier warp

This commit is contained in:
MysterD 2020-10-01 21:34:46 -07:00
parent e63178ed34
commit e7ffd52d45
1 changed files with 11 additions and 5 deletions

View File

@ -2030,7 +2030,13 @@ void mario_process_interactions(struct MarioState *m) {
void check_death_barrier(struct MarioState *m) {
if (m->pos[1] < m->floorHeight + 2048.0f) {
if (gCurrCourseNum != COURSE_TOTWC) {
switch (gCurrCourseNum) {
case COURSE_COTMC: // (20) Cavern of the Metal Cap
case COURSE_TOTWC: // (21) Tower of the Wing Cap
case COURSE_VCUTM: // (22) Vanish Cap Under the Moat
case COURSE_WMOTR: // (23) Winged Mario over the Rainbow
break;
default:
m->pos[1] = m->floorHeight + 2048.0f;
if (m->vel[1] < 0) { m->vel[1] = 0; }
mario_set_bubbled(m);