INCLUDE "macros.asm"
INCLUDE "constants.asm"

SECTION "Gfx 1", ROMX

Fonts::

FullWidthFonts::
INCBIN "gfx/fonts/full_width/0_0_katakana.1bpp"
INCBIN "gfx/fonts/full_width/0_1_hiragana.1bpp"
INCBIN "gfx/fonts/full_width/0_2_digits_kanji1.1bpp"
INCBIN "gfx/fonts/full_width/1_kanji2.1bpp"
INCBIN "gfx/fonts/full_width/2_kanji3.1bpp"
INCBIN "gfx/fonts/full_width/3_kanji4.1bpp"
INCBIN "gfx/fonts/full_width/4.1bpp"

INCBIN "gfx/fonts/full_width/extra.1bpp"

HalfWidthFont::
INCBIN "gfx/fonts/half_width.1bpp"

Pals_6f0b0::
	rgb 31, 31, 31
	rgb 21, 21, 16
	rgb 10, 10,  8
	rgb  0,  0,  0

	rgb 31, 31, 31
	rgb 31, 14,  0
	rgb 26,  8,  0
	rgb 19,  0,  0

	rgb 31, 31, 31
	rgb  8, 20, 31
	rgb  0, 12, 31
	rgb  0,  0, 31

	rgb 31, 31, 31
	rgb  2, 27,  0
	rgb  0, 19,  6
	rgb  0, 10,  0

	rgb 31, 31, 30
	rgb 21, 21, 16
	rgb 10, 10,  8
	rgb  0,  0,  0

Pals_6f0d8::
	rgb 31, 31, 31
	rgb 30, 29,  0
	rgb 30,  3,  0
	rgb  0,  0,  0

	rgb 31, 31, 31
	rgb  0, 18,  0
	rgb 12, 11, 20
	rgb  0,  0,  0

	rgb 31, 31, 31
	rgb 22,  0, 22
	rgb 27,  7,  3
	rgb  0,  0,  0

SECTION "Gfx 1@7150", ROMX[$7150], BANK[$1b]

SymbolsFont::
INCBIN "gfx/fonts/symbols.2bpp"

SECTION "Card Gfx 1", ROMX

CardGraphics::

SECTION "Bank 4b", ROMX
INCLUDE "engine/bank4b.asm"

SECTION "Tilemaps 1", ROMX
INCLUDE "data/maps/tilemaps1.asm"

SECTION "Bank 4c", ROMX
INCLUDE "engine/bank4c.asm"

SECTION "Tilemaps 2", ROMX
INCLUDE "data/maps/tilemaps2.asm"

Frameset081::
	oamframe  0,  1,   0,   0
	oamreset

SECTION "Tilemaps 3", ROMX
INCLUDE "data/maps/tilemaps3.asm"

SECTION "Tilemaps 4", ROMX
INCLUDE "data/maps/tilemaps4.asm"

SECTION "Tilemaps 5", ROMX
INCLUDE "data/maps/tilemaps5.asm"

SECTION "Tilemaps 6", ROMX
INCLUDE "data/maps/tilemaps6.asm"

SECTION "Tilesets 1", ROMX

TCGIslandTilesetGfx::
	dw 179 ; length
	INCBIN "gfx/overworld_map/tcg_island.2bpp"

TCGIslandOAMGfx::
	dw 8 ; length
	INCBIN "gfx/overworld_map/tcg_oam.2bpp"

GRIslandOAMGfx::
	dw 27 ; length
	INCBIN "gfx/overworld_map/gr_oam.2bpp"

IshiharaVillaLibraryTileset::
	dw 52 ; length
	INCBIN "gfx/tilesets/ishihara_villa_library.2bpp"

OWCoinsFortGfx::
	dw 4 ; length
	INCBIN "gfx/overworld_sprites/coins_fort.2bpp"

OWCoinsCastleGfx::
	dw 2 ; length
	INCBIN "gfx/overworld_sprites/coins_castle.2bpp"

DuelSnowGfx::
	dw 1 ; length
	INCBIN "gfx/duel/anims/snow.2bpp"

SECTION "Tilesets 2", ROMX

GRIslandTilesetGfx::
	dw 214 ; length
	INCBIN "gfx/overworld_map/gr_island.2bpp"

MasonLabMainTileset::
	dw 148 ; length
	INCBIN "gfx/tilesets/mason_lab_main.2bpp"

MasonLabComputerRoomTileset::
	dw 134 ; length
	INCBIN "gfx/tilesets/mason_lab_computer_room.2bpp"

MasonLabTrainingRoomTileset::
	dw 97 ; length
	INCBIN "gfx/tilesets/mason_lab_training_room.2bpp"

IshiharaHouseTileset::
	dw 66 ; length
	INCBIN "gfx/tilesets/ishihara_house.2bpp"

LightningClubEntranceTileset::
	dw 82 ; length
	INCBIN "gfx/tilesets/lightning_club_entrance.2bpp"

LightningClubLobbyTileset::
	dw 138 ; length
	INCBIN "gfx/tilesets/lightning_club_lobby.2bpp"

PsychicClubEntranceTileset::
	dw 78 ; length
	INCBIN "gfx/tilesets/psychic_club_entrance.2bpp"

GrassFortEntranceTileset::
	dw 46 ; length
	INCBIN "gfx/tilesets/grass_fort_entrance.2bpp"

OWChestGfx::
	dw 12 ; length
	INCBIN "gfx/overworld_sprites/chest.2bpp"

OWCapturedAmyGfx::
	dw 3 ; length
	INCBIN "gfx/overworld_sprites/amy_captured.2bpp"

OWCapturedSaraGfx::
	dw 4 ; length
	INCBIN "gfx/overworld_sprites/sara_captured.2bpp"

Frameset085::
	oamframe  0,  1,   0,   0
	oamreset

SECTION "Tilesets 3", ROMX

LightningClubTileset::
	dw 214 ; length
	INCBIN "gfx/tilesets/lightning_club.2bpp"

PsychicClubLobbyTileset::
	dw 129 ; length
	INCBIN "gfx/tilesets/psychic_club_lobby.2bpp"

PsychicClubTileset::
	dw 193 ; length
	INCBIN "gfx/tilesets/psychic_club.2bpp"

RockClubEntranceTileset::
	dw 100 ; length
	INCBIN "gfx/tilesets/rock_club_entrance.2bpp"

RockClubLobbyTileset::
	dw 155 ; length
	INCBIN "gfx/tilesets/rock_club_lobby.2bpp"

RockClubTileset::
	dw 133 ; length
	INCBIN "gfx/tilesets/rock_club.2bpp"

FightingClubEntranceTileset::
	dw 73 ; length
	INCBIN "gfx/tilesets/fighting_club_entrance.2bpp"

OWPodDoorsGfx::
	dw 16 ; length
	INCBIN "gfx/overworld_sprites/pod_doors.2bpp"

OWPlatformGfx::
	dw 8 ; length
	INCBIN "gfx/overworld_sprites/platform.2bpp"

DuelPowderGfx::
	dw 1 ; length
	INCBIN "gfx/duel/anims/powder.2bpp"

Palette0D8::
	db 1 ; number of palettes

	rgb 28, 28, 24
	rgb 31, 31,  7
	rgb 31, 24,  6
	rgb 11,  3,  0

SECTION "Tilesets 4", ROMX

FightingClubLobbyTileset::
	dw 146 ; length
	INCBIN "gfx/tilesets/fighting_club_lobby.2bpp"

FightingClubTileset::
	dw 119 ; length
	INCBIN "gfx/tilesets/fighting_club.2bpp"

GrassClubEntranceTileset::
	dw 78 ; length
	INCBIN "gfx/tilesets/grass_club_entrance.2bpp"

GrassClubLobbyTileset::
	dw 137 ; length
	INCBIN "gfx/tilesets/grass_club_lobby.2bpp"

