diff options
| -rw-r--r-- | engines/teenagent/callbacks.cpp | 10 | ||||
| -rw-r--r-- | engines/teenagent/resources.h | 13 | 
2 files changed, 18 insertions, 5 deletions
diff --git a/engines/teenagent/callbacks.cpp b/engines/teenagent/callbacks.cpp index 9d056ce8e0..a9092f02d7 100644 --- a/engines/teenagent/callbacks.cpp +++ b/engines/teenagent/callbacks.cpp @@ -2204,7 +2204,7 @@ bool TeenAgentEngine::processCallback(uint16 addr) {  			SET_FLAG(0xdbe6, 1);  			setOns(1, 0x66);  			moveTo(224, 194, 0, true); -			displayCutsceneMessage(0x57df, 23, 95); +			displayCutsceneMessage(dsAddr_cutsceneMsg1, 23, 95); // "sixty seven rude words later"  			inventory->remove(0x59);  			enableOn(true);  		} else @@ -3241,7 +3241,7 @@ bool TeenAgentEngine::processCallback(uint16 addr) {  		playActorAnimation(754);  		hideActor(); -		displayCutsceneMessage(0x517b, 30, 95); +		displayCutsceneMessage(dsAddr_cutsceneMsg0, 30, 95); // "A secret diary of ..."  		playMusic(3);  		loadScene(11, scene->getPosition()); @@ -3954,7 +3954,7 @@ bool TeenAgentEngine::processCallback(uint16 addr) {  			for (uint i = 0; i < 8; ++i)  				playSound(26, 30 + i * 11);  			playActorAnimation(661); -			displayCutsceneMessage(0x3c80, 84, 95); +			displayCutsceneMessage(dsAddr_cutsceneMsgA, 84, 95); // "Hundred moments later"  			playSound(56, 10);  			playSound(56, 21); @@ -3968,7 +3968,7 @@ bool TeenAgentEngine::processCallback(uint16 addr) {  			waitAnimation();  			setOns(1, 49); -			displayCutsceneMessage(0x3c9a, 53, 95); +			displayCutsceneMessage(dsAddr_cutsceneMsgB, 53, 95); // "Another hundred moments later"  			moveTo(162, 184, 0, true);  			playSound(26, 6);  			playSound(26, 17); @@ -4052,7 +4052,7 @@ bool TeenAgentEngine::processCallback(uint16 addr) {  				byte id = scene->getId();  				playMusic(11); -				displayCutsceneMessage(0x580a, 84, 95); +				displayCutsceneMessage(dsAddr_cutsceneMsg2, 84, 95); // "Meanwhile in the mansion"  				processCallback(ptr);  				playMusic(6);  				if (getFlag(0xdbec) != 1 || ptr != 0x9f3e) // ptr check eq. scene_id == 11 diff --git a/engines/teenagent/resources.h b/engines/teenagent/resources.h index 5a3b45b4ab..6fb1cbad1a 100644 --- a/engines/teenagent/resources.h +++ b/engines/teenagent/resources.h @@ -51,6 +51,19 @@ const uint16 dsAddr_cursor = 0x00da;  // Reject Messages Address Pointers : (4 * 2-byte) = 0x339e to 0x33a5  const uint16 dsAddr_rejectMsg = 0x339e; +// Cutscene Message A : 0x3c80 to 0x3c99 +const uint16 dsAddr_cutsceneMsgA = 0x3c80; // "Hundred moments later" +// Cutscene Message B : 0x3c9a to 0x3cbb +const uint16 dsAddr_cutsceneMsgB = 0x3c9a; // "Another hundred moments later" + +// Cutscene Message #0 : 0x517b to 0x51a6 +const uint16 dsAddr_cutsceneMsg0 = 0x517b; // "A secret diary of ..." + +// Cutscene Message #1 : 0x57df to 0x5809 +const uint16 dsAddr_cutsceneMsg1 = 0x57df; // "sixty seven rude words later" +// Cutscene Message #2 : 0x580a to 0x5826 +const uint16 dsAddr_cutsceneMsg2 = 0x580a; // "Meanwhile in the mansion" +  // Save State Region : 0x6478 to 0xdbf1  const uint16 dsAddr_saveState = 0x6478;  const uint16 saveStateSize = 0x777a;  | 
