diff options
| author | Rangi <remy.oukaour+rangi42@gmail.com> | 2021-05-09 12:56:39 -0400 |
|---|---|---|
| committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2021-05-09 12:56:39 -0400 |
| commit | 05925cba37019d93f1c847015f4fbc1de110c200 (patch) | |
| tree | 2a807847987421ce9ce9dfe22061cb6a0fcf0e15 /home | |
| parent | Merge pull request #67 from SatoMew/master (diff) | |
| parent | Use BANK("Pics #") for Pokémon and trainer pics (diff) | |
| download | pokeyellow-05925cba37019d93f1c847015f4fbc1de110c200.tar.gz pokeyellow-05925cba37019d93f1c847015f4fbc1de110c200.tar.xz pokeyellow-05925cba37019d93f1c847015f4fbc1de110c200.zip | |
Merge remote-tracking branch 'remotes/pokered/master'
Diffstat (limited to 'home')
| -rw-r--r-- | home/pics.asm | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/home/pics.asm b/home/pics.asm index 8fd9a26a..c0559908 100644 --- a/home/pics.asm +++ b/home/pics.asm @@ -9,35 +9,35 @@ UncompressMonSprite:: ld a, [hl] ld [wSpriteInputPtr+1], a ; define (by index number) the bank that a pokemon's image is in -; index = Mew, bank 1 -; index = Kabutops fossil, bank $B -; index < $1F, bank 9 -; $1F ≤ index < $4A, bank $A -; $4A ≤ index < $74, bank $B -; $74 ≤ index < $99, bank $C -; $99 ≤ index, bank $D - ld a, [wcf91] ; XXX name for this ram location +; index = MEW: bank $1 +; index = FOSSIL_KABUTOPS: bank $B +; index < $1F: bank $9 ("Pics 1") +; $1F ≤ index < $4A: bank $A ("Pics 2") +; $4A ≤ index < $74: bank $B ("Pics 3") +; $74 ≤ index < $99: bank $C ("Pics 4") +; $99 ≤ index: bank $D ("Pics 5") + ld a, [wcf91] ld b, a cp FOSSIL_KABUTOPS ld a, BANK(FossilKabutopsPic) jr z, .GotBank ld a, b cp TANGELA + 1 - ld a, BANK(TangelaPicFront) + ld a, BANK("Pics 1") jr c, .GotBank ld a, b cp MOLTRES + 1 - ld a, BANK(MoltresPicFront) + ld a, BANK("Pics 2") jr c, .GotBank ld a, b cp BEEDRILL + 2 - ld a, BANK(BeedrillPicFront) + ld a, BANK("Pics 3") jr c, .GotBank ld a, b cp STARMIE + 1 - ld a, BANK(StarmiePicFront) + ld a, BANK("Pics 4") jr c, .GotBank - ld a, BANK(VictreebelPicFront) + ld a, BANK("Pics 5") .GotBank jp UncompressSpriteData |
