var title = $(this).parent().attr('title') || $(this).find('a').attr('title');
var season_num = $(this).find('span[class^="flag_"] img').attr('src').match(/flag_.(\d+)\.gif/)[1];
var world = title.replace('ワールド', '');
var chapter = $(this).find('span.otono_sm:first img').attr('src')?.match(/_otono_s(\d+)_\d+\.png/)[1] || '27';
var season = Number(season_num).toString(10);
+ alert('world = ' + world + ', chapter = ' + chapter + ', season = ' + season);
if (!chapter) {
alert('【sengokuixa-moko】\n\nこのワールドの舞台には対応していません');
return false;
}