Skip to content

Commit

Permalink
Revert "Sampled Pokémon cries"
Browse files Browse the repository at this point in the history
  • Loading branch information
Monstarules committed Feb 18, 2019
1 parent c089d7d commit 89c1aa5
Show file tree
Hide file tree
Showing 34 changed files with 86 additions and 348 deletions.
Binary file modified ancientruby.sn1
Binary file not shown.
2 changes: 0 additions & 2 deletions audio.asm
Original file line number Diff line number Diff line change
Expand Up @@ -164,5 +164,3 @@ SECTION "Cries", ROMX
INCLUDE "data/pokemon/cries.asm"

INCLUDE "audio/cries.asm"

INCLUDE "audio/sample_player.asm"
19 changes: 3 additions & 16 deletions audio/engine.asm
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,6 @@ MusicOff:
_UpdateSound::
; called once per frame
; no use updating audio if it's not playing
ld a,[SamplePlaying]
and a
jr z,.continue
ret
.continue
ld a, [wMusicPlaying]
and a
ret z
Expand Down Expand Up @@ -2380,15 +2375,7 @@ _PlayCry::
add hl, de
add hl, de
add hl, de
; check if current cry is a sample
dec d
jr nz,.notsample
.sample
call PlaySample
jr .end
.notsample

ld a, [hli]
ld [wMusicBank], a

Expand All @@ -2405,7 +2392,7 @@ _PlayCry::

; For each channel:
inc a
.loop2
.loop
push af
call LoadChannel

Expand Down Expand Up @@ -2463,7 +2450,7 @@ _PlayCry::
.next
pop af
dec a
jr nz, .loop2
jr nz, .loop

; Cries play at max volume, so we save the current volume for later.
ld a, [wLastVolume]
Expand Down
302 changes: 0 additions & 302 deletions audio/sample_player.asm

This file was deleted.

Binary file removed audio/samples/beautifly.pcm
Binary file not shown.
Binary file removed audio/samples/blaziken.pcm
Binary file not shown.
Binary file removed audio/samples/cascoon.pcm
Binary file not shown.
Binary file removed audio/samples/combusken.pcm
Binary file not shown.
Binary file removed audio/samples/dustox.pcm
Binary file not shown.
Binary file removed audio/samples/grovyle.pcm
Binary file not shown.
Binary file removed audio/samples/linoone.pcm
Binary file not shown.
Binary file removed audio/samples/lombre.pcm
Binary file not shown.
Binary file removed audio/samples/lotad.pcm
Binary file not shown.
Binary file removed audio/samples/ludicolo.pcm
Binary file not shown.
Binary file removed audio/samples/marshtomp.pcm
Binary file not shown.
Binary file removed audio/samples/mightyena.pcm
Binary file not shown.
1 change: 0 additions & 1 deletion audio/samples/mudkip.pcm

This file was deleted.

Binary file removed audio/samples/nuzleaf.pcm
Binary file not shown.
Binary file removed audio/samples/poochyena.pcm
Binary file not shown.
Binary file removed audio/samples/sceptile.pcm
Binary file not shown.
1 change: 0 additions & 1 deletion audio/samples/seedot.pcm

This file was deleted.

Binary file removed audio/samples/shiftry.pcm
Binary file not shown.
Binary file removed audio/samples/silcoon.pcm
Binary file not shown.
Binary file removed audio/samples/swampert.pcm
Binary file not shown.
Binary file removed audio/samples/torchic.pcm
Binary file not shown.
Binary file removed audio/samples/treecko.pcm
Binary file not shown.
Binary file removed audio/samples/wurmple.pcm
Binary file not shown.
Binary file removed audio/samples/zigzagoon.pcm
Binary file not shown.
Loading

0 comments on commit 89c1aa5

Please sign in to comment.