Ticket #2233: R45-SCR45-side-by-side.txt

File R45-SCR45-side-by-side.txt, 4.8 KB (added by BenCastricum, 14 months ago)

Side by side comparison of DOS and FM-TOWNS version of room 45 script 45

Line 
1DOS FM-TOWNS
2[0000] (40) cutscene([]); | [0000] (40) cutscene([]);
3[0002] (1A) Bit[42] = 1; | [0002] (1A) Bit[42] = 1;
4 | [0007] (1A) Bit[43] = 1;
5[0007] (58) beginOverride(); | [000C] (58) beginOverride();
6[0009] (18) goto 009B; | [000E] (18) goto 00CF;
7[000C] (1A) Var[100] = 18; | [0011] (1A) Var[100] = 18;
8[0011] (30) setBoxFlags(Var[100],0); | [0016] (30) setBoxFlags(Var[100],0);
9[0016] (46) Var[100]++; | [001B] (46) Var[100]++;
10[0019] (44) unless (Var[100] > 29) goto 0011; | [001E] (44) unless (Var[100] > 29) goto 0016;
11[0020] (68) VAR_RESULT = isScriptRunning(158); | [0025] (68) VAR_RESULT = isScriptRunning(158);
12[0024] (28) if (!VAR_RESULT) { | [0029] (28) if (!VAR_RESULT) {
13[0029] (2A) startScript(158,[],F); | [002E] (2A) startScript(158,[],F);
14[002C] (**) } | [0031] (**) }
15[002C] (13) ActorOps(11,[Init(),Costume(11),WalkSpeed(10,4),F | [0031] (13) ActorOps(11,[Init(),Costume(11),WalkSpeed(10,4),F
16[0038] (2D) putActorInRoom(11,52); | [003D] (2D) putActorInRoom(11,52);
17[003B] (01) putActor(11,581,87); | [0040] (01) putActor(11,581,87);
18[0041] (11) animateCostume(11,5); | [0046] (11) animateCostume(11,5);
19[0044] (91) animateCostume(VAR_EGO,244); | [0049] (91) animateCostume(VAR_EGO,244);
20[0048] (80) breakHere(); | [004D] (80) breakHere();
21[0049] (1A) Var[159] = -13; | [004E] (1A) Var[159] = -13;
22[004E] (3E) walkActorTo(11,467,Var[159]); | [0053] (3E) walkActorTo(11,467,Var[159]);
23[0054] (9E) walkActorTo(VAR_EGO,581,108); | [0059] (9E) walkActorTo(VAR_EGO,581,108);
24[005B] (AE) WaitForActor(VAR_EGO); | [0060] (AE) WaitForActor(VAR_EGO);
25[005F] (91) animateCostume(VAR_EGO,12); | [0064] (91) animateCostume(VAR_EGO,12);
26[0063] (2E) delay(60); | [0068] (2E) delay(60);
27[0067] (91) animateCostume(VAR_EGO,3); | [006C] (91) animateCostume(VAR_EGO,3);
28[006B] (AE) WaitForActor(11); | [0070] (AE) WaitForActor(11);
29[006E] (1A) Bit[44] = 1; | [0073] (1A) Bit[44] = 1;
30[0073] (72) loadRoom(45); | [0078] (72) loadRoom(45);
31[0075] (13) ActorOps(11,[Init(),Costume(93),WalkSpeed(4,4)]); | [007A] (13) ActorOps(11,[Init(),Costume(93),WalkSpeed(4,4)]);
32[007E] (2D) putActorInRoom(11,45); | [0083] (2D) putActorInRoom(11,45);
33[0081] (01) putActor(11,41,30); | [0086] (01) putActor(11,41,30);
34[0087] (11) animateCostume(11,250); | [008C] (11) animateCostume(11,250);
35[008A] (80) breakHere(); | [008F] (80) breakHere();
36[008B] (1E) walkActorTo(11,174,179); | [0090] (1E) walkActorTo(11,174,159);
37[0091] (AE) WaitForActor(11); | [0096] (AE) WaitForActor(11);
38[0094] (2D) putActorInRoom(11,0); | [0099] (2D) putActorInRoom(11,0);
39[0097] (2E) delay(60); | [009C] (2E) delay(60);
40 | [00A0] (13) ActorOps(7,[Init(),Costume(12),IgnoreBoxes(),NeverZClip()]);
41 | [00A8] (13) ActorOps(7,[Scale(50,50),WalkSpeed(16,10),InitAnimNr(1),WalkAnimNr(2),StandAnimNr(3)]);
42 | [00B7] (2D) putActorInRoom(7,45);
43 | [00BA] (0E) putActorAtObject(7,470);
44 | [00BE] (36) walkActorToObject(7,471);
45 | [00C2] (AE) WaitForActor(7);
46 | [00C5] (13) ActorOps(7,[Scale(25,25)]);
47 | [00CB] (80) breakHere();
48 | [00CC] (2D) putActorInRoom(7,0);
49[009B] (58) endOverride(); | [00CF] (58) endOverride();
50[009D] (91) animateCostume(VAR_EGO,255); | [00D1] (91) animateCostume(VAR_EGO,255);
51[00A1] (62) stopScript(158); | [00D5] (62) stopScript(158);
52[00A3] (81) putActor(VAR_EGO,581,108); | [00D7] (81) putActor(VAR_EGO,581,108);
53[00AA] (91) animateCostume(VAR_EGO,248); | [00DE] (91) animateCostume(VAR_EGO,248);
54[00AE] (91) animateCostume(VAR_EGO,3); | [00E2] (91) animateCostume(VAR_EGO,3);
55[00B2] (2D) putActorInRoom(11,0); | [00E6] (2D) putActorInRoom(11,0);
56[00B5] (1A) Var[100] = 18; | [00E9] (1A) Var[100] = 18;
57[00BA] (30) setBoxFlags(Var[100],128); | [00EE] (30) setBoxFlags(Var[100],128);
58[00BF] (46) Var[100]++; | [00F3] (46) Var[100]++;
59[00C2] (44) unless (Var[100] > 29) goto 00BA; | [00F6] (44) unless (Var[100] > 29) goto 00EE;
60[00C9] (D2) actorFollowCamera(VAR_EGO); | [00FD] (D2) actorFollowCamera(VAR_EGO);
61[00CC] (2E) delay(60); | [0100] (2E) delay(60);
62[00D0] (D8) printEgo([Text("Well, shoot.")]); | [0104] (D8) printEgo([Text("Well, shoot.")]);
63[00DF] (C0) endCutscene(); | [0113] (C0) endCutscene();
64[00E0] (2C) UserputOn(); | [0114] (2C) UserputOn();
65[00E2] (A0) stopObjectCode(); | [0116] (A0) stopObjectCode();
66END | END