From 0d3b0e4dac9b50543673f810cdca6814dede4213 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 14b737b..f275bd3 100644 --- a/chameleonic.p8 +++ b/chameleonic.p8 @@ -1837,7 +1837,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