From ce3fc83221e531c267259c5555dbcfd163ed3731 Mon Sep 17 00:00:00 2001 From: Kistaro Windrider Date: Sun, 1 Jan 2023 13:31:34 -0800 Subject: [PATCH] fmt in debugmouse:draw3. This is literally the reason I implemented fmt in the first place --- chameleonic.p8 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chameleonic.p8 b/chameleonic.p8 index cdeca25..95b65e8 100644 --- a/chameleonic.p8 +++ b/chameleonic.p8 @@ -1863,7 +1863,7 @@ function debugmouse:draw3() if (c == " ") spr(50,x,y) print(c,x,y,15) local px, py = mid(0,x,89), mid(0, y > 111 and y - 12 or y + 6, 117) - print("("..x..", "..y..")\n["..(x\8)..", "..(y\8).."]",px,py,15) + print(fmt("(%v, %v)\n[%v, %v]",x,y,x\8,y\8),px,py,15) pal() end