From 991832399b893fc0ec92a8d67f3da134c2652674 Mon Sep 17 00:00:00 2001 From: libjet Date: Tue, 2 Jun 2020 02:50:34 +0100 Subject: [PATCH] Add engine/gfx/mon_icons.asm --- data/icon_pointers.asm | 41 +++++ data/pokemon/menu_icons.asm | 254 +++++++++++++++++++++++++++ engine/gfx/mon_icons.asm | 337 ++++++++++++++++++++++++++++++++++++ gfx/icons.asm | 41 +++++ gfx/icons/bat.2bpp | Bin 0 -> 128 bytes gfx/icons/bat.png | Bin 0 -> 169 bytes gfx/icons/bigmon.2bpp | Bin 0 -> 128 bytes gfx/icons/bigmon.png | Bin 0 -> 185 bytes gfx/icons/bird.2bpp | Bin 0 -> 128 bytes gfx/icons/bird.png | Bin 0 -> 176 bytes gfx/icons/blob.2bpp | Bin 0 -> 128 bytes gfx/icons/blob.png | Bin 0 -> 174 bytes gfx/icons/bug.2bpp | Bin 0 -> 128 bytes gfx/icons/bug.png | Bin 0 -> 185 bytes gfx/icons/bulbasaur.2bpp | Bin 0 -> 128 bytes gfx/icons/bulbasaur.png | Bin 0 -> 166 bytes gfx/icons/caterpillar.2bpp | Bin 0 -> 128 bytes gfx/icons/caterpillar.png | Bin 0 -> 159 bytes gfx/icons/charmander.2bpp | Bin 0 -> 128 bytes gfx/icons/charmander.png | Bin 0 -> 166 bytes gfx/icons/clefairy.2bpp | Bin 0 -> 128 bytes gfx/icons/clefairy.png | Bin 0 -> 165 bytes gfx/icons/diglett.2bpp | Bin 0 -> 128 bytes gfx/icons/diglett.png | Bin 0 -> 129 bytes gfx/icons/egg.2bpp | Bin 0 -> 128 bytes gfx/icons/egg.png | Bin 0 -> 155 bytes gfx/icons/equine.2bpp | Bin 0 -> 128 bytes gfx/icons/equine.png | Bin 0 -> 159 bytes gfx/icons/fighter.2bpp | Bin 0 -> 128 bytes gfx/icons/fighter.png | Bin 0 -> 179 bytes gfx/icons/fish.2bpp | Bin 0 -> 128 bytes gfx/icons/fish.png | Bin 0 -> 173 bytes gfx/icons/fox.2bpp | Bin 0 -> 128 bytes gfx/icons/fox.png | Bin 0 -> 188 bytes gfx/icons/geodude.2bpp | Bin 0 -> 128 bytes gfx/icons/geodude.png | Bin 0 -> 173 bytes gfx/icons/ghost.2bpp | Bin 0 -> 128 bytes gfx/icons/ghost.png | Bin 0 -> 143 bytes gfx/icons/gyarados.2bpp | Bin 0 -> 128 bytes gfx/icons/gyarados.png | Bin 0 -> 208 bytes gfx/icons/ho_oh.2bpp | Bin 0 -> 128 bytes gfx/icons/ho_oh.png | Bin 0 -> 204 bytes gfx/icons/humanshape.2bpp | Bin 0 -> 128 bytes gfx/icons/humanshape.png | Bin 0 -> 161 bytes gfx/icons/item.2bpp | 1 + gfx/icons/item.png | Bin 0 -> 82 bytes gfx/icons/jellyfish.2bpp | Bin 0 -> 128 bytes gfx/icons/jellyfish.png | Bin 0 -> 172 bytes gfx/icons/jigglypuff.2bpp | Bin 0 -> 128 bytes gfx/icons/jigglypuff.png | Bin 0 -> 165 bytes gfx/icons/lapras.2bpp | Bin 0 -> 128 bytes gfx/icons/lapras.png | Bin 0 -> 165 bytes gfx/icons/lugia.2bpp | Bin 0 -> 128 bytes gfx/icons/lugia.png | Bin 0 -> 185 bytes gfx/icons/mail.2bpp | 1 + gfx/icons/mail.png | Bin 0 -> 85 bytes gfx/icons/monster.2bpp | Bin 0 -> 128 bytes gfx/icons/monster.png | Bin 0 -> 179 bytes gfx/icons/moth.2bpp | Bin 0 -> 128 bytes gfx/icons/moth.png | Bin 0 -> 185 bytes gfx/icons/oddish.2bpp | Bin 0 -> 128 bytes gfx/icons/oddish.png | Bin 0 -> 157 bytes gfx/icons/pikachu.2bpp | Bin 0 -> 128 bytes gfx/icons/pikachu.png | Bin 0 -> 172 bytes gfx/icons/poliwag.2bpp | Bin 0 -> 128 bytes gfx/icons/poliwag.png | Bin 0 -> 158 bytes gfx/icons/serpent.2bpp | Bin 0 -> 128 bytes gfx/icons/serpent.png | Bin 0 -> 145 bytes gfx/icons/shell.2bpp | Bin 0 -> 128 bytes gfx/icons/shell.png | Bin 0 -> 170 bytes gfx/icons/slowpoke.2bpp | 2 + gfx/icons/slowpoke.png | Bin 0 -> 183 bytes gfx/icons/snorlax.2bpp | Bin 0 -> 128 bytes gfx/icons/snorlax.png | Bin 0 -> 165 bytes gfx/icons/squirtle.2bpp | Bin 0 -> 128 bytes gfx/icons/squirtle.png | Bin 0 -> 170 bytes gfx/icons/staryu.2bpp | Bin 0 -> 128 bytes gfx/icons/staryu.png | Bin 0 -> 166 bytes gfx/icons/sudowoodo.2bpp | Bin 0 -> 128 bytes gfx/icons/sudowoodo.png | Bin 0 -> 195 bytes gfx/icons/unown.2bpp | Bin 0 -> 128 bytes gfx/icons/unown.png | Bin 0 -> 112 bytes gfx/icons/voltorb.2bpp | Bin 0 -> 128 bytes gfx/icons/voltorb.png | Bin 0 -> 127 bytes main.asm | 27 +-- 85 files changed, 679 insertions(+), 25 deletions(-) create mode 100755 data/icon_pointers.asm create mode 100755 data/pokemon/menu_icons.asm create mode 100755 engine/gfx/mon_icons.asm create mode 100755 gfx/icons.asm create mode 100755 gfx/icons/bat.2bpp create mode 100755 gfx/icons/bat.png create mode 100755 gfx/icons/bigmon.2bpp create mode 100755 gfx/icons/bigmon.png create mode 100755 gfx/icons/bird.2bpp create mode 100755 gfx/icons/bird.png create mode 100755 gfx/icons/blob.2bpp create mode 100755 gfx/icons/blob.png create mode 100755 gfx/icons/bug.2bpp create mode 100755 gfx/icons/bug.png create mode 100755 gfx/icons/bulbasaur.2bpp create mode 100755 gfx/icons/bulbasaur.png create mode 100755 gfx/icons/caterpillar.2bpp create mode 100755 gfx/icons/caterpillar.png create mode 100755 gfx/icons/charmander.2bpp create mode 100755 gfx/icons/charmander.png create mode 100755 gfx/icons/clefairy.2bpp create mode 100755 gfx/icons/clefairy.png create mode 100755 gfx/icons/diglett.2bpp create mode 100755 gfx/icons/diglett.png create mode 100755 gfx/icons/egg.2bpp create mode 100755 gfx/icons/egg.png create mode 100755 gfx/icons/equine.2bpp create mode 100755 gfx/icons/equine.png create mode 100755 gfx/icons/fighter.2bpp create mode 100755 gfx/icons/fighter.png create mode 100755 gfx/icons/fish.2bpp create mode 100755 gfx/icons/fish.png create mode 100755 gfx/icons/fox.2bpp create mode 100755 gfx/icons/fox.png create mode 100755 gfx/icons/geodude.2bpp create mode 100755 gfx/icons/geodude.png create mode 100755 gfx/icons/ghost.2bpp create mode 100755 gfx/icons/ghost.png create mode 100755 gfx/icons/gyarados.2bpp create mode 100755 gfx/icons/gyarados.png create mode 100755 gfx/icons/ho_oh.2bpp create mode 100755 gfx/icons/ho_oh.png create mode 100755 gfx/icons/humanshape.2bpp create mode 100755 gfx/icons/humanshape.png create mode 100755 gfx/icons/item.2bpp create mode 100755 gfx/icons/item.png create mode 100755 gfx/icons/jellyfish.2bpp create mode 100755 gfx/icons/jellyfish.png create mode 100755 gfx/icons/jigglypuff.2bpp create mode 100755 gfx/icons/jigglypuff.png create mode 100755 gfx/icons/lapras.2bpp create mode 100755 gfx/icons/lapras.png create mode 100755 gfx/icons/lugia.2bpp create mode 100755 gfx/icons/lugia.png create mode 100755 gfx/icons/mail.2bpp create mode 100755 gfx/icons/mail.png create mode 100755 gfx/icons/monster.2bpp create mode 100755 gfx/icons/monster.png create mode 100755 gfx/icons/moth.2bpp create mode 100755 gfx/icons/moth.png create mode 100755 gfx/icons/oddish.2bpp create mode 100755 gfx/icons/oddish.png create mode 100755 gfx/icons/pikachu.2bpp create mode 100755 gfx/icons/pikachu.png create mode 100755 gfx/icons/poliwag.2bpp create mode 100755 gfx/icons/poliwag.png create mode 100755 gfx/icons/serpent.2bpp create mode 100755 gfx/icons/serpent.png create mode 100755 gfx/icons/shell.2bpp create mode 100755 gfx/icons/shell.png create mode 100755 gfx/icons/slowpoke.2bpp create mode 100755 gfx/icons/slowpoke.png create mode 100755 gfx/icons/snorlax.2bpp create mode 100755 gfx/icons/snorlax.png create mode 100755 gfx/icons/squirtle.2bpp create mode 100755 gfx/icons/squirtle.png create mode 100755 gfx/icons/staryu.2bpp create mode 100755 gfx/icons/staryu.png create mode 100755 gfx/icons/sudowoodo.2bpp create mode 100755 gfx/icons/sudowoodo.png create mode 100755 gfx/icons/unown.2bpp create mode 100755 gfx/icons/unown.png create mode 100755 gfx/icons/voltorb.2bpp create mode 100755 gfx/icons/voltorb.png diff --git a/data/icon_pointers.asm b/data/icon_pointers.asm new file mode 100755 index 00000000..bfe07abb --- /dev/null +++ b/data/icon_pointers.asm @@ -0,0 +1,41 @@ +IconPointers: +; entries correspond to ICON_* constants + dw NullIcon + dw PoliwagIcon + dw JigglypuffIcon + dw DiglettIcon + dw PikachuIcon + dw StaryuIcon + dw FishIcon + dw BirdIcon + dw MonsterIcon + dw ClefairyIcon + dw OddishIcon + dw BugIcon + dw GhostIcon + dw LaprasIcon + dw HumanshapeIcon + dw FoxIcon + dw EquineIcon + dw ShellIcon + dw BlobIcon + dw SerpentIcon + dw VoltorbIcon + dw SquirtleIcon + dw BulbasaurIcon + dw CharmanderIcon + dw CaterpillarIcon + dw UnownIcon + dw GeodudeIcon + dw FighterIcon + dw EggIcon + dw JellyfishIcon + dw MothIcon + dw BatIcon + dw SnorlaxIcon + dw HoOhIcon + dw LugiaIcon + dw GyaradosIcon + dw SlowpokeIcon + dw SudowoodoIcon + dw BigmonIcon diff --git a/data/pokemon/menu_icons.asm b/data/pokemon/menu_icons.asm new file mode 100755 index 00000000..f378cbfb --- /dev/null +++ b/data/pokemon/menu_icons.asm @@ -0,0 +1,254 @@ +; party menu icons + +MonMenuIcons: + db ICON_BULBASAUR ; BULBASAUR + db ICON_BULBASAUR ; IVYSAUR + db ICON_BULBASAUR ; VENUSAUR + db ICON_CHARMANDER ; CHARMANDER + db ICON_CHARMANDER ; CHARMELEON + db ICON_BIGMON ; CHARIZARD + db ICON_SQUIRTLE ; SQUIRTLE + db ICON_SQUIRTLE ; WARTORTLE + db ICON_SQUIRTLE ; BLASTOISE + db ICON_CATERPILLAR ; CATERPIE + db ICON_CATERPILLAR ; METAPOD + db ICON_MOTH ; BUTTERFREE + db ICON_CATERPILLAR ; WEEDLE + db ICON_CATERPILLAR ; KAKUNA + db ICON_BUG ; BEEDRILL + db ICON_BIRD ; PIDGEY + db ICON_BIRD ; PIDGEOTTO + db ICON_BIRD ; PIDGEOT + db ICON_FOX ; RATTATA + db ICON_FOX ; RATICATE + db ICON_BIRD ; SPEAROW + db ICON_BIRD ; FEAROW + db ICON_SERPENT ; EKANS + db ICON_SERPENT ; ARBOK + db ICON_PIKACHU ; PIKACHU + db ICON_PIKACHU ; RAICHU + db ICON_MONSTER ; SANDSHREW + db ICON_MONSTER ; SANDSLASH + db ICON_FOX ; NIDORAN_F + db ICON_FOX ; NIDORINA + db ICON_MONSTER ; NIDOQUEEN + db ICON_FOX ; NIDORAN_M + db ICON_FOX ; NIDORINO + db ICON_MONSTER ; NIDOKING + db ICON_CLEFAIRY ; CLEFAIRY + db ICON_CLEFAIRY ; CLEFABLE + db ICON_FOX ; VULPIX + db ICON_FOX ; NINETALES + db ICON_JIGGLYPUFF ; JIGGLYPUFF + db ICON_JIGGLYPUFF ; WIGGLYTUFF + db ICON_BAT ; ZUBAT + db ICON_BAT ; GOLBAT + db ICON_ODDISH ; ODDISH + db ICON_ODDISH ; GLOOM + db ICON_ODDISH ; VILEPLUME + db ICON_BUG ; PARAS + db ICON_BUG ; PARASECT + db ICON_CATERPILLAR ; VENONAT + db ICON_MOTH ; VENOMOTH + db ICON_DIGLETT ; DIGLETT + db ICON_DIGLETT ; DUGTRIO + db ICON_FOX ; MEOWTH + db ICON_FOX ; PERSIAN + db ICON_MONSTER ; PSYDUCK + db ICON_MONSTER ; GOLDUCK + db ICON_FIGHTER ; MANKEY + db ICON_FIGHTER ; PRIMEAPE + db ICON_FOX ; GROWLITHE + db ICON_FOX ; ARCANINE + db ICON_POLIWAG ; POLIWAG + db ICON_POLIWAG ; POLIWHIRL + db ICON_POLIWAG ; POLIWRATH + db ICON_HUMANSHAPE ; ABRA + db ICON_HUMANSHAPE ; KADABRA + db ICON_HUMANSHAPE ; ALAKAZAM + db ICON_FIGHTER ; MACHOP + db ICON_FIGHTER ; MACHOKE + db ICON_FIGHTER ; MACHAMP + db ICON_ODDISH ; BELLSPROUT + db ICON_ODDISH ; WEEPINBELL + db ICON_ODDISH ; VICTREEBEL + db ICON_JELLYFISH ; TENTACOOL + db ICON_JELLYFISH ; TENTACRUEL + db ICON_GEODUDE ; GEODUDE + db ICON_GEODUDE ; GRAVELER + db ICON_GEODUDE ; GOLEM + db ICON_EQUINE ; PONYTA + db ICON_EQUINE ; RAPIDASH + db ICON_SLOWPOKE ; SLOWPOKE + db ICON_SLOWPOKE ; SLOWBRO + db ICON_VOLTORB ; MAGNEMITE + db ICON_VOLTORB ; MAGNETON + db ICON_BIRD ; FARFETCH_D + db ICON_BIRD ; DODUO + db ICON_BIRD ; DODRIO + db ICON_LAPRAS ; SEEL + db ICON_LAPRAS ; DEWGONG + db ICON_BLOB ; GRIMER + db ICON_BLOB ; MUK + db ICON_SHELL ; SHELLDER + db ICON_SHELL ; CLOYSTER + db ICON_GHOST ; GASTLY + db ICON_GHOST ; HAUNTER + db ICON_GHOST ; GENGAR + db ICON_SERPENT ; ONIX + db ICON_HUMANSHAPE ; DROWZEE + db ICON_HUMANSHAPE ; HYPNO + db ICON_SHELL ; KRABBY + db ICON_SHELL ; KINGLER + db ICON_VOLTORB ; VOLTORB + db ICON_VOLTORB ; ELECTRODE + db ICON_ODDISH ; EXEGGCUTE + db ICON_ODDISH ; EXEGGUTOR + db ICON_MONSTER ; CUBONE + db ICON_MONSTER ; MAROWAK + db ICON_FIGHTER ; HITMONLEE + db ICON_FIGHTER ; HITMONCHAN + db ICON_MONSTER ; LICKITUNG + db ICON_BLOB ; KOFFING + db ICON_BLOB ; WEEZING + db ICON_EQUINE ; RHYHORN + db ICON_MONSTER ; RHYDON + db ICON_CLEFAIRY ; CHANSEY + db ICON_ODDISH ; TANGELA + db ICON_MONSTER ; KANGASKHAN + db ICON_FISH ; HORSEA + db ICON_FISH ; SEADRA + db ICON_FISH ; GOLDEEN + db ICON_FISH ; SEAKING + db ICON_STARYU ; STARYU + db ICON_STARYU ; STARMIE + db ICON_HUMANSHAPE ; MR__MIME + db ICON_BUG ; SCYTHER + db ICON_HUMANSHAPE ; JYNX + db ICON_HUMANSHAPE ; ELECTABUZZ + db ICON_HUMANSHAPE ; MAGMAR + db ICON_BUG ; PINSIR + db ICON_EQUINE ; TAUROS + db ICON_FISH ; MAGIKARP + db ICON_GYARADOS ; GYARADOS + db ICON_LAPRAS ; LAPRAS + db ICON_BLOB ; DITTO + db ICON_FOX ; EEVEE + db ICON_FOX ; VAPOREON + db ICON_FOX ; JOLTEON + db ICON_FOX ; FLAREON + db ICON_VOLTORB ; PORYGON + db ICON_SHELL ; OMANYTE + db ICON_SHELL ; OMASTAR + db ICON_SHELL ; KABUTO + db ICON_SHELL ; KABUTOPS + db ICON_BIRD ; AERODACTYL + db ICON_SNORLAX ; SNORLAX + db ICON_BIRD ; ARTICUNO + db ICON_BIRD ; ZAPDOS + db ICON_BIRD ; MOLTRES + db ICON_SERPENT ; DRATINI + db ICON_SERPENT ; DRAGONAIR + db ICON_BIGMON ; DRAGONITE + db ICON_HUMANSHAPE ; MEWTWO + db ICON_HUMANSHAPE ; MEW + db ICON_ODDISH ; CHIKORITA + db ICON_ODDISH ; BAYLEEF + db ICON_ODDISH ; MEGANIUM + db ICON_FOX ; CYNDAQUIL + db ICON_FOX ; QUILAVA + db ICON_FOX ; TYPHLOSION + db ICON_MONSTER ; TOTODILE + db ICON_MONSTER ; CROCONAW + db ICON_MONSTER ; FERALIGATR + db ICON_FOX ; SENTRET + db ICON_FOX ; FURRET + db ICON_BIRD ; HOOTHOOT + db ICON_BIRD ; NOCTOWL + db ICON_BUG ; LEDYBA + db ICON_BUG ; LEDIAN + db ICON_BUG ; SPINARAK + db ICON_BUG ; ARIADOS + db ICON_BAT ; CROBAT + db ICON_FISH ; CHINCHOU + db ICON_FISH ; LANTURN + db ICON_PIKACHU ; PICHU + db ICON_CLEFAIRY ; CLEFFA + db ICON_JIGGLYPUFF ; IGGLYBUFF + db ICON_CLEFAIRY ; TOGEPI + db ICON_BIRD ; TOGETIC + db ICON_BIRD ; NATU + db ICON_BIRD ; XATU + db ICON_FOX ; MAREEP + db ICON_MONSTER ; FLAAFFY + db ICON_MONSTER ; AMPHAROS + db ICON_ODDISH ; BELLOSSOM + db ICON_JIGGLYPUFF ; MARILL + db ICON_JIGGLYPUFF ; AZUMARILL + db ICON_SUDOWOODO ; SUDOWOODO + db ICON_POLIWAG ; POLITOED + db ICON_ODDISH ; HOPPIP + db ICON_ODDISH ; SKIPLOOM + db ICON_ODDISH ; JUMPLUFF + db ICON_MONSTER ; AIPOM + db ICON_ODDISH ; SUNKERN + db ICON_ODDISH ; SUNFLORA + db ICON_BUG ; YANMA + db ICON_MONSTER ; WOOPER + db ICON_MONSTER ; QUAGSIRE + db ICON_FOX ; ESPEON + db ICON_FOX ; UMBREON + db ICON_BIRD ; MURKROW + db ICON_SLOWPOKE ; SLOWKING + db ICON_GHOST ; MISDREAVUS + db ICON_UNOWN ; UNOWN + db ICON_GHOST ; WOBBUFFET + db ICON_EQUINE ; GIRAFARIG + db ICON_BUG ; PINECO + db ICON_BUG ; FORRETRESS + db ICON_SERPENT ; DUNSPARCE + db ICON_BUG ; GLIGAR + db ICON_SERPENT ; STEELIX + db ICON_MONSTER ; SNUBBULL + db ICON_MONSTER ; GRANBULL + db ICON_FISH ; QWILFISH + db ICON_BUG ; SCIZOR + db ICON_BUG ; SHUCKLE + db ICON_BUG ; HERACROSS + db ICON_FOX ; SNEASEL + db ICON_MONSTER ; TEDDIURSA + db ICON_MONSTER ; URSARING + db ICON_BLOB ; SLUGMA + db ICON_BLOB ; MAGCARGO + db ICON_EQUINE ; SWINUB + db ICON_EQUINE ; PILOSWINE + db ICON_SHELL ; CORSOLA + db ICON_FISH ; REMORAID + db ICON_FISH ; OCTILLERY + db ICON_MONSTER ; DELIBIRD + db ICON_FISH ; MANTINE + db ICON_BIRD ; SKARMORY + db ICON_FOX ; HOUNDOUR + db ICON_FOX ; HOUNDOOM + db ICON_BIGMON ; KINGDRA + db ICON_EQUINE ; PHANPY + db ICON_EQUINE ; DONPHAN + db ICON_VOLTORB ; PORYGON2 + db ICON_EQUINE ; STANTLER + db ICON_MONSTER ; SMEARGLE + db ICON_FIGHTER ; TYROGUE + db ICON_FIGHTER ; HITMONTOP + db ICON_HUMANSHAPE ; SMOOCHUM + db ICON_HUMANSHAPE ; ELEKID + db ICON_HUMANSHAPE ; MAGBY + db ICON_EQUINE ; MILTANK + db ICON_CLEFAIRY ; BLISSEY + db ICON_FOX ; RAIKOU + db ICON_FOX ; ENTEI + db ICON_FOX ; SUICUNE + db ICON_MONSTER ; LARVITAR + db ICON_MONSTER ; PUPITAR + db ICON_MONSTER ; TYRANITAR + db ICON_LUGIA ; LUGIA + db ICON_HO_OH ; HO_OH + db ICON_HUMANSHAPE ; CELEBI diff --git a/engine/gfx/mon_icons.asm b/engine/gfx/mon_icons.asm new file mode 100755 index 00000000..d0d3856e --- /dev/null +++ b/engine/gfx/mon_icons.asm @@ -0,0 +1,337 @@ +LoadOverworldMonIcon: + ld a, e + call ReadMonMenuIcon + ld l, a + ld h, 0 + add hl, hl + ld de, IconPointers + add hl, de + ld a, [hli] + ld e, a + ld d, [hl] + ld b, BANK(Icons) + ld c, 8 + ret + +LoadMenuMonIcon: + push hl + push de + push bc + call .LoadIcon + pop bc + pop de + pop hl + ret + +.LoadIcon: + ld d, 0 + ld hl, .Jumptable + add hl, de + add hl, de + ld a, [hli] + ld h, [hl] + ld l, a + jp hl + +.Jumptable: +; entries correspond to MONICON_* constants + dw PartyMenu_InitAnimatedMonIcon ; MONICON_PARTYMENU + dw NamingScreen_InitAnimatedMonIcon ; MONICON_NAMINGSCREEN + dw MoveList_InitAnimatedMonIcon ; MONICON_MOVES + dw Trade_LoadMonIconGFX ; MONICON_TRADE + +PartyMenu_InitAnimatedMonIcon: + ld a, [wCurIconTile] + push af + ldh a, [hObjectStructIndexBuffer] + ld hl, wPartySpecies + ld e, a + ld d, 0 + add hl, de + ld a, [hl] + call ReadMonMenuIcon + ld [wCurIcon], a + call GetMemIconGFX + ldh a, [hObjectStructIndexBuffer] +; y coord + add a + add a + add a + add a + add $1c + ld d, a +; x coord + ld e, $10 +; type is partymon icon + ld a, SPRITE_ANIM_INDEX_PARTY_MON + call _InitSpriteAnimStruct + pop af + ld hl, SPRITEANIMSTRUCT_TILE_ID + add hl, bc + ld [hl], a + + call .SpawnItemIcon + call SetPartyMonIconAnimSpeed + ret + +.SpawnItemIcon: + push bc + ldh a, [hObjectStructIndexBuffer] + ld hl, wPartyMon1Item + ld bc, PARTYMON_STRUCT_LENGTH + call AddNTimes + pop bc + ld a, [hl] + and a + ret z + push hl + push bc + ld d, a + callfar ItemIsMail + pop bc + pop hl + jr c, .mail + ld a, SPRITE_ANIM_FRAMESET_PARTY_MON_WITH_ITEM + jr .okay + +.mail + ld a, SPRITE_ANIM_FRAMESET_PARTY_MON_WITH_MAIL +.okay + ld hl, SPRITEANIMSTRUCT_FRAMESET_ID + add hl, bc + ld [hl], a + ret + +SetPartyMonIconAnimSpeed: + push bc + ldh a, [hObjectStructIndexBuffer] + ld b, a + call .getspeed + ld a, b + pop bc + ld hl, SPRITEANIMSTRUCT_DURATIONOFFSET + add hl, bc + ld [hl], a + rlca + rlca + ld hl, SPRITEANIMSTRUCT_0D + add hl, bc + ld [hl], a + ret + +.getspeed + farcall PlacePartymonHPBar + call GetHPPal + ld e, d + ld d, 0 + ld hl, .speeds + add hl, de + ld b, [hl] + ret + +.speeds + db $00 ; HP_GREEN + db $40 ; HP_YELLOW + db $80 ; HP_RED + +NamingScreen_InitAnimatedMonIcon: + ld a, [wTempIconSpecies] + call ReadMonMenuIcon + ld [wCurIcon], a + xor a + call GetIconGFX + depixel 4, 4, 4, 0 + ld a, SPRITE_ANIM_INDEX_PARTY_MON + call _InitSpriteAnimStruct + ld hl, SPRITEANIMSTRUCT_ANIM_SEQ_ID + add hl, bc + ld [hl], SPRITE_ANIM_SEQ_NULL + ret + +MoveList_InitAnimatedMonIcon: + ld a, [wTempIconSpecies] + call ReadMonMenuIcon + ld [wCurIcon], a + xor a + call GetIconGFX + ld d, 3 * 8 + 2 ; depixel 3, 4, 2, 4 + ld e, 4 * 8 + 4 + ld a, SPRITE_ANIM_INDEX_PARTY_MON + call _InitSpriteAnimStruct + ld hl, SPRITEANIMSTRUCT_ANIM_SEQ_ID + add hl, bc + ld [hl], SPRITE_ANIM_SEQ_NULL + ret + +Trade_LoadMonIconGFX: + ld a, [wTempIconSpecies] + call ReadMonMenuIcon + ld [wCurIcon], a + ld a, $62 + ld [wCurIconTile], a + call GetMemIconGFX + ret + +GetSpeciesIcon: +; Load species icon into VRAM at tile a + push de + ld a, [wTempIconSpecies] + call ReadMonMenuIcon + ld [wCurIcon], a + pop de + ld a, e + call GetIconGFX + ret + +GetMemIconGFX: + ld a, [wCurIconTile] +GetIconGFX: +; Load icon graphics into VRAM starting from tile a. + ld l, a + ld h, 0 + +; One tile is 16 bytes long. +rept 4 + add hl, hl +endr + + ld de, vTiles0 + add hl, de + push hl + +; The icons are contiguous, in order and of the same +; size, so the pointer table is somewhat redundant. + ld a, [wCurIcon] + push hl + ld l, a + ld h, 0 + add hl, hl + ld de, IconPointers + add hl, de + ld a, [hli] + ld e, a + ld d, [hl] + pop hl + + lb bc, BANK(Icons), 8 + call Request2bpp + + pop hl + ld de, 8 tiles + add hl, de + ld de, HeldItemIcons + lb bc, BANK(HeldItemIcons), 2 + call Request2bpp + ld a, [wCurIconTile] + add 10 + ld [wCurIconTile], a + ret + +HeldItemIcons: +INCBIN "gfx/icons/mail.2bpp" +INCBIN "gfx/icons/item.2bpp" + +FreezeMonIcons: + ld hl, wSpriteAnimationStructs + ld e, PARTY_LENGTH + ld a, [wMenuCursorY] + ld d, a +.loop + ld a, [hl] + and a + jr z, .next + cp d + jr z, .loadwithtwo + ld a, SPRITE_ANIM_SEQ_NULL + jr .ok + +.loadwithtwo + ld a, SPRITE_ANIM_SEQ_PARTY_MON_SWITCH + +.ok + push hl + ld c, l + ld b, h + ld hl, SPRITEANIMSTRUCT_ANIM_SEQ_ID + add hl, bc + ld [hl], a + pop hl + +.next + ld bc, $10 + add hl, bc + dec e + jr nz, .loop + ret + +UnfreezeMonIcons: + ld hl, wSpriteAnimationStructs + ld e, PARTY_LENGTH +.loop + ld a, [hl] + and a + jr z, .next + push hl + ld c, l + ld b, h + ld hl, SPRITEANIMSTRUCT_ANIM_SEQ_ID + add hl, bc + ld [hl], SPRITE_ANIM_SEQ_PARTY_MON + pop hl +.next + ld bc, $10 + add hl, bc + dec e + jr nz, .loop + ret + +HoldSwitchmonIcon: + ld hl, wSpriteAnimationStructs + ld e, PARTY_LENGTH + ld a, [wSwitchMon] + ld d, a +.loop + ld a, [hl] + and a + jr z, .next + cp d + jr z, .is_switchmon + ld a, SPRITE_ANIM_SEQ_PARTY_MON_SELECTED + jr .join_back + +.is_switchmon + ld a, SPRITE_ANIM_SEQ_PARTY_MON_SWITCH +.join_back + push hl + ld c, l + ld b, h + ld hl, SPRITEANIMSTRUCT_ANIM_SEQ_ID + add hl, bc + ld [hl], a + pop hl +.next + ld bc, $10 + add hl, bc + dec e + jr nz, .loop + ret + +ReadMonMenuIcon: + cp EGG + jr z, .egg + dec a + ld hl, MonMenuIcons + ld e, a + ld d, 0 + add hl, de + ld a, [hl] + ret +.egg + ld a, ICON_EGG + ret + +INCLUDE "data/pokemon/menu_icons.asm" + +INCLUDE "data/icon_pointers.asm" + +INCLUDE "gfx/icons.asm" diff --git a/gfx/icons.asm b/gfx/icons.asm new file mode 100755 index 00000000..c664516f --- /dev/null +++ b/gfx/icons.asm @@ -0,0 +1,41 @@ +Icons: ; used only for BANK(Icons) + +NullIcon: +PoliwagIcon: INCBIN "gfx/icons/poliwag.2bpp" +JigglypuffIcon: INCBIN "gfx/icons/jigglypuff.2bpp" +DiglettIcon: INCBIN "gfx/icons/diglett.2bpp" +PikachuIcon: INCBIN "gfx/icons/pikachu.2bpp" +StaryuIcon: INCBIN "gfx/icons/staryu.2bpp" +FishIcon: INCBIN "gfx/icons/fish.2bpp" +BirdIcon: INCBIN "gfx/icons/bird.2bpp" +MonsterIcon: INCBIN "gfx/icons/monster.2bpp" +ClefairyIcon: INCBIN "gfx/icons/clefairy.2bpp" +OddishIcon: INCBIN "gfx/icons/oddish.2bpp" +BugIcon: INCBIN "gfx/icons/bug.2bpp" +GhostIcon: INCBIN "gfx/icons/ghost.2bpp" +LaprasIcon: INCBIN "gfx/icons/lapras.2bpp" +HumanshapeIcon: INCBIN "gfx/icons/humanshape.2bpp" +FoxIcon: INCBIN "gfx/icons/fox.2bpp" +EquineIcon: INCBIN "gfx/icons/equine.2bpp" +ShellIcon: INCBIN "gfx/icons/shell.2bpp" +BlobIcon: INCBIN "gfx/icons/blob.2bpp" +SerpentIcon: INCBIN "gfx/icons/serpent.2bpp" +VoltorbIcon: INCBIN "gfx/icons/voltorb.2bpp" +SquirtleIcon: INCBIN "gfx/icons/squirtle.2bpp" +BulbasaurIcon: INCBIN "gfx/icons/bulbasaur.2bpp" +CharmanderIcon: INCBIN "gfx/icons/charmander.2bpp" +CaterpillarIcon: INCBIN "gfx/icons/caterpillar.2bpp" +UnownIcon: INCBIN "gfx/icons/unown.2bpp" +GeodudeIcon: INCBIN "gfx/icons/geodude.2bpp" +FighterIcon: INCBIN "gfx/icons/fighter.2bpp" +EggIcon: INCBIN "gfx/icons/egg.2bpp" +JellyfishIcon: INCBIN "gfx/icons/jellyfish.2bpp" +MothIcon: INCBIN "gfx/icons/moth.2bpp" +BatIcon: INCBIN "gfx/icons/bat.2bpp" +SnorlaxIcon: INCBIN "gfx/icons/snorlax.2bpp" +HoOhIcon: INCBIN "gfx/icons/ho_oh.2bpp" +LugiaIcon: INCBIN "gfx/icons/lugia.2bpp" +GyaradosIcon: INCBIN "gfx/icons/gyarados.2bpp" +SlowpokeIcon: INCBIN "gfx/icons/slowpoke.2bpp" +SudowoodoIcon: INCBIN "gfx/icons/sudowoodo.2bpp" +BigmonIcon: INCBIN "gfx/icons/bigmon.2bpp" diff --git a/gfx/icons/bat.2bpp b/gfx/icons/bat.2bpp new file mode 100755 index 0000000000000000000000000000000000000000..0e5cd7d4300f20fc47869770902496fdf5a52d0e GIT binary patch literal 128 zcmZQzU|`_kv9PG9h^_7afBi3z%V1z2BO@obYv0HJulFzCZ)2~f&ddxF2Z5)5ZT_S@ zIdA~XK_VC#+1bTK?d@Sg4Gj+-yjbz)Pfh*5|G$5K`0(ICLV|$-1B2ba`v3Ru^YgQ_ Lv$65;FfafBzPc$X literal 0 HcmV?d00001 diff --git a/gfx/icons/bat.png b/gfx/icons/bat.png new file mode 100755 index 0000000000000000000000000000000000000000..3ea2ea832dc04eb5714f7784ad6e9cc4788cbfc9 GIT binary patch literal 169 zcmeAS@N?(olHy`uVBq!ia0vp^0zj<51SA+rg7$9&QU#tajv*Ddde0hi9dZz9d1$}p zC6m7Zze1eCyaZ-5F)>Y>4_-QNil(w>imUNES1tdsN|Md>hJpCJ)qzF6HM{;Dk&Kg( zo36ZlVdbN@89MKO_uTn*Q~rv~6qQ%sXBBqzm-$@aak$SKsO;J5Iji7g-EGl(-9cxL ShW)$1f literal 0 HcmV?d00001 diff --git a/gfx/icons/bigmon.2bpp b/gfx/icons/bigmon.2bpp new file mode 100755 index 0000000000000000000000000000000000000000..6883bd80ff6ce308af71c4fa0e765b4a42b0634b GIT binary patch literal 128 zcmXRej>*?Cmynkcw=++u|F!?zIje6bZzO(Lyr_A@_AmbLp8xOv2iIKR5nrKhW3DYD zWBdR6|5J9aWq-*%v3YaF!h!(^ilJuIl>gff;=|0adsqKT{Q!-DKZ^hW literal 0 HcmV?d00001 diff --git a/gfx/icons/bigmon.png b/gfx/icons/bigmon.png new file mode 100755 index 0000000000000000000000000000000000000000..4a77f1eceb0b1f496986c1d64ba940ecae450662 GIT binary patch literal 185 zcmeAS@N?(olHy`uVBq!ia0vp^0zj<51SA+rg7$9&QVpIijv*Ddk}WeZPA3NH>FR5&1Y;Lw2+2ObWBn2f4}9)z4*}Q$iB}4*^R? literal 0 HcmV?d00001 diff --git a/gfx/icons/bird.2bpp b/gfx/icons/bird.2bpp new file mode 100755 index 0000000000000000000000000000000000000000..fb1793da5fc8b97ac8a563f3a74b457e03383775 GIT binary patch literal 128 zcmZQzU|`_mIerdt32_N-9%d$1c83o@ zL4g+%FC;D)9B^3h0Hj-AGd*qPyF2?&{(me7(*0%1v$Uz@)_*7ecmMJKWW9&E1xPnL YI|~Z~!~ehWSDT_ z0)tTdtj3lbA_@nk7*t$b8eAr5`-Ej5t#7lB)PAdYq<*EU!$$wV4v#tvHU-W%H92Q2 zV|S%yhGRs|DM2>TYYd!hVS*DG+NL_Li{y!slH!)|%Um0A=7VCks{N)w_8E;wex4Ut Z%&^=%u;32EZyu0SJYD@<);T3K0RVg9I|cv% literal 0 HcmV?d00001 diff --git a/gfx/icons/blob.2bpp b/gfx/icons/blob.2bpp new file mode 100755 index 0000000000000000000000000000000000000000..a855f008ee79906e3790520a4968e861d8e631e4 GIT binary patch literal 128 zcmZQzU|?WoW@q8#f74Go~&NT}5a`KFf3=BM9 zo3k=9*qX0h*&xcZXmwbtfea6CLfVhRulO&e@f$KQ XgntPao^#8*9^?>DS3j3^P6a*2Wc0z{k4(MK@9rR)&%t%N804oYHIRF3v literal 0 HcmV?d00001 diff --git a/gfx/icons/bug.png b/gfx/icons/bug.png new file mode 100755 index 0000000000000000000000000000000000000000..97504f7219aaa2ea8f7947a77d1f1b6f0a969fee GIT binary patch literal 185 zcmeAS@N?(olHy`uVBq!ia0vp^0zj<51SA+rg7$9&QVpIijv*Ddl7H~C@CZEWx1C^d z<wr<-lM1uGaOGhq_Z|3yO_Ys*4uo};Zes1w!@wM|4#A9 z|GV+oIKlYU{%c$d7-P5-o;B|H@2~ss{DebH$t^=8IK* kHU4w)!iMx8^*=t;Gt4mZ*ZLZl>JD;~r>mdKI;Vst07acn5&!@I literal 0 HcmV?d00001 diff --git a/gfx/icons/bulbasaur.2bpp b/gfx/icons/bulbasaur.2bpp new file mode 100755 index 0000000000000000000000000000000000000000..56dd284c15c9b630c0b209b208a4d2fc6221b311 GIT binary patch literal 128 zcmZQzU}R)w=I50cvRAR!39e^gXlOX#@S)&`#vhSCCa3-d)UWx!?)$R;0rfuh#>NZ` zT>nh}m%dN^&-Ksf-LBfxSKPG={K>8Q_U-N$vl780z JrvF{x`Ta9=>?NBxrp~ zO5n_ghs^f&%ttg>7|p&o7+#&%wQ1^kmnZC&t)~t*L+F_p=?6$dP_+Gl- P1ag39teDx@Ie3w)$Il3`T043kcFL@nSnvzgTjLY z2g<(r|Lp(C_wU081_m}Zc}X>UhkDO?hkCzykp6}S2cQWM=vS{`FE5YKukgU(KwDe= OPye5N|2Tep_y7PVA1V?6 literal 0 HcmV?d00001 diff --git a/gfx/icons/caterpillar.png b/gfx/icons/caterpillar.png new file mode 100755 index 0000000000000000000000000000000000000000..85558104b4b469ef865abe96497333ea39d032b8 GIT binary patch literal 159 zcmeAS@N?(olHy`uVBq!ia0vp^0zj<51SA+rg7$9&QfZzpjv*DdYr6@S5?0zopr0JRG~jsO4v literal 0 HcmV?d00001 diff --git a/gfx/icons/charmander.2bpp b/gfx/icons/charmander.2bpp new file mode 100755 index 0000000000000000000000000000000000000000..4e2182636baf6de72195425a012f2d38c871d4ba GIT binary patch literal 128 zcmZQzU}xvx=inES7m*i`H?U`5XlQUa;Ba8UgC$S2-dX+gsCTc|w~!aGH}J1;ueY%9 z`q%aEQr#oFFE%GCI(`%sFrerckVoiW@IdL2>T?Tw|9bxldjpvM((h;gpRE66_sQ-| H4M;x#sJt+@ literal 0 HcmV?d00001 diff --git a/gfx/icons/charmander.png b/gfx/icons/charmander.png new file mode 100755 index 0000000000000000000000000000000000000000..3d85f13164ee96033d5adb58ebdf023a8c6d3d51 GIT binary patch literal 166 zcmeAS@N?(olHy`uVBq!ia0vp^0zj<51SA+rg7$9&Qn{Wkjv*Ddl7H~C@cie$!OR(0 zukrDCsD#g)^dG`fI%hs8nmEjOxMGF&gaQH4v>z+33Z40oe)Uj78~a%hK4WB1S8-paIOqR; PkOMqj{an^LB{Ts59=17x literal 0 HcmV?d00001 diff --git a/gfx/icons/clefairy.2bpp b/gfx/icons/clefairy.2bpp new file mode 100755 index 0000000000000000000000000000000000000000..6a5aed325070d624116ec7e58f5d33f191f947dc GIT binary patch literal 128 zcmZQzU|?WouCJ-hvon?#v{wOg84euyXSc7c=FE?dKPvVL<(~H!)Fp!+HJTD|Bd`L(@)m;zdBkTUh_PsMc!CnERTRYKr=wPIevij0{~}| BFs1+i literal 0 HcmV?d00001 diff --git a/gfx/icons/clefairy.png b/gfx/icons/clefairy.png new file mode 100755 index 0000000000000000000000000000000000000000..0017d9ddb9919be88db7e4c389769774d86286be GIT binary patch literal 165 zcmeAS@N?(olHy`uVBq!ia0vp^0zj<51SA+rg7$9&QaPS3jv*Ddl7H~C@CZC&{$Jn5 z9K$_Bl5eALM%s@J7rN&^JkO6kgS; zZ?lioek=K}yMuw(qGpE1;saG%jZDG~WTLlb868P!39NT=o_L0tq5Hi5fu*-CJwWz* My85}Sb4q9e08=A7?EnA( literal 0 HcmV?d00001 diff --git a/gfx/icons/diglett.2bpp b/gfx/icons/diglett.2bpp new file mode 100755 index 0000000000000000000000000000000000000000..6a997c1cb495eb9defa79be7dcf8ace9bd331f94 GIT binary patch literal 128 zcmZQzU|?Wo=HVBR7m-)6SGNap85$ZA9teDx@PXq8#}9RT1t7GxuXnKr%Yno=e%So^ f_iWD|kXjIc=obR&S47eu0Mvitha#H(6KMJYX|^UQ literal 0 HcmV?d00001 diff --git a/gfx/icons/diglett.png b/gfx/icons/diglett.png new file mode 100755 index 0000000000000000000000000000000000000000..307181f71ace911d256ac61b6d21ef758d068a89 GIT binary patch literal 129 zcmeAS@N?(olHy`uVBq!ia0vp^0zj<51SA+rg7$9&QXZZzjv*Ddl7H~C@CZC=ww;hr z`tSS)brTkk9bJFYe@IAWo&Ru=(XZuD2R{?zAD-pAX3UbbGm!XTtT40b@*W5A8I_7_ c44M{HGOP>ruPjLq`vfxE)78&qol`;+0JbJ8_5c6? literal 0 HcmV?d00001 diff --git a/gfx/icons/egg.2bpp b/gfx/icons/egg.2bpp new file mode 100755 index 0000000000000000000000000000000000000000..03a623777279fb21410054e000afd927b21d839e GIT binary patch literal 128 zcmZQz00Dk}c>#L`dxd%jFc(N1IItk$g24rYdWU)kkc_+l4?i%aZs<)M=uk4*Z{vs~dwP&LQL%&Q>+hOA5USXRutD(O+P!QGIxlR@%l;#Awi|ASZm zlKhwL*m2TfuYi(-%Ma$GVNDzhPX6a-V<`Reuw8FVdQ&MBb@ E04%9E)Bpeg literal 0 HcmV?d00001 diff --git a/gfx/icons/equine.2bpp b/gfx/icons/equine.2bpp new file mode 100755 index 0000000000000000000000000000000000000000..8853b5bdd7d243ea4ad11d327272625b77be12e1 GIT binary patch literal 128 zcmZQzU}lz)w^x@D*09&J)U#$_IB>w?$Dbz_Cq({~%qh8}VXtDZZmVQ3C@&-@C&a@e z@<-**lRYkfI(~RmRCpK|FaY)Q@Jj$qurUUi0Mc*pK>}!k%^8phde#sVgrWLN?m$d9 H0o4xx9PTS= literal 0 HcmV?d00001 diff --git a/gfx/icons/equine.png b/gfx/icons/equine.png new file mode 100755 index 0000000000000000000000000000000000000000..b3da7181b58e1fafff5655db886bcdf5eb434b4e GIT binary patch literal 159 zcmeAS@N?(olHy`uVBq!ia0vp^0zj<51SA+rg7$9&QfZzpjv*Ddl7H~C@cg&`@IU>> zVX1`kA67Q5od59rC5`H~{zZ!ac;rou8(J2%+fR8d#i3#&(&(~awf*7w0)f?S_6OY? zk30(g#`FKDJwtEP?CD3US3|`-dtNo z=Hh>?e`o$k{P^+X%bzz_EG!s+fQ^ll-@x9d{@m|xzd`(jgc(0%{uuo$zMp@80^Ef7 U`uuPU3(o&A6Mp^s_DV(u0EOB=LjV8( literal 0 HcmV?d00001 diff --git a/gfx/icons/fighter.png b/gfx/icons/fighter.png new file mode 100755 index 0000000000000000000000000000000000000000..9deab976ffbefd45aab89d2e6a96a262a8965f53 GIT binary patch literal 179 zcmeAS@N?(olHy`uVBq!ia0vp^0zj<51SA+rg7$9&QdOQVjv*DdO3&=(J!Bxk@bK}& zrc(?4NH%!RQJPrLs{BT-+x14nLK&`Yg)4L=mw1%KR33Hz>*l+1l8c!KM-$KD4PDzF z3*_$KQ?~!B&*2*r=3bg|O`1z0&EoUEcXA?gdAq+mukKJ}Utg(J?kMZex9F+8mE+;p e`}R%ry(s^x-h?k~Lf<2hYdl^3T-G@yGywotp+=nm literal 0 HcmV?d00001 diff --git a/gfx/icons/fish.2bpp b/gfx/icons/fish.2bpp new file mode 100755 index 0000000000000000000000000000000000000000..e99315b5234a63d5ea8ace18d5a51df228b14ba9 GIT binary patch literal 128 zcmZQzU}9otWoMC=SFl&G_bX%ogNB9!4hIgXJ(K(8SDGJ~SeF>5XfGkp&d$KV_o?sG zyifCfP5buXK|=#bF(V^06RLi&Zii#X^j^t*@+-{?Osq%Nf9})0s%vEzK0x#X0ApAy ASO5S3 literal 0 HcmV?d00001 diff --git a/gfx/icons/fish.png b/gfx/icons/fish.png new file mode 100755 index 0000000000000000000000000000000000000000..35dbb1d2f6ab5ccd7781d4f172b701b4895d1ae1 GIT binary patch literal 173 zcmeAS@N?(olHy`uVBq!ia0vp^0zj<51SA+rg7$9&QJyZ2Ar-fhfAF*L{I_rJ5LS3J zx4x_`z1tuQmsdt&# zc#Dr=t78w7aJ|D3^$9mt*0of&J3iBFJ`>Gjny;#TVb27y)CHBg4mSm+{m*#D$S^-S V^my$B2Op3-JYD@<);T3K0RXFBKqLSF literal 0 HcmV?d00001 diff --git a/gfx/icons/fox.2bpp b/gfx/icons/fox.2bpp new file mode 100755 index 0000000000000000000000000000000000000000..bbe04c03db336969510506ad137ab86b4cc070b9 GIT binary patch literal 128 zcmZQzU|>*Ch_3c8u~D|ysP_SK83Y6}Do*V9An+~h=lOaEdu4kIb$bbMIbnW&28N&f zf5qRGwfsq$^JB(?2O!lT{qgn5b@dMQPXC{Q_zn&W9xO=sQ1DIcr~dzj`UrbNJ%oP! PyXpIm$vnxK0?`iulIoIDdf0l=bGG&kmm@TK*f$@XY!npW(nfA!5rT1Lok%N`h=_LmeKqgh^l6 lBN_x$bNH9zv#*P1vNLQe3racj>o_0CS)Q(bF6*2UngC8FNXY;I literal 0 HcmV?d00001 diff --git a/gfx/icons/geodude.2bpp b/gfx/icons/geodude.2bpp new file mode 100755 index 0000000000000000000000000000000000000000..ff8bdfdebccf66fb05f2f7c05504e49ba8b3f535 GIT binary patch literal 128 zcmZQzC@46+yZ=vc&79BkAIyKlz`)0M`R+&iQ+AyH8UGvpuS>R57LXT~=iz5&W&i@W ze=dJGew_GW@ZrD#5FZ4rtbp?o)%#G zpff?>X_UaB0+pcy+`AJk2*%zNn1u-f); z{k4YwJpb)KFmq1O%s9f%ELYbyIgWd>WM7poPnyLFsYhoNxXk@C7Ov(#60qkPBZHBU Vdqn^KkQ9(RJYD@<);T3K0RW;;JNWZvT;H0M1d{Uk;_;*B zPuIVqI;T1(8ym1{W@dhVd3iZ`pefd10U*)R;&*D_C;O*4(T4iPdFgT1R*Z}wIsK2z Sem$uywkt{f}~GA&>| zyj`>(xlwZ^?Ibo@8UFdd*@0(8W~Ru5img%%N434@zkI(a2IN#vS3j3^ HP6lU}Mef>N!7q4Z>FVn%6&GyJylncxwDdFY{mdKI;Vst E02k;}*#H0l literal 0 HcmV?d00001 diff --git a/gfx/icons/humanshape.2bpp b/gfx/icons/humanshape.2bpp new file mode 100755 index 0000000000000000000000000000000000000000..4dbbac0c854f427a67db5c3f41ce979cdd92b3db GIT binary patch literal 128 zcmZQzu(r0hk(ZDck{7VEtoLDHxO3-^%@2tm9zQrLX8f_K_BXH>l;`A^5tkR{;bCC7 w_et(k&z}h&EMELLVPL=j1PJ|dlJ+*p`fKL=GphEl@Heza*3a{&;|D@N0GpmH=>Px# literal 0 HcmV?d00001 diff --git a/gfx/icons/humanshape.png b/gfx/icons/humanshape.png new file mode 100755 index 0000000000000000000000000000000000000000..f5d0b9290c59c43dbbc9be9aa6231f1172046fbf GIT binary patch literal 161 zcmeAS@N?(olHy`uVBq!ia0vp^0zj<51SA+rg7$9&QW>5ujv*Ddl7H~C@W}I2{E)OO z(0!2pWAWBQ^B$gGq^GbkYpU&G_Om?IZNUni!Av^cl6Ea^I%z+Il}?@i5byHD{_y;3 z3JZ3z#(d-X|I_|YI)ilU{XO=xBojK13VinKY-8G~xagb3S!RZ7x83GE{&Mm;$Zk(p KKbLh*2~7an`aV1W literal 0 HcmV?d00001 diff --git a/gfx/icons/item.2bpp b/gfx/icons/item.2bpp new file mode 100755 index 00000000..5d47aba7 --- /dev/null +++ b/gfx/icons/item.2bpp @@ -0,0 +1 @@ +ÿÿ�ÿÿÿ½ç½ÿ�ÿ�ÿÿÿ \ No newline at end of file diff --git a/gfx/icons/item.png b/gfx/icons/item.png new file mode 100755 index 0000000000000000000000000000000000000000..a47d5500935789d297f07561fb0013db6965e08d GIT binary patch literal 82 zcmeAS@N?(olHy`uVBq!ia0vp^93adDBp6m-`S}ekYHf= z!t=u-JZM?7R>9@Eopb-|3mi~Obi!d Ue7`7O(+4}l)78&qol`;+0F6RFH~;_u literal 0 HcmV?d00001 diff --git a/gfx/icons/jigglypuff.2bpp b/gfx/icons/jigglypuff.2bpp new file mode 100755 index 0000000000000000000000000000000000000000..bc00c535d41aea846fcb060bfd74bc4d5ad49492 GIT binary patch literal 128 zcmZQzC@!w|sZX(2s`srAtB+$~ICt)!QQfgWF8?WjSnw(js45B+(Jamcuq!EP@2WTD+_ogUX5C~wdvu7RiS5jw$R>FEg#HYqS3&|3>nFn<7UNukBW+Y{SFqYeoMGI3G-s=c)K{a2W%GSA~~PDbqK3 Oko}&nelF{r5}E+)e?21r literal 0 HcmV?d00001 diff --git a/gfx/icons/lapras.2bpp b/gfx/icons/lapras.2bpp new file mode 100755 index 0000000000000000000000000000000000000000..47684bae366ed52f0f547b39a22f5a50fd92de67 GIT binary patch literal 128 zcmb1R0~RA3na+;n51N3DqT>9UPYb=RaibW(p`frB&BvAG}q}xQ0o1VU)InU#pcagOH+* z!^R5cdex++(xbQzGb24M@q`-4YV*DV7 OFnGH9xvXJ`mp_~ zOy(XZ3-f2wP6(+vr*KV|dwigGhi1$ypJeN`4_r5~)PMcqVE;q-THF!V^Kr@#_~Y-E z$!Mw<8*Y&7oI;+`I(KlKAvsgr?ROmfjD^O|IvD~I=$}P5>o5`yj&pyhO jy7y>auo>%B&HVTLMoNAhd2i2c0=dc4)z4*}Q$iB}9Np$LqWq0P! I8ySdx0B5l|IsgCw literal 0 HcmV?d00001 diff --git a/gfx/icons/monster.png b/gfx/icons/monster.png new file mode 100755 index 0000000000000000000000000000000000000000..f97c67b645696568dfc6c9e750e1379fdc652e96 GIT binary patch literal 179 zcmeAS@N?(olHy`uVBq!ia0vp^0zj<51SA+rg7$9&QdOQVjv*Ddl7IX^{?Gm}<1)6i zwqPgSZb`e=wr|FN3VFAr|9Elb#rY40CRgS^-nw!+v}ZyT!yx``!_$Y{k-=7!+(cr-R;zC-RqodT`ep?a{C_D zJlXfC?$EwPGBO}O1A~Nwt*X6pdTe@Zy}P|Kh`(papCiw9J=^u~(Vru>>T=??>UPTV c!g4}9JPZtbo>aWp^Q7j;j}sLh1_lfa0NtlGApigX literal 0 HcmV?d00001 diff --git a/gfx/icons/moth.png b/gfx/icons/moth.png new file mode 100755 index 0000000000000000000000000000000000000000..f44440f5c802d08f78458999395c532e81182c50 GIT binary patch literal 185 zcmeAS@N?(olHy`uVBq!ia0vp^0zj<51SA+rg7$9&QVpIijv*Ddl7H~C@FYAsApiR? zPZXPt6wfMIFF^sP)s2~~hgY)3bW8ee<%?;JicQ7!^=$T>e?pDb)6J=6vBKtspH0Sv4wSQ_Pu`J1ggTe~DWM4f*m*}u literal 0 HcmV?d00001 diff --git a/gfx/icons/oddish.2bpp b/gfx/icons/oddish.2bpp new file mode 100755 index 0000000000000000000000000000000000000000..c9c7665eda08c3e3240975f3207302f9919d77b9 GIT binary patch literal 128 zcmZQz00BcouWGk?C3{JE5U-)Z?U?3!!~aVEeEzVr^YhEg$;mAEDd8 H0HhxP-~B8l literal 0 HcmV?d00001 diff --git a/gfx/icons/oddish.png b/gfx/icons/oddish.png new file mode 100755 index 0000000000000000000000000000000000000000..c069bd4447f4e5547de4017122df71fc0b412814 GIT binary patch literal 157 zcmeAS@N?(olHy`uVBq!ia0vp^0zj<51SA+rg7$9&QYoG;jv*DdTF-3cY%maLeJC%h z;LBFPs&1ikiBsy)0mj1lOYAL_xo%Y+ZGLQPw?@{#Be3MA<*_H0%Ssm?n-L%{Gc8kC zV2iX2*Sos4U&1H0P7e}vpZoku!&XK^z496SpWNR*eLPnr-hG+&ypV+82ZJ|89kA?VFA+*02hrh Ag#Z8m literal 0 HcmV?d00001 diff --git a/gfx/icons/pikachu.png b/gfx/icons/pikachu.png new file mode 100755 index 0000000000000000000000000000000000000000..7b7d23dbdad2eaa1a4d85a514b68b5075a55edbd GIT binary patch literal 172 zcmeAS@N?(olHy`uVBq!ia0vp^0zj<51SA+rg7$9&QpKJwjv*Ddl7H~C@F?)8{9D5? ziQPnEhJ?rzNx!vG7teq2^gcQ7;pI)PXL**Vt&2EQkaIPte!&s1YK82R^%Exj=b0}h z_CNhc@_BwU)|m(sCC>hYP4$GzvkITZn$LV@pPAl&)`lVW WY^YHD#J@=(XL!2$xvX{85$ZMBzy??Gw0u@e^&MB^%?cq_6G9u78W46f3yBY w{hRg2s* z&vo{{q@897LuVLoT^lnGPq!rBny3Y53RXBWdt{U{aIz}AKD>(cFHgP1j5m^YH{=^6 z8;-9ytgzU`!7a0)=MsbD(#9l_X4}K{b#)8OejoO5V`OmL<$pwGr+^m7Voz5;mvv4F FO#nqLGq(T$ literal 0 HcmV?d00001 diff --git a/gfx/icons/serpent.2bpp b/gfx/icons/serpent.2bpp new file mode 100755 index 0000000000000000000000000000000000000000..4be1a62aa798b0f350203a4342fe6f97d61cc079 GIT binary patch literal 128 zcmZQzU}R)sW@qQ%ml2i|<>O>vXlQUa@Zf>K2a6LGD+(sCuygTq^9sv|Nb_^BvoJF& xJP7!3VZ#XvjT;{X9w;0*zyJiuCV=?JCh&2BOc0lZn!sK#0c6698Bh}*00881BxC>p literal 0 HcmV?d00001 diff --git a/gfx/icons/serpent.png b/gfx/icons/serpent.png new file mode 100755 index 0000000000000000000000000000000000000000..de575f088b89e386d0d6edc62bc12b06cff6ab15 GIT binary patch literal 145 zcmeAS@N?(olHy`uVBq!ia0vp^0zj<51SA+rg7$9&QW2gmjv*Ddl7H~C@cjROgSoT+ zpTi>t;|T)1KhJ+i&zxd=c>Xz+>bC#0Bpo&`KIq_dfz`uf1w-oMX-uiX%8i?%v>TF^ ti!pcd|8Zc-kvrM;@8pFo#|=bQ@G{8dg-a}YXH^HX%hT1*Wt~$(697G3Glc*E literal 0 HcmV?d00001 diff --git a/gfx/icons/shell.2bpp b/gfx/icons/shell.2bpp new file mode 100755 index 0000000000000000000000000000000000000000..9e9dd787cc995b64bf8499f72bfd1e49ec654335 GIT binary patch literal 128 zcmZQzU|?Wllb5ttuu-mdDfa+!843!1bo_Do$MlQs7hirret^A#y@HG|KMylA1H&Da zdrG_9YFfVV%&2(q0Hm6MfuCPqz+R!!t=uC&0L1_B;fKc^6_EaWY7pHv#`1Ff{2=`> M-E(Sw`~c|(062FjrvLx| literal 0 HcmV?d00001 diff --git a/gfx/icons/shell.png b/gfx/icons/shell.png new file mode 100755 index 0000000000000000000000000000000000000000..4daf2763424651d4352a1a0780266dace5988283 GIT binary patch literal 170 zcmeAS@N?(olHy`uVBq!ia0vp^0zj<51SA+rg7$9&QiYx_jv*Ddl7H~C@CZEm(DjL1? ?'âþ +þ>Æ<Ô<Äþþò ? ? üøøøøüüˆøpp \ No newline at end of file diff --git a/gfx/icons/slowpoke.png b/gfx/icons/slowpoke.png new file mode 100755 index 0000000000000000000000000000000000000000..221f3f7a52b8334b8369b82483c39a765859e018 GIT binary patch literal 183 zcmeAS@N?(olHy`uVBq!ia0vp^0zj<51SA+rg7$9&Qgxm#jv*DdYR}km9dZzGc(^=a zZ|f6|dC7YYvXwXlMLiQ~ntD}EX~~IsPA;?Oq?NyJ{Hnh9Y_?pDiszy1{U2?K0|}ed{ZP?o4Zz?nzZKC^oZLWSMSp%{^$KCXY=IGlN&b}fB>%F*xp8707?IuKQ=!&>J$Di0P3%S>u3AVimV?1T~0L# literal 0 HcmV?d00001 diff --git a/gfx/icons/snorlax.png b/gfx/icons/snorlax.png new file mode 100755 index 0000000000000000000000000000000000000000..f2c1b0b74f317345b5958d66c217ec82fa0ad854 GIT binary patch literal 165 zcmeAS@N?(olHy`uVBq!ia0vp^0zj<51SA+rg7$9&QaPS3jv*DdO3!TMY<7@w`{%G(2E Nzo)C8%Q~loCIE`&Jf8pn literal 0 HcmV?d00001 diff --git a/gfx/icons/squirtle.2bpp b/gfx/icons/squirtle.2bpp new file mode 100755 index 0000000000000000000000000000000000000000..b6558faa51ac32ba6a064b4faaf4ee5037b76868 GIT binary patch literal 128 zcmZQzU}omw7m!!6SFu;H7nWyWIB>w=1IG`QKPrD%{+#$>Veen5qLJ+^9A>n}l&ml2jzv{$pUuwY;) zx$|Sj3yTvKEq_vKWMmk?0LcU&kN}biM*fw0)^gI~vdVVq_8|SA=9S#3xbb4gk(wue GK>7iHqbWfE literal 0 HcmV?d00001 diff --git a/gfx/icons/staryu.png b/gfx/icons/staryu.png new file mode 100755 index 0000000000000000000000000000000000000000..52361c780c666f01938156adbad64713d56d6fb1 GIT binary patch literal 166 zcmeAS@N?(olHy`uVBq!ia0vp^0zj<51SA+rg7$9&Qn{Wkjv*Ddl7H~C@cjROgSpfH zpTi^N4hy9}^B*<`aN8f&WA^4ix)Pe|9HGrz=LJ$E#n#lFI&@T+Lo-gDu(O)5&F^^e!QYFLbOa8M?d&)mX?f+%uMWT{5<>|{5 b!p_3X#LC9Y1<^lePD8^1hX)BC3?TXebWJiE literal 0 HcmV?d00001 diff --git a/gfx/icons/sudowoodo.png b/gfx/icons/sudowoodo.png new file mode 100755 index 0000000000000000000000000000000000000000..d115356bb5f020a0c6697db6306682b00685d32c GIT binary patch literal 195 zcmeAS@N?(olHy`uVBq!ia0vp^0zj<51SA+rg7$9&QeB=djv*Ddl7IaF&u@SDzrEW* z9{C=tz8Ws$Xi4^OZ=N} u!jtx+{uEord(G+@mB(i_w%lSW`ONV4kKg@%fy@UW*Lk}7xvXS!YCcJxi*ns&0hsozH76~kz&lnkO0@8zTPbj?$GRo7{ K&t;ucLK6TM2O!-5 literal 0 HcmV?d00001 diff --git a/gfx/icons/voltorb.2bpp b/gfx/icons/voltorb.2bpp new file mode 100755 index 0000000000000000000000000000000000000000..b75cafe3d802a8e2e71893265aa66be47e93a5b7 GIT binary patch literal 128 zcmZQzU|?Wo=HVBV6O_}j*E0rk84esU_|Q?&QDO3@W?NA}m5W|*~T{y59c`_