mirror of https://git.sr.ht/~rabbits/oquonie
Starting gate event
This commit is contained in:
parent
2ea6bb379b
commit
988abb9aae
|
@ -394,6 +394,31 @@ JMP2r
|
|||
|
||||
JMP2r
|
||||
|
||||
@e/gate =&draw =&collide
|
||||
|
||||
&draw ( event* -- )
|
||||
|
||||
POP2
|
||||
|
||||
JMP2r
|
||||
|
||||
&collide ( e* -- )
|
||||
|
||||
POP2
|
||||
draw-room
|
||||
start-dialog
|
||||
|
||||
JMP2r
|
||||
|
||||
(
|
||||
@|dialog )
|
||||
|
||||
@start-dialog ( -- )
|
||||
|
||||
#1234 phex #0a18 DEO
|
||||
|
||||
JMP2r
|
||||
|
||||
(
|
||||
@|drawing )
|
||||
|
||||
|
@ -685,7 +710,7 @@ JMP2r
|
|||
|
||||
@debug ( -- )
|
||||
|
||||
#0010 DUP2 .Screen/x DEO2 .Screen/y DEO2
|
||||
#0008 DUP2 .Screen/x DEO2 .Screen/y DEO2
|
||||
#01 .Screen/auto DEO
|
||||
( player )
|
||||
;&pos-txt draw-str
|
||||
|
@ -701,15 +726,15 @@ JMP2r
|
|||
.camera/y LDZ2 draw-short
|
||||
#20 draw-ltr
|
||||
( room )
|
||||
#0010 .Screen/x DEO2 #0020 .Screen/y DEO2
|
||||
#0008 .Screen/x DEO2 #0010 .Screen/y DEO2
|
||||
;&room-txt draw-str
|
||||
.pos/room LDZ2 draw-short
|
||||
|
||||
JMP2r
|
||||
&pos-txt "pos: 20 $1
|
||||
&dir-txt "dir: 20 $1
|
||||
&cam-txt "cam: 20 $1
|
||||
&room-txt "room: 20 $1
|
||||
&pos-txt "pos: $1
|
||||
&dir-txt "dir: $1
|
||||
&cam-txt "cam: $1
|
||||
&room-txt "room: $1
|
||||
|
||||
(
|
||||
@|helpers )
|
||||
|
|
|
@ -16,13 +16,23 @@
|
|||
0a =e/door =world/2 0d $2 ]
|
||||
|
||||
&2 -ambience/lobby -theme/white [
|
||||
01 02 01 01 02 01
|
||||
01 04 01 01 02 01
|
||||
01 01 01
|
||||
01 00 01
|
||||
01 01 01
|
||||
00 01 00 00 00 00
|
||||
02 ( events )
|
||||
0e =e/door =world/1 0b $2
|
||||
02 =e/gate =world/2 11 01 $1 ]
|
||||
|
||||
&3 -ambience/lobby -theme/white [
|
||||
02 03 02 01 03 01
|
||||
01 02 01
|
||||
02 02 02
|
||||
01 02 01
|
||||
00 01 00 00 00 00
|
||||
01 ( events )
|
||||
0e =e/door =world/1 0b $2 ]
|
||||
16 =e/door =world/2 07 $2 ]
|
||||
|
||||
@cache
|
||||
&w $1680
|
||||
|
|
Loading…
Reference in New Issue