Schmutzpuppe Posted September 16, 2012 Share Posted September 16, 2012 Hi, does anybody know how to determine the highest score stored in the HSC for the current game? Matthias Quote Link to comment Share on other sites More sharing options...
PacManPlus Posted September 17, 2012 Share Posted September 17, 2012 Yes. You have to set the difficulty and players and call $3ff7 ; HSSUCK -- SUCK IN HIGH SCORE, IF AVAILABLE. IF NOT ZAP IT OUT. HSCSUCK JSR HSCHERE ;SEE IF HI SCORE CART IS THERE BEQ SUCKOUT JSR HSETTEMP ;SET UP TEMPLATE FOR HSC DATA BLOCK JSR HSETDIFC ;SET DIFFICULTY LDX #<(HSCRAM) ;AND DO IT LDY #>(HSCRAM) JSR $3FF7 ;DO HSCSTAT LDX #3 SUCKHSIN LDA HSCRAM+$F,X STA hiscore,X DEX BPL SUCKHSIN SUCKOUT JSR SCREENON RTS Quote Link to comment Share on other sites More sharing options...
Schmutzpuppe Posted September 18, 2012 Author Share Posted September 18, 2012 That helped, thanks Bob. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.