Oh shoot... I know what bug this is from just seeing this line:
local variable hex_moves(100359) not set before reading it.I've tried to fix that and I thought it was fixed. It was the enemy turn and you tried to move Choco, that's it?
it could have been