Sigil 2 (v1.0) and Eviternity 2 (RC5) support.

+ Invinciball activation now voiced by Demo (thanks, Vyolette).
+ Retooled exit line merging (should fix those pesky duplicate exit markers).

Note: Oneliners for the Eviternity 2 final boss are not voiced yet.
This commit is contained in:
Mari the Deer 2024-01-04 19:50:26 +01:00
commit cbb1b2a8cb
36 changed files with 1177 additions and 165 deletions

View file

@ -185,7 +185,18 @@ Class SWWMHandler : EventHandler
if ( !SWWMUtility.IsKnownMap() ) break;
if ( s.myplayer != players[consoleplayer] ) continue;
int clust = level.cluster;
if ( SWWMUtility.IsEviternity() )
if ( SWWMUtility.IsEviternityTwo() )
{
// clusters have to be remapped here
if ( clust == 5 ) clust = 1;
else if ( (clust == 6) || (clust == 13) ) clust = 2;
else if ( (clust == 7) || (clust == 14) ) clust = 3;
else if ( (clust == 8) || (clust == 15) ) clust = 4;
else if ( (clust == 9) || (clust == 16) ) clust = 5;
else if ( (clust == 10) || (clust == 17) ) clust = 6;
else if ( (clust == 11) || (clust == 12) || (clust == 18) || (clust == 19) ) clust = 7;
}
else if ( SWWMUtility.IsEviternity() )
{
// we have to do some heavy lifting here because episodes don't match clusters
if ( level.levelnum <= 5 ) clust = 1;