if (game.trndex <= TRNVLS)
game.thresh=MOD(TRNVAL[game.trndex],100000)+1;
}
- if (VERB == SAY && WD2 > 0)VERB=0;
- if (VERB == SAY) goto L4090;
+ if (VERB == SAY && WD2 > 0)
+ VERB=0;
+ if (VERB == SAY) {
+ part=transitive;
+ goto Laction;
+ }
if (game.tally == 0 && INDEEP(game.loc) && game.loc != 33)
--game.clock1;
switch (KQ-1)
{
case 0: goto L8;
- case 1: goto L5000;
- case 2: goto L4000;
+ case 1: part=unknown; obj = KMOD; break;
+ case 2: part=intransitive; VERB = KMOD; break;
case 3: RSPEAK(KMOD); goto L2012;
+ default: BUG(22);
}
- BUG(22);
-
-/* Verb and object analysis moved to separate module. */
-L4000: part=intransitive; VERB = KMOD; goto Laction;
-L4090: part=transitive; goto Laction;
-L5000: part=unknown; obj = KMOD;
Laction:
switch (action(cmdin, part, VERB, obj)) {
case 2: return true;
RSPEAK(136);
score(0);
return true;
+ default:
+ BUG(99);
}
- BUG(99);
+ /* no fallthrough here */
+
/* Figure out the new location */
L8: if (playermove(cmdin, VERB, KMOD))
return true;