IRF Posted February 20, 2018 Report Share Posted February 20, 2018 I've just noticed a bug/glitch/inconsistency in the way that the 'Swordfish' routine is executed at the end of the Final Barrier. When Willy enters the portal (unless you're playing in Cheat Mode, of course), his sprite appears above the portal which displays the Swordfish icon. There is also a command which overwrites the attributes of the two cells underneath the portal, in order to disguise Willy's feet (so that he doesn't appear to be in two places at once!) However, once the points start to be ratcheted up as the remaining air supply is counted down, Willy's feet are still visible (in blue INK on black PAPER), because the pixel display for those two cells isn't wiped, only the white INK attribute. **** Incidentally, the green PAPER attribute of the cells occupied by Willy's lower half when he is drawn above the Swordfish would possibly look a bit better if cyan PAPER was used (as is the case for the upper half of his sprite at that point). jetsetdanny and Spider 2 Quote Link to comment Share on other sites More sharing options...
Norman Sword Posted February 20, 2018 Report Share Posted February 20, 2018 The original loop terminates with the ink(1) and paper(0) 37012 LD A,63 Initialise A to 63 (INK 7: PAPER 7)37014 LD HL,22528 37017 LD DE,2252937020 LD BC,51137023 LD (HL),A37024 LDIR37026 LD BC,4 37029 DJNZ 3702937031 DEC C37032 JR NZ,3702937034 DEC A 37035 JR NZ,37014 note this has filled the screen with value 1 when it finishes 37037 LD A,(33882) 37040 OR A Are we in demo mode?37041 JP NZ,34449 If so, demo the next cavern ; a slight rearrange will fix the problem 37012 ld a,63 (or 64 if the same start colour wanted)37014 ld hl,2252837017 ld de,22528........................37020 ld bc,437023 djnz 3702337025 dec c37026 jr nz,3702337028 dec a set the zero flag37029 ld bc,51137032 ld (hl),a37033 ldir does not affect the zero flag.......................37035 jr nz,37014 ;this will finish the loop with black ink and black paper 37037 ld a,(33882) etc. IRF and Spider 2 Quote Link to comment Share on other sites More sharing options...
IRF Posted February 20, 2018 Author Report Share Posted February 20, 2018 That will make the whole screen turn black, won't it? If you only want to disguise Willy's feet under the portal during the decreasing air effect, then instead of having the existing commands (#9071-#9076) which overwrite the cells (addresses #58F3-#58F4) with black INK, you could print a pair of ASCII space characters over that part of the screen's pixel file (set DE=#40F3, C=02, IX=#FE00, then CALL #92BA). Spider 1 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.