File tree Expand file tree Collapse file tree 1 file changed +30
-1
lines changed Expand file tree Collapse file tree 1 file changed +30
-1
lines changed Original file line number Diff line number Diff line change @@ -286,6 +286,11 @@ testCrash:
286
286
jsr satanSpawn
287
287
jmp @allegroClear ;allegroClear is basically return, just clears the variable first.
288
288
@isPal:
289
+ lda palFlag
290
+ beq @nextSwitch ;if NTSC, continue, no crash.
291
+ jsr blackBox
292
+ @allegroJump:
293
+ jmp @allegroClear
289
294
lda palFlag
290
295
beq @nextSwitch ;if NTSC, continue, no crash.
291
296
jsr blackBox
@@ -314,9 +319,15 @@ testCrash:
314
319
@nextOn:
315
320
lda cycleCount ;testing for limited confetti
316
321
cmp #$76 ;high byte min
317
- bcc @allegroClear
322
+ bcc @allegroJump
318
323
bne @not76
319
324
lda cycleCount+1
325
+ ldx strictFlag
326
+ beq @notStrict_confetti
327
+ cmp #$BD
328
+ bcc @allegroJump
329
+ bcs @confettiA
330
+ @notStrict_confetti:
320
331
cmp #$C5 ;low byte min
321
332
bcc @allegroClear
322
333
bcs @confettiA
@@ -337,6 +348,12 @@ testCrash:
337
348
bcc @allegroClear
338
349
bne @levelLag
339
350
lda cycleCount+1
351
+ ldx strictFlag
352
+ beq @notStrict_level
353
+ cmp #$95
354
+ bcc @allegroClear
355
+ bcs @levelLag
356
+ @notStrict_level:
340
357
cmp #$9D ;low byte min
341
358
bcc @allegroClear
342
359
@levelLag:
@@ -348,6 +365,12 @@ testCrash:
348
365
bcc @allegroClear
349
366
bne @lineLag
350
367
lda cycleCount+1
368
+ ldx strictFlag
369
+ beq @notStrict_lines
370
+ cmp #$58
371
+ bcc @allegroClear
372
+ bcs @lineLag
373
+ @notStrict_lines:
351
374
cmp #$60 ;low byte min
352
375
bcc @allegroClear
353
376
@lineLag:
@@ -359,6 +382,12 @@ testCrash:
359
382
bcc @allegroClear
360
383
bne @not7A
361
384
lda cycleCount+1
385
+ ldx strictFlag
386
+ beq @notStrict_B
387
+ cmp #$57
388
+ bcc @allegroClear
389
+ bcs @confettiB
390
+ @notStrict_B:
362
391
cmp #$5F ;low byte min
363
392
bcc @allegroClear
364
393
bcs @confettiB
You can’t perform that action at this time.
0 commit comments