#jjp-pirates-of-the-caribbean does something with the gold you collect, not sure exactly what. Knowing pinball_keefer 's reputation for deep code I suspect you'll find something similar in many of his tables.
https://www.ipdb.org/search.pl?searchtype=advanced&ppl=Keith%20P.%20Johnson