GrassClubTileset::
	dw 163 ; length
	INCBIN "gfx/tilesets/grass_club.2bpp"

ScienceClubEntranceTileset::
	dw 91 ; length
	INCBIN "gfx/tilesets/science_club_entrance.2bpp"

ScienceClubLobbyTileset::
	dw 137 ; length
	INCBIN "gfx/tilesets/science_club_lobby.2bpp"

WaterClubEntranceTileset::
	dw 106 ; length
	INCBIN "gfx/tilesets/water_club_entrance.2bpp"

WaterFortEntranceTileset::
	dw 44 ; length
	INCBIN "gfx/tilesets/water_fort_entrance.2bpp"

DuelPetalDanceGfx::
	dw 1 ; length
	INCBIN "gfx/duel/anims/petal.2bpp"

Palette0D9::
	db 1 ; number of palettes

	rgb 28, 28, 24
	rgb 31, 31, 31
	rgb 28, 20, 12
	rgb  0,  0,  0

SECTION "Tilesets 5", ROMX

ScienceClubTileset::
	dw 169 ; length
	INCBIN "gfx/tilesets/science_club.2bpp"

WaterClubLobbyTileset::
	dw 137 ; length
	INCBIN "gfx/tilesets/water_club_lobby.2bpp"

WaterClubTileset::
	dw 171 ; length
	INCBIN "gfx/tilesets/water_club.2bpp"

FireClubEntranceTileset::
	dw 98 ; length
	INCBIN "gfx/tilesets/fire_club_entrance.2bpp"

FireClubLobbyTileset::
	dw 143 ; length
	INCBIN "gfx/tilesets/fire_club_lobby.2bpp"

FireClubTileset::
	dw 222 ; length
	INCBIN "gfx/tilesets/fire_club.2bpp"

PokemonDomeEntranceTileset::
	dw 67 ; length
	INCBIN "gfx/tilesets/pokemon_dome_entrance.2bpp"

OWFireGfx::
	dw 13 ; length
	INCBIN "gfx/overworld_sprites/fire.2bpp"

DuelConfusionStarGfx::
	dw 2 ; length
	INCBIN "gfx/duel/anims/confusion_star.2bpp"

Palette0DE::
	db 1 ; number of palettes

	rgb  0,  0,  0
	rgb 31, 31, 31
	rgb 15, 15, 15
	rgb  0,  0,  0

SECTION "Tilesets 6", ROMX

TCGAirportEntranceTileset::
	dw 87 ; length
	INCBIN "gfx/tilesets/tcg_airport_entrance.2bpp"

TCGAirportTileset::
	dw 208 ; length
	INCBIN "gfx/tilesets/tcg_airport.2bpp"

TCGChallengeHallEntranceTileset::
	dw 91 ; length
	INCBIN "gfx/tilesets/tcg_challenge_hall_entrance.2bpp"

TCGChallengeHallLobbyTileset::
	dw 146 ; length
	INCBIN "gfx/tilesets/tcg_challenge_hall_lobby.2bpp"

TCGChallengeHallTileset::
	dw 177 ; length
	INCBIN "gfx/tilesets/tcg_challenge_hall.2bpp"

PokemonDomeTileset::
	dw 99 ; length
	INCBIN "gfx/tilesets/pokemon_dome.2bpp"

OverheadIslandsGfx::
	dw 70 ; length
	INCBIN "gfx/overworld_map/overhead_islands.2bpp"

GRAirportEntranceTileset::
	dw 87 ; length
	INCBIN "gfx/tilesets/gr_airport_entrance.2bpp"

FireFortEntranceTileset::
	dw 50 ; length
	INCBIN "gfx/tilesets/fire_fort_entrance.2bpp"

OWCapturedAmandaGfx::
	dw 4 ; length
	INCBIN "gfx/overworld_sprites/amanda_captured.2bpp"

DuelSparkGfx::
	dw 3 ; length
	INCBIN "gfx/duel/anims/spark.2bpp"

Palette0E4::
	db 1 ; number of palettes

	rgb 28, 28, 24
	rgb 30, 28, 13
	rgb 31, 17,  8
	rgb 12,  0,  0

SECTION "Tilesets 7", ROMX

GRAirportTileset::
	dw 208 ; length
	INCBIN "gfx/tilesets/gr_airport.2bpp"

IshiharaVillaMainTileset::
	dw 72 ; length
	INCBIN "gfx/tilesets/ishihara_villa_main.2bpp"

GameCenterEntranceTileset::
	dw 74 ; length
	INCBIN "gfx/tilesets/game_center_entrance.2bpp"

GameCenterLobbyTileset::
	dw 92 ; length
	INCBIN "gfx/tilesets/game_center_lobby.2bpp"

GameCenter1Tileset::
	dw 175 ; length
	INCBIN "gfx/tilesets/game_center1.2bpp"

GameCenter2Tileset::
	dw 135 ; length
	INCBIN "gfx/tilesets/game_center2.2bpp"

CardDungeonPawnTileset::
	dw 70 ; length
	INCBIN "gfx/tilesets/card_dungeon_pawn.2bpp"

CardDungeonKnightTileset::
	dw 79 ; length
	INCBIN "gfx/tilesets/card_dungeon_knight.2bpp"

CardDungeonBishopTileset::
	dw 78 ; length
	INCBIN "gfx/tilesets/card_dungeon_bishop.2bpp"

FightingFortMaze2Tileset::
	dw 34 ; length
	INCBIN "gfx/tilesets/fighting_fort_maze2.2bpp"

DuelPoisonGfx::
	dw 4 ; length
	INCBIN "gfx/duel/anims/poison.2bpp"

SmallEnvelopeGfx::
	dw 1 ; length
	INCBIN "gfx/minicom/envelope.2bpp"

Frameset086::
	oamframe  4,  1,   0,   0
	oamreset

SECTION "Tilesets 8", ROMX

CardDungeonRookTileset::
	dw 76 ; length
	INCBIN "gfx/tilesets/card_dungeon_rook.2bpp"

CardDungeonQueenTileset::
	dw 112 ; length
	INCBIN "gfx/tilesets/card_dungeon_queen.2bpp"

SealedFortEntranceTileset::
	dw 72 ; length
	INCBIN "gfx/tilesets/sealed_fort_entrance.2bpp"

SealedFortTileset::
	dw 159 ; length
	INCBIN "gfx/tilesets/sealed_fort.2bpp"

GRChallengeHallEntranceTileset::
	dw 84 ; length
	INCBIN "gfx/tilesets/gr_challenge_hall_entrance.2bpp"

GRChallengeHallLobbyTileset::
	dw 163 ; length
	INCBIN "gfx/tilesets/gr_challenge_hall_lobby.2bpp"

GRChallengeHall1Tileset::
	dw 182 ; length
	INCBIN "gfx/tilesets/gr_challenge_hall1.2bpp"

GrassFortLobbyTileset::
	dw 85 ; length
	INCBIN "gfx/tilesets/grass_fort_lobby.2bpp"

GrassFortMiyukiTileset::
	dw 58 ; length
	INCBIN "gfx/tilesets/grass_fort_miyuki.2bpp"

OWMarkGfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/mark.2bpp"

OWClerkGfx::
	dw 8 ; length
	INCBIN "gfx/overworld_sprites/clerk.2bpp"

DuelWaterDrop::
	dw 3 ; length
	INCBIN "gfx/duel/anims/water_drop.2bpp"

Frameset0BE::
	oamframe  0, 16,   0,   0
	oamreset

SECTION "Tilesets 9", ROMX

GrassFortMidoriTileset::
	dw 140 ; length
	INCBIN "gfx/tilesets/grass_fort_midori.2bpp"

GrassFortYutaTileset::
	dw 90 ; length
	INCBIN "gfx/tilesets/grass_fort_yuta.2bpp"

GrassFortMorinoTileset::
	dw 102 ; length
	INCBIN "gfx/tilesets/grass_fort_morino.2bpp"

