Skip to content

Commit

Permalink
Added PAL SFX
Browse files Browse the repository at this point in the history
  • Loading branch information
kirjavascript committed Dec 28, 2020
1 parent e837a38 commit 62983c9
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions main.asm
Original file line number Diff line number Diff line change
Expand Up @@ -5913,6 +5913,11 @@ soundEffectSlot1_rotateTetriminoPlaying:

soundEffectSlot1_tetrisAchievedInit:
lda #$05
ldy palFlag
cpy #0
beq @ntsc
lda #$4
@ntsc:
ldy #$30
jsr LE417
lda #$10
Expand All @@ -5926,6 +5931,11 @@ LE417: jmp initSoundEffectShared

soundEffectSlot1_lineCompletedInit:
lda #$05
ldy palFlag
cpy #0
beq @ntsc
lda #$4
@ntsc:
ldy #$34
jsr LE417
lda #$08
Expand All @@ -5937,6 +5947,11 @@ soundEffectSlot1_lineCompletedPlaying:
bne LE442
soundEffectSlot1_lineClearingInit:
lda #$04
ldy palFlag
cpy #0
beq @ntsc
lda #$3
@ntsc:
ldy #$38
jsr LE417
lda #$00
Expand Down Expand Up @@ -6024,6 +6039,11 @@ LE4E9: jmp soundEffectSlot1Playing_stop

soundEffectSlot1_levelUpInit:
lda #$06
ldy palFlag
cpy #0
beq @ntsc
lda #$5
@ntsc:
ldy #$1C
jmp initSoundEffectShared

Expand Down

0 comments on commit 62983c9

Please sign in to comment.