We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcafd46 commit 653c5c4Copy full SHA for 653c5c4
LIB/asm/nesdash.s
@@ -4296,22 +4296,22 @@ vert_skip:
4296
4297
DEY ; Y is 1
4298
4299
- LDX #$FF
+ LDX #::_max_loaded_sprites
4300
loading_loop:
4301
;__ Y is 0
4302
LDA (sprite_data), y ;
4303
CMP #$FF ; If sprite data ended, stfu
4304
BEQ return ;__
4305
4306
- INX ;
+ DEX ;
4307
TXA ; Load next sprite
4308
JSR _load_next_sprite ;
4309
LDY #0 ;__ Reset Y
4310
4311
; Part where it was writing to activesprites_active
4312
; is ommited as it is done in load_next_sprite
4313
4314
- CPX #::_max_loaded_sprites-1 ; Repeat for all sprite slots
+ CPX #0 ; Repeat for all sprite slots
4315
BNE loading_loop ;__
4316
4317
return:
0 commit comments