LightningFortEntranceTileset::
	dw 61 ; length
	INCBIN "gfx/tilesets/lightning_fort_entrance.2bpp"

LightningFortLobbyTileset::
	dw 105 ; length
	INCBIN "gfx/tilesets/lightning_fort_lobby.2bpp"

LightningFortRennaTileset::
	dw 72 ; length
	INCBIN "gfx/tilesets/lightning_fort_renna.2bpp"

LightningFortIchikawaTileset::
	dw 168 ; length
	INCBIN "gfx/tilesets/lightning_fort_ichikawa.2bpp"

LightningFortCatherineTileset::
	dw 184 ; length
	INCBIN "gfx/tilesets/lightning_fort_catherine.2bpp"

FireFortLobbyTileset::
	dw 84 ; length
	INCBIN "gfx/tilesets/fire_fort_lobby.2bpp"

OWGRClerkGfx::
	dw 8 ; length
	INCBIN "gfx/overworld_sprites/gr_clerk.2bpp"

DuelParalysisGfx::
	dw 6 ; length
	INCBIN "gfx/duel/anims/paralysis.2bpp"

DuelHealMovesGfx::
	dw 2 ; length
	INCBIN "gfx/duel/anims/heal.2bpp"

Frameset103::
	oamframe  0,  1,   0,   0
	oamreset

SECTION "Tilesets 10", ROMX

FireFortJesTileset::
	dw 66 ; length
	INCBIN "gfx/tilesets/fire_fort_jes.2bpp"

FireFortYukiTileset::
	dw 80 ; length
	INCBIN "gfx/tilesets/fire_fort_yuki.2bpp"

FireFortShokoTileset::
	dw 72 ; length
	INCBIN "gfx/tilesets/fire_fort_shoko.2bpp"

FireFortHideroTileset::
	dw 155 ; length
	INCBIN "gfx/tilesets/fire_fort_hidero.2bpp"

WaterFortLobbyTileset::
	dw 93 ; length
	INCBIN "gfx/tilesets/water_fort_lobby.2bpp"

WaterFortMiyajimaTileset::
	dw 59 ; length
	INCBIN "gfx/tilesets/water_fort_miyajima.2bpp"

WaterFortSentaTileset::
	dw 113 ; length
	INCBIN "gfx/tilesets/water_fort_senta.2bpp"

WaterFortAiraTileset::
	dw 79 ; length
	INCBIN "gfx/tilesets/water_fort_aira.2bpp"

WaterFortKanokoTileset::
	dw 116 ; length
	INCBIN "gfx/tilesets/water_fort_kanoko.2bpp"

FightingFortEntranceTileset::
	dw 76 ; length
	INCBIN "gfx/tilesets/fighting_fort_entrance.2bpp"

FightingFortMaze1Tileset::
	dw 57 ; length
	INCBIN "gfx/tilesets/fighting_fort_maze1.2bpp"

FightingFortMaze4Tileset::
	dw 56 ; length
	INCBIN "gfx/tilesets/fighting_fort_maze4.2bpp"

Frameset104::
	oamframe  1,  1,   0,   0
	oamreset

SECTION "Tilesets 11", ROMX

FightingFortTileset::
	dw 118 ; length
	INCBIN "gfx/tilesets/fighting_fort.2bpp"

FightingFortMaze3Tileset::
	dw 57 ; length
	INCBIN "gfx/tilesets/fighting_fort_maze3.2bpp"

FightingFortMaze5Tileset::
	dw 50 ; length
	INCBIN "gfx/tilesets/fighting_fort_maze5.2bpp"

FightingFortMaze6Tileset::
	dw 42 ; length
	INCBIN "gfx/tilesets/fighting_fort_maze6.2bpp"

FightingFortGodaTileset::
	dw 131 ; length
	INCBIN "gfx/tilesets/fighting_fort_goda.2bpp"

FightingFortGraceTileset::
	dw 81 ; length
	INCBIN "gfx/tilesets/fighting_fort_grace.2bpp"

PsychicStrongholdEntranceTileset::
	dw 103 ; length
	INCBIN "gfx/tilesets/psychic_stronghold_entrance.2bpp"

PsychicStrongholdLobbyTileset::
	dw 210 ; length
	INCBIN "gfx/tilesets/psychic_stronghold_lobby.2bpp"

PsychicStrongholdTileset::
	dw 210 ; length
	INCBIN "gfx/tilesets/psychic_stronghold.2bpp"

OWMintGfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/mint.2bpp"

Palette0E7::
	db 1 ; number of palettes

	rgb  0,  0,  0
	rgb  0, 31, 31
	rgb  0, 15, 31
	rgb  0,  0, 21

SECTION "Tilesets 12", ROMX

PsychicStrongholdMamiTileset::
	dw 207 ; length
	INCBIN "gfx/tilesets/psychic_stronghold_mami.2bpp"

ColorlessAltarEntranceTileset::
	dw 73 ; length
	INCBIN "gfx/tilesets/colorless_altar_entrance.2bpp"

ColorlessAltarTileset::
	dw 143 ; length
	INCBIN "gfx/tilesets/colorless_altar.2bpp"

GRCastleEntranceTileset::
	dw 121 ; length
	INCBIN "gfx/tilesets/gr_castle_entrance.2bpp"

GRCastleTileset::
	dw 176 ; length
	INCBIN "gfx/tilesets/gr_castle.2bpp"

GRCastleBiruritchiTileset::
	dw 176 ; length
	INCBIN "gfx/tilesets/gr_castle_biruritchi.2bpp"

FightingFortMaze7Tileset::
	dw 52 ; length
	INCBIN "gfx/tilesets/fighting_fort_maze7.2bpp"

FightingFortMaze8Tileset::
	dw 60 ; length
	INCBIN "gfx/tilesets/fighting_fort_maze8.2bpp"

OWWarpSparklesGfx::
	dw 12 ; length
	INCBIN "gfx/overworld_sprites/warp_sparkles.2bpp"

DuelDrainMovesGfx::
	dw 2 ; length
	INCBIN "gfx/duel/anims/drain.2bpp"

Palette0EA::
	db 1 ; number of palettes

	rgb 28, 28, 24
	rgb 31, 31, 31
	rgb  7, 26, 31
	rgb  0, 15, 31

SECTION "Tilesets 13", ROMX

PokemonDomeBackTileset::
	dw 203 ; length
	INCBIN "gfx/tilesets/pokemon_dome_back.2bpp"

FightingFortMaze9Tileset::
	dw 54 ; length
	INCBIN "gfx/tilesets/fighting_fort_maze9.2bpp"

FightingFortMaze10Tileset::
	dw 39 ; length
	INCBIN "gfx/tilesets/fighting_fort_maze10.2bpp"

FightingFortMaze11Tileset::
	dw 52 ; length
	INCBIN "gfx/tilesets/fighting_fort_maze11.2bpp"

FightingFortMaze12Tileset::
	dw 56 ; length
	INCBIN "gfx/tilesets/fighting_fort_maze12.2bpp"

FightingFortMaze13Tileset::
	dw 52 ; length
	INCBIN "gfx/tilesets/fighting_fort_maze13.2bpp"

FightingFortMaze14Tileset::
	dw 60 ; length
	INCBIN "gfx/tilesets/fighting_fort_maze14.2bpp"

FightingFortMaze15Tileset::
	dw 38 ; length
	INCBIN "gfx/tilesets/fighting_fort_maze15.2bpp"

FightingFortMaze16Tileset::
	dw 56 ; length
	INCBIN "gfx/tilesets/fighting_fort_maze16.2bpp"

FightingFortMaze17Tileset::
	dw 61 ; length
	INCBIN "gfx/tilesets/fighting_fort_maze17.2bpp"

FightingFortMaze18Tileset::
	dw 54 ; length
	INCBIN "gfx/tilesets/fighting_fort_maze18.2bpp"

