Translations:Difficulty scaling/48/en

if (actor_name.contains("Enemy")) {

 for (enemy_table : this->byml["enemy"]) {
   i = -1;
   for (j = 0; j < enemy_table["actors"].size; ++j) {
     entry = enemy_table["actors"][j];
     if (entry["name"] == actor_name && this->enemy_points > entry["value"]) {
       i = j;
       break;
     }
   }