make Episode 3 EX results configurable

This commit is contained in:
Martin Michelsen
2023-09-05 20:46:01 -07:00
parent 66f584d475
commit 2b2d8dfb3d
8 changed files with 100 additions and 29 deletions
+7
View File
@@ -1978,6 +1978,13 @@ void Server::handle_6xB3x1D_start_battle(const string& data) {
if (l->battle_record) {
l->battle_record->set_battle_start_timestamp();
}
// Note: Sega's implementation doesn't set EX results values here; they
// did it at game join time instead. We do it here for code simplicity.
if (l->ep3_ex_result_values) {
this->send(*l->ep3_ex_result_values);
}
this->setup_and_start_battle();
this->battle_in_progress = true;
}