A valid "what the fuck" issue, but I don't think anyone would ever try to resolve this one, multi-boss-rooms are not something people normally do in any situation...
Well my idea was to make a bit more challenging on the map I'm making so I thought putting 2 bosses at the same room would be it but then..... this happened
I'm not laughing at your map, I actively added code to allow multiple bosses in the same map for 2.2 to help creators like you - I'm laughing that hitting Fang with lasers turns the laser into Bowser
As I just explained on Discord, this bug is caused by how the triple laser actually works in Eggman's pinch phase:
case 2: var2 = 3; // Fire middle laser A_Boss1Laser(actor); var2 = 0; // Fire left laser A_Boss1Laser(actor); var2 = 1; // Fire right laser A_Boss1Laser(actor); return; break;
Because A_Boss1Laser calls P_RailThinker, it can collide with Fang and make Fang change state in the same tic, which results in the global variable var1 being different by the end of the A_Boss1Laser function. Since this action is called again twice after, the modified var1 from earlier carries over to them. This is how the many Bowsers spawn when you hit Fang.