trainer card

This commit is contained in:
PikalaxALT
2015-12-28 10:57:04 -05:00
parent f030315b1f
commit 57d4cb0edf
18 changed files with 616 additions and 506 deletions

View File

@@ -1169,7 +1169,7 @@ BattleAnimCmd_BeatUp: ; cc776 (33:4776)
.done .done
pop af pop af
ld [CurPartySpecies], a ; CurPartySpecies ld [CurPartySpecies], a ; CurPartySpecies
ld b, SCGB_01 ld b, SCGB_BATTLE_COLORS
call GetSGBLayout call GetSGBLayout
pop af pop af
ld [rSVBK], a ld [rSVBK], a

View File

@@ -2994,7 +2994,7 @@ SetUpBattlePartyMenu_NoLoop: ; 3d2f7
SetUpBattlePartyMenu: ; switch to fullscreen menu? SetUpBattlePartyMenu: ; switch to fullscreen menu?
callba LoadPartyMenuGFX callba LoadPartyMenuGFX
callba InitPartyMenuWithCancel callba InitPartyMenuWithCancel
callba InitBattlePartyMenuPals callba InitPartyMenuBGPal7
callba InitPartyMenuGFX callba InitPartyMenuGFX
ret ret
; 3d313 ; 3d313
@@ -3141,7 +3141,7 @@ LostBattle: ; 3d38e
jr nz, .LostLinkBattle jr nz, .LostLinkBattle
; Greyscale ; Greyscale
ld b, SCGB_00 ld b, SCGB_BATTLE_GRAYSCALE
call GetSGBLayout call GetSGBLayout
call SetPalettes call SetPalettes
jr .end jr .end
@@ -7360,7 +7360,7 @@ FinishBattleAnim: ; 3ee27
push bc push bc
push de push de
push hl push hl
ld b, SCGB_01 ld b, SCGB_BATTLE_COLORS
call GetSGBLayout call GetSGBLayout
call SetPalettes call SetPalettes
call DelayFrame call DelayFrame
@@ -8495,7 +8495,7 @@ BattleIntro: ; 3f4dd
callba ClearBattleRAM callba ClearBattleRAM
call InitEnemy call InitEnemy
call BackUpVBGMap2 call BackUpVBGMap2
ld b, SCGB_00 ld b, SCGB_BATTLE_GRAYSCALE
call GetSGBLayout call GetSGBLayout
ld hl, rLCDC ld hl, rLCDC
res 6, [hl] res 6, [hl]
@@ -9418,7 +9418,7 @@ InitBattleDisplay: ; 3fb6c
ld [rWY], a ld [rWY], a
call WaitBGMap call WaitBGMap
call HideSprites call HideSprites
ld b, SCGB_01 ld b, SCGB_BATTLE_COLORS
call GetSGBLayout call GetSGBLayout
call SetPalettes call SetPalettes
ld a, $90 ld a, $90

View File

@@ -9168,7 +9168,7 @@ BattleCommand_BatonPass: ; 379c9
hlcoord 1, 0 hlcoord 1, 0
lb bc, 4, 10 lb bc, 4, 10
call ClearBox call ClearBox
ld b, SCGB_01 ld b, SCGB_BATTLE_COLORS
call GetSGBLayout call GetSGBLayout
call SetPalettes call SetPalettes
call BatonPass_LinkPlayerSwitch call BatonPass_LinkPlayerSwitch

View File

@@ -1,10 +1,10 @@
const_def const_def
const SCGB_00 const SCGB_BATTLE_GRAYSCALE
const SCGB_01 const SCGB_BATTLE_COLORS
const SCGB_02 const SCGB_POKEGEAR_PALS
const SCGB_STATS_SCREEN_HP_PALS const SCGB_STATS_SCREEN_HP_PALS
const SCGB_04 const SCGB_04
const SCGB_05 const SCGB_SLOT_MACHINE
const SCGB_06 const SCGB_06
const SCGB_07 const SCGB_07
const SCGB_08 const SCGB_08
@@ -20,7 +20,7 @@
const SCGB_12 const SCGB_12
const SCGB_13 const SCGB_13
const SCGB_PACKPALS const SCGB_PACKPALS
const SCGB_15 const SCGB_TRAINER_CARD
const SCGB_16 const SCGB_16
const SCGB_17 const SCGB_17
const SCGB_18 const SCGB_18

