shithub: pokecrystal

Download patch

ref: 1e9befdf1868aeef584847af8524ef279d0b0905
parent: 80a3f7e1baea5a17ba039bdfe62d848f73288119
author: Rangi <[email protected]>
date: Sat Jul 10 17:43:12 EDT 2021

Comment explaining what the "base" Stadium data is for

--- a/tools/stadium.c
+++ b/tools/stadium.c
@@ -26,7 +26,8 @@
 
 typedef enum Base { BASE_NONE, BASE_US, BASE_EU, BASE_DEBUG } Base;
 
-// Base data format: "base", 1, version, CRC (big-endian), 16 unknown bytes
+// Base data format: "base", 1, version byte, CRC (big-endian),
+// 16 bytes = a 128-bit mask of which banks Stadium can skip comparing
 
 uint8_t us_base[BASESIZE] = {'b', 'a', 's', 'e', 1, 0, 0, 0,
 	0x40, 0x11, 0x00, 0x22, 0x00, 0x3A, 0xF3, 0x38,