53 lines
1.2 KiB
Plaintext
Executable file
53 lines
1.2 KiB
Plaintext
Executable file
( T R A I L 1 )
|
|
|
|
50 17 E ' {horse} defentity e_chuck
|
|
39 71 N ' {car} defentity car
|
|
|
|
car :touch
|
|
CHUCK-FOLLOW flag@ if
|
|
pete say" I can't leave Chuck here!"
|
|
else
|
|
move-player 1 player.state DRIVING f!
|
|
then
|
|
;entity
|
|
|
|
e_chuck :touch
|
|
pete say" Woah, boy. Calm down." move-player
|
|
chuck say" * w h i n n y *\(You came back!)"
|
|
pete say" Of course I did, boy.\Of course I did."
|
|
p_chuck follow CHUCK-GONE clearflag CHUCK-FOLLOW setflag
|
|
;entity
|
|
|
|
:noname
|
|
0 player.state DRIVING f!
|
|
|
|
:| CHUCK-GONE flag@ if e_chuck yield then
|
|
player.driving? not if car yield then
|
|
done |; ' entities redefine
|
|
|
|
:|
|
|
touch-begin S leaving? dup
|
|
if player.driving? not CHUCK-FOLLOW flag@ not and
|
|
if pete say" I'm not walking."
|
|
else move-player 13 7 road.jor queue-level
|
|
then
|
|
then
|
|
CHUCK-GONE flag@ if
|
|
touch-next 49 17 2= dup
|
|
if
|
|
pete say" Oh for the love of..."
|
|
say" Chuck! How on Earth did you\end up over there!?"
|
|
W e_chuck entity.dir !
|
|
chuck say" * n e i g h *\(Help me Pete, I'm lost!)"
|
|
then
|
|
then
|
|
touch-next 3 56 2= dup
|
|
if
|
|
pete say" This is where I buried it."
|
|
say" All those years ago."
|
|
then
|
|
touch-last |; ' player-touch redefine
|
|
|
|
s" trail1.map" load-map
|
|
; ' onload redefine
|