Skip to content

Commit 2010622

Browse files
committed
seastalker
1 parent 7fb0c5f commit 2010622

File tree

2 files changed

+19
-6
lines changed

2 files changed

+19
-6
lines changed

frotz/src/games/seastalker.c

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,15 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
2626

2727
const char *seastalker_intro[] = { "John\n", "Wayne\n", "yes\n" };
2828

29-
const zword seastalker_special_ram_addrs[1] = {
30-
9740, // Tracks scimitar location
29+
const zword seastalker_special_ram_addrs[5] = {
30+
9736, 9740, 9742, // Tracks scimitar location
31+
9490, // Fill tank
32+
9668, // Change throttle
3133
};
3234

3335
zword* seastalker_ram_addrs(int *n) {
34-
*n = 1;
35-
return seastalker_ram_addrs;
36+
*n = 5;
37+
return seastalker_special_ram_addrs;
3638
}
3739

3840
char** seastalker_intro_actions(int *n) {

tools/test_games.py

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -410,8 +410,19 @@
410410
},
411411
"reverb.z5": {
412412
1: "read note", # Not needed.
413-
"z": [50, 51], # Not needed.
414-
},
413+
"z": [50, 51], # Not needed.
414+
},
415+
"seastalker.z3": {
416+
4: "ask bly about problem", # Not needed.
417+
5: "ask bly about monster", # Not needed.
418+
11: "ask computestor about videophone", # Not needed.
419+
18: "ask kemp about circuit breaker", # Not needed.
420+
27: "push test button", # Not needed.
421+
28: "read sign", # Not needed.
422+
105: "e", # Can't go.
423+
128: "s", # Can't go.
424+
151: "s", # Too crowed. Have to wait.
425+
}
415426

416427
}
417428

0 commit comments

Comments
 (0)