FightingFortMaze19Tileset::
	dw 32 ; length
	INCBIN "gfx/tilesets/fighting_fort_maze19.2bpp"

FightingFortMaze20Tileset::
	dw 38 ; length
	INCBIN "gfx/tilesets/fighting_fort_maze20.2bpp"

FightingFortMaze21Tileset::
	dw 48 ; length
	INCBIN "gfx/tilesets/fighting_fort_maze21.2bpp"

FightingFortMaze22Tileset::
	dw 34 ; length
	INCBIN "gfx/tilesets/fighting_fort_maze22.2bpp"

FightingFortBasementTileset::
	dw 68 ; length
	INCBIN "gfx/tilesets/fighting_fort_basement.2bpp"

MarkPortraitGfx::
	dw 36 ; length
	INCBIN "gfx/duelists/mark.2bpp"

MintPortraitGfx::
	dw 36 ; length
	INCBIN "gfx/duelists/mint.2bpp"

DuelConfuseRayGfx::
	dw 4 ; length
	INCBIN "gfx/duel/anims/confuse_ray.2bpp"

Palette0F1::
	db 1 ; number of palettes

	rgb  0,  0,  0
	rgb 31, 31, 31
	rgb 28, 20, 12
	rgb  0,  0,  0

SECTION "Tilesets 14", ROMX

GRChallengeHall2Tileset::
	dw 175 ; length
	INCBIN "gfx/tilesets/gr_challenge_hall2.2bpp"

MarkLinkPortraitGfx::
	dw 36 ; length
	INCBIN "gfx/duelists/mark_link.2bpp"

MintLinkPortraitGfx::
	dw 36 ; length
	INCBIN "gfx/duelists/mint_link.2bpp"

RonaldPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/ronald.2bpp"

SamPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/sam.2bpp"

AaronPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/aaron.2bpp"

IshiharaPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/ishihara.2bpp"

ImakuniBlackPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/imakuni_black.2bpp"

ImakuniRedPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/imakuni_red.2bpp"

IsaacPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/isaac.2bpp"

OWGRBlimpGfx::
	dw 12 ; length
	INCBIN "gfx/overworld_map/gr_blimp.2bpp"

DuelWhirlpoolGfx::
	dw 7 ; length
	INCBIN "gfx/duel/anims/whirlpool.2bpp"

Frameset105::
	oamframe  2,  1,   0,   0
	oamreset

SECTION "Tilesets 15", ROMX

JenniferPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/jennifer.2bpp"

NicholasPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/nicholas.2bpp"

BrandonPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/brandon.2bpp"

MurrayPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/murray.2bpp"

StephaniePortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/stephanie.2bpp"

DanielPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/daniel.2bpp"

RobertPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/robert.2bpp"

GenePortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/gene.2bpp"

MatthewPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/matthew.2bpp"

OWDrMasonGfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/dr_mason.2bpp"

OWRonaldGfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/ronald.2bpp"

DuelGlowGfx::
	dw 9 ; length
	INCBIN "gfx/duel/anims/glow.2bpp"

Palette05F::
	db 2 ; number of palettes

	rgb 31, 31, 31
	rgb 19, 18, 18
	rgb 12, 12, 11
	rgb  0,  0,  0

	rgb 19, 18, 18
	rgb 12, 12, 11
	rgb  7,  7,  6
	rgb  0,  0,  0

OWAnimation10::
	db  1 ; length

	; durations
	db  0

	; data
	ow_anim $45, 1, OW_FRAMES_0C8

SECTION "Tilesets 16", ROMX

RyanPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/ryan.2bpp"

AndrewPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/andrew.2bpp"

MitchPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/mitch.2bpp"

MichaelPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/michael.2bpp"

ChrisPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/chris.2bpp"

JessicaPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/jessica.2bpp"

NikkiPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/nikki.2bpp"

BrittanyPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/brittany.2bpp"

KristinPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/kristin.2bpp"

OWIshiharaGfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/ishihara.2bpp"

OWImakuniBlackGfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/imakuni_black.2bpp"

DuelSleepGfx::
	dw 8 ; length
	INCBIN "gfx/duel/anims/sleep.2bpp"

Tileset1D8::
	dw 2 ; length
	INCBIN "gfx/tileset1D8.2bpp"

SECTION "Tilesets 17", ROMX

HeatherPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/heather.2bpp"

RickPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/rick.2bpp"

JosephPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/joseph.2bpp"

DavidPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/david.2bpp"

ErikPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/erik.2bpp"

AmyPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/amy.2bpp"

JoshuaPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/joshua.2bpp"

SaraPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/sara.2bpp"

AmandaPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/amanda.2bpp"

OWImakuniRedGfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/imakuni_red.2bpp"

OWIsaacGfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/isaac.2bpp"

DuelHitGfx::
	dw 9 ; length
	INCBIN "gfx/duel/anims/hit.2bpp"

Palette0DB::
	db 2 ; number of palettes

	rgb  0,  0,  0
	rgb 31, 31,  0
	rgb 31, 13,  0
	rgb 11,  4,  0

	rgb  0,  0,  0
	rgb 24, 31, 31
	rgb  0, 14, 26
	rgb  0,  4,  4

SECTION "Tilesets 18", ROMX

KenPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/ken.2bpp"

JohnPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/john.2bpp"

AdamPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/adam.2bpp"

JonathanPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/jonathan.2bpp"

CourtneyPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/courtney.2bpp"

StevePortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/steve.2bpp"

JackPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/jack.2bpp"

RodPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/rod.2bpp"

EijiPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/eiji.2bpp"

OWMurrayGfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/murray.2bpp"

OWGeneGfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/gene.2bpp"

DuelThunderGfx::
	dw 10 ; length
	INCBIN "gfx/duel/anims/thunder.2bpp"

Frameset106::
	oamframe  3,  1,   0,   0
	oamreset

SECTION "Tilesets 19", ROMX

MagicianPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/magician.2bpp"

YuiPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/yui.2bpp"

ToshironPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/toshiron.2bpp"

PierrotPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/pierrot.2bpp"

AnnaPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/anna.2bpp"

DeePortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/dee.2bpp"

MasqueradePortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/masquerade.2bpp"

PawnPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/pawn.2bpp"

KnightPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/knight.2bpp"

OWMitchGfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/mitch.2bpp"

OWNikkiGfx::
	dw 21 ; length
	INCBIN "gfx/overworld_sprites/nikki.2bpp"

DuelStretchKickGfx::
	dw 8 ; length
	INCBIN "gfx/duel/anims/stretch_kick.2bpp"

Palette0DD::
	db 2 ; number of palettes

	rgb  0,  0,  0
	rgb 31, 23, 23
	rgb 31,  6,  7
	rgb  0,  0,  0

	rgb  0,  0,  0
	rgb 31, 23, 23
	rgb 31, 27, 27
	rgb 31, 31, 31

SECTION "Tilesets 20", ROMX

BishopPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/bishop.2bpp"

RookPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/rook.2bpp"

QueenPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/queen.2bpp"

GR1PortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/gr_1.2bpp"

GR2PortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/gr_2.2bpp"

GR3PortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/gr_3.2bpp"

GR4PortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/gr_4.2bpp"

MidoriPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/midori.2bpp"

YutaPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/yuta.2bpp"

OWRickGfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/rick.2bpp"

OWAmyGfx::
	dw 27 ; length
	INCBIN "gfx/overworld_sprites/amy.2bpp"

DuelDevolutionBeamGfx::
	dw 3 ; length
	INCBIN "gfx/duel/anims/small_glow.2bpp"

Frameset107::
	oamframe  0,  1,   0,   0
	oamreset

SECTION "Tilesets 21", ROMX

MiyukiPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/miyuki.2bpp"

MorinoPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/morino.2bpp"

RennaPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/renna.2bpp"

IchikawaPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/ichikawa.2bpp"

CatherinePortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/catherine.2bpp"

TapPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/tap.2bpp"

JesPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/jes.2bpp"

YukiPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/yuki.2bpp"

ShokoPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/shoko.2bpp"

OWAmyCopyGfx::
	dw 27 ; length
	INCBIN "gfx/overworld_sprites/amy_copy.2bpp"

OWSaraGfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/sara.2bpp"

DuelElectricWaveGfx::
	dw 3 ; length
	INCBIN "gfx/duel/anims/electric_wave.2bpp"

Frameset108::
	oamframe  1,  1,   0,   0
	oamreset

SECTION "Tilesets 22", ROMX

HideroPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/hidero.2bpp"

MiyajimaPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/miyajima.2bpp"

SentaPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/senta.2bpp"

AiraPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/aira.2bpp"

KanokoPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/kanoko.2bpp"

GodaPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/goda.2bpp"

GracePortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/grace.2bpp"

KamiyaPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/kamiya.2bpp"

MiwaPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/miwa.2bpp"

OWAmandaGfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/amanda.2bpp"

OWKenGfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/ken.2bpp"

DuelBeamMovesGfx::
	dw 10 ; length
	INCBIN "gfx/duel/anims/beam.2bpp"

Frameset109::
	oamframe  2,  1,   0,   0
	oamreset

SECTION "Tilesets 23", ROMX

KevinPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/kevin.2bpp"

YosukePortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/yosuke.2bpp"

RyokoPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/ryoko.2bpp"

MamiPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/mami.2bpp"

NishijimaPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/nishijima.2bpp"

IshiiPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/ishii.2bpp"

SamejimaPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/samejima.2bpp"

KanzakiPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/kanzaki.2bpp"

RuiPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/rui.2bpp"

OWCourtneyGfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/courtney.2bpp"

OWSteveGfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/steve.2bpp"

DuelNeedleMovesGfx::
	dw 8 ; length
	INCBIN "gfx/duel/anims/needles.2bpp"

Palette03B::
	db 4 ; number of palettes

	rgb  6, 25,  5
	rgb  0, 12,  0
	rgb 26, 31, 31
	rgb  0,  0,  2

	rgb  0, 20,  0
	rgb  0, 12,  0
	rgb 19, 31, 31
	rgb  0,  0,  2

	rgb  0, 20,  0
	rgb  0, 12,  0
	rgb 11, 29, 29
	rgb  0,  0,  2

	rgb  0, 20,  0
	rgb  0, 12,  0
	rgb  7, 23, 25
	rgb  0,  0,  2

SECTION "Tilesets 24", ROMX

BiruritchiPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/biruritchi.2bpp"

GRXPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/gr_x.2bpp"

TobichanPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/tobichan.2bpp"

DrMasonPortraitGfx::
	dw 108 ; length
	INCBIN "gfx/duelists/dr_mason.2bpp"

OWJackGfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/jack.2bpp"

OWRodGfx::
	dw 23 ; length
	INCBIN "gfx/overworld_sprites/rod.2bpp"

OWEijiGfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/eiji.2bpp"

OWMagicianGfx::
	dw 28 ; length
	INCBIN "gfx/overworld_sprites/magician.2bpp"

OWToshironGfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/toshiron.2bpp"

OWPierrotGfx::
	dw 23 ; length
	INCBIN "gfx/overworld_sprites/pierrot.2bpp"

OWAnnaGfx::
	dw 21 ; length
	INCBIN "gfx/overworld_sprites/anna.2bpp"

OWDeeGfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/dee.2bpp"

OWMasqueradeGfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/masquerade.2bpp"

OWPawnGfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/pawn.2bpp"

OWKnightGfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/knight.2bpp"

OWBishopGfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/bishop.2bpp"

OWRookGfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/rook.2bpp"

OWQueenGfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/queen.2bpp"

OWGR1Gfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/gr_1.2bpp"

OWGR2Gfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/gr_2.2bpp"

OWGR3Gfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/gr_3.2bpp"

OWGR4Gfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/gr_4.2bpp"

OWGR5Gfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/gr_5.2bpp"

OWMidoriGfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/midori.2bpp"

OWMorinoGfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/morino.2bpp"

OWRennaGfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/renna.2bpp"

OWIchikawaGfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/ichikawa.2bpp"

OWCatherineGfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/catherine.2bpp"

OWJesGfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/jes.2bpp"

OWYukiGfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/yuki.2bpp"

OWShokoGfx::
	dw 40 ; length
	INCBIN "gfx/overworld_sprites/shoko.2bpp"

DuelEmberGfx::
	dw 13 ; length
	INCBIN "gfx/duel/anims/ember.2bpp"

SECTION "Tilesets 25", ROMX

OWHideroGfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/hidero.2bpp"

OWAiraGfx::
	dw 21 ; length
	INCBIN "gfx/overworld_sprites/aira.2bpp"

OWKanokoGfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/kanoko.2bpp"

OWGodaGfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/goda.2bpp"

OWGraceGfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/grace.2bpp"

OWKamiyaGfx::
	dw 24 ; length
	INCBIN "gfx/overworld_sprites/kamiya.2bpp"

OWMiwaGfx::
	dw 25 ; length
	INCBIN "gfx/overworld_sprites/miwa.2bpp"

OWKevinGfx::
	dw 25 ; length
	INCBIN "gfx/overworld_sprites/kevin.2bpp"

OWYosukeGfx::
	dw 21 ; length
	INCBIN "gfx/overworld_sprites/yosuke.2bpp"

OWRyokoGfx::
	dw 27 ; length
	INCBIN "gfx/overworld_sprites/ryoko.2bpp"

OWMamiGfx::
	dw 21 ; length
	INCBIN "gfx/overworld_sprites/mami.2bpp"

OWNishijimaGfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/nishijima.2bpp"

OWIshiiGfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/ishii.2bpp"

OWSamejimaGfx::
	dw 21 ; length
	INCBIN "gfx/overworld_sprites/samejima.2bpp"

OWKanzakiGfx::
	dw 34 ; length
	INCBIN "gfx/overworld_sprites/kanzaki.2bpp"

OWRuiGfx::
	dw 38 ; length
	INCBIN "gfx/overworld_sprites/rui.2bpp"

OWBiruritchiGfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/biruritchi.2bpp"

OWGRXGfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/gr_x.2bpp"

OWTobichanGfx::
	dw 23 ; length
	INCBIN "gfx/overworld_sprites/tobichan.2bpp"

OWYoungsterGfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/youngster.2bpp"

OWLadGfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/lad.2bpp"

OWSpecsGfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/specs.2bpp"

OWButchGfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/butch.2bpp"

OWManiaGfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/mania.2bpp"

OWJoshuaGfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/joshua.2bpp"

OWHoodGfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/hood.2bpp"

OWTechGfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/tech.2bpp"

OWChapGfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/chap.2bpp"

OWManGfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/man.2bpp"

OWPappyGfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/pappy.2bpp"

OWFixerGfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/fixer.2bpp"

OWGRLadGfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/gr_lad.2bpp"

OWGRChapGfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/gr_chap.2bpp"

OWMiyajimaGfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/miyajima.2bpp"

OWGRPappyGfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/gr_pappy.2bpp"

OWDealerBoyGfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/dealer_boy.2bpp"

OWMonocleGfx::
	dw 30 ; length
	INCBIN "gfx/overworld_sprites/monocle.2bpp"

OWGirlGfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/girl.2bpp"

OWLass1Gfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/lass1.2bpp"

OWLass2Gfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/lass2.2bpp"

OWLass3Gfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/lass3.2bpp"

OWSwimmerGfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/swimmer.2bpp"

OWGalGfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/gal.2bpp"

OWWomanGfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/woman.2bpp"

OWGrannyGfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/granny.2bpp"

OWGRStaffGfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/gr_staff.2bpp"

OWGRLassGfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/gr_lass.2bpp"

