From SRB2 Wiki
Jump to navigation Jump to search

A_BubbleCheck is an action that checks if the actor is underwater and sets it to be invisible if it is not. This is done with the Object flag MF2_DONTDRAW, which, if enabled, prevents the game from drawing the Object's sprite. If the actor is underwater, the flag is removed, making the Object visible; if the actor is not underwater, it is added, making the Object invisible. In SRB2, this action is used by the Air Bubble Patch.

  Actions – Checking [view]