You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Remaining layout constants
This commit is contained in:
@ -8916,7 +8916,7 @@ DisplayLinkRecord: ; 3f836
|
|||||||
ld bc, SCREEN_WIDTH * SCREEN_HEIGHT
|
ld bc, SCREEN_WIDTH * SCREEN_HEIGHT
|
||||||
call ByteFill
|
call ByteFill
|
||||||
call WaitBGMap2
|
call WaitBGMap2
|
||||||
ld b, SCGB_08
|
ld b, SCGB_DIPLOMA
|
||||||
call GetSGBLayout
|
call GetSGBLayout
|
||||||
call SetPalettes
|
call SetPalettes
|
||||||
ld c, 8
|
ld c, 8
|
||||||
|
@ -260,7 +260,7 @@ _ShowLinkBattleParticipants: ; 2c1b2
|
|||||||
ld [hli], a
|
ld [hli], a
|
||||||
ld [hl], $6a ; "S"
|
ld [hl], $6a ; "S"
|
||||||
callba LinkBattle_TrainerHuds ; no need to callba
|
callba LinkBattle_TrainerHuds ; no need to callba
|
||||||
ld b, SCGB_08
|
ld b, SCGB_DIPLOMA
|
||||||
call GetSGBLayout
|
call GetSGBLayout
|
||||||
call SetPalettes
|
call SetPalettes
|
||||||
ld a, $e4
|
ld a, $e4
|
||||||
|
@ -7,13 +7,13 @@
|
|||||||
const SCGB_SLOT_MACHINE
|
const SCGB_SLOT_MACHINE
|
||||||
const SCGB_06
|
const SCGB_06
|
||||||
const SCGB_07
|
const SCGB_07
|
||||||
const SCGB_08
|
const SCGB_DIPLOMA
|
||||||
const SCGB_MAPPALS
|
const SCGB_MAPPALS
|
||||||
const SCGB_0A
|
const SCGB_PARTY_MENU
|
||||||
const SCGB_0B
|
const SCGB_EVOLUTION
|
||||||
const SCGB_0C
|
const SCGB_0C
|
||||||
const SCGB_0D
|
const SCGB_0D
|
||||||
const SCGB_0E
|
const SCGB_MOVE_LIST
|
||||||
const SCGB_0F
|
const SCGB_0F
|
||||||
const SCGB_POKEDEX_SEARCH_OPTION
|
const SCGB_POKEDEX_SEARCH_OPTION
|
||||||
const SCGB_11
|
const SCGB_11
|
||||||
@ -22,13 +22,13 @@
|
|||||||
const SCGB_PACKPALS
|
const SCGB_PACKPALS
|
||||||
const SCGB_TRAINER_CARD
|
const SCGB_TRAINER_CARD
|
||||||
const SCGB_POKEDEX_UNOWN_MODE
|
const SCGB_POKEDEX_UNOWN_MODE
|
||||||
const SCGB_17
|
const SCGB_BILLS_PC
|
||||||
const SCGB_18
|
const SCGB_UNOWN_PUZZLE
|
||||||
const SCGB_GAMEFREAK_LOGO
|
const SCGB_GAMEFREAK_LOGO
|
||||||
const SCGB_PLAYER_OR_MON_FRONTPIC_PALS
|
const SCGB_PLAYER_OR_MON_FRONTPIC_PALS
|
||||||
const SCGB_TRADE_TUBE
|
const SCGB_TRADE_TUBE
|
||||||
const SCGB_TRAINER_OR_MON_FRONTPIC_PALS
|
const SCGB_TRAINER_OR_MON_FRONTPIC_PALS
|
||||||
const SCGB_1D
|
const SCGB_MYSTERY_GIFT
|
||||||
const SCGB_1E
|
const SCGB_1E
|
||||||
|
|
||||||
SCGB_PARTY_MENU_HP_PALS EQU -4
|
SCGB_PARTY_MENU_HP_PALS EQU -4
|
||||||
|
@ -64,7 +64,7 @@ _DepositPKMN: ; e2391 (38:6391)
|
|||||||
call PCMonInfo
|
call PCMonInfo
|
||||||
ld a, $ff
|
ld a, $ff
|
||||||
ld [CurPartySpecies], a
|
ld [CurPartySpecies], a
|
||||||
ld a, SCGB_17
|
ld a, SCGB_BILLS_PC
|
||||||
call BillsPC_ApplyPalettes
|
call BillsPC_ApplyPalettes
|
||||||
call WaitBGMap
|
call WaitBGMap
|
||||||
call BillsPC_UpdateSelectionCursor
|
call BillsPC_UpdateSelectionCursor
|
||||||
@ -120,7 +120,7 @@ _DepositPKMN: ; e2391 (38:6391)
|
|||||||
call ClearSprites
|
call ClearSprites
|
||||||
call BillsPC_GetSelectedPokemonSpecies
|
call BillsPC_GetSelectedPokemonSpecies
|
||||||
ld [CurPartySpecies], a
|
ld [CurPartySpecies], a
|
||||||
ld a, SCGB_17
|
ld a, SCGB_BILLS_PC
|
||||||
call BillsPC_ApplyPalettes
|
call BillsPC_ApplyPalettes
|
||||||
ld de, PCString_WhatsUp
|
ld de, PCString_WhatsUp
|
||||||
call BillsPC_PlaceString
|
call BillsPC_PlaceString
|
||||||
@ -181,7 +181,7 @@ BillsPCDepositFuncStats: ; e24c8 (38:64c8)
|
|||||||
call PCMonInfo
|
call PCMonInfo
|
||||||
call BillsPC_GetSelectedPokemonSpecies
|
call BillsPC_GetSelectedPokemonSpecies
|
||||||
ld [CurPartySpecies], a
|
ld [CurPartySpecies], a
|
||||||
ld a, SCGB_17
|
ld a, SCGB_BILLS_PC
|
||||||
call BillsPC_ApplyPalettes
|
call BillsPC_ApplyPalettes
|
||||||
ret
|
ret
|
||||||
|
|
||||||
@ -333,7 +333,7 @@ _WithdrawPKMN: ; e2583 (38:6583)
|
|||||||
call PCMonInfo
|
call PCMonInfo
|
||||||
ld a, $ff
|
ld a, $ff
|
||||||
ld [CurPartySpecies], a
|
ld [CurPartySpecies], a
|
||||||
ld a, SCGB_17
|
ld a, SCGB_BILLS_PC
|
||||||
call BillsPC_ApplyPalettes
|
call BillsPC_ApplyPalettes
|
||||||
call WaitBGMap
|
call WaitBGMap
|
||||||
call BillsPC_UpdateSelectionCursor
|
call BillsPC_UpdateSelectionCursor
|
||||||
@ -388,7 +388,7 @@ _WithdrawPKMN: ; e2583 (38:6583)
|
|||||||
call ClearSprites
|
call ClearSprites
|
||||||
call BillsPC_GetSelectedPokemonSpecies
|
call BillsPC_GetSelectedPokemonSpecies
|
||||||
ld [CurPartySpecies], a
|
ld [CurPartySpecies], a
|
||||||
ld a, SCGB_17
|
ld a, SCGB_BILLS_PC
|
||||||
call BillsPC_ApplyPalettes
|
call BillsPC_ApplyPalettes
|
||||||
ld de, PCString_WhatsUp
|
ld de, PCString_WhatsUp
|
||||||
call BillsPC_PlaceString
|
call BillsPC_PlaceString
|
||||||
@ -447,7 +447,7 @@ BillsPC_Withdraw: ; e2675 (38:6675)
|
|||||||
call PCMonInfo
|
call PCMonInfo
|
||||||
call BillsPC_GetSelectedPokemonSpecies
|
call BillsPC_GetSelectedPokemonSpecies
|
||||||
ld [CurPartySpecies], a
|
ld [CurPartySpecies], a
|
||||||
ld a, SCGB_17
|
ld a, SCGB_BILLS_PC
|
||||||
call BillsPC_ApplyPalettes
|
call BillsPC_ApplyPalettes
|
||||||
ret
|
ret
|
||||||
|
|
||||||
@ -584,7 +584,7 @@ _MovePKMNWithoutMail: ; e2759
|
|||||||
call PCMonInfo
|
call PCMonInfo
|
||||||
ld a, $ff
|
ld a, $ff
|
||||||
ld [CurPartySpecies], a
|
ld [CurPartySpecies], a
|
||||||
ld a, SCGB_17
|
ld a, SCGB_BILLS_PC
|
||||||
call BillsPC_ApplyPalettes
|
call BillsPC_ApplyPalettes
|
||||||
call WaitBGMap
|
call WaitBGMap
|
||||||
call BillsPC_UpdateSelectionCursor
|
call BillsPC_UpdateSelectionCursor
|
||||||
@ -650,7 +650,7 @@ _MovePKMNWithoutMail: ; e2759
|
|||||||
call ClearSprites
|
call ClearSprites
|
||||||
call BillsPC_GetSelectedPokemonSpecies
|
call BillsPC_GetSelectedPokemonSpecies
|
||||||
ld [CurPartySpecies], a
|
ld [CurPartySpecies], a
|
||||||
ld a, SCGB_17
|
ld a, SCGB_BILLS_PC
|
||||||
call BillsPC_ApplyPalettes
|
call BillsPC_ApplyPalettes
|
||||||
ld de, PCString_WhatsUp
|
ld de, PCString_WhatsUp
|
||||||
call BillsPC_PlaceString
|
call BillsPC_PlaceString
|
||||||
@ -708,7 +708,7 @@ _MovePKMNWithoutMail: ; e2759
|
|||||||
call PCMonInfo
|
call PCMonInfo
|
||||||
call BillsPC_GetSelectedPokemonSpecies
|
call BillsPC_GetSelectedPokemonSpecies
|
||||||
ld [CurPartySpecies], a
|
ld [CurPartySpecies], a
|
||||||
ld a, SCGB_17
|
ld a, SCGB_BILLS_PC
|
||||||
call BillsPC_ApplyPalettes
|
call BillsPC_ApplyPalettes
|
||||||
ret
|
ret
|
||||||
; e28bd
|
; e28bd
|
||||||
|
@ -786,7 +786,7 @@ EggHatch_AnimationSequence: ; 1728f (5:728f)
|
|||||||
|
|
||||||
Hatch_LoadFrontpicPal: ; 17363 (5:7363)
|
Hatch_LoadFrontpicPal: ; 17363 (5:7363)
|
||||||
ld [PlayerHPPal], a
|
ld [PlayerHPPal], a
|
||||||
ld b, SCGB_0B
|
ld b, SCGB_EVOLUTION
|
||||||
ld c, $0
|
ld c, $0
|
||||||
jp GetSGBLayout
|
jp GetSGBLayout
|
||||||
|
|
||||||
|
@ -2035,7 +2035,7 @@ INCLUDE "tilesets/ob.pal"
|
|||||||
RoofPals:
|
RoofPals:
|
||||||
INCLUDE "tilesets/roof.pal"
|
INCLUDE "tilesets/roof.pal"
|
||||||
|
|
||||||
Palettes_b641:
|
DiplomaPalettes:
|
||||||
RGB 27, 31, 27
|
RGB 27, 31, 27
|
||||||
RGB 21, 21, 21
|
RGB 21, 21, 21
|
||||||
RGB 13, 13, 13
|
RGB 13, 13, 13
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
_ResetClock: ; 4d3b1
|
_ResetClock: ; 4d3b1
|
||||||
callba BlankScreen
|
callba BlankScreen
|
||||||
ld b, SCGB_08
|
ld b, SCGB_DIPLOMA
|
||||||
call GetSGBLayout
|
call GetSGBLayout
|
||||||
call LoadStandardFont
|
call LoadStandardFont
|
||||||
call LoadFontsExtra
|
call LoadFontsExtra
|
||||||
@ -261,7 +261,7 @@ ClockResetPassword: ; 4d41e
|
|||||||
|
|
||||||
_DeleteSaveData: ; 4d54c
|
_DeleteSaveData: ; 4d54c
|
||||||
callba BlankScreen
|
callba BlankScreen
|
||||||
ld b, SCGB_08
|
ld b, SCGB_DIPLOMA
|
||||||
call GetSGBLayout
|
call GetSGBLayout
|
||||||
call LoadStandardFont
|
call LoadStandardFont
|
||||||
call LoadFontsExtra
|
call LoadFontsExtra
|
||||||
|
@ -31,7 +31,7 @@ PlaceDiplomaOnScreen: ; 1dd709
|
|||||||
call PlaceString
|
call PlaceString
|
||||||
call EnableLCD
|
call EnableLCD
|
||||||
call WaitBGMap
|
call WaitBGMap
|
||||||
ld b, SCGB_08
|
ld b, SCGB_DIPLOMA
|
||||||
call GetSGBLayout
|
call GetSGBLayout
|
||||||
call SetPalettes
|
call SetPalettes
|
||||||
call DelayFrame
|
call DelayFrame
|
||||||
|
@ -8,7 +8,7 @@ _DummyGame: ; e1e5b (38:5e5b)
|
|||||||
|
|
||||||
.LoadGFXAndPals:
|
.LoadGFXAndPals:
|
||||||
call DisableLCD
|
call DisableLCD
|
||||||
ld b, SCGB_08
|
ld b, SCGB_DIPLOMA
|
||||||
call GetSGBLayout
|
call GetSGBLayout
|
||||||
callab ClearSpriteAnims
|
callab ClearSpriteAnims
|
||||||
ld hl, LZ_e2221
|
ld hl, LZ_e2221
|
||||||
|
@ -153,7 +153,7 @@ EvolutionAnimation: ; 4e5e1
|
|||||||
; 4e703
|
; 4e703
|
||||||
|
|
||||||
.GetSGBLayout: ; 4e703
|
.GetSGBLayout: ; 4e703
|
||||||
ld b, SCGB_0B
|
ld b, SCGB_EVOLUTION
|
||||||
jp GetSGBLayout
|
jp GetSGBLayout
|
||||||
; 4e708
|
; 4e708
|
||||||
|
|
||||||
|
@ -1048,7 +1048,7 @@ StartTitleScreen: ; 6219
|
|||||||
ld [hWX], a
|
ld [hWX], a
|
||||||
ld a, $90
|
ld a, $90
|
||||||
ld [hWY], a
|
ld [hWY], a
|
||||||
ld b, SCGB_08
|
ld b, SCGB_DIPLOMA
|
||||||
call GetSGBLayout
|
call GetSGBLayout
|
||||||
call UpdateTimePals
|
call UpdateTimePals
|
||||||
ld a, [wcf64]
|
ld a, [wcf64]
|
||||||
|
@ -498,7 +498,7 @@ LinkTimeout: ; 283b2
|
|||||||
call PlaceHLTextAtBC
|
call PlaceHLTextAtBC
|
||||||
call RotateThreePalettesRight
|
call RotateThreePalettesRight
|
||||||
call ClearScreen
|
call ClearScreen
|
||||||
ld b, SCGB_08
|
ld b, SCGB_DIPLOMA
|
||||||
call GetSGBLayout
|
call GetSGBLayout
|
||||||
call WaitBGMap2
|
call WaitBGMap2
|
||||||
ret
|
ret
|
||||||
@ -1597,7 +1597,7 @@ Function28ade: ; 28ade
|
|||||||
Function28b22: ; 28b22
|
Function28b22: ; 28b22
|
||||||
call RotateThreePalettesRight
|
call RotateThreePalettesRight
|
||||||
call ClearScreen
|
call ClearScreen
|
||||||
ld b, SCGB_08
|
ld b, SCGB_DIPLOMA
|
||||||
call GetSGBLayout
|
call GetSGBLayout
|
||||||
call WaitBGMap2
|
call WaitBGMap2
|
||||||
xor a
|
xor a
|
||||||
@ -1902,7 +1902,7 @@ LinkTrade: ; 28b87
|
|||||||
call DelayFrames
|
call DelayFrames
|
||||||
call ClearTileMap
|
call ClearTileMap
|
||||||
call LoadFontsBattleExtra
|
call LoadFontsBattleExtra
|
||||||
ld b, SCGB_08
|
ld b, SCGB_DIPLOMA
|
||||||
call GetSGBLayout
|
call GetSGBLayout
|
||||||
ld a, [hLinkPlayerNumber]
|
ld a, [hLinkPlayerNumber]
|
||||||
cp $1
|
cp $1
|
||||||
|
@ -25,7 +25,7 @@ Function16d43b: ; 16d43b
|
|||||||
call ClearSprites
|
call ClearSprites
|
||||||
callba __LoadTradeScreenBorder ; useless to farcall
|
callba __LoadTradeScreenBorder ; useless to farcall
|
||||||
callba Function16d42e ; useless to farcall
|
callba Function16d42e ; useless to farcall
|
||||||
ld b, SCGB_08
|
ld b, SCGB_DIPLOMA
|
||||||
call GetSGBLayout
|
call GetSGBLayout
|
||||||
call SetPalettes
|
call SetPalettes
|
||||||
call WaitBGMap
|
call WaitBGMap
|
||||||
|
@ -6,7 +6,7 @@ MainMenu: ; 49cdc
|
|||||||
xor a
|
xor a
|
||||||
ld [wDisableTextAcceleration], a
|
ld [wDisableTextAcceleration], a
|
||||||
call Function49ed0
|
call Function49ed0
|
||||||
ld b, SCGB_08
|
ld b, SCGB_DIPLOMA
|
||||||
call GetSGBLayout
|
call GetSGBLayout
|
||||||
call SetPalettes
|
call SetPalettes
|
||||||
ld hl, GameTimerPause
|
ld hl, GameTimerPause
|
||||||
|
@ -27,7 +27,7 @@ DoMysteryGift: ; 1048ba (41:48ba)
|
|||||||
call ClearTileMap
|
call ClearTileMap
|
||||||
call EnableLCD
|
call EnableLCD
|
||||||
call WaitBGMap
|
call WaitBGMap
|
||||||
ld b, SCGB_08
|
ld b, SCGB_DIPLOMA
|
||||||
call GetSGBLayout
|
call GetSGBLayout
|
||||||
call SetPalettes
|
call SetPalettes
|
||||||
pop de
|
pop de
|
||||||
@ -1333,7 +1333,7 @@ Function105153: ; 105153 (41:5153)
|
|||||||
ld [hl], $41
|
ld [hl], $41
|
||||||
call EnableLCD
|
call EnableLCD
|
||||||
call WaitBGMap
|
call WaitBGMap
|
||||||
ld b, SCGB_1D
|
ld b, SCGB_MYSTERY_GIFT
|
||||||
call GetSGBLayout
|
call GetSGBLayout
|
||||||
call SetPalettes
|
call SetPalettes
|
||||||
ret
|
ret
|
||||||
@ -1511,7 +1511,7 @@ Function105777: ; 105777 (41:5777)
|
|||||||
call ClearTileMap
|
call ClearTileMap
|
||||||
call EnableLCD
|
call EnableLCD
|
||||||
call WaitBGMap
|
call WaitBGMap
|
||||||
ld b, SCGB_08
|
ld b, SCGB_DIPLOMA
|
||||||
call GetSGBLayout
|
call GetSGBLayout
|
||||||
call SetPalettes
|
call SetPalettes
|
||||||
ret
|
ret
|
||||||
|
@ -43,7 +43,7 @@ NamingScreen: ; 116c1
|
|||||||
|
|
||||||
.SetUpNamingScreen: ; 116f8
|
.SetUpNamingScreen: ; 116f8
|
||||||
call ClearBGPalettes
|
call ClearBGPalettes
|
||||||
ld b, SCGB_08
|
ld b, SCGB_DIPLOMA
|
||||||
call GetSGBLayout
|
call GetSGBLayout
|
||||||
call DisableLCD
|
call DisableLCD
|
||||||
call LoadNamingScreenGFX
|
call LoadNamingScreenGFX
|
||||||
@ -1049,7 +1049,7 @@ _ComposeMailMessage: ; 11e75 (mail?)
|
|||||||
ld a, $e3
|
ld a, $e3
|
||||||
ld [rLCDC], a
|
ld [rLCDC], a
|
||||||
call .initwNamingScreenMaxNameLength
|
call .initwNamingScreenMaxNameLength
|
||||||
ld b, SCGB_08
|
ld b, SCGB_DIPLOMA
|
||||||
call GetSGBLayout
|
call GetSGBLayout
|
||||||
call WaitBGMap
|
call WaitBGMap
|
||||||
call WaitTop
|
call WaitTop
|
||||||
|
@ -32,7 +32,7 @@ _OptionsMenu: ; e41d0
|
|||||||
inc a
|
inc a
|
||||||
ld [hBGMapMode], a
|
ld [hBGMapMode], a
|
||||||
call WaitBGMap
|
call WaitBGMap
|
||||||
ld b, SCGB_08
|
ld b, SCGB_DIPLOMA
|
||||||
call GetSGBLayout
|
call GetSGBLayout
|
||||||
call SetPalettes
|
call SetPalettes
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@ SelectTradeOrDaycareMon: ; 5001d
|
|||||||
call ClearBGPalettes
|
call ClearBGPalettes
|
||||||
call InitPartyMenuLayout
|
call InitPartyMenuLayout
|
||||||
call WaitBGMap
|
call WaitBGMap
|
||||||
ld b, SCGB_0A
|
ld b, SCGB_PARTY_MENU
|
||||||
call GetSGBLayout
|
call GetSGBLayout
|
||||||
call SetPalettes
|
call SetPalettes
|
||||||
call DelayFrame
|
call DelayFrame
|
||||||
@ -160,7 +160,7 @@ PlacePartyHPBar: ; 500cf
|
|||||||
inc b
|
inc b
|
||||||
dec c
|
dec c
|
||||||
jr nz, .loop
|
jr nz, .loop
|
||||||
ld b, SCGB_0A
|
ld b, SCGB_PARTY_MENU
|
||||||
call GetSGBLayout
|
call GetSGBLayout
|
||||||
ret
|
ret
|
||||||
; 50117
|
; 50117
|
||||||
|
@ -1797,7 +1797,7 @@ SetUpMoveScreenBG: ; 13172
|
|||||||
call PrintLevel
|
call PrintLevel
|
||||||
ld hl, PlayerHPPal
|
ld hl, PlayerHPPal
|
||||||
call SetHPPal
|
call SetHPPal
|
||||||
ld b, SCGB_0E
|
ld b, SCGB_MOVE_LIST
|
||||||
call GetSGBLayout
|
call GetSGBLayout
|
||||||
hlcoord 16, 0
|
hlcoord 16, 0
|
||||||
lb bc, 1, 3
|
lb bc, 1, 3
|
||||||
|
@ -18,7 +18,7 @@ InitClock: ; 90672 (24:4672)
|
|||||||
call RotateFourPalettesLeft
|
call RotateFourPalettesLeft
|
||||||
call ClearTileMap
|
call ClearTileMap
|
||||||
call ClearSprites
|
call ClearSprites
|
||||||
ld b, SCGB_08
|
ld b, SCGB_DIPLOMA
|
||||||
call GetSGBLayout
|
call GetSGBLayout
|
||||||
xor a
|
xor a
|
||||||
ld [hBGMapMode], a
|
ld [hBGMapMode], a
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user