pete286/road.jor

31 lines
878 B
Plaintext
Executable file

( O V E R W O R L D )
24 4 N ' {horse} defentity chuck
:noname
reset-level
1 player.state DRIVING f!
:| player yield chuck yield 0 |; ' entities redefine
:|
touch-begin E leaving? dup
if pete say" It's 100 miles to the next town." then
touch-next 5 9 2= dup
if player move-entity 13 12 pete.jor queue-level then
touch-next 13 6 2= dup
if pete say" Old hiking trail." then
touch-next 24 6 2= dup
if mary say" Welcome to my place, Pete!" then
touch-next 39 33 2= dup
if pete say" School's out for the day,\looks like." then
touch-next 32 36 2= dup
if mary say" General store and post office." then
touch-next 35 39 2= dup
if pete say" Community center." then
touch-next tile b@ 17 = dup
if pete say" I'm not one to drop in\unannounced." then
touch-last |; ' player-touch redefine
s" road.map" load-map
; ' onload redefine