As the previous image but with thicker lines and the “Yes” and “No” arrows are annotated.

Ray-gun doesn't work
Is it charged? No Recharge battery
↓Yes
Repair ray-gun