View File

@@ -112,7 +112,7 @@ Function8aa4: ; 8aa4
Function8ad1: ; 8ad1 Function8ad1: ; 8ad1
ld hl, PalPacket_9c56 + 1 ld hl, PalPacket_9c56 + 1
call CopyFourPalettes call CopyFourPalettes
call Function971a call InitPartyMenuOBPals
call WipeAttrMap call WipeAttrMap
ret ret
; 8ade ; 8ade
@@ -759,7 +759,7 @@ CGB_ApplyPartyMenuHPPals: ; 96f3 CGB layout $fc
; 971a ; 971a
Function971a: ; 971a InitPartyMenuOBPals: ; 971a
ld hl, Palettes_b681 ld hl, Palettes_b681
ld de, UnknOBPals ld de, UnknOBPals
ld bc, 2 palettes ld bc, 2 palettes
@@ -2262,7 +2262,7 @@ Palettes_b719: ; b719
; b729 ; b729
Palettes_b729: ; b729 MalePokegearPals: ; b729
RGB 28, 31, 20 RGB 28, 31, 20
RGB 21, 21, 21 RGB 21, 21, 21
RGB 13, 13, 13 RGB 13, 13, 13
@@ -2295,7 +2295,7 @@ Palettes_b729: ; b729
; b759 ; b759
Palettes_b759: ; b759 FemalePokegearPals: ; b759
RGB 28, 31, 20 RGB 28, 31, 20
RGB 21, 21, 21 RGB 21, 21, 21
RGB 13, 13, 13 RGB 13, 13, 13

View File

@@ -44,7 +44,7 @@ endr
dw Function8e97d dw Function8e97d
dw Function8e99a dw Function8e99a
dw Function8e898 dw Function8e898
dw Function8e8b1 dw Mobile_InitPartyMenuBGPal71
dw Function8e862 dw Function8e862
@@ -100,7 +100,7 @@ Function8e898: ; 8e898 (23:6898)
ld [hl], a ld [hl], a
ret ret
Function8e8b1: ; 8e8b1 (23:68b1) Mobile_InitPartyMenuBGPal71: ; 8e8b1 (23:68b1)
call InitPartyMenuIcon call InitPartyMenuIcon
call SetPartyMonIconAnimSpeed call SetPartyMonIconAnimSpeed
ld hl, SPRITEANIMSTRUCT_ANIM_SEQ_ID ld hl, SPRITEANIMSTRUCT_ANIM_SEQ_ID

View File

@@ -79,7 +79,7 @@ Function90bea: ; 90bea (24:4bea)
ld [wc6db], a ld [wc6db], a
call Function90d9e call Function90d9e
call Function90da8 call Function90da8
ld b, SCGB_02 ld b, SCGB_POKEGEAR_PALS
call GetSGBLayout call GetSGBLayout
call SetPalettes call SetPalettes
ld a, [hCGB] ld a, [hCGB]
@@ -1955,7 +1955,7 @@ _FlyMap: ; 91af3
call Request1bpp call Request1bpp
call FlyMap call FlyMap
call ret_91c8f call ret_91c8f
ld b, SCGB_02 ld b, SCGB_POKEGEAR_PALS
call GetSGBLayout call GetSGBLayout
call SetPalettes call SetPalettes
.loop .loop
@@ -2377,7 +2377,7 @@ _Area: ; 91d11
call TownMapPals call TownMapPals
hlbgcoord 0, 0 hlbgcoord 0, 0
call TownMapBGUpdate call TownMapBGUpdate
ld b, SCGB_02 ld b, SCGB_POKEGEAR_PALS
call GetSGBLayout call GetSGBLayout
call SetPalettes call SetPalettes
xor a xor a
@@ -2893,7 +2893,7 @@ Function92311: ; 92311
ld [wd003], a ld [wd003], a
ld a, b ld a, b
ld [wd004], a ld [wd004], a
ld b, SCGB_02 ld b, SCGB_POKEGEAR_PALS
call GetSGBLayout call GetSGBLayout
call SetPalettes call SetPalettes
.loop .loop

