Issue in my loot system

Been trying to figure out this issue for months now. The discord is no help, nobody has found a fix on the forums either. With that in mind, I’ll start adding an incentive. Whoever first figures out how to solve this bug will get a shiny 20$ bill through venmo. I’ll be going off timestamps to determine who gets it, so answer quick if you want the bounty.

I’ve been having this strange issue where code that works perfectly in one scene fails to work in others. It seems as if some scenes are just unable to change global variables correctly, for some reason I can’t identify. I’m kind of at the end of my rope here, so I’d love any assistance you lot can give.

Note that this game only works in GDEV version 5.6.280, updating past there breaks a couple hundred other things.

Game is below \/

ht(REMOVE PARENTHETICAL)tps://drive.google.com/file/d/1ZD0ECOPvUER_0dG2nq_Qjm-g0Zhjoxvs/view?usp=sharing

To see the code execute correctly,
open the game, press “z” twice, once text appears wait 5 seconds and then hit “b”. That’ll take you to an area, use arrow keys to move up into a bone area screen. Move back and forth in that area until a wild monster appears, then defeat it by selecting “Scrape”. Upon returning to the overworld, the looted items will be added to your materials correctly.

To see the issue in question, open the game, press “z” twice, once text appears wait 5 seconds and then hit “c”. That’ll take you to an area, use arrow keys to move downwards a screen and find a patch of hair. Move back and forth in that hair until a wild monster appears, then defeat it by selecting “Scrape”. Upon returning to the overworld, the error will appear and the items looted won’t be added to your inventory.

I cant access your link. Can you show me the code for your inventory?

The link works for me, unsure why it doesn’t on your end.

Idk i cant even click it. I tried copy paste but it wasnt working

You need to remove the parenthetical from inside the text. This forum won’t let me post links, so you have to alter what I sent into a link.

I did that but it took me here

Yes, that would be the folder to download.

Oh ok ok
(Extra letterz)

Idk i cant open it (I’m on mobile btw). Cant you just send a hidden on gd.games link?

The issue is that you are on mobile. Try again when you’re at a computer?

I don’t have a computer…

Then you may not be the right person to help me with this.

Hope you find someone else though. Good luck :+1:t4:

There’s no need to duplicate topics.

Yep, I make a new thread when a week passes from the last comment. I’ll stop posting altogether the instant someone actually figures out the error.

Is this the error, or is there another one?

No, the error occurs while running the game, as described in the first post of this thread.

What should I do to defeat the boss?

select the move: “scrape”

How?
(20 letters is not needed)