fix
issue #724: Bee sound never stops (underwater when timer is 0)
also: instead of flowers add bubbles while underwater
revert
r938d1c08d0d1 in favour of putting it in the chat log. I think this addresses main concern about missing text. There've been complaints in past too about conversation in bubbles not being visible in history. If the objection is that
r938d1c08d0d1 offers a more æsthetic solution, I think it should augment this, be flagged, and fix the visual issues first.
disallow speech bubbles to go offscreen
no tint or tail-directio adjustments for indicating it's offscreen yet though
fix speechbubbles assigning negative values to a Longword value, overflowing it
It seems that at the current state it is necessary to protect sending stats/ending game from multiple execution,
as that can happen if you e.g. fail a mission more than once in the same tick (e.g. destroying two essential crates at the same time)
Otherwise you can get a blank / stuck frontend (e.g. when using deagle to shoot the two last crates at the same time)!
the best approach might be to never call the function that sends stats and ends game from any event handler directly, but instead have a flag 'isFailed' that is set to true when any of the possible fails happen and to check that flag every tick to send stats and end game if true
* turned out the no-flight zone is also a no-climb-and-progress zone
* also changed it to not completely nullify velocity (otherwise cliffjumpers can get stuck in midair), just make sure dy is not negative