In my post about Mr. Vile’s rubberbanding I announced a post about Boggy’s rubberbanding. That takes more time than I thought. The code for Boggy is not easy to fully understand 😅. For now, here’s one about the easter egg chances when getting transformed by Mumbo.
For anyone interested in the details: The code for the transformation easter eggs is in the BK decompilation project in src/core2/code_4A6F0.c
in lines 325 to 350. The chance calculation uses the game’s pseudo-random number generator to create a number between 0 (inclusive) and 1 (exclusive) and then checks if the number is smaller than 0.01 or 0.05 respectively.
You must log in or register to comment.