Hi Batvink, thanks for the quick response!
If I'm already using a state machine for the general outline of my game, would using a nested one cause any problems?
For example, another game I was working on a few weeks ago was using nested SELECT statements:
do
select game_state
case 0:
main_menu()
endcase
case 1:
select char_state
case 0:
updateChar()
updateHUD()
// Do Case 0 Stuff
endcase
case 1:
updateChar()
updateHUD()
// Do Case 1 Stuff
endcase
endselect
endcase
case 2:
endScreen()
endcase
endselect
loop
Inside the nested select statement, I had to keep calling UpdateChar() and UpdateHUD() in each one, instead of putting it outside the select statement right after "Case 1:". It could have been because of the structure of my code that I had to do that, but is doing that something to be expected?