i'm looking at another random chunk of code
ROM:8920 loc_8920: ROM:8920 AD CC 04 LDA byte_4CC ROM:8923 F0 03 BEQ loc_8928 ROM:8925 CE CC 04 DEC byte_4CC ROM:8928 ROM:8928 loc_8928: ROM:8928 4C 01 86 JMP StartGameMode01
okay. so it checks if $4CC is non-zero, and if so, decrements it by one.
where else is $4CC used, then? there's one hit for it elsewhere, and:
ROM:82BB A9 00 LDA #0 ROM:82BD 8D DC 04 STA TotalBetPrevious ROM:82C0 8D 94 04 STA byte_494 ROM:82C3 8D D6 04 STA byte_4D6 ROM:82C6 8D A1 04 STA GameMode ROM:82C9 8D A2 04 STA ShowDipswitchFlag ROM:82CC 8D 93 04 STA ShowStatsFlag ... ROM:82DE 8D 9F 04 STA byte_49F ROM:82E1 8D CC 04 STA byte_4CC ROM:82E4 8D CD 04 STA byte_4CD ROM:82E7 85 1A STA byte_1A ROM:82E9 85 0F STA DrawStringAsBlankFlag ...
if this value, that is never set to anything non-zero, is for some reason, non-zero, decrement it by one. just in case. nevermind that nothing else reads this value either.
i really, really wonder what the source code to this game was like.
