mirror of
https://github.com/WiiLink24/wfc-server.git
synced 2026-03-21 17:44:58 -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:
commit
93269e8b8d
|
|
@ -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