aboutsummaryrefslogtreecommitdiffstats
path: root/engine/gamefreak.asm
diff options
context:
space:
mode:
authorluckytyphlosion <alan.rj.huang@gmail.com>2015-10-12 13:05:36 -0400
committerluckytyphlosion <alan.rj.huang@gmail.com>2015-10-12 13:05:36 -0400
commit2cf4efe15c50e84824bad8420b16009e6fa066c3 (patch)
tree116e2fb232f85208892d47360e044e6eccfb4c20 /engine/gamefreak.asm
parentMerge pull request #3 from PikalaxALT/master (diff)
downloadpokeyellow-2cf4efe15c50e84824bad8420b16009e6fa066c3.tar.gz
pokeyellow-2cf4efe15c50e84824bad8420b16009e6fa066c3.tar.xz
pokeyellow-2cf4efe15c50e84824bad8420b16009e6fa066c3.zip
Rename some palette labels.
Also add replace.sh
Diffstat (limited to 'engine/gamefreak.asm')
-rwxr-xr-xengine/gamefreak.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/gamefreak.asm b/engine/gamefreak.asm
index acbd5fc9..a5c0edef 100755
--- a/engine/gamefreak.asm
+++ b/engine/gamefreak.asm
@@ -3,8 +3,8 @@ LoadShootingStarGraphics: ; 70000 (1c:4000)
ld [rOBP0], a
ld a, $a4
ld [rOBP1], a ; $ff49
- call Func_3040
- call Func_3061
+ call UpdateGBCPal_OBP0
+ call UpdateGBCPal_OBP1
ld de, AnimationTileset2 ; $4757 ; star tile (top left quadrant)
ld hl, vChars1 + $200
lb bc, BANK(AnimationTileset2), $01
@@ -77,7 +77,7 @@ AnimateShootingStar: ; 7004a (1c:404a)
ld hl, rOBP0 ; $ff48
rrc [hl]
rrc [hl]
- call Func_3040
+ call UpdateGBCPal_OBP0
ld c, 10
call CheckForUserInterruption
ret c
@@ -223,7 +223,7 @@ MoveDownSmallStars: ; 70142 (1c:4142)
ld a, [rOBP1] ; $ff49
xor %10100000
ld [rOBP1], a ; $ff49
- call Func_3061
+ call UpdateGBCPal_OBP1
ld c, 3
call CheckForUserInterruption
ret c