summaryrefslogtreecommitdiff
path: root/event
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@gmail.com>2015-12-06 22:36:09 -0500
committerPikalaxALT <PikalaxALT@gmail.com>2015-12-06 22:36:09 -0500
commit02d05255fe96e9c06d176c0960395fb5aeb36211 (patch)
tree20bdf048c0a1d35c2f567a83861388efa9a37b24 /event
parent6eac26732a7d19e08374e7e8e6f122da38b4a395 (diff)
A stab at audio engine.
Diffstat (limited to 'event')
-rwxr-xr-xevent/celebi.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/event/celebi.asm b/event/celebi.asm
index 8388caa20..865bd579b 100755
--- a/event/celebi.asm
+++ b/event/celebi.asm
@@ -76,7 +76,7 @@ LoadCelebiGFX: ; 49912
lb bc, BANK(SpecialCelebiLeafGFX), 4
call Request2bpp
ld de, SpecialCelebiGFX
- ld hl, VTiles1 tile $04
+ ld hl, VTiles0 tile $84
lb bc, BANK(SpecialCelebiGFX), $10
call Request2bpp
xor a
@@ -240,12 +240,12 @@ CelebiEvent_Cosine: ; 49b3b (12:5b3b)
add $10
and $3f
cp $20
- jr nc, .asm_49b48
+ jr nc, .negative
call .SineFunction
ld a, h
ret
-.asm_49b48
+.negative
and $1f
call .SineFunction
ld a, h