kubbd [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=75738 Error with Cartdata() <p>Hello, I need some help with an error that I have been encountering in my code. I started coding a few days ago but I have been working on someone else's game. For some weird reason when I call cartdata() in the init function and later in the update60() function I get a error &quot;DGET CALLED BEFORE CARTDATA() IN _INIT LINE 287 (TAB 0) AT LINE 1 (TAB 3) you can see it for yourself if you run the game and chose &quot;TIMED&quot; and collect 25 flowers. <table><tr><td> <a href="/bbs/?pid=147454#p"> <img src="/bbs/thumbs/pico8_kuba_mt_1-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=147454#p"> kuba_mt_1</a><br><br> by <a href="/bbs/?uid=75738"> kubbd</a> <br><br><br> <a href="/bbs/?pid=147454#p"> [Click to Play]</a> </td></tr></table> Credit to Lucatron for creating the base game: <a href="https://www.lexaloffle.com/bbs/?tid=36520">https://www.lexaloffle.com/bbs/?tid=36520</a></p> <p>The cartdata() function is in init so I do not get why the error is occuring.</p> https://www.lexaloffle.com/bbs/?tid=141998 https://www.lexaloffle.com/bbs/?tid=141998 Sat, 27 Apr 2024 18:46:20 UTC