Skip to content

Commit 62983c9

Browse files
committed
Added PAL SFX
1 parent e837a38 commit 62983c9

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

main.asm

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5913,6 +5913,11 @@ soundEffectSlot1_rotateTetriminoPlaying:
59135913

59145914
soundEffectSlot1_tetrisAchievedInit:
59155915
lda #$05
5916+
ldy palFlag
5917+
cpy #0
5918+
beq @ntsc
5919+
lda #$4
5920+
@ntsc:
59165921
ldy #$30
59175922
jsr LE417
59185923
lda #$10
@@ -5926,6 +5931,11 @@ LE417: jmp initSoundEffectShared
59265931

59275932
soundEffectSlot1_lineCompletedInit:
59285933
lda #$05
5934+
ldy palFlag
5935+
cpy #0
5936+
beq @ntsc
5937+
lda #$4
5938+
@ntsc:
59295939
ldy #$34
59305940
jsr LE417
59315941
lda #$08
@@ -5937,6 +5947,11 @@ soundEffectSlot1_lineCompletedPlaying:
59375947
bne LE442
59385948
soundEffectSlot1_lineClearingInit:
59395949
lda #$04
5950+
ldy palFlag
5951+
cpy #0
5952+
beq @ntsc
5953+
lda #$3
5954+
@ntsc:
59405955
ldy #$38
59415956
jsr LE417
59425957
lda #$00
@@ -6024,6 +6039,11 @@ LE4E9: jmp soundEffectSlot1Playing_stop
60246039

60256040
soundEffectSlot1_levelUpInit:
60266041
lda #$06
6042+
ldy palFlag
6043+
cpy #0
6044+
beq @ntsc
6045+
lda #$5
6046+
@ntsc:
60276047
ldy #$1C
60286048
jmp initSoundEffectShared
60296049

0 commit comments

Comments
 (0)