I screwed up the action limit check a bit in the last PR.
It's true that actions are limited by lowest_fake_action(), which is 256 in GV1 and 4096 otherwise. But in Z-code, actions are limited to 1024 even in GV2, because we need to jam the action number into a 10-bit field in the grammar table.
(In Glulx, we could jack up the lowest_fake_action() value and allow more than 4096 actions. But this seems extremely unnecessary.)
I screwed up the action limit check a bit in the last PR.
It's true that actions are limited by lowest_fake_action(), which is 256 in GV1 and 4096 otherwise. But in Z-code, actions are limited to 1024 even in GV2, because we need to jam the action number into a 10-bit field in the grammar table.
(In Glulx, we could jack up the lowest_fake_action() value and allow more than 4096 actions. But this seems extremely unnecessary.)