Problem With Check Itens Invetory

Hi, Nice to meet all user in this forum (:
Sorry if my English is bad, I will try to type clearly.
People call me SoujiroHideki by nickname, so I need some help with programing.
My game consist in pick some itens and check if they are true or false, so there is my problem, check if they are true or false. I got my script and I will post it, any help would be appreciate.
Thank you.

432382–15017–$MemoryDoor1.js (4.15 KB)
432382–15018–$ItemLootavel1.js (73 Bytes)

Hi, welcome to the forum!

The first thing I noticed about your code is a compile error. Your file is called ItemLootavel1.js, but you refer to the class as ItemLootavel (without the 1 at the end). The class name has to be the same as the filename but without the .js suffix. This might be the only error but please post again if you have any further problems.