~rabbits/donsol

07a71b3a2b3132e274a927bcfac4c156c70b68e2 — neauoire 1 year, 2 months ago d4748cc
Changed victory mouse interaction
1 files changed, 7 insertions(+), 3 deletions(-)

M src/main.tal
M src/main.tal => src/main.tal +7 -3
@@ 178,15 178,15 @@ BRK
		;draw-value JSR2

	&options
	( easy )
	
	.frame/x LDZ2 .frame/y LDZ2
		( easy )
		OVR2 WIDTH 2// #0048 -- ++
		OVR2 #0078 ++
			#0010 ++ ;easy-txt #02 [ .mode LDZ #00 = + ] ;draw-label JSR2
		.Screen/x DEI2 #002c -- .Screen/x DEO2
		;cursor-hor-icn .Screen/addr DEO2
		#01 [ .mode LDZ #00 = * ] .Screen/sprite DEO

		( normal )
		OVR2 WIDTH 2// #0018 -- ++
		OVR2 #0078 ++


@@ 295,14 295,18 @@ BRK
		&enabled

	( run button on right-click or victory )
	.Mouse/state DEI #02 < .player/xp LDZ #36 = #0000 !! ,&no-mouse2 JCN
	.Mouse/state DEI #02 < ,&no-mouse2 JCN
		;run JSR2
		&no-mouse2

	( run button clicked )
	.Mouse/state DEI #00 = ,&no-run-button JCN
		( click anywhere on the victory screen to continue )
		.player/xp LDZ #36 = ,&do-run JCN
		( or on the run button in the interface )
		.Mouse/y DEI2 .frame/y LDZ2 -- 8// #0002 !! ,&no-run-button JCN 
		.Mouse/x DEI2 .frame/x LDZ2 -- 8// #0015 -- #0005 >> ,&no-run-button JCN
			&do-run
			;run JSR2
			&no-run-button