DuelSmokeMovesGfx::
	dw 7 ; length
	INCBIN "gfx/duel/anims/gas.2bpp"

Palette0FD::
	db 1 ; number of palettes

	rgb 16,  0,  0
	rgb 26, 29, 31
	rgb 13, 16, 28
	rgb  6,  7,  0

SECTION "Tilesets 26", ROMX

OWGRGalGfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/gr_gal.2bpp"

OWGRWomanGfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/gr_woman.2bpp"

OWGRGrannyGfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/gr_granny.2bpp"

OWChipGirlGfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/chip_girl.2bpp"

OWDealerGirlGfx::
	dw 20 ; length
	INCBIN "gfx/overworld_sprites/dealer_girl.2bpp"

OWTractorBeamGfx::
	dw 37 ; length
	INCBIN "gfx/overworld_map/tractor_beam.2bpp"

DuelDamageGfx::
	dw 25 ; length
	INCBIN "gfx/duel/anims/damage.2bpp"

DuelLightningGfx::
	dw 17 ; length
	INCBIN "gfx/duel/anims/lightning.2bpp"

DuelBigLightningGfx::
	dw 46 ; length
	INCBIN "gfx/duel/anims/big_lightning.2bpp"

DuelFireSpinGfx::
	dw 28 ; length
	INCBIN "gfx/duel/anims/fire_spin.2bpp"

DuelFireBirdGfx::
	dw 76 ; length
	INCBIN "gfx/duel/anims/fire_bird.2bpp"

DuelWaterGunGfx::
	dw 27 ; length
	INCBIN "gfx/duel/anims/water_gun.2bpp"

DuelHydroPumpGfx::
	dw 12 ; length
	INCBIN "gfx/duel/anims/hydro_pump.2bpp"

DuelPsychicGfx::
	dw 36 ; length
	INCBIN "gfx/duel/anims/psychic.2bpp"

DuelEvilEyesGfx::
	dw 32 ; length
	INCBIN "gfx/duel/anims/evil_eyes.2bpp"

DuelHyperBeamGfx::
	dw 37 ; length
	INCBIN "gfx/duel/anims/hyper_beam.2bpp"

DuelRockMovesGfx::
	dw 24 ; length
	INCBIN "gfx/duel/anims/rock.2bpp"

DuelPunchMovesGfx::
	dw 27 ; length
	INCBIN "gfx/duel/anims/punch.2bpp"

DuelSlashMovesGfx::
	dw 13 ; length
	INCBIN "gfx/duel/anims/slash.2bpp"

DuelVineWhipGfx::
	dw 34 ; length
	INCBIN "gfx/duel/anims/vine_whip.2bpp"

DuelSonicBoomGfx::
	dw 12 ; length
	INCBIN "gfx/duel/anims/sonicboom.2bpp"

DuelHornDrillGfx::
	dw 37 ; length
	INCBIN "gfx/duel/anims/horn_drill.2bpp"

DuelPotSmashGfx::
	dw 34 ; length
	INCBIN "gfx/duel/anims/pot_smash.2bpp"

DuelBoneGfx::
	dw 12 ; length
	INCBIN "gfx/duel/anims/bone.2bpp"

DuelSeismicTossGfx::
	dw 76 ; length
	INCBIN "gfx/duel/anims/seismic_toss.2bpp"

DuelGooGfx::
	dw 26 ; length
	INCBIN "gfx/duel/anims/goo.2bpp"

DuelBubbleGfx::
	dw 10 ; length
	INCBIN "gfx/duel/anims/bubble.2bpp"

DuelStringShotGfx::
	dw 46 ; length
	INCBIN "gfx/duel/anims/string_shot.2bpp"

DuelBoyfriendsGfx::
	dw 8 ; length
	INCBIN "gfx/duel/anims/heart.2bpp"

DuelLureGfx::
	dw 7 ; length
	INCBIN "gfx/duel/anims/lure.2bpp"

DuelToxicGfx::
	dw 28 ; length
	INCBIN "gfx/duel/anims/skull.2bpp"

DuelSingGfx::
	dw 8 ; length
	INCBIN "gfx/duel/anims/notes.2bpp"

DuelSoundMovesGfx::
	dw 11 ; length
	INCBIN "gfx/duel/anims/sound.2bpp"

DuelBuildUpMoves::
	dw 28 ; length
	INCBIN "gfx/duel/anims/protect.2bpp"

DuelLightScreenGfx::
	dw 22 ; length
	INCBIN "gfx/duel/anims/barrier.2bpp"

DuelSpeedMovesGfx::
	dw 16 ; length
	INCBIN "gfx/duel/anims/speed.2bpp"

DuelWhirlwindGfx::
	dw 15 ; length
	INCBIN "gfx/duel/anims/whirlwind.2bpp"

DuelSnivelGfx::
	dw 7 ; length
	INCBIN "gfx/duel/anims/snivel.2bpp"

DuelQuestionMarkGfx::
	dw 10 ; length
	INCBIN "gfx/duel/anims/question_mark.2bpp"

DuelSelfDestructGfx::
	dw 9 ; length
	INCBIN "gfx/duel/anims/explosion.2bpp"

DuelExpandGfx::
	dw 8 ; length
	INCBIN "gfx/duel/anims/expand.2bpp"

DuelCatPunchGfx::
	dw 17 ; length
	INCBIN "gfx/duel/anims/cat_punch.2bpp"

Palette103::
	db 1 ; number of palettes

	rgb 11, 11, 11
	rgb 31, 31, 30
	rgb 31,  0, 30
	rgb  5,  2,  0

SECTION "Tilesets 27", ROMX

DuelFireballsGfx::
	dw 43 ; length
	INCBIN "gfx/duel/anims/fireballs.2bpp"

DuelBenchManipulationGfx::
	dw 12 ; length
	INCBIN "gfx/duel/anims/bench_manipulation.2bpp"

DuelPsychicBeamGfx::
	dw 49 ; length
	INCBIN "gfx/duel/anims/psychic_beam.2bpp"

DuelPsychicBeamBenchGfx::
	dw 34 ; length
	INCBIN "gfx/duel/anims/psychic_beam_bench.2bpp"

DuelRockThrowGfx::
	dw 67 ; length
	INCBIN "gfx/duel/anims/rock_throw.2bpp"

DuelMegaPunchGfx::
	dw 45 ; length
	INCBIN "gfx/duel/anims/mega_punch.2bpp"

DuelPsypunchGfx::
	dw 46 ; length
	INCBIN "gfx/duel/anims/psypunch.2bpp"

DuelSludgePunchGfx::
	dw 49 ; length
	INCBIN "gfx/duel/anims/sludge_punch.2bpp"

DuelIcePunchGfx::
	dw 15 ; length
	INCBIN "gfx/duel/anims/ice_punch.2bpp"

DuelKickGfx::
	dw 94 ; length
	INCBIN "gfx/duel/anims/kick.2bpp"

DuelTailSlapGfx::
	dw 90 ; length
	INCBIN "gfx/duel/anims/tail_slap.2bpp"

DuelTailWhipGfx::
	dw 60 ; length
	INCBIN "gfx/duel/anims/tail_whip.2bpp"

DuelSlapGfx::
	dw 52 ; length
	INCBIN "gfx/duel/anims/slap.2bpp"

DuelSmallQuestionMarkGfx::
	dw 7 ; length
	INCBIN "gfx/duel/anims/question_mark_small.2bpp"

DuelSkullBashGfx::
	dw 63 ; length
	INCBIN "gfx/duel/anims/skull_bash.2bpp"

DuelCoinHurlGfx::
	dw 18 ; length
	INCBIN "gfx/duel/anims/coin_hurl.2bpp"

DuelTeleportGfx::
	dw 50 ; length
	INCBIN "gfx/duel/anims/teleport.2bpp"

DuelFollowMeGfx::
	dw 38 ; length
	INCBIN "gfx/duel/anims/follow_me.2bpp"

