変数をみて状態を変えるステートマシーンの機構は
キャラクター制御によく使われます。
今回クマが太陽をためて、落とすも同じ機構ですね。
A state machine monitors variables and switches states based on their values. This is commonly used for character control.
In this game, the bear’s “charge” and “drop” actions use the same mechanism.