Moved item data constants into module ItemData

This commit is contained in:
Maruno17
2020-10-17 00:56:30 +01:00
parent 2b4f1e1aba
commit 7e627453da
10 changed files with 104 additions and 95 deletions

View File

@@ -263,7 +263,7 @@ def pbDayCareGenerateEgg
itemsData = pbLoadItemsData
for i in 0...itemsData.length
next if !itemsData[i]
atk = itemsData[i][ITEM_MACHINE]
atk = itemsData[i][ItemData::MOVE]
next if !atk || atk==0
next if !egg.compatibleWithMove?(atk)
next if !movefather.hasMove?(atk)