DuelSwiftGfx::
	dw 12 ; length
	INCBIN "gfx/duel/anims/swift.2bpp"

Duel3DAttackGfx::
	dw 25 ; length
	INCBIN "gfx/duel/anims/3D_attack.2bpp"

DuelWaterDrop2Gfx::
	dw 3 ; length
	INCBIN "gfx/duel/anims/water_drop2.2bpp"

DuelFocusBlastGfx::
	dw 23 ; length
	INCBIN "gfx/duel/anims/focus_blast.2bpp"

DuelFocusBlastBenchGfx::
	dw 12 ; length
	INCBIN "gfx/duel/anims/focus_blast_bench.2bpp"

DuelBone2Gfx::
	dw 12 ; length
	INCBIN "gfx/duel/anims/bone2.2bpp"

DuelBigSnoreGfx::
	dw 70 ; length
	INCBIN "gfx/duel/anims/big_snore.2bpp"

DuelRazorLeafGfx::
	dw 12 ; length
	INCBIN "gfx/duel/anims/razor_leaf.2bpp"

DuelVinePullGfx::
	dw 8 ; length
	INCBIN "gfx/duel/anims/vine_pull.2bpp"

DuelDarkSongGfx::
	dw 8 ; length
	INCBIN "gfx/duel/anims/dark_song.2bpp"

Palette000::
	db 6 ; number of palettes

	rgb 31, 31, 31
	rgb  8, 26,  0
	rgb  1, 15,  0
	rgb  1,  0,  5

	rgb 31, 31, 31
	rgb 25, 18,  6
	rgb 15,  6,  0
	rgb  1,  0,  5

	rgb 31, 31, 31
	rgb  8, 26,  0
	rgb 31,  0,  0
	rgb  1,  0,  5

	rgb 31, 31, 31
	rgb  8, 26,  0
	rgb 25, 18,  6
	rgb  1,  0,  5

	rgb 31, 31, 31
	rgb  8, 26,  0
	rgb  9,  3, 31
	rgb  1,  0,  5

	rgb 31, 31, 31
	rgb 25, 18,  6
	rgb  9,  3, 31
	rgb  1,  0,  5

SECTION "Tilesets 28", ROMX

DuelGuillotineGfx::
	dw 72 ; length
	INCBIN "gfx/duel/anims/guillotine.2bpp"

DuelPerplexGfx::
	dw 23 ; length
	INCBIN "gfx/duel/anims/perplex.2bpp"

DuelNineTailsGfx::
	dw 72 ; length
	INCBIN "gfx/duel/anims/nine_tails.2bpp"

DuelBoneHeadbuttGfx::
	dw 22 ; length
	INCBIN "gfx/duel/anims/bone_headbutt.2bpp"

DuelDrillDiveGfx::
	dw 16 ; length
	INCBIN "gfx/duel/anims/drill_dive.2bpp"

DuelCardGfx::
	dw 5 ; length
	INCBIN "gfx/duel/anims/card.2bpp"

TCG1PikachuCoinGfx::
	dw 23 ; length
	INCBIN "gfx/coins/tcg1_pikachu.2bpp"

DuelResultGfx::
	dw 54 ; length
	INCBIN "gfx/duel/anims/result.2bpp"

SmallCoinsGfx::
	dw 239 ; length
	INCBIN "gfx/coins/small_coins.2bpp"

ChanseyCoinGfx::
	dw 39 ; length
	INCBIN "gfx/coins/chansey.2bpp"

OddishCoinGfx::
	dw 39 ; length
	INCBIN "gfx/coins/oddish.2bpp"

CharmanderCoinGfx::
	dw 39 ; length
	INCBIN "gfx/coins/charmander.2bpp"

StarmieCoinGfx::
	dw 39 ; length
	INCBIN "gfx/coins/starmie.2bpp"

PikachuCoinGfx::
	dw 39 ; length
	INCBIN "gfx/coins/pikachu.2bpp"

AlakazamCoinGfx::
	dw 39 ; length
	INCBIN "gfx/coins/alakazam.2bpp"

KabutoCoinGfx::
	dw 39 ; length
	INCBIN "gfx/coins/kabuto.2bpp"

GRCoinGfx::
	dw 39 ; length
	INCBIN "gfx/coins/gr.2bpp"

GolbatCoinGfx::
	dw 39 ; length
	INCBIN "gfx/coins/golbat.2bpp"

MagnemiteCoinGfx::
	dw 39 ; length
	INCBIN "gfx/coins/magnemite.2bpp"

MagmarCoinGfx::
	dw 39 ; length
	INCBIN "gfx/coins/magmar.2bpp"

PsyduckCoinGfx::
	dw 39 ; length
	INCBIN "gfx/coins/psyduck.2bpp"

BoosterPackOAMGfx::
	dw 23 ; length
	INCBIN "gfx/booster_packs/pack_oam.2bpp"

MailboxCrossGfx::
	dw 4 ; length
	INCBIN "gfx/minicom/mail_cross.2bpp"

SECTION "Tilesets 29", ROMX

MachampCoinGfx::
	dw 39 ; length
	INCBIN "gfx/coins/machamp.2bpp"

MewCoinGfx::
	dw 39 ; length
	INCBIN "gfx/coins/mew.2bpp"

SnorlaxCoinGfx::
	dw 39 ; length
	INCBIN "gfx/coins/snorlax.2bpp"

TogepiCoinGfx::
	dw 39 ; length
	INCBIN "gfx/coins/togepi.2bpp"

PonytaCoinGfx::
	dw 39 ; length
	INCBIN "gfx/coins/ponyta.2bpp"

HorseaCoinGfx::
	dw 39 ; length
	INCBIN "gfx/coins/horsea.2bpp"

ArbokCoinGfx::
	dw 39 ; length
	INCBIN "gfx/coins/arbok.2bpp"

JigglypuffCoinGfx::
	dw 39 ; length
	INCBIN "gfx/coins/jigglypuff.2bpp"

DugtrioCoinGfx::
	dw 39 ; length
	INCBIN "gfx/coins/dugtrio.2bpp"

GengarCoinGfx::
	dw 39 ; length
	INCBIN "gfx/coins/gengar.2bpp"

RaichuCoinGfx::
	dw 39 ; length
	INCBIN "gfx/coins/raichu.2bpp"

LugiaCoinGfx::
	dw 39 ; length
	INCBIN "gfx/coins/lugia.2bpp"

BeginningPackGfx::
	dw 86 ; length
	INCBIN "gfx/booster_packs/beginning_pack.2bpp"

LegendaryPackGfx::
	dw 95 ; length
	INCBIN "gfx/booster_packs/legendary_pack.2bpp"

FossilPackGfx::
	dw 86 ; length
	INCBIN "gfx/booster_packs/fossil_pack.2bpp"

PsychicPackGfx::
	dw 95 ; length
	INCBIN "gfx/booster_packs/psychic_pack.2bpp"

FlyingPackGfx::
	dw 96 ; length
	INCBIN "gfx/booster_packs/flying_pack.2bpp"

RocketPackGfx::
	dw 68 ; length
	INCBIN "gfx/booster_packs/rocket_pack.2bpp"

BlackBoxCardGfx::
	dw 6 ; length
	INCBIN "gfx/black_box/black_box_card.2bpp"

BlackBoxEnvelopeGfx::
	dw 6 ; length
	INCBIN "gfx/black_box/envelope.2bpp"

CoinsWindowGfx::
	dw 8 ; length
	INCBIN "gfx/coins_menu/window.2bpp"

ConnectionLostCrossGfx::
	dw 6 ; length
	INCBIN "gfx/link/link_cross.2bpp"

Palette0E1::
	db 2 ; number of palettes

	rgb  0,  0,  0
	rgb 31, 31, 31
	rgb 31, 31,  0
	rgb  0,  0,  0

	rgb  0,  0,  0
	rgb 31,  0,  0
	rgb 31, 13,  0
	rgb 31, 31,  0

