(screen.bounds) Center sprite

This commit is contained in:
neauoire 2023-11-12 09:49:20 -08:00
parent 6b0dc5114c
commit 805c9258d8
1 changed files with 18 additions and 16 deletions

View File

@ -17,8 +17,10 @@
.Screen/y DEO2 .Screen/y DEO2
#80 .Screen/pixel DEO #80 .Screen/pixel DEO
( | cursor ) ( | cursor )
[ LIT2 00 -Mouse/state ] DEI NEQ #41 ADD ;cursor-icn <update-cursor> #00 ;cursor-icn <update-cursor>
( | draw portrait ) ( | draw portrait )
.Screen/x DEI2k #000c SUB2 ROT DEO2
.Screen/y DEI2k #000c SUB2 ROT DEO2
[ LIT2 36 -Screen/auto ] DEO [ LIT2 36 -Screen/auto ] DEO
;portrait-chr .Screen/addr DEO2 ;portrait-chr .Screen/addr DEO2
#81 .Screen/sprite DEOk DEOk DEOk DEO #81 .Screen/sprite DEOk DEOk DEOk DEO