mirror of
https://github.com/WiiLink24/wfc-server.git
synced 2026-08-26 10:34:36 -05:00
Merge pull request #85 from BDMCGaming/main
Some checks failed
Build CI / build (push) Has been cancelled
Some checks failed
Build CI / build (push) Has been cancelled
Update Friend Code Calculation to have Pokemon Battle Revolution (RPB) use NDS calculation
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user