Guest User

Untitled

a guest
May 24th, 2018
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public static function isItem(item_object, type:String):Boolean {
  2.             type = type.toLowerCase();
  3.             for(var i:int = 0; i < Items.ItemCompareArray[findItemInCompare(item_object)].sorter.length; i++) {
  4.                 if(Items.ItemCompareArray[findItemInCompare(item_object)].sorter[i] == type) {
  5.                     return true;
  6.                 }
  7.             }
  8.             return false;
  9.         }
Add Comment
Please, Sign In to add comment