Prev: AB3A Up: Map Next: AD2D
AB53: The sentence each action code stands for
Fifty-nine 8-byte patterns, ending at a zero word. The action code is the pattern's place in the list, counting from 1: PARSE_ACTION finds the one that matches the parsed sentence and works the code out from its address. Each is a verb, a particle and a preposition as word references, then two more bytes; for the ten directions the first word is the direction and the last is GO, so that NORTH and GO NORTH are the same action. The top bits of the references and the last two bytes of the others are flags, not yet worked out.
So this is also the key to ACTION_TABLE and to every action code in the characters' scripts: $10 is OPEN, $13 TAKE, $1D GIVE TO, $24 RUN, $30 CAPTURE, $37 CLIMB OUT OF.
ACTION_PATTERNS AB53 DEFB $80,$04,$00,$00,$00,$00,$DE,$02 1 ($01): GO NORTH
AB5B DEFB $07,$06,$00,$00,$00,$00,$DE,$02 2 ($02): GO SOUTH
AB63 DEFB $FE,$01,$00,$00,$00,$00,$DE,$02 3 ($03): GO EAST
AB6B DEFB $79,$07,$00,$00,$00,$00,$DE,$02 4 ($04): GO WEST
AB73 DEFB $85,$04,$00,$00,$00,$00,$DE,$02 5 ($05): GO NORTHEAST
AB7B DEFB $8E,$04,$00,$00,$00,$00,$DE,$02 6 ($06): GO NORTHWEST
AB83 DEFB $0C,$06,$00,$00,$00,$00,$DE,$02 7 ($07): GO SOUTHEAST
AB8B DEFB $15,$06,$00,$00,$00,$00,$DE,$02 8 ($08): GO SOUTHWEST
AB93 DEFB $25,$07,$00,$00,$00,$00,$DE,$02 9 ($09): GO UP
AB9B DEFB $C4,$01,$00,$00,$00,$00,$DE,$02 10 ($0A): GO DOWN
ABA3 DEFB $58,$E6,$00,$00,$96,$07,$00,$40 11 ($0B): STRIKE WITH
ABAB DEFB $34,$81,$00,$00,$00,$00,$00,$40 12 ($0C): CLOSE
ABB3 DEFB $E8,$81,$00,$00,$00,$80,$00,$00 13 ($0D): DROP
ABBB DEFB $E8,$C1,$00,$00,$78,$03,$00,$40 14 ($0E): DROP IN
ABC3 DEFB $73,$E0,$00,$00,$96,$47,$00,$40 15 ($0F): ATTACK WITH
ABCB DEFB $B4,$84,$00,$00,$00,$00,$00,$40 16 ($10): OPEN
ABD3 DEFB $08,$C5,$00,$00,$78,$03,$00,$40 17 ($11): PUT IN
ABDB DEFB $08,$C5,$00,$00,$AA,$04,$00,$40 18 ($12): PUT ON
ABE3 DEFB $8C,$86,$00,$00,$00,$00,$00,$40 19 ($13): TAKE
ABEB DEFB $8C,$C6,$BF,$04,$9C,$04,$00,$40 20 ($14): TAKE OUT OF
ABF3 DEFB $8C,$C6,$B5,$02,$00,$00,$00,$40 21 ($15): TAKE FROM
ABFB DEFB $8C,$96,$9F,$24,$00,$00,$00,$40 22 ($16): TAKE OFF
AC03 DEFB $13,$04,$00,$10,$00,$00,$00,$40 23 ($17): LOOK
AC0B DEFB $13,$84,$C1,$26,$00,$00,$00,$00 24 ($18): LOOK THROUGH
AC13 DEFB $13,$84,$43,$20,$00,$00,$00,$00 25 ($19): LOOK ACROSS
AC1B DEFB $92,$03,$00,$10,$00,$00,$00,$40 26 ($1A): INVENTORY
AC23 DEFB $02,$82,$00,$00,$00,$00,$00,$00 27 ($1B): EAT
AC2B DEFB $3E,$82,$00,$00,$00,$00,$00,$40 28 ($1C): EXAMINE
AC33 DEFB $D4,$C2,$D1,$06,$00,$10,$00,$60 29 ($1D): GIVE TO
AC3B DEFB $DE,$82,$C1,$26,$00,$00,$00,$00 30 ($1E): GO THROUGH
AC43 DEFB $2D,$82,$00,$80,$00,$00,$00,$00 31 ($1F): ENTER
AC4B DEFB $DE,$82,$8E,$A3,$00,$00,$00,$00 32 ($20): GO INTO
AC53 DEFB $E3,$81,$00,$00,$00,$00,$00,$00 33 ($21): DRINK
AC5B DEFB $28,$82,$00,$00,$00,$00,$00,$00 34 ($22): EMPTY
AC63 DEFB $61,$C2,$00,$00,$96,$07,$00,$40 35 ($23): FILL WITH
AC6B DEFB $6C,$05,$00,$00,$00,$00,$00,$00 36 ($24): RUN
AC73 DEFB $F2,$C3,$00,$00,$96,$07,$00,$40 37 ($25): LOCK WITH
AC7B DEFB $12,$C7,$00,$00,$96,$07,$00,$40 38 ($26): UNLOCK WITH
AC83 DEFB $85,$92,$00,$00,$00,$40,$00,$00 39 ($27): FOLLOW
AC8B DEFB $72,$87,$00,$00,$00,$00,$00,$00 40 ($28): WEAR
AC93 DEFB $C8,$86,$00,$00,$00,$00,$00,$00 41 ($29): THROW
AC9B DEFB $C8,$C6,$00,$00,$70,$20,$00,$00 42 ($2A): THROW AT
ACA3 DEFB $C8,$C6,$00,$00,$43,$00,$00,$40 43 ($2B): THROW ACROSS
ACAB DEFB $C8,$C6,$00,$00,$C1,$06,$00,$40 44 ($2C): THROW THROUGH
ACB3 DEFB $D3,$80,$00,$00,$00,$40,$00,$00 45 ($2D): BURN
ACBB DEFB $CD,$C6,$00,$00,$D1,$06,$00,$40 46 ($2E): TIE TO
ACC3 DEFB $78,$81,$00,$00,$00,$00,$00,$00 47 ($2F): CUT
ACCB DEFB $F4,$80,$00,$00,$00,$40,$00,$00 48 ($30): CAPTURE
ACD3 DEFB $00,$85,$00,$00,$00,$00,$00,$00 49 ($31): PULL
ACDB DEFB $7C,$86,$00,$00,$00,$00,$00,$40 50 ($32): SWIM
ACE3 DEFB $20,$87,$00,$00,$00,$80,$00,$40 51 ($33): UNTIE
ACEB DEFB $2F,$81,$00,$00,$00,$00,$00,$40 52 ($34): CLIMB
ACF3 DEFB $90,$86,$D1,$26,$00,$40,$00,$40 53 ($35): TALK TO
ACFB DEFB $2F,$81,$8E,$23,$00,$00,$00,$40 54 ($36): CLIMB INTO
AD03 DEFB $2F,$81,$BF,$24,$9C,$04,$00,$80 55 ($37): CLIMB OUT OF
AD0B DEFB $A1,$93,$B0,$24,$00,$00,$00,$00 56 ($38): JUMP ONTO
AD13 DEFB $A9,$81,$00,$00,$00,$00,$00,$40 57 ($39): DIG
AD1B DEFB $94,$85,$00,$00,$00,$40,$00,$40 58 ($3A): SHOOT
AD23 DEFB $0D,$81,$00,$00,$00,$80,$00,$40 59 ($3B): CARRY
AD2B DEFB $00,$00 End of the patterns
Prev: AB3A Up: Map Next: AD2D