32 uint32 _story_page_element_next_sort_value;
 
   33 uint32 _story_page_next_sort_value;
 
   93     default: NOT_REACHED();
 
  117     if (_story_page_pool.
items == 0) {
 
  119       _story_page_next_sort_value = 0;
 
  135     _new_story_page_id = s->
index;
 
  136     _story_page_next_sort_value++;
 
  161   uint16 element_count = 0;
 
  163   FOR_ALL_STORY_PAGE_ELEMENTS(iter) {
 
  164     if (iter->
page == page_id) element_count++;
 
  166   if (element_count >= 128) 
return CMD_ERROR;
 
  173     if (_story_page_element_pool.
items == 0) {
 
  175       _story_page_element_next_sort_value = 0;
 
  179     pe->
sort_value = _story_page_element_next_sort_value;
 
  186     _new_story_page_element_id = pe->
index;
 
  187     _story_page_element_next_sort_value++;
 
  323     FOR_ALL_STORY_PAGE_ELEMENTS(pe) {