View File

@@ -39,7 +39,7 @@ _SlotMachine:
ld bc, VBGMap1 - VBGMap0 ld bc, VBGMap1 - VBGMap0
ld a, " " ld a, " "
call ByteFill call ByteFill
ld b, SCGB_05 ld b, SCGB_SLOT_MACHINE
call GetSGBLayout call GetSGBLayout
callab ClearSpriteAnims callab ClearSpriteAnims
ld hl, wSlots ld hl, wSlots

View File

@@ -83,7 +83,7 @@ StatsScreenBattle: ; 4dcf7
or $1 or $1
ld [wcf64], a ld [wcf64], a
.loop .loop
callba Function100dd2 callba Mobile_SetOverworldDelay
ld a, [wJumptableIndex] ld a, [wJumptableIndex]
and $7f and $7f
ld hl, StatsScreenPointerTable ld hl, StatsScreenPointerTable

View File

@@ -40,7 +40,7 @@ _TownMap: ; 9191c
ld [wd004], a ld [wd004], a
ld a, b ld a, b
ld [wd005], a ld [wd005], a
ld b, SCGB_02 ld b, SCGB_POKEGEAR_PALS
call GetSGBLayout call GetSGBLayout
call SetPalettes call SetPalettes
ld a, [hCGB] ld a, [hCGB]

File diff suppressed because it is too large Load Diff

View File

@@ -42,7 +42,7 @@ OverworldBGMap: ; 124fa
; 1250a ; 1250a
BattleBGMap: ; 1250a BattleBGMap: ; 1250a
ld b, SCGB_00 ld b, SCGB_BATTLE_GRAYSCALE
call GetSGBLayout call GetSGBLayout
call SetPalettes call SetPalettes
ret ret

View File

@@ -12543,7 +12543,7 @@ GetPlayerIcon: ; 8832c
ret ret
; 8833e ; 8833e
Function8833e: ; 8833e GetCardPic: ; 8833e
ld hl, ChrisCardPic ld hl, ChrisCardPic
ld a, [PlayerGender] ld a, [PlayerGender]
bit 0, a bit 0, a

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -5491,9 +5491,9 @@ Function11a90f: ; 11a90f
.asm_11a94f .asm_11a94f
xor a xor a
ld [$c31f], a ld [$c31f], a
ld a, $20 ld a, $c320 % $100
ld [$c31b], a ld [$c31b], a
ld a, $c3 ld a, $c320 / $100
ld [$c31c], a ld [$c31c], a
hlcoord 1, 14 hlcoord 1, 14
ld a, l ld a, l
@@ -7057,12 +7057,13 @@ Function11b3d9: ; 11b3d9
; 11b444 ; 11b444
Function11b444: ; 11b444 Function11b444: ; 11b444
call Function11b44b ; special
call Function11b45c call Mobile46_InitJumptable
call Mobile46_RunJumptable
ret ret
; 11b44b ; 11b44b
Function11b44b: ; 11b44b Mobile46_InitJumptable: ; 11b44b
xor a xor a
ld [wJumptableIndex], a ld [wJumptableIndex], a
ld [wcf64], a ld [wcf64], a
@@ -7072,9 +7073,9 @@ Function11b44b: ; 11b44b
ret ret
; 11b45c ; 11b45c
Function11b45c: ; 11b45c Mobile46_RunJumptable: ; 11b45c
.loop .loop
call Function11b46a call .IterateJumptable
call DelayFrame call DelayFrame
ld a, [wJumptableIndex] ld a, [wJumptableIndex]
cp 4 cp 4
@@ -7082,7 +7083,7 @@ Function11b45c: ; 11b45c
ret ret
; 11b46a ; 11b46a
Function11b46a: ; 11b46a .IterateJumptable: ; 11b46a
jumptable .Jumptable, wJumptableIndex jumptable .Jumptable, wJumptableIndex
.Jumptable .Jumptable
@@ -7377,7 +7378,7 @@ Function11b5e8: ; 11b5e8
ld a, [$a826] ld a, [$a826]
ld [wcd31], a ld [wcd31], a
call CloseSRAM call CloseSRAM
call Function11b44b call Mobile46_InitJumptable
call .loop call .loop
ret ret
@@ -7732,11 +7733,11 @@ Function11b879: ; 11b879
; 11b920 ; 11b920
Function11b920: ; 11b920 Function11b920: ; 11b920
call Function11b44b call Mobile46_InitJumptable
ld a, $5 ld a, $5
call GetSRAMBank call GetSRAMBank
ld hl, $a81f ld hl, $a81f
ld de, BattleMonNick + 5 ld de, wc626
ld bc, $0008 ld bc, $0008
call CopyBytes call CopyBytes
call CloseSRAM call CloseSRAM