SECTION "Tilesets 30", ROMX

AmbitionPackGfx::
	dw 86 ; length
	INCBIN "gfx/booster_packs/ambition_pack.2bpp"

PresentPackGfx::
	dw 86 ; length
	INCBIN "gfx/booster_packs/present_pack.2bpp"

IntroBaseSetGfx::
	dw 96 ; length
	INCBIN "gfx/titlescreen/booster_packs/intro_base_set.2bpp"

IntroJungleGfx::
	dw 96 ; length
	INCBIN "gfx/titlescreen/booster_packs/intro_jungle.2bpp"

IntroFossilGfx::
	dw 96 ; length
	INCBIN "gfx/titlescreen/booster_packs/intro_fossil.2bpp"

IntroTeamRocketGfx::
	dw 96 ; length
	INCBIN "gfx/titlescreen/booster_packs/intro_team_rocket.2bpp"

TitleScreenGfx::
	dw 188 ; length
	INCBIN "gfx/titlescreen/title_screen.2bpp"

StartEnergiesGfx::
	dw 52 ; length
	INCBIN "gfx/titlescreen/start_energies.2bpp"

GBErrorGfx::
	dw 70 ; length
	INCBIN "gfx/titlescreen/gb_error.2bpp"

CompanyCreditsGfx::
	dw 66 ; length
	INCBIN "gfx/titlescreen/companies.2bpp"

TournamentTableGfx::
	dw 64 ; length
	INCBIN "gfx/duel/tournament_table.2bpp"

CardPopMenuOAMGfx::
	dw 13 ; length
	INCBIN "gfx/link/card_pop_menu_oam.2bpp"

PrinterOAMGfx::
	dw 6 ; length
	INCBIN "gfx/link/printer_oam.2bpp"

LinkOamGfx::
	dw 4 ; length
	INCBIN "gfx/link/link_oam.2bpp"

Palette001::
	db 6 ; number of palettes

	rgb 31, 31, 31
	rgb  8, 26,  0
	rgb  1, 15,  0
	rgb  1,  0,  5

	rgb 31, 31, 31
	rgb 25, 18,  6
	rgb 15,  6,  0
	rgb  1,  0,  5

	rgb 31, 31, 31
	rgb 15,  6,  0
	rgb 31,  0,  0
	rgb  1,  0,  5

	rgb 31, 31, 31
	rgb  8, 26,  0
	rgb 25, 18,  6
	rgb  1,  0,  5

	rgb 31, 31, 31
	rgb  8, 26,  0
	rgb  9,  3, 31
	rgb  1,  0,  5

	rgb 31, 31, 31
	rgb 25, 18,  6
	rgb  9,  3, 31
	rgb  1,  0,  5

SECTION "Tilesets 31", ROMX

BlackBoxBackgroundGfx::
	dw 91 ; length
	INCBIN "gfx/black_box/black_box_bg.2bpp"

SlotsBGIconsGfx::
	dw 256 ; length
	INCBIN "gfx/slots/slots_bg_icons.2bpp"

SlotsMessagesGfx::
	dw 144 ; length
	INCBIN "gfx/slots/slots_messages.2bpp"

CardPopMenuGfx::
	dw 50 ; length
	INCBIN "gfx/link/card_pop_menu.2bpp"

CardPopSceneGfx::
	dw 103 ; length
	INCBIN "gfx/link/card_pop_scene.2bpp"

CardPopOAMGfx::
	dw 95 ; length
	INCBIN "gfx/link/card_pop_oam.2bpp"

LinkSceneGfx::
	dw 73 ; length
	INCBIN "gfx/link/link_scene.2bpp"

RareCardPopSceneGfx::
	dw 124 ; length
	INCBIN "gfx/link/rare_card_pop_scene.2bpp"

SpecialRulesGfx::
	dw 21 ; length
	INCBIN "gfx/duel/special_rules.2bpp"

FullMailboxGfx::
	dw 55 ; length
	INCBIN "gfx/minicom/full_mailbox.2bpp"

CoinTossResultGfx::
	dw 5 ; length
	INCBIN "gfx/duel/coin_toss_result.2bpp"

Palette002::
	db 6 ; number of palettes

	rgb 30, 27, 15
	rgb 24, 13,  0
	rgb 14,  8,  0
	rgb  0,  0,  0

	rgb 25, 31, 31
	rgb  9, 21, 31
	rgb  5,  7, 31
	rgb  0,  0,  5

	rgb 25, 31, 31
	rgb  0, 31,  6
	rgb  0, 16,  0
	rgb  5,  0,  0

	rgb 31, 19,  0
	rgb 17,  8, 23
	rgb 10,  0, 15
	rgb  0,  0,  5

	rgb 25, 31, 31
	rgb  9, 21, 31
	rgb  0, 16,  0
	rgb 10,  4,  0

	rgb 25, 31, 31
	rgb  9, 21, 31
	rgb 31,  0, 31
	rgb  0,  0,  5

Palette053::
	db 5 ; number of palettes

	rgb 31, 31, 14
	rgb 23, 23, 23
	rgb 15, 15, 15
	rgb  0,  0,  0

	rgb 29, 29, 16
	rgb 23, 23, 23
	rgb 15, 15, 15
	rgb  0,  0,  0

	rgb 27, 27, 18
	rgb 23, 23, 23
	rgb 15, 15, 15
	rgb  0,  0,  0

	rgb 25, 25, 20
	rgb 23, 23, 23
	rgb 15, 15, 15
	rgb  0,  0,  0

	rgb 23, 23, 23
	rgb 23, 23, 23
	rgb 15, 15, 15
	rgb  0,  0,  0

SECTION "Tilesets 32", ROMX

RareCardPopOAMGfx::
	dw 256 ; length
	INCBIN "gfx/link/rare_card_pop_oam.2bpp"

PrinterSceneGfx::
	dw 78 ; length
	INCBIN "gfx/link/printer_scene.2bpp"

MailboxGfx::
	dw 45 ; length
	INCBIN "gfx/minicom/mailbox.2bpp"

GotMailAnimGfx::
	dw 19 ; length
	INCBIN "gfx/minicom/got_mail_anim.2bpp"

MailboxCopyGfx::
	dw 45 ; length
	INCBIN "gfx/minicom/mailbox_copy.2bpp"

DeckDiagnosisGfx::
	dw 33 ; length
	INCBIN "gfx/duel/deck_diagnosis.2bpp"

LinkSceneIntroGfx::
	dw 64 ; length
	INCBIN "gfx/link/link_scene_intro.2bpp"

GRCoinPiecesGfx::
	dw 24 ; length
	INCBIN "gfx/coins_menu/gr_pieces.2bpp"

SECTION "Palettes 1", ROMX
INCLUDE "data/palettes1.asm"

Frameset10A::
	oamframe  3,  1,   0,   0
	oamreset

SECTION "Palettes 2", ROMX
INCLUDE "data/palettes2.asm"

SECTION "OAM 1", ROMX
INCLUDE "data/oam1.asm"

SECTION "OAM 2", ROMX
INCLUDE "data/oam2.asm"

SECTION "OAM 3", ROMX
INCLUDE "data/oam3.asm"

SECTION "OAM 4", ROMX
INCLUDE "data/oam4.asm"

SECTION "OAM 5", ROMX
INCLUDE "data/oam5.asm"

SECTION "Framesets 1", ROMX
INCLUDE "data/framesets1.asm"

SECTION "Framesets 2", ROMX
INCLUDE "data/framesets2.asm"

SECTION "OW Tile Frames 1", ROMX
INCLUDE "data/ow_tile_frames1.asm"

SECTION "OW Animations", ROMX
INCLUDE "data/ow_animations.asm"

SECTION "OW Tile Frames 2", ROMX
INCLUDE "data/ow_tile_frames2.asm"
