Request patches for Keens 4-6.
2 posts • Page 1 of 1
So, the Keen game I am working on won't have water levels which means placing a dopefish replacement on the level which you are controling regular Keen(non diving one) will cause the game to crash when they collide. Which patch should I use so that Keen has a regular death sequence when it collides with the dopefish - so the game doesn't crash?
This changes the Dopefish's collision code to immediately use the normal kill-Keen code on contact:
Note that the affected collision code is only active when the Dopefish is "hungry", i.e. not in the middle of eating a Schoolfish. This can be changed with more effort if needed.
Code: Select all
# Collision with hungry Dopefish immediately kills Keen %patch $123FB $9A $0B8013E9RL # Call KillKeen $5F $5E $5D $CB # Exit collision function