mirror of
https://github.com/WiiLink24/wfc-server.git
synced 2026-03-21 17:44:58 -05:00
Update Friend Code Calculation to have Pokemon Battle Revolution (RPB) use NDS calculation
This commit is contained in:
parent
9aba0bbeae
commit
1287d49440
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user