[Scummvm-git-logs] scummvm master -> e0a146f9086ae523229d6e8173c39d290e669449
shkupfer
noreply at scummvm.org
Mon Aug 7 20:15:27 UTC 2023
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
e0a146f908 SCUMM HE: Football online mod: Show full bench when drafting (#5235)
Commit: e0a146f9086ae523229d6e8173c39d290e669449
https://github.com/scummvm/scummvm/commit/e0a146f9086ae523229d6e8173c39d290e669449
Author: shkupfer (shkupf at gmail.com)
Date: 2023-08-07T16:15:23-04:00
Commit Message:
SCUMM HE: Football online mod: Show full bench when drafting (#5235)
* SCUMM HE: Return 38 for roomvar 9 to show full bench online
* SCUMM HE: Move mod impl to o6_getRandomNumberRange
---------
Co-authored-by: shkupfer <shkupfer at ncsu.edu>
Changed paths:
engines/scumm/script_v6.cpp
diff --git a/engines/scumm/script_v6.cpp b/engines/scumm/script_v6.cpp
index 747a099a710..86049cbb391 100644
--- a/engines/scumm/script_v6.cpp
+++ b/engines/scumm/script_v6.cpp
@@ -1468,6 +1468,12 @@ void ScummEngine_v6::o6_getRandomNumberRange() {
rnd = readArray(749, 0, vm.localvar[_currentScript][1]);
}
}
+ // Mod for Backyard Football online competitive play: allow all 38 backyard kids and pros
+ // to be drafted in an online game. This controls how many kids are shown in the bleachers
+ // when drafting. Without this mod, a random selection of between 31 and 35 kids are shown.
+ if (_game.id == GID_FOOTBALL && readVar(465) == 1 && _currentRoom == 5 && vm.slot[_currentScript].number == 2107) {
+ rnd = 38;
+ }
}
#endif
if (VAR_RANDOM_NR != 0xFF)
More information about the Scummvm-git-logs
mailing list