Skip to content

Commit

Permalink
fixed typo stylistic change reequested by Ghabry
Browse files Browse the repository at this point in the history
  • Loading branch information
MakoInfused committed Nov 10, 2024
1 parent 25e0301 commit 2a58808
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/game_interpreter_battle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -767,7 +767,7 @@ bool Game_Interpreter_Battle::CommandManiacGetBattleInfo(lcf::rpg::EventCommand
Main_Data::game_variables->Set(information_identifier, states);
for (size_t i = 0; i < states; i++)
{
Main_Data::game_variables->Set(information_identifier + i + 1, battler->HasState(lcf::Data::states.at(i).ID));
Main_Data::game_variables->Set(information_identifier + i + 1, battler->HasState(lcf::Data::states[i].ID));
}
break;
}
Expand All @@ -778,10 +778,9 @@ bool Game_Interpreter_Battle::CommandManiacGetBattleInfo(lcf::rpg::EventCommand
Main_Data::game_variables->Set(information_identifier, elements);
for (size_t i = 0; i < elements; i++)
{
Main_Data::game_variables->Set(information_identifier + i + 1, battler->GetAttributeRateShift(lcf::Data::attributes.at(i).ID) + 1);
Main_Data::game_variables->Set(information_identifier + i + 1, battler->GetAttributeRateShift(lcf::Data::attributes[i].ID) + 1);
}
break;
break;
}
case 3:
// others: x, y, can move, defending, charging, appeared
Expand Down

0 comments on commit 2a58808

Please sign in to comment.