Looks like the code is invoking the toggle when varbit 6719 goes from 0 to 2, however, the game for some reason sets this varbit to 2 when entering Puro Puro, and does not set the varbit back to 0 until the player leaves, thus toggling the HUD until the player leaves (or manually toggles the HUD back on with the shortcut).