mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-06 15:45:24 +13:00
Use 'tile' and 'tiles' macros
This commit is contained in:
parent
b945988a0a
commit
4a7d1513f3
30 changed files with 188 additions and 303 deletions
|
|
@ -2,10 +2,10 @@
|
|||
LoadPokedexTilePatterns:
|
||||
call LoadHpBarAndStatusTilePatterns
|
||||
ld de, PokedexTileGraphics
|
||||
ld hl, vChars2 + $600
|
||||
ld hl, vChars2 tile $60
|
||||
lb bc, BANK(PokedexTileGraphics), (PokedexTileGraphicsEnd - PokedexTileGraphics) / $10
|
||||
call CopyVideoData
|
||||
ld de, PokeballTileGraphics
|
||||
ld hl, vChars2 + $720
|
||||
lb bc, BANK(PokeballTileGraphics), $01
|
||||
ld hl, vChars2 tile $72
|
||||
lb bc, BANK(PokeballTileGraphics), 1
|
||||
jp CopyVideoData ; load pokeball tile for marking caught mons
|
||||
|
|
|
|||
|
|
@ -201,11 +201,11 @@ UnusedPartyMonSpriteFunction:
|
|||
ld a, [wcf91]
|
||||
call GetPartyMonSpriteID
|
||||
push af
|
||||
ld hl, vSprites
|
||||
ld hl, vSprites tile $00
|
||||
call .LoadTilePatterns
|
||||
pop af
|
||||
add $54
|
||||
ld hl, vSprites + $40
|
||||
ld hl, vSprites tile $04
|
||||
call .LoadTilePatterns
|
||||
xor a
|
||||
ld [wMonPartySpriteSpecies], a
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue