pete286/trail1.jor

42 lines
971 B
Plaintext
Executable file

( T R A I L 1 )
38 60 E ' {horse} defentity e_chuck
39 71 N ' {car} defentity car
car :touch
player move-entity 1 player.state DRIVING f!
;entity
:noname
0 player.state DRIVING f!
:| chuck.state @ CHUCK-SEARCH = if e_chuck yield then
player.driving? not if car yield then
done |; ' entities redefine
:|
touch-begin S leaving? dup
if player.driving? not
if pete say" I'm not walking."
else player move-entity 13 7 road.jor queue-level
then
then
chuck.state @ CHUCK-SEARCH = if
touch-next 37 60 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