summaryrefslogtreecommitdiff
path: root/predef
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@gmail.com>2015-12-26 18:11:55 -0500
committerPikalaxALT <PikalaxALT@gmail.com>2015-12-26 19:22:27 -0500
commit2bd45ca574aab251b91c24837b102c9c2a5e76a0 (patch)
treebd8c568b9e43f7467ff4822080c6228c29bca2b9 /predef
parentf485a45cda5f84e6909997147b1e6c9a9a538d9b (diff)
Move effects; no more reloadmapmusic, returnafterbattle
Diffstat (limited to 'predef')
-rw-r--r--predef/cgb.asm18
1 files changed, 9 insertions, 9 deletions
diff --git a/predef/cgb.asm b/predef/cgb.asm
index ab96ba8d3..c929c975c 100644
--- a/predef/cgb.asm
+++ b/predef/cgb.asm
@@ -118,7 +118,7 @@ endr
ld [SGBPredef], a
call ApplyPals
Function8e23: ; 8e23
- call Function8e85
+ call InitBattlePartyMenuPals
hlcoord 0, 0, AttrMap
ld bc, SCREEN_WIDTH * SCREEN_HEIGHT
ld a, $2
@@ -157,15 +157,15 @@ Function8e23: ; 8e23
; 8e85
-Function8e85: ; 8e85
+InitBattlePartyMenuPals: ; 8e85
callba Function100dc0
Function8e8b: ; 8e8b
ld hl, Palette_b311
- jr nc, .asm_8e93
+ jr nc, .not_mobile
ld hl, Palette_b309
-.asm_8e93
+.not_mobile
ld de, UnknBGPals + 8 * 7
- ld bc, $8
+ ld bc, 1 palettes
ld a, $5
call FarCopyWRAM
ret
@@ -174,11 +174,11 @@ Function8e8b: ; 8e8b
Function8e9f: ; 8e9f
callba Function100dc0
ld hl, Palette_b311
- jr nc, .asm_8ead
+ jr nc, .not_mobile
ld hl, Palette_b309
-.asm_8ead
+.not_mobile
ld de, UnknBGPals
- ld bc, $8
+ ld bc, 1 palettes
ld a, $5
call FarCopyWRAM
ret
@@ -596,7 +596,7 @@ _CGB0a: ; 91d1
ld hl, PalPacket_9c56 + 1
call CopyFourPalettes
call Function8e9f
- call Function8e85
+ call InitBattlePartyMenuPals
call Function971a
call ApplyAttrMap
ret