2019-03-09 23:49:45 +00:00
|
|
|
( P E T E )
|
|
|
|
|
2019-03-10 00:59:52 +00:00
|
|
|
13 8 N ' {car} defentity car
|
2019-03-09 23:49:45 +00:00
|
|
|
|
2019-03-10 00:59:52 +00:00
|
|
|
car :touch
|
2019-03-15 02:18:20 +00:00
|
|
|
player move-entity
|
2019-03-10 00:59:52 +00:00
|
|
|
1 player.state DRIVING f!
|
2019-03-09 23:49:45 +00:00
|
|
|
;entity
|
|
|
|
|
|
|
|
:noname
|
2019-05-01 01:15:25 +00:00
|
|
|
:| player.driving? not if car yield then
|
2019-04-30 23:32:20 +00:00
|
|
|
done |; ' entities redefine
|
2019-03-09 23:49:45 +00:00
|
|
|
|
2019-03-15 02:18:20 +00:00
|
|
|
:|
|
|
|
|
touch-begin S leaving? dup
|
|
|
|
if player.driving? not
|
|
|
|
if pete say" It's too far to walk to town."
|
|
|
|
else player move-entity 5 10 road.jor queue-level
|
|
|
|
then
|
|
|
|
then
|
|
|
|
touch-next 13 8 2= player.driving? and dup
|
|
|
|
if player move-entity
|
|
|
|
0 player.state DRIVING f!
|
|
|
|
W player entity.dir !
|
|
|
|
player move-entity
|
|
|
|
then
|
|
|
|
touch-next 12 7 2= player.driving? not and dup
|
|
|
|
if player move-entity 16 9 petehous.jor queue-level then
|
|
|
|
touch-next 30 7 2= dup
|
|
|
|
if pete say" It's... kinda swampy.\I don't wanna get wet if I\don't have to." then
|
|
|
|
touch-next 30 9 2= dup
|
|
|
|
if pete say" Feels spooky over here,\somehow." then
|
|
|
|
touch-last |; ' player-touch redefine
|
|
|
|
|
|
|
|
s" pete.map" load-map
|
2019-03-09 23:49:45 +00:00
|
|
|
; ' onload redefine
|