Update Friend Code Calculation to have Pokemon Battle Revolution (RPB) use NDS calculation

This commit is contained in:
BDMCGaming 2025-08-20 17:09:42 -04:00
parent 9aba0bbeae
commit 1287d49440

View File

@ -46,7 +46,7 @@ func crc8(data []byte) byte {
func getCRCType(gameId string) (crcType byte, reverse bool) {
reverse = false
if strings.HasPrefix(gameId, "RSB") {
if strings.HasPrefix(gameId, "RSB") || strings.HasPrefix(gameId, "RPB") {
crcType = fcCRC8
return
}