-
-
Save Lusamine/bd5cc6c9c279e1b59d242842b0ba474a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bool isSpecialSpeciesItem(ushort speciesID,uint itemID) | |
{ | |
ulonglong uVar1; | |
if ((itemID & 0xffff) == 0) { | |
return false; | |
} | |
if (speciesID < 0x289) { | |
if ((uint)speciesID - 0x17e < 2) { | |
return false; | |
} | |
if (speciesID == 0x1e7) { | |
if ((itemID & 0xffff) != 0x70) { | |
return false; | |
} | |
return true; | |
} | |
if (speciesID == 0x1ed) { | |
uVar1 = isArceusPlate((ulonglong)itemID); | |
if ((uVar1 & 1) == 0) { | |
return false; | |
} | |
return true; | |
} | |
} | |
else { | |
if (speciesID < 0x378) { | |
if (speciesID == 0x289) { | |
uVar1 = isGenesectDrive((ulonglong)itemID); | |
if ((uVar1 & 1) == 0) { | |
return false; | |
} | |
return true; | |
} | |
if (speciesID == 0x305) { | |
uVar1 = isSilvallyMemory((ulonglong)itemID); | |
if ((uVar1 & 1) == 0) { | |
return false; | |
} | |
return true; | |
} | |
} | |
else { | |
if (speciesID == 0x378) { | |
if ((itemID & 0xffff) != 0x44f) { | |
return false; | |
} | |
return true; | |
} | |
if (speciesID == 0x379) { | |
if ((itemID & 0xffff) != 0x450) { | |
return false; | |
} | |
return true; | |
} | |
} | |
} | |
uVar1 = FUN_71007890f0((ulonglong)itemID); | |
if ((uVar1 & 1) == 0) { | |
return false; | |
} | |
return true; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment