summaryrefslogtreecommitdiff
path: root/battle
diff options
context:
space:
mode:
Diffstat (limited to 'battle')
-rw-r--r--battle/anim_commands.asm2
-rw-r--r--battle/core.asm12
-rw-r--r--battle/effect_commands.asm2
3 files changed, 8 insertions, 8 deletions
diff --git a/battle/anim_commands.asm b/battle/anim_commands.asm
index fed2c9236..064920afe 100644
--- a/battle/anim_commands.asm
+++ b/battle/anim_commands.asm
@@ -1172,7 +1172,7 @@ BattleAnimCmd_BeatUp: ; cc776 (33:4776)
.done
pop af
ld [CurPartySpecies], a ; CurPartySpecies
- ld b, $1
+ ld b, SCGB_01
call GetSGBLayout
pop af
ld [rSVBK], a
diff --git a/battle/core.asm b/battle/core.asm
index 1defd0e23..7b68e0729 100644
--- a/battle/core.asm
+++ b/battle/core.asm
@@ -3146,7 +3146,7 @@ LostBattle: ; 3d38e
jr nz, .LostLinkBattle
; Greyscale
- ld b, 0
+ ld b, SCGB_00
call GetSGBLayout
call SetPalettes
jr .end
@@ -7375,7 +7375,7 @@ FinishBattleAnim: ; 3ee27
push bc
push de
push hl
- ld b, $1
+ ld b, SCGB_01
call GetSGBLayout
call SetPalettes
call DelayFrame
@@ -8510,7 +8510,7 @@ BattleIntro: ; 3f4dd
callba ClearBattleRAM
call InitEnemy
call BackUpVBGMap2
- ld b, $0
+ ld b, SCGB_00
call GetSGBLayout
ld hl, rLCDC
res 6, [hl]
@@ -8936,7 +8936,7 @@ Function3f836: ; 3f836
ld bc, SCREEN_WIDTH * SCREEN_HEIGHT
call ByteFill
call Function3200
- ld b, $8
+ ld b, SCGB_08
call GetSGBLayout
call SetPalettes
ld c, $8
@@ -9438,7 +9438,7 @@ InitBattleDisplay: ; 3fb6c
ld [rWY], a
call WaitBGMap
call HideSprites
- ld b, $1
+ ld b, SCGB_01
call GetSGBLayout
call SetPalettes
ld a, $90
@@ -9488,7 +9488,7 @@ GetTrainerBackpic: ; 3fbff
; What gender are we?
ld a, [wPlayerSpriteSetupFlags]
- bit 2, a
+ bit 2, a ; transformed to male
jr nz, .Chris
ld a, [PlayerGender]
bit 0, a
diff --git a/battle/effect_commands.asm b/battle/effect_commands.asm
index 38a00bb73..2ebe1f843 100644
--- a/battle/effect_commands.asm
+++ b/battle/effect_commands.asm
@@ -8966,7 +8966,7 @@ BattleCommand_BatonPass: ; 379c9
hlcoord 1, 0
lb bc, 4, 10
call ClearBox
- ld b, 1
+ ld b, SCGB_01
call GetSGBLayout
call SetPalettes
call BatonPass_LinkPlayerSwitch