Data
| Prev: F2A5 | Up: Map | Next: F380 |
F2B2: Plan script: cabbie (actor 31); cabbie (actor 34)
|
Entry point: F2B2 = cabbie (actor 31); cabbie (actor 34).
Each sub-block is one instruction. Split off from the block before, which it merely follows in memory.
In an instruction, 'plan dobj' and 'plan iobj' are not fixed objects: they mean the direct and indirect object currently held in the actor's plan registers (bytes +4 and +5 of its actor record), so the same step works on whatever the actor is dealing with - for the player, the objects of the command just typed. 'plan verb' is the verb register (+3), 'self' is the acting character, and '-' means none.
The cabbie takes the quotation at the head of the list (9FEC), not necessarily the one just typed (see B01C: a failed SAY leaves its quotation behind), starts the journey, and waits for his fare at the end of it; the fare is 2d plus 2d for each full five minutes, change is given. Two cabs may stand in Parliament Street; if the player boards the one Lestrade is in at the same time, Lestrade's own cab script (EBA4) and the player's ride collide and he stays in the cab for good.
|
||||
| F2B2 | DEFB $0F | PASS | ||
| F2B3 | DEFB $0E,$B2,$F2 | GOTO F2B2 | ||
| F2B6 | DEFB $05,$FD,$AC,$6B | Entry (given to a hailed cabbie by E2E2): SAY TO plan dobj message 6BAC: "GOOD MORNING GUV'NOR." | ||
| F2BA | DEFB $07,$2F,$E5,$04,$04 | RUN E52F START COUNTDOWN of (dobj) plus a random number up to (iobj) (4, 4) | ||
| F2BF | DEFB $03,$A8,$E5 | RUN E5A8 IDLE (no checks; takes a minute) | ||
| F2C2 | DEFB $81,$82,$D0,$F2 | DO 130 IS HERE [ok F2D0] | ||
| F2C6 | DEFB $83,$7A,$E5,$BF,$F2 | RUN E57A TICK the countdown (fails, and deletes it, when it runs out) [ok F2BF] | ||
| F2CB | DEFB $86,$F6,$6B,$76,$F3 | PRINT message 6BF6: "WITH A PRACTISED FLICK OF THE REINS, YOU MOVES ON DOWN THE STREET I..." [ok F376] | ||
| F2D0 | DEFB $03,$88,$E5 | RUN E588 CANCEL the countdown | ||
| F2D3 | DEFB $07,$2F,$E5,$05,$03 | RUN E52F START COUNTDOWN of (dobj) plus a random number up to (iobj) (5, 3) | ||
| F2D8 | DEFB $83,$3E,$E6,$EB,$F2 | RUN E63E [ok F2EB] | ||
| F2DD | DEFB $03,$A8,$E5 | RUN E5A8 IDLE (no checks; takes a minute) | ||
| F2E0 | DEFB $83,$7A,$E5,$D8,$F2 | RUN E57A TICK the countdown (fails, and deletes it, when it runs out) [ok F2D8] | ||
| F2E5 | DEFB $85,$FD,$1B,$6C,$BA,$F2 | SAY TO plan dobj message 6C1B: "WELL ARE WE GOIN' ANYWHERE GUV'NOR?" [ok F2BA] | ||
| F2EB | DEFB $82,$82,$FD,$FF,$FC,$F2 | DO 130 IS HERE: plan dobj, - [ok F2FC] | ||
| F2F1 | DEFB $82,$81,$FD,$FB,$2E,$F3 | DO 129 IS WITH: plan dobj, self [ok F32E] | ||
| F2F7 | DEFB $13,$E6,$E6,$59,$F3 | RUN E6E6 [fail F359] | ||
| F2FC | DEFB $03,$88,$E5 | RUN E588 CANCEL the countdown | ||
| F2FF | DEFB $07,$2F,$E5,$05,$02 | RUN E52F START COUNTDOWN of (dobj) plus a random number up to (iobj) (5, 2) | ||
| F304 | DEFB $83,$54,$E6,$A2,$F3 | RUN E654 [ok F3A2] | ||
| F309 | DEFB $83,$6F,$E6,$66,$F3 | RUN E66F [ok F366] | ||
| F30E | DEFB $12,$82,$FD,$FF,$2E,$F3 | DO 130 IS HERE: plan dobj, - [fail F32E] | ||
| F314 | DEFB $03,$A8,$E5 | RUN E5A8 IDLE (no checks; takes a minute) | ||
| F317 | DEFB $83,$7A,$E5,$04,$F3 | RUN E57A TICK the countdown (fails, and deletes it, when it runs out) [ok F304] | ||
| F31C | DEFB $83,$54,$E6,$A2,$F3 | RUN E654 [ok F3A2] | ||
| F321 | DEFB $83,$6F,$E6,$69,$F3 | RUN E66F [ok F369] | ||
| F326 | DEFB $07,$BC,$E6,$FD,$FB | RUN E6BC (plan dobj, self) | ||
| F32B | DEFB $0E,$FF,$F2 | GOTO F2FF | ||
| F32E | DEFB $03,$88,$E5 | RUN E588 CANCEL the countdown | ||
| F331 | DEFB $06,$C7,$6B | PRINT message 6BC7: "YOU, WHO NOW APPEARS TO BE GETTING QUITE AGITATED, SAYS' WHAT ABOUT..." | ||
| F334 | DEFB $07,$2F,$E5,$05,$02 | RUN E52F START COUNTDOWN of (dobj) plus a random number up to (iobj) (5, 2) | ||
| F339 | DEFB $83,$54,$E6,$A2,$F3 | RUN E654 [ok F3A2] | ||
| F33E | DEFB $83,$6F,$E6,$66,$F3 | RUN E66F [ok F366] | ||
| F343 | DEFB $82,$82,$FD,$FF,$FC,$F2 | DO 130 IS HERE: plan dobj, - [ok F2FC] | ||
| F349 | DEFB $12,$81,$FD,$FB,$59,$F3 | DO 129 IS WITH: plan dobj, self [fail F359] | ||
| F34F | DEFB $03,$A8,$E5 | RUN E5A8 IDLE (no checks; takes a minute) | ||
| F352 | DEFB $93,$7A,$E5,$39,$F3,$31,$F3 | RUN E57A TICK the countdown (fails, and deletes it, when it runs out) [ok F339; fail F331] | ||
| F359 | DEFB $03,$88,$E5 | RUN E588 CANCEL the countdown | ||
| F35C | DEFB $03,$0E,$E7 | RUN E70E | ||
| F35F | DEFB $93,$E6,$E6,$FC,$F2,$76,$F3 | RUN E6E6 [ok F2FC; fail F376] | ||
| F366 | DEFB $03,$88,$E5 | RUN E588 CANCEL the countdown | ||
| F369 | DEFB $0F | PASS | ||
| F36A | DEFB $0F | PASS | ||
| F36B | DEFB $82,$82,$FD,$FF,$D0,$F2 | DO 130 IS HERE: plan dobj, - [ok F2D0] | ||
| F371 | DEFB $83,$E6,$E6,$E5,$F2 | RUN E6E6 [ok F2E5] | ||
| F376 | DEFB $02,$80,$FC,$00 | DO 128 PUT: plan iobj, room 0 (off stage) | ||
| F37A | DEFB $83,$80,$F3,$7A,$F3 | RUN F380 [ok F37A] | ||
| F37F | DEFB $0B | RETURN OK | ||
| Prev: F2A5 | Up: Map | Next: F380 |