From 1287d49440322c932916a086e481f668d3bc1f87 Mon Sep 17 00:00:00 2001 From: BDMCGaming Date: Wed, 20 Aug 2025 17:09:42 -0400 Subject: [PATCH] Update Friend Code Calculation to have Pokemon Battle Revolution (RPB) use NDS calculation --- common/friend_code.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/friend_code.go b/common/friend_code.go index d208c76..4f19241 100644 --- a/common/friend_code.go +++ b/common/friend_code.go @@ -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 }