2019-05-18 19:30:58 +00:00
|
|
|
0 const JEANNE-ANGRY
|
|
|
|
1 const CHUCK-GONE
|
2019-04-10 02:00:32 +00:00
|
|
|
2 const CHUCK-FOLLOW
|
|
|
|
3 const CHUCK-HOME
|
2019-05-20 19:12:25 +00:00
|
|
|
4 const CHUCK-STOLEN
|
|
|
|
5 const CHUCK-EXPLAINED
|
2019-05-18 19:30:58 +00:00
|
|
|
|
2019-05-20 19:12:25 +00:00
|
|
|
6 const FLAG-COUNT
|
2019-05-18 19:30:58 +00:00
|
|
|
|
2019-05-20 19:12:25 +00:00
|
|
|
array flags FLAG-COUNT 8 / 1 + allot
|
|
|
|
|
|
|
|
: flagstof ( f -- v f ) dup 8 / flags + swap 8 % 1 swap << ;
|
2019-05-19 17:34:27 +00:00
|
|
|
: flagsf! ( b f -- ) flagstof f! ;
|
2019-05-20 19:12:25 +00:00
|
|
|
: flag@ ( f -- b ) flagstof f@ ;
|
|
|
|
: setflag 1 swap flagsf! ;
|
|
|
|
: clearflag 0 swap flagsf! ;
|
2019-05-01 01:15:25 +00:00
|
|
|
|
|
|
|
16 18 W ' {horse} defentity p_chuck
|
|
|
|
:noname
|
|
|
|
:| player yield
|
2019-05-20 19:12:25 +00:00
|
|
|
CHUCK-FOLLOW flag@ if p_chuck yield then
|
2019-05-01 01:15:25 +00:00
|
|
|
done |; ' party redefine
|
|
|
|
; ' onload redefine
|