aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/he/logic
diff options
context:
space:
mode:
Diffstat (limited to 'engines/scumm/he/logic')
-rw-r--r--engines/scumm/he/logic/football.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/engines/scumm/he/logic/football.cpp b/engines/scumm/he/logic/football.cpp
index f86f97eaf7..5a0d423508 100644
--- a/engines/scumm/he/logic/football.cpp
+++ b/engines/scumm/he/logic/football.cpp
@@ -45,6 +45,7 @@ private:
int op_1022(int32 *args);
int op_1023(int32 *args);
int op_1024(int32 *args);
+ int op_1028();
};
int LogicHEfootball::versionID() {
@@ -83,6 +84,11 @@ int32 LogicHEfootball::dispatch(int op, int numArgs, int32 *args) {
res = op_1024(args);
break;
+ case 1028:
+ // Backyard Football 2002 only
+ res = op_1028();
+ break;
+
case 8221968:
// Someone had a fun and used his birthday as opcode number
res = getFromArray(args[0], args[1], args[2]);
@@ -281,6 +287,12 @@ int LogicHEfootball::op_1024(int32 *args) {
return 1;
}
+int LogicHEfootball::op_1028() {
+ // Backyard Football 2002 only
+ writeScummVar(108, 100000000);
+ return 1;
+}
+
LogicHE *makeLogicHEfootball(ScummEngine_v90he *vm) {
return new LogicHEfootball(vm);
}