Remix.run Logo
8note 4 days ago

https://i.redd.it/vglorgtzx0kd1.png

can't find the actual code, but its a look up table for what dialogue to use. The existence of a switch statement does not force the code to be a state machine.

it could still be some architectural deficit around making it harder to look up the dialogue rather than having it in place when uts triggered, but it makes it nice to understand all the dialogue in the game at once

airbreather 3 days ago | parent [-]

Even if not explicitly looking like a state machine, it will have state based behaviour that could be represented by a state machine.

Almost everything is state based behaviour.