Well, Again with my questions...
It's possible to get the ID from an Item (From $data_items) that is in an array?:.
Example.
I have that, I want to push the Items with the IDS includes in the array = itemsx. (In this case Item 1 and Item 4.)
How can I do that?.
Thanks for read and help. .
It's possible to get the ID from an Item (From $data_items) that is in an array?:.
Example.
Code:
itemsx = [1,4]
for i in 1..itemsx.size
if $game_party.item_number(i) > 0
@data.push($data_items[i])
end
end
I have that, I want to push the Items with the IDS includes in the array = itemsx. (In this case Item 1 and Item 4.)
How can I do that?.
Thanks for read and help. .