{"about":"Colours are SMS CRAM bytes (--BBGGRR). initial: 0:03E6, 32 entries loaded at boot and on every screen change; entries 16-31 are the sprite palette for the whole game. background[ts]: 5:B9E6 + ts*16 -> CRAM 0-15 (0:1FC6); round 8-2 then sets CRAM 5=$10, 9=$19 in code (0:1FD4). cycles: colour tables the game writes to the palette-cycle requests $D395-$D39A (applied by the IRQ to CRAM 1,5,7,11,14).","initial":[0,63,43,15,11,3,27,6,48,4,12,42,22,1,19,21,0,63,43,15,11,3,32,61,48,8,12,42,22,2,19,0],"background":[[0,31,27,7,5,61,58,48,32,13,8,8,15,3,63,0],[0,63,1,15,11,3,16,57,48,4,8,62,22,2,61,0],[0,63,1,15,11,3,16,57,48,4,8,62,22,2,61,0],[0,31,27,7,5,61,58,48,32,13,8,8,15,3,63,0],[0,31,27,7,5,48,58,48,32,13,8,8,15,3,63,0],[0,57,11,15,1,61,10,48,32,56,5,27,16,31,6,0],[0,57,11,15,1,61,10,48,32,56,5,27,16,31,6,0],[0,57,11,15,1,61,10,48,32,56,5,27,16,31,6,0],[0,57,11,15,1,61,10,48,32,56,5,27,16,31,6,0],[0,63,20,30,26,40,12,57,48,4,8,10,26,21,61,0],[0,57,11,15,1,61,10,48,32,56,5,27,16,31,6,0],[0,63,1,15,11,3,16,57,48,4,8,62,22,2,61,0],[0,31,27,7,5,61,58,48,32,13,8,8,15,3,63,0],[0,63,11,15,1,2,10,25,48,4,57,27,43,31,6,0],[0,63,1,15,11,3,12,32,48,4,8,10,6,2,61,0]],"round82Patch":{"note":"code constants at 0:1FD4, not a table","cram":{"5":16,"9":25}},"cycles":{"water":{"addr":"0:38EC","note":"0:38BB: index (frame/8)&7 -> $D395","colours":[16,12,8,4,8,12,16,32]},"water2":{"addr":"0:38F4","note":"0:38C3/0:38CB -> $D398, $D399","colours":[4,3,2,2,2,3,4,8]},"boss":{"addr":"1:6CA1","note":"1:6C8D -> $D396","colours":[42,38,22,18,2,3,4]},"bonusA":{"addr":"1:4B3E","note":"1:4AFF -> $D39A (index $CCA8-1+C)","colours":[2,3,2,2,3,2,2,3,1,2,3,3,3,2,3,1,3,2,3,2,1,2,3,2,1,3,2,2,1,3]},"bonusB":{"addr":"1:4B5C","note":"1:4B0F compared with the value above","colours":[3,3,1,0,2,1,0,1,2,3]}}}