Skip to content

Commit 653c5c4

Browse files
committed
Revert fixes...for now.
1 parent bcafd46 commit 653c5c4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

LIB/asm/nesdash.s

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4296,22 +4296,22 @@ vert_skip:
42964296

42974297
DEY ; Y is 1
42984298

4299-
LDX #$FF
4299+
LDX #::_max_loaded_sprites
43004300
loading_loop:
43014301
;__ Y is 0
43024302
LDA (sprite_data), y ;
43034303
CMP #$FF ; If sprite data ended, stfu
43044304
BEQ return ;__
43054305

4306-
INX ;
4306+
DEX ;
43074307
TXA ; Load next sprite
43084308
JSR _load_next_sprite ;
43094309
LDY #0 ;__ Reset Y
43104310

43114311
; Part where it was writing to activesprites_active
43124312
; is ommited as it is done in load_next_sprite
43134313

4314-
CPX #::_max_loaded_sprites-1 ; Repeat for all sprite slots
4314+
CPX #0 ; Repeat for all sprite slots
43154315
BNE loading_loop ;__
43164316

43174317
return:

0 commit comments

Comments
 (0)