After 2 hours of hardcore sex with chatgpt, i finally fixed boss not crashing the game. I also included a version without the boss, as throughout my playthrough, both the boss and the blacksmith were present.
When fighting the boss, being hit and hitting the boss will slow down the game..
I tried to fix the tunnel path working properly. When you head right from your house, you should end up here, but the Y value doesn't respond at all. This is why you get stuck on the ground when finishing the tutorial. I decided not to make any changes to it.
I found another boss room (I think), it just exists, it doesn't work at all.
I have 0 coding skills so I hope I didn't break anything else lol