Skip to content

Commit

Permalink
- Allow completion of 2018 Unleashed (pc_cp2.wad) MAP38
Browse files Browse the repository at this point in the history
  • Loading branch information
Player701 authored and coelckers committed Dec 22, 2023
1 parent 3ec908c commit 8151c4c
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion wadsrc/static/zscript/level_compatibility.zs
Original file line number Diff line number Diff line change
Expand Up @@ -2171,7 +2171,21 @@ class LevelCompatibility : LevelPostProcessor
// fix bad skill flags for a monster that's required to be killed.
SetThingSkills(1184, 1);
break;
}
}

case '3B4AAD34E46443BD505CC6053FCD842A': // pc_cp2.wad map38
{
// Emulate the effect of the hidden Commander Keen's death
// since the Keen actor is modified by DEHACKED and doesn't work as intended:

// 1) Replace the Keen with an imp
SetThingEdNum(101, 3004);

// 2) Set its special to emulate A_KeenDie
SetThingSpecial(101, Door_Open);
SetThingArgument(101, 0, 666);
SetThingArgument(101, 1, 16);
}
}
}
}

0 comments on commit 8151c4c

Please sign in to comment.