View File

@@ -33,16 +33,16 @@ Predef_LoadSGBLayoutCGB: ; 8d59
; 8d7a ; 8d7a
.dw: ; 8d7a .dw: ; 8d7a
dw _CGB00 dw _CGB_BattleGrayscale
dw _CGB01 dw _CGB_BattleColors
dw _CGB02 dw _CGB_PokegearPals
dw _CGB03 dw _CGB_StatsScreenHPPals
dw _CGB04 dw _CGB04
dw _CGB05 dw _CGB_SlotMachine
dw _CGB06 dw _CGB06
dw _CGB07 dw _CGB07
dw _CGB08 dw _CGB08
dw _CGB09 dw _CGB_MapPals
dw _CGB0a dw _CGB0a
dw _CGB0b dw _CGB0b
dw _CGB0c dw _CGB0c
@@ -53,8 +53,8 @@ Predef_LoadSGBLayoutCGB: ; 8d59
dw _CGB11 dw _CGB11
dw _CGB12 dw _CGB12
dw _CGB13 dw _CGB13
dw _CGB14 dw _CGB_PackPals
dw _CGB15 dw _CGB_TrainerCard
dw _CGB16 dw _CGB16
dw _CGB17 dw _CGB17
dw _CGB18 dw _CGB18
@@ -66,22 +66,22 @@ Predef_LoadSGBLayoutCGB: ; 8d59
dw _CGB1e dw _CGB1e
; 8db8 ; 8db8
_CGB00: ; 8db8 _CGB_BattleGrayscale: ; 8db8
ld hl, PalPacket_9c66 + 1 ld hl, PalPacket_9c66 + 1
ld de, UnknBGPals ld de, UnknBGPals
ld c, $4 ld c, $4
call CopyPalettes call CopyPalettes
ld hl, PalPacket_9c66 + 1 ld hl, PalPacket_9c66 + 1
ld de, UnknBGPals + $20 ld de, UnknBGPals + 4 palettes
ld c, $4 ld c, $4
call CopyPalettes call CopyPalettes
ld hl, PalPacket_9c66 + 1 ld hl, PalPacket_9c66 + 1
ld de, UnknOBPals ld de, UnknOBPals
ld c, $2 ld c, $2
call CopyPalettes call CopyPalettes
jr Function8e23 jr _CGB_FinishBattleScreenLayout
_CGB01: ; 8ddb _CGB_BattleColors: ; 8ddb
ld de, UnknBGPals ld de, UnknBGPals
call GetBattlemonBackpicPalettePointer call GetBattlemonBackpicPalettePointer
push hl push hl
@@ -112,11 +112,11 @@ _CGB01: ; 8ddb
call LoadPalette_White_Col1_Col2_Black call LoadPalette_White_Col1_Col2_Black
pop hl pop hl
call LoadPalette_White_Col1_Col2_Black call LoadPalette_White_Col1_Col2_Black
ld a, SCGB_01 ld a, SCGB_BATTLE_COLORS
ld [SGBPredef], a ld [SGBPredef], a
call ApplyPals call ApplyPals
Function8e23: ; 8e23 _CGB_FinishBattleScreenLayout: ; 8e23
call InitBattlePartyMenuPals call InitPartyMenuBGPal7
hlcoord 0, 0, AttrMap hlcoord 0, 0, AttrMap
ld bc, SCREEN_WIDTH * SCREEN_HEIGHT ld bc, SCREEN_WIDTH * SCREEN_HEIGHT
ld a, $2 ld a, $2
@@ -146,8 +146,8 @@ Function8e23: ; 8e23
ld a, $7 ld a, $7
call ByteFill call ByteFill
ld hl, Palettes_979c ld hl, Palettes_979c
ld de, UnknOBPals + $10 ld de, UnknOBPals + 2 palettes
ld bc, $30 ld bc, 6 palettes
ld a, $5 ld a, $5
call FarCopyWRAM call FarCopyWRAM
call ApplyAttrMap call ApplyAttrMap
@@ -155,9 +155,9 @@ Function8e23: ; 8e23
; 8e85 ; 8e85
InitBattlePartyMenuPals: ; 8e85 InitPartyMenuBGPal7: ; 8e85
callba Function100dc0 callba Function100dc0
Function8e8b: ; 8e8b Mobile_InitPartyMenuBGPal7: ; 8e8b
ld hl, Palette_b311 ld hl, Palette_b311
jr nc, .not_mobile jr nc, .not_mobile
ld hl, Palette_b309 ld hl, Palette_b309
@@ -169,7 +169,7 @@ Function8e8b: ; 8e8b
ret ret
; 8e9f ; 8e9f
Function8e9f: ; 8e9f InitPartyMenuBGPal0: ; 8e9f
callba Function100dc0 callba Function100dc0
ld hl, Palette_b311 ld hl, Palette_b311
jr nc, .not_mobile jr nc, .not_mobile
@@ -182,16 +182,16 @@ Function8e9f: ; 8e9f
ret ret
; 8eb9 ; 8eb9
_CGB02: ; 8eb9 _CGB_PokegearPals: ; 8eb9
ld a, [PlayerGender] ld a, [PlayerGender]
bit 0, a bit 0, a
jr z, .asm_8ec5 jr z, .male
ld hl, Palettes_b759 ld hl, FemalePokegearPals
jr .asm_8ec8 jr .got_pals
.asm_8ec5 .male
ld hl, Palettes_b729 ld hl, MalePokegearPals
.asm_8ec8 .got_pals
ld de, UnknBGPals ld de, UnknBGPals
ld bc, 6 palettes ld bc, 6 palettes
ld a, $5 ld a, $5
@@ -202,7 +202,7 @@ _CGB02: ; 8eb9
ret ret
; 8edb ; 8edb
_CGB03: ; 8edb _CGB_StatsScreenHPPals: ; 8edb
ld de, UnknBGPals ld de, UnknBGPals
ld a, [wcda1] ld a, [wcda1]
ld l, a ld l, a
@@ -289,23 +289,23 @@ _CGB04: ; 8f70
call LoadHLPaletteIntoDE call LoadHLPaletteIntoDE
ld a, [CurPartySpecies] ld a, [CurPartySpecies]
cp $ff cp $ff
jr nz, .asm_8f8a jr nz, .is_pokemon
ld hl, Palette8fba ld hl, Palette8fba
call LoadHLPaletteIntoDE call LoadHLPaletteIntoDE
jr .asm_8f90 jr .got_palette
.asm_8f8a .is_pokemon
call GetMonPalettePointer_ call GetMonPalettePointer_
call LoadPalette_White_Col1_Col2_Black call LoadPalette_White_Col1_Col2_Black
.asm_8f90 .got_palette
call WipeAttrMap call WipeAttrMap
hlcoord 1, 1, AttrMap hlcoord 1, 1, AttrMap
lb bc, 7, 7 lb bc, 7, 7
ld a, $1 ld a, $1
call FillBoxCGB call FillBoxCGB
call Function971a call InitPartyMenuOBPals
ld hl, Palette8fc2 ld hl, Palette8fc2
ld de, UnknOBPals + $38 ld de, UnknOBPals + 7 palettes
ld bc, 1 palettes ld bc, 1 palettes
ld a, $5 ld a, $5
call FarCopyWRAM call FarCopyWRAM
@@ -351,7 +351,7 @@ _CGB17: ; 8fca
lb bc, 7, 7 lb bc, 7, 7
ld a, $1 ld a, $1
call FillBoxCGB call FillBoxCGB
call Function971a call InitPartyMenuOBPals
call ApplyAttrMap call ApplyAttrMap
call ApplyPals call ApplyPals
ld a, $1 ld a, $1
@@ -374,7 +374,7 @@ Function9009: ; 9009
lb bc, 7, 7 lb bc, 7, 7
ld a, $1 ld a, $1
call FillBoxCGB call FillBoxCGB
call Function971a call InitPartyMenuOBPals
call ApplyAttrMap call ApplyAttrMap
call ApplyPals call ApplyPals
ld a, $1 ld a, $1
@@ -402,7 +402,7 @@ _CGB16: ; 903e
lb bc, 7, 7 lb bc, 7, 7
ld a, $1 ld a, $1
call FillBoxCGB call FillBoxCGB
call Function971a call InitPartyMenuOBPals
call ApplyAttrMap call ApplyAttrMap
call ApplyPals call ApplyPals
ld a, $1 ld a, $1
@@ -410,7 +410,7 @@ _CGB16: ; 903e
ret ret
; 906e ; 906e
_CGB05: ; 906e _CGB_SlotMachine: ; 906e
ld hl, Palettes_b7a9 ld hl, Palettes_b7a9
ld de, UnknBGPals ld de, UnknBGPals
ld bc, $80 ld bc, $80
@@ -574,6 +574,7 @@ _CGB08: ; 91ad
ld bc, 16 palettes ld bc, 16 palettes
ld a, $5 ld a, $5
call FarCopyWRAM call FarCopyWRAM
ld hl, PalPacket_9cb6 + 1 ld hl, PalPacket_9cb6 + 1
call CopyFourPalettes call CopyFourPalettes
call WipeAttrMap call WipeAttrMap
@@ -581,7 +582,7 @@ _CGB08: ; 91ad
ret ret
; 91c8 ; 91c8
_CGB09: ; 91c8 _CGB_MapPals: ; 91c8
call LoadMapPals call LoadMapPals
ld a, SCGB_MAPPALS ld a, SCGB_MAPPALS
ld [SGBPredef], a ld [SGBPredef], a
@@ -591,9 +592,9 @@ _CGB09: ; 91c8
_CGB0a: ; 91d1 _CGB0a: ; 91d1
ld hl, PalPacket_9c56 + 1 ld hl, PalPacket_9c56 + 1
call CopyFourPalettes call CopyFourPalettes
call Function8e9f call InitPartyMenuBGPal0
call InitBattlePartyMenuPals call InitPartyMenuBGPal7
call Function971a call InitPartyMenuOBPals
call ApplyAttrMap call ApplyAttrMap
ret ret
; 91e4 ; 91e4
@@ -683,7 +684,7 @@ _CGB18: ; 925e
ret ret
; 9289 ; 9289
_CGB15: ; 9289 _CGB_TrainerCard: ; 9289
ld de, UnknBGPals ld de, UnknBGPals
xor a xor a
call GetTrainerPalettePointer call GetTrainerPalettePointer
@@ -834,7 +835,7 @@ _CGB10: ; 93ba
ret ret
; 93d3 ; 93d3
_CGB14: ; 93d3 _CGB_PackPals: ; 93d3
; pack pals ; pack pals
ld a, [BattleType] ld a, [BattleType]
cp BATTLETYPE_TUTORIAL cp BATTLETYPE_TUTORIAL
@@ -948,7 +949,7 @@ _CGB14: ; 93d3
; 9499 ; 9499
_CGB12: ; 9499 _CGB12: ; 9499
call _CGB09 call _CGB_MapPals
ld de, SCREEN_WIDTH ld de, SCREEN_WIDTH
hlcoord 0, 0, AttrMap hlcoord 0, 0, AttrMap
ld a, [wMenuBorderTopCoord] ld a, [wMenuBorderTopCoord]

