From f3fba318466d8afdfe14d42e4ef9f1902375166d Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Wed, 6 Jun 2012 21:46:25 -0400 Subject: SCUMM: Implement football2002 u32 opcode 1028 Scoreboard transitions now play --- engines/scumm/he/logic/football.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'engines/scumm/he') 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); } -- cgit v1.2.3