~rabbits/donsol

d4748cc6cfd5c720d9ee3f4fa7f5355f2dd8677d — neauoire 1 year, 2 months ago c2def98
Always run on victory
1 files changed, 5 insertions(+), 6 deletions(-)

M src/main.tal
M src/main.tal => src/main.tal +5 -6
@@ 283,7 283,6 @@ BRK
	[ #08 ] !~ ,&no-right JCN
		.table/selection LDZ INC #00 ;select JSR2 POP BRK
		&no-right

	POP

BRK


@@ 295,17 294,17 @@ BRK
		BRK
		&enabled

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

	( run button clicked )
	.Mouse/y DEI2 .frame/y LDZ2 -- 8// #0002 !! ,&no-run-button JCN 
	.Mouse/state DEI #00 = ,&no-run-button JCN
		.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
		.Mouse/state DEI #00 = ,&no-run-button JCN
			;run JSR2
		&no-run-button
			&no-run-button

	( hover card )
	.Mouse/y DEI2 .frame/y LDZ2 #0030 ++ -- #0048 <<