From c30cef661b1caac6d6c5a97a247d155f76659e75 Mon Sep 17 00:00:00 2001 From: e Date: Sun, 21 Apr 2024 15:33:27 -0300 Subject: [PATCH] fix example room --- fancy_demo/room1.asc | 15 +++++++++------ fancy_demo/room1.crm | Bin 94061 -> 94207 bytes 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/fancy_demo/room1.asc b/fancy_demo/room1.asc index dd3abb3..892de5a 100644 --- a/fancy_demo/room1.asc +++ b/fancy_demo/room1.asc @@ -28,11 +28,14 @@ function room_AfterFadeIn() void repeatedly_execute_always() { - DrawingSurface* surf = Room.GetDrawingSurfaceForBackground(); - - surf.DrawingColor = 10565; - surf.DrawRectangle(48, 40, 248, 90); - fttb.Tick(); - fttb.DrawTyped(surf); + if(fttb.IsTextBeingTyped) + { + DrawingSurface* surf = Room.GetDrawingSurfaceForBackground(); + + surf.DrawingColor = 10565; + surf.DrawRectangle(48, 40, 248, 90); + + fttb.DrawTyped(surf); + } } \ No newline at end of file diff --git a/fancy_demo/room1.crm b/fancy_demo/room1.crm index 134582ab39334cfd0e2e636c8fd4c63d6e615924..e53e87c80083d6aa8bfdee240c5bdb05834efc5a 100644 GIT binary patch delta 311 zcmaERkM;k3)`l&NsgY9KL>Ryz*xBDV3dm9c;(bgE3|dSR9o4okjbuE+KHV~zF@RBF zx?M7(^z^@Rj0%b|EDQ{aK!waeECC{XS2AO>t_DzvF%SbyVK4+@pmhw4P(DbzCJ=*+1R2k;-6)08kV#ny#AjiF zBM_4j44EMm3(NGDG{$tbuRxRj12G5CR1qLn1L9~P?f~NXK)e!&(^)1u+HQACXS~6x q;+B|~Tp3bXkeU*bT2W$Um7ZD>?^z6DJEdmkrGsU*%jGiqGXVg+B|4J; delta 156 zcmex=pY`oM)`l&NsgY7DA`D;1*Yqh!X-j4IR95*dRTRi{5oW^86uo356~sJ(q|3ZoViqr&tPX^b)~K)^Wt vRT^Wu+%HB327REBF+iLN#Kl0|0mPGlIGtspqwV%B>5Mm6w{OU0^k)J9jHM^D