Skip to content

Commit

Permalink
Merge pull request #370 from yenatch/graphics
Browse files Browse the repository at this point in the history
png everywhere
  • Loading branch information
yenatch authored Jun 24, 2017
2 parents 217b7b8 + 7d5b9bb commit 080704e
Show file tree
Hide file tree
Showing 1,204 changed files with 432 additions and 424 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ pokecrystal.txt
*.dimensions
*.gbcpal
*.2bpp
*.1bpp
*.lz
*.pal
*.animated.tilemap
Expand Down
6 changes: 3 additions & 3 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,18 +56,18 @@ make

To build on Windows, install [**Cygwin**](http://cygwin.com/install.html) with the default settings.

In the installer, select the following packages: `make` `git` `gettext`
In the installer, select the following packages: `make` `git` `gettext` `gcc-core`

Then get [**rgbds 0.2.5**](https://github.com/rednex/rgbds/releases/). Versions 0.3.0 and later are not compatible.
Extract the archive and put `rgbasm.exe`, `rgblink.exe`, `rgbfix.exe` and `rgbgfx.exe` in `C:\cygwin64\usr\local\bin`.
Extract the archive and put all the `exe` and `dll` files individually in `C:\cygwin64\usr\local\bin`.

In the **Cygwin terminal**:

```bash

git clone https://github.com/pret/pokecrystal
cd pokecrystal
make tools
make tools CC=gcc
```

To build **pokecrystal.gbc**:
Expand Down
84 changes: 69 additions & 15 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -58,22 +58,14 @@ pokecrystal.gbc: $(crystal_obj)
rgbfix -Cjv -i BYTE -k 01 -l 0x33 -m 0x10 -p 0 -r 3 -t PM_CRYSTAL $@


define LOUD
echo "$1"; $1
endef

# For files that the compressor can't match, there will be a .lz file suffixed with the hash of the correct uncompressed file.
# If the hash of the uncompressed file matches, use this .lz instead.
# This allows pngs to be used for compressed graphics and still match.

%.lz: hash = $(shell md5sum $(*D)/$(*F) | sed "s/\(.\{8\}\).*/\1/")
%.lz: %
$(eval filename := $@.$(hash))
@if [ -f $(filename) ]; then \
$(call LOUD, cp $(filename) $@); \
else \
$(call LOUD, tools/lzcomp $< $@); \
fi
$(if $(wildcard $(filename)),cp $(filename) $@,tools/lzcomp $< $@)

# Terrible hacks to match animations. Delete these rules if you don't care about matching.

Expand Down Expand Up @@ -118,20 +110,82 @@ gfx/pics/%/front.animated.tilemap: gfx/pics/%/front.2bpp gfx/pics/%/front.dimens

# Misc file-specific graphics rules

gfx/shrink%.2bpp: gfx/shrink%.png
rgbgfx -h -o $@ $<
gfx/shrink1.2bpp: rgbgfx += -h
gfx/shrink2.2bpp: rgbgfx += -h

gfx/trainers/%.2bpp: gfx/trainers/%.png
rgbgfx -h -o $@ $<
gfx/trainers/%.2bpp: rgbgfx += -h
gfx/trainers/%.pal: gfx/trainers/%.gbcpal
tools/palette -p $< > $@

gfx/mail/0b9b46.1bpp: tools/gfx += --remove-whitespace
gfx/mail/0b9d46.1bpp: tools/gfx += --remove-whitespace
gfx/mail/0b9d86.1bpp: tools/gfx += --remove-whitespace
gfx/mail/0b9dc6.1bpp: tools/gfx += --remove-whitespace
gfx/mail/0b9cfe.1bpp: tools/gfx += --remove-whitespace

gfx/pokedex/%.2bpp: tools/gfx += --trim-whitespace

gfx/title/crystal.2bpp: tools/gfx += --interleave --width=48
gfx/title/old_fg.2bpp: tools/gfx += --interleave --width=64
gfx/title/logo.2bpp: rgbgfx += -x 4

gfx/trade/ball.2bpp: tools/gfx += --remove-whitespace

gfx/slots_2.2bpp: tools/gfx += --interleave --width=16
gfx/slots_3.2bpp: tools/gfx += --interleave --width=24 --remove-duplicates --keep-whitespace --remove-xflip
gfx/slots_3a.2bpp: tools/gfx += --interleave --width=16
gfx/slots_3b.2bpp: tools/gfx += --interleave --width=24 --remove-duplicates --keep-whitespace --remove-xflip

gfx/fx/angels.2bpp: tools/gfx += --trim-whitespace
gfx/fx/beam.2bpp: tools/gfx += --remove-xflip --remove-yflip --remove-whitespace
gfx/fx/bubble.2bpp: tools/gfx += --trim-whitespace
gfx/fx/charge.2bpp: tools/gfx += --trim-whitespace
gfx/fx/egg.2bpp: tools/gfx += --remove-whitespace
gfx/fx/explosion.2bpp: tools/gfx += --remove-whitespace
gfx/fx/hit.2bpp: tools/gfx += --remove-whitespace
gfx/fx/horn.2bpp: tools/gfx += --remove-whitespace
gfx/fx/lightning.2bpp: tools/gfx += --remove-whitespace
gfx/fx/misc.2bpp: tools/gfx += --remove-duplicates --remove-xflip
gfx/fx/noise.2bpp: tools/gfx += --remove-whitespace
gfx/fx/objects.2bpp: tools/gfx += --remove-whitespace --remove-xflip
gfx/fx/pokeball.2bpp: tools/gfx += --remove-xflip --keep-whitespace
gfx/fx/reflect.2bpp: tools/gfx += --remove-whitespace
gfx/fx/rocks.2bpp: tools/gfx += --remove-whitespace
gfx/fx/skyattack.2bpp: tools/gfx += --remove-whitespace
gfx/fx/status.2bpp: tools/gfx += --remove-whitespace

gfx/misc/chris.2bpp: rgbgfx += -h
gfx/misc/chris_card.2bpp: rgbgfx += -h
gfx/misc/kris.2bpp: rgbgfx += -h
gfx/misc/kris_card.2bpp: rgbgfx += -h
gfx/misc/kris_back.2bpp: rgbgfx += -h
gfx/misc/dude.2bpp: rgbgfx += -h
gfx/misc/unknown_egg.2bpp: rgbgfx += -h
gfx/misc/player.2bpp: rgbgfx += -h
gfx/misc/pokegear.2bpp: rgbgfx += -x2
gfx/misc/pokegear_sprites.2bpp: tools/gfx += --trim-whitespace

gfx/unknown/0e0ea8.2bpp: tools/gfx += --remove-whitespace
gfx/unknown/0f8f34.1bpp: tools/gfx += --trim-whitespace
gfx/unknown/16c173.2bpp: tools/gfx += --remove-duplicates --remove-xflip
gfx/unknown/170d16.2bpp: tools/gfx += --trim-whitespace
gfx/unknown/1715a4.2bpp: tools/gfx += --trim-whitespace
gfx/unknown/1715a4_nonmatching.2bpp: tools/gfx += --remove-duplicates --remove-xflip
gfx/unknown/171db1.2bpp: tools/gfx += --trim-whitespace
gfx/unknown/172f1f.2bpp: tools/gfx += --trim-whitespace


%.bin: ;
%.blk: ;

%.2bpp: %.png
rgbgfx -o $@ $<
rgbgfx $(rgbgfx) -o $@ $<
$(if $(tools/gfx),tools/gfx $(tools/gfx) -o $@ $@)

%.1bpp: %.png
rgbgfx -d1 -o $@ $<
rgbgfx $(rgbgfx) -d1 -o $@ $<
$(if $(tools/gfx),tools/gfx $(tools/gfx) -d1 -o $@ $@)

%.tilemap: %.png
rgbgfx -t $@ $<
%.gbcpal: %.png
Expand Down
3 changes: 2 additions & 1 deletion engine/crystal_intro.asm
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,8 @@ GameFreakLogoPalettes: ; e47ac
; e47cc

GameFreakLogo: ; e47cc
INCBIN "gfx/splash/logo.1bpp"
INCBIN "gfx/splash/logo1.1bpp"
INCBIN "gfx/splash/logo2.1bpp"
; e48ac

CrystalIntro: ; e48ac
Expand Down
2 changes: 1 addition & 1 deletion engine/pokegear.asm
Original file line number Diff line number Diff line change
Expand Up @@ -2987,7 +2987,7 @@ INCBIN "gfx/misc/kanto.bin"
PokedexNestIconGFX: ; 922d1
INCBIN "gfx/pokegear/dexmap_nest_icon.2bpp"
FlyMapLabelBorderGFX: ; 922e1
INCBIN "gfx/pokegear/flymap_label_border.2bpp"
INCBIN "gfx/pokegear/flymap_label_border.1bpp"

; XXX
xor a
Expand Down
6 changes: 3 additions & 3 deletions engine/timeset.asm
Original file line number Diff line number Diff line change
Expand Up @@ -397,11 +397,11 @@ OakText_ResponseToSetTime: ; 0x908b8
; 0x908fb

GFX_908fb: ; 908fb
INCBIN "gfx/unknown/0908fb.2bpp"
INCBIN "gfx/unknown/0908fb.1bpp"
GFX_90903: ; 90903
INCBIN "gfx/unknown/090903.2bpp"
INCBIN "gfx/unknown/090903.1bpp"
GFX_9090b: ; 9090b
INCBIN "gfx/unknown/09090b.2bpp"
INCBIN "gfx/unknown/09090b.1bpp"
; 90913

Special_SetDayOfWeek: ; 90913
Expand Down
6 changes: 3 additions & 3 deletions engine/title.asm
Original file line number Diff line number Diff line change
Expand Up @@ -387,15 +387,15 @@ AnimateTitleCrystal: ; 10ef32
; 10ef46

TitleSuicuneGFX: ; 10ef46
INCBIN "gfx/title/suicune.w128.2bpp.lz"
INCBIN "gfx/title/suicune.2bpp.lz"
; 10f326

TitleLogoGFX: ; 10f326
INCBIN "gfx/title/logo.w160.t4.2bpp.lz"
INCBIN "gfx/title/logo.2bpp.lz"
; 10fcee

TitleCrystalGFX: ; 10fcee
INCBIN "gfx/title/crystal.w48.interleave.2bpp.lz"
INCBIN "gfx/title/crystal.2bpp.lz"
; 10fede

TitleScreenPalettes:
Expand Down
4 changes: 2 additions & 2 deletions engine/trainer_card.asm
Original file line number Diff line number Diff line change
Expand Up @@ -608,8 +608,8 @@ TrainerCard_JohtoBadgesOAM: ; 254c9

CardStatusGFX: INCBIN "gfx/misc/card_status.2bpp"

LeaderGFX: INCBIN "gfx/misc/leaders.w24.2bpp"
LeaderGFX2: INCBIN "gfx/misc/leaders.w24.2bpp"
LeaderGFX: INCBIN "gfx/misc/leaders.2bpp"
LeaderGFX2: INCBIN "gfx/misc/leaders.2bpp"
BadgeGFX: INCBIN "gfx/misc/badges.2bpp"
BadgeGFX2: INCBIN "gfx/misc/badges.2bpp"

Expand Down
Binary file removed gfx/battle/balls.2bpp
Binary file not shown.
Binary file added gfx/battle/balls.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed gfx/battle/enemy_hp_bar_border.1bpp
Binary file not shown.
Binary file added gfx/battle/enemy_hp_bar_border.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed gfx/battle/expbar.2bpp
Binary file not shown.
Binary file added gfx/battle/expbar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed gfx/battle/expbarend.2bpp
Binary file not shown.
Binary file added gfx/battle/expbarend.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed gfx/battle/expbarend_sgb.2bpp
Binary file not shown.
Binary file added gfx/battle/expbarend_sgb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed gfx/battle/hp_exp_bar_border.1bpp
Binary file not shown.
Binary file added gfx/battle/hp_exp_bar_border.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed gfx/battle/minimize.2bpp
Binary file not shown.
Binary file added gfx/battle/minimize.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed gfx/debug/color_test.2bpp
Binary file not shown.
Binary file added gfx/debug/color_test.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed gfx/emotes/bolt.2bpp
Binary file not shown.
Binary file added gfx/emotes/bolt.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed gfx/emotes/fish.2bpp
Binary file not shown.
Binary file added gfx/emotes/fish.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed gfx/emotes/happy.2bpp
Binary file not shown.
Binary file added gfx/emotes/happy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed gfx/emotes/heart.2bpp
Binary file not shown.
Binary file added gfx/emotes/heart.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed gfx/emotes/question.2bpp
Binary file not shown.
Binary file added gfx/emotes/question.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed gfx/emotes/sad.2bpp
Binary file not shown.
Binary file added gfx/emotes/sad.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed gfx/emotes/shock.2bpp
Binary file not shown.
Binary file added gfx/emotes/shock.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed gfx/emotes/sleep.2bpp
Binary file not shown.
Binary file added gfx/emotes/sleep.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed gfx/evo/bubble.2bpp
Binary file not shown.
Binary file added gfx/evo/bubble.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed gfx/evo/bubble_large.2bpp
Binary file not shown.
Binary file added gfx/evo/bubble_large.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions gfx/font.asm
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@ INCBIN "gfx/mobile/overworld_phone_icon.2bpp"
; f8f34

GFX_f8f34: ; unused bold letters + unown chars
INCBIN "gfx/unknown/0f8f34.w64.1bpp"
INCBIN "gfx/unknown/0f8f34.1bpp"
; f9204

TextBoxSpaceGFX: ; f9204
INCBIN "gfx/frames/space.2bpp"
INCBIN "gfx/frames/space.1bpp"
; f9214

MobilePhoneTilesGFX: ; f9214
Expand Down
Binary file removed gfx/font/english.1bpp
Binary file not shown.
Binary file added gfx/font/english.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed gfx/font/french_german.1bpp
Binary file not shown.
Binary file added gfx/font/french_german.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed gfx/font/spanish_italian.1bpp
Binary file not shown.
Binary file added gfx/font/spanish_italian.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed gfx/frames/1.1bpp
Binary file not shown.
Binary file added gfx/frames/1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed gfx/frames/2.1bpp
Binary file not shown.
Binary file added gfx/frames/2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed gfx/frames/3.1bpp
Binary file not shown.
Binary file added gfx/frames/3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed gfx/frames/4.1bpp
Binary file not shown.
Binary file added gfx/frames/4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed gfx/frames/5.1bpp
Binary file not shown.
Binary file added gfx/frames/5.png
Binary file removed gfx/frames/6.1bpp
Binary file not shown.
Binary file added gfx/frames/6.png
Binary file removed gfx/frames/7.1bpp
Binary file not shown.
Binary file added gfx/frames/7.png
Binary file removed gfx/frames/8.1bpp
Binary file not shown.
Binary file added gfx/frames/8.png
Binary file removed gfx/frames/9.1bpp
Binary file not shown.
Binary file added gfx/frames/9.png
Binary file removed gfx/frames/map_entry_sign.2bpp
Binary file not shown.
Binary file added gfx/frames/map_entry_sign.png
Binary file removed gfx/frames/space.2bpp
Binary file not shown.
Binary file added gfx/frames/space.png
File renamed without changes.
Binary file added gfx/fx/aeroblast.png
File renamed without changes.
Binary file added gfx/fx/angels.png
File renamed without changes.
Binary file added gfx/fx/beam.png
File renamed without changes.
Binary file added gfx/fx/bubble.png
File renamed without changes.
Binary file added gfx/fx/charge.png
File renamed without changes.
Binary file added gfx/fx/cut.png
File renamed without changes.
Binary file added gfx/fx/egg.png
File renamed without changes.
Binary file added gfx/fx/explosion.png
File renamed without changes.
Binary file added gfx/fx/fire.png
File renamed without changes.
Binary file added gfx/fx/flower.png
File renamed without changes.
Binary file added gfx/fx/globe.png
File renamed without changes.
Binary file added gfx/fx/haze.png
File renamed without changes.
Binary file added gfx/fx/hit.png
File renamed without changes.
Binary file added gfx/fx/horn.png
File renamed without changes.
Binary file added gfx/fx/ice.png
File renamed without changes.
Binary file added gfx/fx/lightning.png
File renamed without changes.
Binary file added gfx/fx/misc.png
File renamed without changes.
Binary file added gfx/fx/noise.png
File renamed without changes.
Binary file added gfx/fx/objects.png
File renamed without changes.
Binary file added gfx/fx/plant.png
File renamed without changes.
Binary file added gfx/fx/poison.png
File renamed without changes.
Binary file added gfx/fx/pokeball.png
File renamed without changes.
Binary file added gfx/fx/powder.png
File renamed without changes.
Binary file added gfx/fx/psychic.png
File renamed without changes.
Binary file added gfx/fx/reflect.png
File renamed without changes.
Binary file added gfx/fx/rocks.png
File renamed without changes.
Binary file added gfx/fx/rope.png
File renamed without changes.
Binary file added gfx/fx/sand.png
File renamed without changes.
Binary file added gfx/fx/shapes.png
File renamed without changes.
Binary file added gfx/fx/shine.png
File renamed without changes.
Binary file added gfx/fx/skyattack.png
File renamed without changes.
Binary file added gfx/fx/smoke.png
File renamed without changes.
Binary file added gfx/fx/speed.png
File renamed without changes.
Binary file added gfx/fx/status.png
File renamed without changes.
Binary file added gfx/fx/water.png
File renamed without changes.
Binary file added gfx/fx/wave.png
File renamed without changes.
Binary file added gfx/fx/web.png
File renamed without changes.
Binary file added gfx/fx/whip.png
File renamed without changes.
Binary file added gfx/fx/wind.png
Binary file removed gfx/icon/bat.2bpp
Binary file not shown.
Binary file added gfx/icon/bat.png
Binary file removed gfx/icon/bigmon.2bpp
Binary file not shown.
Binary file added gfx/icon/bigmon.png
Binary file removed gfx/icon/bird.2bpp
Binary file not shown.
Binary file added gfx/icon/bird.png
Binary file removed gfx/icon/blob.2bpp
Binary file not shown.
Binary file added gfx/icon/blob.png
Binary file removed gfx/icon/bug.2bpp
Binary file not shown.
Binary file added gfx/icon/bug.png
Binary file removed gfx/icon/bulbasaur.2bpp
Binary file not shown.
Binary file added gfx/icon/bulbasaur.png
Binary file removed gfx/icon/caterpillar.2bpp
Binary file not shown.
Binary file added gfx/icon/caterpillar.png
Binary file removed gfx/icon/charmander.2bpp
Binary file not shown.
Binary file added gfx/icon/charmander.png
Binary file removed gfx/icon/clefairy.2bpp
Binary file not shown.
Binary file added gfx/icon/clefairy.png
Binary file removed gfx/icon/diglett.2bpp
Binary file not shown.
Binary file added gfx/icon/diglett.png
Binary file removed gfx/icon/egg.2bpp
Binary file not shown.
Binary file added gfx/icon/egg.png
Binary file removed gfx/icon/equine.2bpp
Binary file not shown.
Binary file added gfx/icon/equine.png
Binary file removed gfx/icon/fighter.2bpp
Binary file not shown.
Binary file added gfx/icon/fighter.png
Binary file removed gfx/icon/fish.2bpp
Binary file not shown.
Binary file added gfx/icon/fish.png
Binary file removed gfx/icon/fox.2bpp
Binary file not shown.
Binary file added gfx/icon/fox.png
Binary file removed gfx/icon/geodude.2bpp
Binary file not shown.
Binary file added gfx/icon/geodude.png
Binary file removed gfx/icon/ghost.2bpp
Binary file not shown.
Binary file added gfx/icon/ghost.png
Binary file removed gfx/icon/gyarados.2bpp
Binary file not shown.
Binary file added gfx/icon/gyarados.png
Binary file removed gfx/icon/ho_oh.2bpp
Binary file not shown.
Binary file added gfx/icon/ho_oh.png
Binary file removed gfx/icon/humanshape.2bpp
Binary file not shown.
Binary file added gfx/icon/humanshape.png
1 change: 0 additions & 1 deletion gfx/icon/item.2bpp

This file was deleted.

Binary file added gfx/icon/item.png
Binary file removed gfx/icon/jellyfish.2bpp
Binary file not shown.
Binary file added gfx/icon/jellyfish.png
Binary file removed gfx/icon/jigglypuff.2bpp
Binary file not shown.
Binary file added gfx/icon/jigglypuff.png
Binary file removed gfx/icon/lapras.2bpp
Binary file not shown.
Binary file added gfx/icon/lapras.png
Binary file removed gfx/icon/lugia.2bpp
Binary file not shown.
Binary file added gfx/icon/lugia.png
1 change: 0 additions & 1 deletion gfx/icon/mail.2bpp

This file was deleted.

Binary file added gfx/icon/mail.png
Binary file removed gfx/icon/mail2.2bpp
Binary file not shown.
Binary file added gfx/icon/mail2.png
Binary file removed gfx/icon/monster.2bpp
Binary file not shown.
Binary file added gfx/icon/monster.png
Binary file removed gfx/icon/moth.2bpp
Binary file not shown.
Binary file added gfx/icon/moth.png
Binary file removed gfx/icon/oddish.2bpp
Binary file not shown.
Binary file added gfx/icon/oddish.png
Binary file removed gfx/icon/pikachu.2bpp
Binary file not shown.
Binary file added gfx/icon/pikachu.png
Binary file removed gfx/icon/poliwag.2bpp
Binary file not shown.
Binary file added gfx/icon/poliwag.png
Binary file removed gfx/icon/serpent.2bpp
Binary file not shown.
Binary file added gfx/icon/serpent.png
Binary file removed gfx/icon/shell.2bpp
Binary file not shown.
Binary file added gfx/icon/shell.png
2 changes: 0 additions & 2 deletions gfx/icon/slowpoke.2bpp

This file was deleted.

Binary file added gfx/icon/slowpoke.png
Binary file removed gfx/icon/snorlax.2bpp
Binary file not shown.
Binary file added gfx/icon/snorlax.png
Binary file removed gfx/icon/squirtle.2bpp
Binary file not shown.
Binary file added gfx/icon/squirtle.png
Binary file removed gfx/icon/staryu.2bpp
Binary file not shown.
Binary file added gfx/icon/staryu.png
Binary file removed gfx/icon/sudowoodo.2bpp
Binary file not shown.
Binary file added gfx/icon/sudowoodo.png
Binary file removed gfx/icon/unown.2bpp
Binary file not shown.
Binary file added gfx/icon/unown.png
Binary file removed gfx/icon/voltorb.2bpp
Binary file not shown.
Binary file added gfx/icon/voltorb.png
Binary file added gfx/intro/001.tilemap
Binary file not shown.
File renamed without changes.
Binary file added gfx/intro/002.tilemap
Binary file not shown.
File renamed without changes.
Binary file added gfx/intro/003.tilemap
Binary file not shown.
File renamed without changes.
Binary file added gfx/intro/004.tilemap
Binary file not shown.
File renamed without changes.
Binary file added gfx/intro/005.tilemap
Binary file not shown.
File renamed without changes.
Binary file added gfx/intro/006.tilemap
Binary file not shown.
File renamed without changes.
Binary file added gfx/intro/007.tilemap
Binary file not shown.
File renamed without changes.
Binary file added gfx/intro/008.tilemap
Binary file not shown.
File renamed without changes.
Binary file added gfx/intro/009.tilemap
Binary file not shown.
File renamed without changes.
Binary file added gfx/intro/010.tilemap
Binary file not shown.
File renamed without changes.
Binary file added gfx/intro/011.tilemap
Binary file not shown.
File renamed without changes.
Binary file added gfx/intro/012.tilemap
Binary file not shown.
File renamed without changes.
Binary file added gfx/intro/013.tilemap
Binary file not shown.
File renamed without changes.
Binary file added gfx/intro/014.tilemap
Binary file not shown.
File renamed without changes.
Binary file added gfx/intro/015.tilemap
Binary file not shown.
File renamed without changes.
Binary file added gfx/intro/017.tilemap
Binary file not shown.
File renamed without changes.
File renamed without changes.
Binary file added gfx/intro/background.png
File renamed without changes.
Binary file added gfx/intro/crystal_unowns.png
Binary file removed gfx/intro/gender_screen.2bpp
Binary file not shown.
Binary file added gfx/intro/gender_screen.png
Binary file removed gfx/intro/grass1.2bpp
Binary file not shown.
Binary file added gfx/intro/grass1.png
Binary file removed gfx/intro/grass2.2bpp
Binary file not shown.
Binary file added gfx/intro/grass2.png
Binary file removed gfx/intro/grass3.2bpp
Binary file not shown.
Binary file added gfx/intro/grass3.png
Binary file removed gfx/intro/grass4.2bpp
Binary file not shown.
Binary file added gfx/intro/grass4.png
File renamed without changes.
Binary file added gfx/intro/logo.png
File renamed without changes.
Binary file added gfx/intro/pichu_wooper.png
File renamed without changes.
Binary file added gfx/intro/pulse.png
File renamed without changes.
Binary file added gfx/intro/suicune_back.png
File renamed without changes.
Binary file added gfx/intro/suicune_close.png
File renamed without changes.
Binary file added gfx/intro/suicune_jump.png
File renamed without changes.
Binary file added gfx/intro/suicune_run.png
File renamed without changes.
Binary file added gfx/intro/unown_back.png
File renamed without changes.
Binary file added gfx/intro/unowns.png
54 changes: 15 additions & 39 deletions gfx/mail.asm
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ LoadEonMailGFX: ; b93d2
ld de, EonMailBorder1GFX
ld c, 1 * 8
call LoadMailGFX_Color2
ld de, EonMailBorder3GFX
ld de, SurfMailBorderGFX + 6 * 8
ld c, 1 * 8
call LoadMailGFX_Color2
ld de, MailEeveeGFX
Expand Down Expand Up @@ -329,13 +329,13 @@ LoadMorphMailGFX: ; b94d6
ld hl, VTiles2 tile $31
ld bc, 5 * 8
call MailGFX_GenerateMonochromeTilesColor2
ld de, MorphMailBorderGFX
ld de, MorphMailBorderCornerGFX + 3 * 8
ld c, 1 * 8
call LoadMailGFX_Color2
ld de, MorphMailBorderCorner1GFX
ld de, MorphMailBorderCornerGFX
ld c, 1 * 8
call LoadMailGFX_Color2
ld de, MorphMailBorderCorner2GFX
ld de, MorphMailBorderGFX
ld c, 1 * 8
call LoadMailGFX_Color2
ld de, EonMailBorder1GFX
Expand Down Expand Up @@ -418,16 +418,16 @@ LoadBlueSkyMailGFX: ; b9582
ld de, MailCloudGFX
ld c, 6 * 8
call LoadMailGFX_Color1
ld de, FlowerMailSenderUnderlineGFX
ld de, FlowerMailBorderGFX + 6 * 8
ld c, 1 * 8
call LoadMailGFX_Color1
ld de, MailCloudGFX
ld c, 1 * 8
call LoadMailGFX_Color1
ld de, MailCloud2GFX
ld de, MailCloudGFX + 2 * 8
ld c, 2 * 8
call LoadMailGFX_Color1
ld de, MailCloud3GFX
ld de, MailCloudGFX + 5 * 8
ld c, 1 * 8
call LoadMailGFX_Color1

Expand Down Expand Up @@ -497,10 +497,10 @@ LoadFlowerMailGFX: ; b963e
ld de, MailOddishGFX
ld c, 4 * 8
call LoadMailGFX_Color3
ld de, FlowerMailSenderUnderlineGFX
ld de, FlowerMailBorderGFX + 6 * 8
ld c, 1 * 8
call LoadMailGFX_Color2
ld de, FlowerMailLargeFlowerGFX
ld de, FlowerMailFlowerGFX
ld c, 4 * 8
call LoadMailGFX_Color1
ld c, 4 * 8
Expand Down Expand Up @@ -580,7 +580,7 @@ LoadMusicMailGFX: ; b9710
ld de, MusicMailBorderGFX
ld c, 4 * 8
call LoadMailGFX_Color2
ld de, MorphMailBorderCorner2GFX
ld de, MorphMailBorderGFX
ld c, 2 * 8
call LoadMailGFX_Color2
ld de, MailNatuGFX
Expand Down Expand Up @@ -628,10 +628,10 @@ LoadMirageMailGFX: ; b9776
ld de, MailMewGFX
ld c, 18 * 8
call LoadMailGFX_Color2
ld de, MirageMailTopDividerGFX
ld de, LiteBlueMailBorderGFX + 1 * 8
ld c, 1 * 8
call LoadMailGFX_Color1
ld de, MirageMailBottomDividerGFX
ld de, LiteBlueMailBorderGFX + 6 * 8
ld c, 1 * 8
call LoadMailGFX_Color1

Expand Down Expand Up @@ -947,7 +947,7 @@ INCBIN "gfx/mail/0b992e.1bpp"
PortraitMailSmallPokeballGFX: ; b9936
INCBIN "gfx/mail/0b9936.1bpp"

MorphMailBorderCorner2GFX: ; b993e
MorphMailBorderGFX: ; b993e
INCBIN "gfx/mail/0b993e.1bpp"

MusicMailSmallNoteGFX: ; b9946
Expand Down Expand Up @@ -1016,20 +1016,14 @@ INCBIN "gfx/mail/0b9c3e.1bpp"
LovelyMailLargeHeartGFX: ; b9c5e
INCBIN "gfx/mail/0b9c5e.1bpp"

MorphMailBorderCorner1GFX: ; b9c7e
MorphMailBorderCornerGFX: ; b9c7e
INCBIN "gfx/mail/0b9c7e.1bpp"

MorphMailBorderGFX: ; b9c96
INCBIN "gfx/mail/0b9c96.1bpp"

MailLargeCircleGFX: ; b9c9e
INCBIN "gfx/mail/0b9c9e.1bpp"

FlowerMailLargeFlowerGFX: ; b9cbe
FlowerMailFlowerGFX: ; b9cbe
INCBIN "gfx/mail/0b9cbe.1bpp"

FlowerMailSmallFlowerGFX: ; b9cde
; indirectly referenced
INCBIN "gfx/mail/0b9cde.1bpp"

MusicMailLargeNoteGFX: ; b9cfe
Expand All @@ -1038,33 +1032,15 @@ INCBIN "gfx/mail/0b9cfe.1bpp"
MailCloudGFX: ; b9d16
INCBIN "gfx/mail/0b9d16.1bpp"

MailCloud2GFX: ; b9d26
INCBIN "gfx/mail/0b9d26.1bpp"

MailCloud3GFX: ; b9d3e
INCBIN "gfx/mail/0b9d3e.1bpp"

SurfMailBorderGFX: ; b9d46
INCBIN "gfx/mail/0b9d46.1bpp"

EonMailBorder3GFX: ; b9d76
INCBIN "gfx/mail/0b9d76.1bpp"

FlowerMailBorderGFX: ; b9d86
INCBIN "gfx/mail/0b9d86.1bpp"

FlowerMailSenderUnderlineGFX: ; b9db6
INCBIN "gfx/mail/0b9db6.1bpp"

LiteBlueMailBorderGFX: ; b9dc6
INCBIN "gfx/mail/0b9dc6.1bpp"

MirageMailTopDividerGFX: ; b9dce
INCBIN "gfx/mail/0b9dce.1bpp"

MirageMailBottomDividerGFX: ; b9df6
INCBIN "gfx/mail/0b9df6.1bpp"

MusicMailBorderGFX: ; b9e06
INCBIN "gfx/mail/0b9e06.1bpp"

Expand Down
Binary file removed gfx/mail/0b9926.1bpp
Binary file not shown.
Binary file added gfx/mail/0b9926.png
Loading

0 comments on commit 080704e

Please sign in to comment.