View File

@@ -24,16 +24,16 @@ Predef_LoadSGBLayout: ; 864c
; 866f ; 866f
.Jumptable: ; 866f .Jumptable: ; 866f
dw .SGB00 dw .SGB_BattleGrayscale
dw .SGB01 dw .SGB_BattleColors
dw .SGB02 dw .SGB_PokegearPals
dw .SGB03 dw .SGB_StatsScreenHPPals
dw .SGB04 dw .SGB04
dw .SGB05 dw .SGB_SlotMachine
dw .SGB06 dw .SGB06
dw .SGB07 dw .SGB07
dw .SGB08 dw .SGB08
dw .SGB09 dw .SGB_MapPals
dw .SGB0a dw .SGB0a
dw .SGB0b dw .SGB0b
dw .SGB0c dw .SGB0c
@@ -44,8 +44,8 @@ Predef_LoadSGBLayout: ; 864c
dw .SGB11 dw .SGB11
dw .SGB12 dw .SGB12
dw .SGB13 dw .SGB13
dw .SGB14 dw .SGB_PackPals
dw .SGB15 dw .SGB_TrainerCard
dw .SGB16 dw .SGB16
dw .SGB17 dw .SGB17
dw .SGB18 dw .SGB18
@@ -57,13 +57,13 @@ Predef_LoadSGBLayout: ; 864c
dw .SGB1e dw .SGB1e
; 86ad ; 86ad
.SGB00: ; 86ad .SGB_BattleGrayscale: ; 86ad
ld hl, PalPacket_9c66 ld hl, PalPacket_9c66
ld de, BlkPacket_9aa6 ld de, BlkPacket_9aa6
ret ret
; 86b4 ; 86b4
.SGB01: ; 86b4 .SGB_BattleColors: ; 86b4
ld hl, BlkPacket_9aa6 ld hl, BlkPacket_9aa6
call Function9809 call Function9809
@@ -135,7 +135,7 @@ endr
ld hl, wSGBPals ld hl, wSGBPals
ld de, wSGBPals + $10 ld de, wSGBPals + $10
ld a, SCGB_01 ld a, SCGB_BATTLE_COLORS
ld [SGBPredef], a ld [SGBPredef], a
ret ret
; 873c ; 873c
@@ -160,13 +160,13 @@ endr
ret ret
; 875c ; 875c
.SGB02: ; 875c .SGB_PokegearPals: ; 875c
ld hl, PalPacket_9c76 ld hl, PalPacket_9c76
ld de, BlkPacket_9a86 ld de, BlkPacket_9a86
ret ret
; 8763 ; 8763
.SGB03: ; 8763 .SGB_StatsScreenHPPals: ; 8763
ld hl, PalPacket_9ce6 ld hl, PalPacket_9ce6
ld de, wSGBPals ld de, wSGBPals
ld bc, $10 ld bc, $10
@@ -290,13 +290,13 @@ endr
ret ret
; 884b ; 884b
.SGB14: ; 884b .SGB_PackPals: ; 884b
ld hl, PalPacket_9c36 ld hl, PalPacket_9c36
ld de, BlkPacket_9a86 ld de, BlkPacket_9a86
ret ret
; 8852 ; 8852
.SGB05: ; 8852 .SGB_SlotMachine: ; 8852
ld hl, PalPacket_9c96 ld hl, PalPacket_9c96
ld de, BlkPacket_9b06 ld de, BlkPacket_9b06
ret ret
@@ -367,7 +367,7 @@ endr
ret ret
; 88b1 ; 88b1
.SGB09: ; 88b1 .SGB_MapPals: ; 88b1
ld hl, PalPacket_9bd6 ld hl, PalPacket_9bd6
ld de, wSGBPals ld de, wSGBPals
ld bc, $10 ld bc, $10
@@ -426,7 +426,7 @@ endr
; 891a ; 891a
.SGB0d: .SGB0d:
.SGB15: ; 891a .SGB_TrainerCard: ; 891a
ld hl, PalPacket_9cb6 ld hl, PalPacket_9cb6
ld de, BlkPacket_9a86 ld de, BlkPacket_9a86
ret ret