You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
Use BANK for hardcoded WRAM banks preceding FarCopyWRAM/GetFarWRAMByte calls.
This commit is contained in:
@@ -335,12 +335,12 @@ PokeAnim_InitPicAttributes: ; d01d6
|
||||
ld a, d
|
||||
ld [wPokeAnimGraphicStartTile], a
|
||||
|
||||
ld a, $1
|
||||
ld a, BANK(CurPartySpecies)
|
||||
ld hl, CurPartySpecies
|
||||
call GetFarWRAMByte
|
||||
ld [wPokeAnimSpecies], a
|
||||
|
||||
ld a, $1
|
||||
ld a, BANK(UnownLetter)
|
||||
ld hl, UnownLetter
|
||||
call GetFarWRAMByte
|
||||
ld [wPokeAnimUnownLetter], a
|
||||
|
||||
Reference in New Issue
Block a user