Organize gfx/
							
								
								
									
										2
									
								
								.gitattributes
									
									
									
									
										vendored
									
									
								
							
							
						
						| 
						 | 
				
			
			@ -12,7 +12,7 @@
 | 
			
		|||
*.rle binary
 | 
			
		||||
*.tilecoll binary
 | 
			
		||||
*.bst binary
 | 
			
		||||
*.map binary
 | 
			
		||||
*.tilemap binary
 | 
			
		||||
*.wav binary
 | 
			
		||||
*.blk binary
 | 
			
		||||
*.pic binary
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										21
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						| 
						 | 
				
			
			@ -83,17 +83,22 @@ pokeblue_opt = -jsv -k 01 -l 0x33 -m 0x13 -p 0 -r 03 -t "POKEMON BLUE"
 | 
			
		|||
 | 
			
		||||
### Misc file-specific graphics rules
 | 
			
		||||
 | 
			
		||||
gfx/blue/intro_purin_1.2bpp: $(RGBGFX) += -h
 | 
			
		||||
gfx/blue/intro_purin_2.2bpp: $(RGBGFX) += -h
 | 
			
		||||
gfx/blue/intro_purin_3.2bpp: $(RGBGFX) += -h
 | 
			
		||||
gfx/red/intro_nido_1.2bpp: $(RGBGFX) += -h
 | 
			
		||||
gfx/red/intro_nido_2.2bpp: $(RGBGFX) += -h
 | 
			
		||||
gfx/red/intro_nido_3.2bpp: $(RGBGFX) += -h
 | 
			
		||||
gfx/battle/attack_anim_1.2bpp: tools/gfx += --trim-whitespace
 | 
			
		||||
gfx/battle/attack_anim_2.2bpp: tools/gfx += --trim-whitespace
 | 
			
		||||
 | 
			
		||||
gfx/intro_credits/blue_jigglypuff_1.2bpp: $(RGBGFX) += -h
 | 
			
		||||
gfx/intro_credits/blue_jigglypuff_2.2bpp: $(RGBGFX) += -h
 | 
			
		||||
gfx/intro_credits/blue_jigglypuff_3.2bpp: $(RGBGFX) += -h
 | 
			
		||||
gfx/intro_credits/red_nidorino_1.2bpp: $(RGBGFX) += -h
 | 
			
		||||
gfx/intro_credits/red_nidorino_2.2bpp: $(RGBGFX) += -h
 | 
			
		||||
gfx/intro_credits/red_nidorino_3.2bpp: $(RGBGFX) += -h
 | 
			
		||||
 | 
			
		||||
gfx/intro_credits/the_end.2bpp: tools/gfx += --interleave --png=$<
 | 
			
		||||
 | 
			
		||||
gfx/game_boy.2bpp: tools/gfx += --remove-duplicates
 | 
			
		||||
gfx/theend.2bpp: tools/gfx += --interleave --png=$<
 | 
			
		||||
gfx/tilesets/%.2bpp: tools/gfx += --trim-whitespace
 | 
			
		||||
 | 
			
		||||
gfx/trade/game_boy.2bpp: tools/gfx += --remove-duplicates
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
### Catch-all graphics rules
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,9 +1,9 @@
 | 
			
		|||
BorderPalettes:
 | 
			
		||||
IF DEF(_RED)
 | 
			
		||||
	INCBIN "gfx/red/sgbborder.map"
 | 
			
		||||
	INCBIN "gfx/sgb/red_border.tilemap"
 | 
			
		||||
ENDC
 | 
			
		||||
IF DEF(_BLUE)
 | 
			
		||||
	INCBIN "gfx/blue/sgbborder.map"
 | 
			
		||||
	INCBIN "gfx/sgb/blue_border.tilemap"
 | 
			
		||||
ENDC
 | 
			
		||||
 | 
			
		||||
	ds $100
 | 
			
		||||
| 
						 | 
				
			
			@ -55,8 +55,8 @@ ENDC
 | 
			
		|||
 | 
			
		||||
SGBBorderGraphics:
 | 
			
		||||
IF DEF(_RED)
 | 
			
		||||
	INCBIN "gfx/red/sgbborder.2bpp"
 | 
			
		||||
	INCBIN "gfx/sgb/red_border.2bpp"
 | 
			
		||||
ENDC
 | 
			
		||||
IF DEF(_BLUE)
 | 
			
		||||
	INCBIN "gfx/blue/sgbborder.2bpp"
 | 
			
		||||
	INCBIN "gfx/sgb/blue_border.2bpp"
 | 
			
		||||
ENDC
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -266,5 +266,5 @@ INCLUDE "data/credits_order.asm"
 | 
			
		|||
INCLUDE "text/credits_text.asm"
 | 
			
		||||
 | 
			
		||||
TheEndGfx:
 | 
			
		||||
	INCBIN "gfx/theend.2bpp"
 | 
			
		||||
	INCBIN "gfx/intro_credits/the_end.2bpp"
 | 
			
		||||
TheEndGfxEnd:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -361,17 +361,17 @@ AnimationTilesetPointers:
 | 
			
		|||
	db $FF
 | 
			
		||||
 | 
			
		||||
AnimationTileset1:
 | 
			
		||||
	INCBIN "gfx/attack_anim_1.2bpp"
 | 
			
		||||
	INCBIN "gfx/battle/attack_anim_1.2bpp"
 | 
			
		||||
 | 
			
		||||
AnimationTileset2:
 | 
			
		||||
	INCBIN "gfx/attack_anim_2.2bpp"
 | 
			
		||||
	INCBIN "gfx/battle/attack_anim_2.2bpp"
 | 
			
		||||
 | 
			
		||||
SlotMachineTiles2:
 | 
			
		||||
IF DEF(_RED)
 | 
			
		||||
	INCBIN "gfx/red/slotmachine2.2bpp"
 | 
			
		||||
	INCBIN "gfx/slots/red_slots_2.2bpp"
 | 
			
		||||
ENDC
 | 
			
		||||
IF DEF(_BLUE)
 | 
			
		||||
	INCBIN "gfx/blue/slotmachine2.2bpp"
 | 
			
		||||
	INCBIN "gfx/slots/blue_slots_2.2bpp"
 | 
			
		||||
ENDC
 | 
			
		||||
 | 
			
		||||
MoveAnimation:
 | 
			
		||||
| 
						 | 
				
			
			@ -1710,7 +1710,7 @@ AnimationMinimizeMon:
 | 
			
		|||
	jp AnimationShowMonPic
 | 
			
		||||
 | 
			
		||||
MinimizedMonSprite:
 | 
			
		||||
	INCBIN "gfx/minimized_mon_sprite.1bpp"
 | 
			
		||||
	INCBIN "gfx/battle/minimize.1bpp"
 | 
			
		||||
MinimizedMonSpriteEnd:
 | 
			
		||||
 | 
			
		||||
AnimationSlideMonDownAndHide:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -160,7 +160,7 @@ LoadBattleTransitionTile:
 | 
			
		|||
	jp CopyVideoData
 | 
			
		||||
 | 
			
		||||
BattleTransitionTile:
 | 
			
		||||
	INCBIN "gfx/battle_transition.2bpp"
 | 
			
		||||
	INCBIN "gfx/overworld/battle_transition.2bpp"
 | 
			
		||||
BattleTransitionTileEnd:
 | 
			
		||||
 | 
			
		||||
BattleTransition_BlackScreen:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -188,5 +188,5 @@ SetupPlayerAndEnemyPokeballs:
 | 
			
		|||
 | 
			
		||||
; four tiles: pokeball, black pokeball (status ailment), crossed out pokeball (fainted) and pokeball slot (no mon)
 | 
			
		||||
PokeballTileGraphics::
 | 
			
		||||
	INCBIN "gfx/pokeball.2bpp"
 | 
			
		||||
	INCBIN "gfx/battle/balls.2bpp"
 | 
			
		||||
PokeballTileGraphicsEnd:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -239,5 +239,5 @@ GameFreakShootingStarOAMData:
 | 
			
		|||
GameFreakShootingStarOAMDataEnd:
 | 
			
		||||
 | 
			
		||||
FallingStar:
 | 
			
		||||
	INCBIN "gfx/falling_star.2bpp"
 | 
			
		||||
	INCBIN "gfx/intro_credits/falling_star.2bpp"
 | 
			
		||||
FallingStarEnd:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -438,35 +438,33 @@ IntroNidorinoAnimation7:
 | 
			
		|||
	db ANIMATION_END
 | 
			
		||||
 | 
			
		||||
GameFreakIntro:
 | 
			
		||||
	INCBIN "gfx/gamefreak_intro.2bpp"
 | 
			
		||||
	INCBIN "gfx/gamefreak_logo.2bpp"
 | 
			
		||||
	rept 16
 | 
			
		||||
	db $00 ; blank tile
 | 
			
		||||
	endr
 | 
			
		||||
	INCBIN "gfx/intro_credits/gamefreak_presents.2bpp"
 | 
			
		||||
	INCBIN "gfx/intro_credits/gamefreak_logo.2bpp"
 | 
			
		||||
	ds 16, $00 ; blank tile
 | 
			
		||||
GameFreakIntroEnd:
 | 
			
		||||
 | 
			
		||||
FightIntroBackMon:
 | 
			
		||||
	INCBIN "gfx/intro_fight.2bpp"
 | 
			
		||||
	INCBIN "gfx/intro_credits/gengar.2bpp"
 | 
			
		||||
FightIntroBackMonEnd:
 | 
			
		||||
 | 
			
		||||
FightIntroFrontMon:
 | 
			
		||||
 | 
			
		||||
IF DEF(_RED)
 | 
			
		||||
	INCBIN "gfx/red/intro_nido_1.2bpp"
 | 
			
		||||
	INCBIN "gfx/intro_credits/red_nidorino_1.2bpp"
 | 
			
		||||
FightIntroFrontMon2:
 | 
			
		||||
	INCBIN "gfx/red/intro_nido_2.2bpp"
 | 
			
		||||
	INCBIN "gfx/intro_credits/red_nidorino_2.2bpp"
 | 
			
		||||
FightIntroFrontMon3:
 | 
			
		||||
	INCBIN "gfx/red/intro_nido_3.2bpp"
 | 
			
		||||
	INCBIN "gfx/intro_credits/red_nidorino_3.2bpp"
 | 
			
		||||
ENDC
 | 
			
		||||
 | 
			
		||||
IF DEF(_BLUE)
 | 
			
		||||
	INCBIN "gfx/blue/intro_purin_1.2bpp"
 | 
			
		||||
	INCBIN "gfx/intro_credits/blue_jigglypuff_1.2bpp"
 | 
			
		||||
FightIntroFrontMon2:
 | 
			
		||||
	INCBIN "gfx/blue/intro_purin_2.2bpp"
 | 
			
		||||
	INCBIN "gfx/intro_credits/blue_jigglypuff_2.2bpp"
 | 
			
		||||
FightIntroFrontMon3:
 | 
			
		||||
	INCBIN "gfx/blue/intro_purin_3.2bpp"
 | 
			
		||||
	INCBIN "gfx/intro_credits/blue_jigglypuff_3.2bpp"
 | 
			
		||||
ENDC
 | 
			
		||||
 | 
			
		||||
FightIntroFrontMonEnd:
 | 
			
		||||
 | 
			
		||||
	ds $10 ; blank tile
 | 
			
		||||
	ds 16, $00 ; blank tile
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -117,4 +117,4 @@ DrawBadges:
 | 
			
		|||
	db $20, $28, $30, $38, $40, $48, $50, $58
 | 
			
		||||
 | 
			
		||||
GymLeaderFaceAndBadgeTileGraphics:
 | 
			
		||||
	INCBIN "gfx/badges.2bpp"
 | 
			
		||||
	INCBIN "gfx/trainer_card/badges.2bpp"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -332,7 +332,7 @@ LoadEDTile:
 | 
			
		|||
	jp CopyVideoDataDouble
 | 
			
		||||
 | 
			
		||||
ED_Tile:
 | 
			
		||||
	INCBIN "gfx/ED_tile.1bpp"
 | 
			
		||||
	INCBIN "gfx/font/ED.1bpp"
 | 
			
		||||
ED_TileEnd:
 | 
			
		||||
 | 
			
		||||
PrintAlphabet:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -241,8 +241,8 @@ DrawLineBox:
 | 
			
		|||
	ld [hl], $6f ; ← (halfarrow ending)
 | 
			
		||||
	ret
 | 
			
		||||
 | 
			
		||||
PTile: ; This is a single 1bpp "P" tile
 | 
			
		||||
	INCBIN "gfx/p_tile.1bpp"
 | 
			
		||||
PTile:
 | 
			
		||||
	INCBIN "gfx/font/P.1bpp"
 | 
			
		||||
PTileEnd:
 | 
			
		||||
 | 
			
		||||
PrintStatsBox:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -281,4 +281,4 @@ GetPartyMonSpriteID:
 | 
			
		|||
INCLUDE "data/mon_party_sprites.asm"
 | 
			
		||||
 | 
			
		||||
MonPartySprites:
 | 
			
		||||
	INCBIN "gfx/mon_ow_sprites.2bpp"
 | 
			
		||||
	INCBIN "gfx/trade/mon_ow_sprites.2bpp"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -62,13 +62,15 @@ EmotionBubble:
 | 
			
		|||
	jp UpdateSprites
 | 
			
		||||
 | 
			
		||||
EmotionBubblesPointerTable:
 | 
			
		||||
	dw EmotionBubbles
 | 
			
		||||
	dw EmotionBubbles + $40
 | 
			
		||||
	dw EmotionBubbles + $80
 | 
			
		||||
	dw ShockEmote
 | 
			
		||||
	dw QuestionEmote
 | 
			
		||||
	dw HappyEmote
 | 
			
		||||
 | 
			
		||||
EmotionBubblesOAM:
 | 
			
		||||
	db $F8,$00,$F9,$00
 | 
			
		||||
	db $FA,$00,$FB,$00
 | 
			
		||||
 | 
			
		||||
EmotionBubbles:
 | 
			
		||||
	INCBIN "gfx/emotion_bubbles.2bpp"
 | 
			
		||||
ShockEmote:    INCBIN "gfx/emotes/shock.2bpp"
 | 
			
		||||
QuestionEmote: INCBIN "gfx/emotes/question.2bpp"
 | 
			
		||||
HappyEmote:    INCBIN "gfx/emotes/happy.2bpp"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -63,7 +63,7 @@ AnimateHealingMachine:
 | 
			
		|||
	jp UpdateSprites
 | 
			
		||||
 | 
			
		||||
PokeCenterFlashingMonitorAndHealBall:
 | 
			
		||||
	INCBIN "gfx/pokecenter_ball.2bpp"
 | 
			
		||||
	INCBIN "gfx/overworld/heal_machine.2bpp"
 | 
			
		||||
 | 
			
		||||
PokeCenterOAMData:
 | 
			
		||||
	db $24,$34,$7C,$10 ; heal machine monitor
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -68,7 +68,7 @@ LoadHoppingShadowOAM:
 | 
			
		|||
	ret
 | 
			
		||||
 | 
			
		||||
LedgeHoppingShadow:
 | 
			
		||||
	INCBIN "gfx/ledge_hopping_shadow.1bpp"
 | 
			
		||||
	INCBIN "gfx/overworld/shadow.1bpp"
 | 
			
		||||
LedgeHoppingShadowEnd:
 | 
			
		||||
 | 
			
		||||
LedgeHoppingShadowOAM:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -89,5 +89,5 @@ LoadSmokeTile:
 | 
			
		|||
	jp CopyVideoData
 | 
			
		||||
 | 
			
		||||
SSAnneSmokePuffTile:
 | 
			
		||||
	INCBIN "gfx/ss_anne_smoke_puff.2bpp"
 | 
			
		||||
	INCBIN "gfx/overworld/smoke.2bpp"
 | 
			
		||||
SSAnneSmokePuffTileEnd:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -878,15 +878,15 @@ LoadSlotMachineTiles:
 | 
			
		|||
	jp SlotMachine_AnimWheel3
 | 
			
		||||
 | 
			
		||||
SlotMachineMap:
 | 
			
		||||
	INCBIN "gfx/tilemaps/slotmachine.map"
 | 
			
		||||
	INCBIN "gfx/slots/slots.tilemap"
 | 
			
		||||
SlotMachineMapEnd:
 | 
			
		||||
 | 
			
		||||
INCLUDE "data/slot_machine_wheels.asm"
 | 
			
		||||
 | 
			
		||||
SlotMachineTiles1:
 | 
			
		||||
IF DEF(_RED)
 | 
			
		||||
	INCBIN "gfx/red/slotmachine1.2bpp"
 | 
			
		||||
	INCBIN "gfx/slots/red_slots_1.2bpp"
 | 
			
		||||
ENDC
 | 
			
		||||
IF DEF(_BLUE)
 | 
			
		||||
	INCBIN "gfx/blue/slotmachine1.2bpp"
 | 
			
		||||
	INCBIN "gfx/slots/blue_slots_1.2bpp"
 | 
			
		||||
ENDC
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -106,7 +106,7 @@ DisplayTownMap:
 | 
			
		|||
INCLUDE "data/town_map_order.asm"
 | 
			
		||||
 | 
			
		||||
TownMapCursor:
 | 
			
		||||
	INCBIN "gfx/town_map_cursor.1bpp"
 | 
			
		||||
	INCBIN "gfx/town_map/town_map_cursor.1bpp"
 | 
			
		||||
TownMapCursorEnd:
 | 
			
		||||
 | 
			
		||||
LoadTownMap_Nest:
 | 
			
		||||
| 
						 | 
				
			
			@ -271,7 +271,7 @@ BuildFlyLocationsList:
 | 
			
		|||
	ret
 | 
			
		||||
 | 
			
		||||
TownMapUpArrow:
 | 
			
		||||
	INCBIN "gfx/up_arrow.1bpp"
 | 
			
		||||
	INCBIN "gfx/town_map/up_arrow.1bpp"
 | 
			
		||||
TownMapUpArrowEnd:
 | 
			
		||||
 | 
			
		||||
LoadTownMap:
 | 
			
		||||
| 
						 | 
				
			
			@ -325,8 +325,7 @@ LoadTownMap:
 | 
			
		|||
	ret
 | 
			
		||||
 | 
			
		||||
CompressedMap:
 | 
			
		||||
; you can decompress this file with the redrle program in the extras/ dir
 | 
			
		||||
	INCBIN "gfx/town_map.rle"
 | 
			
		||||
	INCBIN "gfx/town_map/town_map.rle"
 | 
			
		||||
 | 
			
		||||
ExitTownMap:
 | 
			
		||||
; clear town map graphics data and load usual graphics data
 | 
			
		||||
| 
						 | 
				
			
			@ -587,7 +586,7 @@ INCLUDE "data/town_map_entries.asm"
 | 
			
		|||
INCLUDE "text/map_names.asm"
 | 
			
		||||
 | 
			
		||||
MonNestIcon:
 | 
			
		||||
	INCBIN "gfx/mon_nest_icon.1bpp"
 | 
			
		||||
	INCBIN "gfx/pokedex/mon_nest_icon.1bpp"
 | 
			
		||||
MonNestIconEnd:
 | 
			
		||||
 | 
			
		||||
TownMapSpriteBlinkingAnimation::
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
		 Before Width: | Height: | Size: 1 KiB  | 
| 
		 Before Width: | Height: | Size: 999 B  | 
							
								
								
									
										
											BIN
										
									
								
								gfx/battle/attack_anim_1.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 977 B  | 
							
								
								
									
										
											BIN
										
									
								
								gfx/battle/attack_anim_2.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 936 B  | 
							
								
								
									
										
											BIN
										
									
								
								gfx/battle/balls.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 115 B  | 
							
								
								
									
										
											BIN
										
									
								
								gfx/battle/battle_hud_1.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 102 B  | 
							
								
								
									
										
											BIN
										
									
								
								gfx/battle/battle_hud_2.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 88 B  | 
							
								
								
									
										
											BIN
										
									
								
								gfx/battle/battle_hud_3.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 93 B  | 
| 
		 Before Width: | Height: | Size: 74 B After Width: | Height: | Size: 74 B  | 
| 
		 Before Width: | Height: | Size: 94 B  | 
| 
		 Before Width: | Height: | Size: 79 B  | 
| 
		 Before Width: | Height: | Size: 88 B  | 
							
								
								
									
										
											BIN
										
									
								
								gfx/emotes/happy.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 125 B  | 
							
								
								
									
										
											BIN
										
									
								
								gfx/emotes/question.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 124 B  | 
							
								
								
									
										
											BIN
										
									
								
								gfx/emotes/shock.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 110 B  | 
| 
		 Before Width: | Height: | Size: 149 B  | 
| 
		 Before Width: | Height: | Size: 90 B After Width: | Height: | Size: 90 B  | 
| 
		 Before Width: | Height: | Size: 79 B After Width: | Height: | Size: 79 B  | 
| 
		 Before Width: | Height: | Size: 77 B After Width: | Height: | Size: 77 B  | 
| 
		 Before Width: | Height: | Size: 625 B After Width: | Height: | Size: 625 B  | 
							
								
								
									
										
											BIN
										
									
								
								gfx/font/font_battle_extra.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 252 B  | 
							
								
								
									
										
											BIN
										
									
								
								gfx/font/font_extra.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 283 B  | 
| 
		 Before Width: | Height: | Size: 262 B  | 
| 
		 Before Width: | Height: | Size: 366 B After Width: | Height: | Size: 366 B  | 
| 
		 Before Width: | Height: | Size: 360 B After Width: | Height: | Size: 360 B  | 
| 
		 Before Width: | Height: | Size: 416 B After Width: | Height: | Size: 416 B  | 
| 
		 Before Width: | Height: | Size: 220 B After Width: | Height: | Size: 220 B  | 
| 
		 Before Width: | Height: | Size: 90 B After Width: | Height: | Size: 90 B  | 
| 
		 Before Width: | Height: | Size: 139 B After Width: | Height: | Size: 139 B  | 
| 
		 Before Width: | Height: | Size: 180 B After Width: | Height: | Size: 180 B  | 
							
								
								
									
										
											BIN
										
									
								
								gfx/intro_credits/gengar.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 1.1 KiB  | 
| 
		 Before Width: | Height: | Size: 462 B After Width: | Height: | Size: 462 B  | 
| 
		 Before Width: | Height: | Size: 449 B After Width: | Height: | Size: 449 B  | 
| 
		 Before Width: | Height: | Size: 495 B After Width: | Height: | Size: 495 B  | 
| 
		 Before Width: | Height: | Size: 139 B After Width: | Height: | Size: 139 B  | 
| 
		 Before Width: | Height: | Size: 1.1 KiB  | 
| 
		 Before Width: | Height: | Size: 68 B After Width: | Height: | Size: 68 B  | 
| 
		 Before Width: | Height: | Size: 108 B After Width: | Height: | Size: 108 B  | 
| 
		 Before Width: | Height: | Size: 93 B After Width: | Height: | Size: 93 B  | 
| 
		 Before Width: | Height: | Size: 114 B After Width: | Height: | Size: 114 B  | 
| 
		 Before Width: | Height: | Size: 107 B After Width: | Height: | Size: 107 B  | 
| 
		 Before Width: | Height: | Size: 111 B After Width: | Height: | Size: 111 B  | 
| 
		 Before Width: | Height: | Size: 77 B After Width: | Height: | Size: 77 B  | 
| 
		 Before Width: | Height: | Size: 90 B After Width: | Height: | Size: 90 B  | 
| 
		 Before Width: | Height: | Size: 131 B After Width: | Height: | Size: 131 B  | 
							
								
								
									
										
											BIN
										
									
								
								gfx/pokeball.png
									
									
									
									
									
								
							
							
						
						| 
		 Before Width: | Height: | Size: 124 B  | 
| 
		 Before Width: | Height: | Size: 80 B After Width: | Height: | Size: 80 B  | 
| 
		 Before Width: | Height: | Size: 179 B After Width: | Height: | Size: 179 B  | 
| 
		 Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB  | 
| 
		 Before Width: | Height: | Size: 1 KiB After Width: | Height: | Size: 1 KiB  | 
| 
		 Before Width: | Height: | Size: 459 B After Width: | Height: | Size: 459 B  | 
| 
		 Before Width: | Height: | Size: 314 B After Width: | Height: | Size: 314 B  | 
| 
		 Before Width: | Height: | Size: 471 B After Width: | Height: | Size: 471 B  | 
| 
		 Before Width: | Height: | Size: 346 B After Width: | Height: | Size: 346 B  | 
							
								
								
									
										
											BIN
										
									
								
								gfx/text_box.png
									
									
									
									
									
								
							
							
						
						| 
		 Before Width: | Height: | Size: 295 B  | 
| 
		 Before Width: | Height: | Size: 116 B After Width: | Height: | Size: 116 B  | 
| 
		 Before Width: | Height: | Size: 147 B After Width: | Height: | Size: 147 B  | 
| 
		 Before Width: | Height: | Size: 450 B After Width: | Height: | Size: 450 B  | 
| 
		 Before Width: | Height: | Size: 926 B After Width: | Height: | Size: 926 B  | 
| 
		 Before Width: | Height: | Size: 126 B After Width: | Height: | Size: 126 B  | 
| 
		 Before Width: | Height: | Size: 256 B After Width: | Height: | Size: 256 B  | 
| 
		 Before Width: | Height: | Size: 82 B After Width: | Height: | Size: 82 B  | 
| 
		 Before Width: | Height: | Size: 80 B After Width: | Height: | Size: 80 B  | 
| 
		 Before Width: | Height: | Size: 126 B After Width: | Height: | Size: 126 B  | 
| 
		 Before Width: | Height: | Size: 246 B After Width: | Height: | Size: 246 B  | 
| 
		 Before Width: | Height: | Size: 207 B After Width: | Height: | Size: 207 B  | 
| 
		 Before Width: | Height: | Size: 324 B After Width: | Height: | Size: 324 B  | 
| 
		 Before Width: | Height: | Size: 135 B After Width: | Height: | Size: 135 B  | 
| 
		 Before Width: | Height: | Size: 924 B After Width: | Height: | Size: 924 B  | 
| 
		 Before Width: | Height: | Size: 73 B After Width: | Height: | Size: 73 B  | 
| 
		 Before Width: | Height: | Size: 81 B After Width: | Height: | Size: 81 B  | 
| 
		 Before Width: | Height: | Size: 175 B After Width: | Height: | Size: 175 B  | 
| 
		 Before Width: | Height: | Size: 470 B  | 
| 
		 Before Width: | Height: | Size: 379 B  | 
							
								
								
									
										52
									
								
								main.asm
									
									
									
									
									
								
							
							
						
						| 
						 | 
				
			
			@ -79,27 +79,27 @@ INCLUDE "engine/hidden_object_functions3.asm"
 | 
			
		|||
 | 
			
		||||
SECTION "Graphics (BANK 4)", ROMX
 | 
			
		||||
 | 
			
		||||
PokemonLogoGraphics:            INCBIN "gfx/pokemon_logo.2bpp"
 | 
			
		||||
FontGraphics::                  INCBIN "gfx/font.1bpp"
 | 
			
		||||
PokemonLogoGraphics:            INCBIN "gfx/title/pokemon_logo.2bpp"
 | 
			
		||||
FontGraphics::                  INCBIN "gfx/font/font.1bpp"
 | 
			
		||||
FontGraphicsEnd::
 | 
			
		||||
ABTiles:                        INCBIN "gfx/AB.2bpp"
 | 
			
		||||
HpBarAndStatusGraphics::        INCBIN "gfx/hp_bar_and_status.2bpp"
 | 
			
		||||
ABTiles:                        INCBIN "gfx/font/AB.2bpp"
 | 
			
		||||
HpBarAndStatusGraphics::        INCBIN "gfx/font/font_battle_extra.2bpp"
 | 
			
		||||
HpBarAndStatusGraphicsEnd::
 | 
			
		||||
BattleHudTiles1:                INCBIN "gfx/battle_hud1.1bpp"
 | 
			
		||||
BattleHudTiles1:                INCBIN "gfx/battle/battle_hud_1.1bpp"
 | 
			
		||||
BattleHudTiles1End:
 | 
			
		||||
BattleHudTiles2:                INCBIN "gfx/battle_hud2.1bpp"
 | 
			
		||||
BattleHudTiles3:                INCBIN "gfx/battle_hud3.1bpp"
 | 
			
		||||
BattleHudTiles2:                INCBIN "gfx/battle/battle_hud_2.1bpp"
 | 
			
		||||
BattleHudTiles3:                INCBIN "gfx/battle/battle_hud_3.1bpp"
 | 
			
		||||
BattleHudTiles3End:
 | 
			
		||||
NintendoCopyrightLogoGraphics:  INCBIN "gfx/copyright.2bpp"
 | 
			
		||||
GamefreakLogoGraphics:          INCBIN "gfx/gamefreak.2bpp"
 | 
			
		||||
NintendoCopyrightLogoGraphics:  INCBIN "gfx/intro_credits/copyright.2bpp"
 | 
			
		||||
GamefreakLogoGraphics:          INCBIN "gfx/title/gamefreak_inc.2bpp"
 | 
			
		||||
GamefreakLogoGraphicsEnd:
 | 
			
		||||
TextBoxGraphics::               INCBIN "gfx/text_box.2bpp"
 | 
			
		||||
TextBoxGraphics::               INCBIN "gfx/font/font_extra.2bpp"
 | 
			
		||||
TextBoxGraphicsEnd::
 | 
			
		||||
PokedexTileGraphics:            INCBIN "gfx/pokedex.2bpp"
 | 
			
		||||
PokedexTileGraphics:            INCBIN "gfx/pokedex/pokedex.2bpp"
 | 
			
		||||
PokedexTileGraphicsEnd:
 | 
			
		||||
WorldMapTileGraphics:           INCBIN "gfx/town_map.2bpp"
 | 
			
		||||
WorldMapTileGraphics:           INCBIN "gfx/town_map/town_map.2bpp"
 | 
			
		||||
WorldMapTileGraphicsEnd:
 | 
			
		||||
PlayerCharacterTitleGraphics:   INCBIN "gfx/player_title.2bpp"
 | 
			
		||||
PlayerCharacterTitleGraphics:   INCBIN "gfx/title/player.2bpp"
 | 
			
		||||
PlayerCharacterTitleGraphicsEnd:
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -176,11 +176,11 @@ SECTION "Battle (BANK B)", ROMX
 | 
			
		|||
 | 
			
		||||
INCLUDE "engine/battle/display_effectiveness.asm"
 | 
			
		||||
 | 
			
		||||
TrainerInfoTextBoxTileGraphics:  INCBIN "gfx/trainer_info.2bpp"
 | 
			
		||||
TrainerInfoTextBoxTileGraphics:  INCBIN "gfx/trainer_card/trainer_info.2bpp"
 | 
			
		||||
TrainerInfoTextBoxTileGraphicsEnd:
 | 
			
		||||
BlankLeaderNames:                INCBIN "gfx/blank_leader_names.2bpp"
 | 
			
		||||
CircleTile:                      INCBIN "gfx/circle_tile.2bpp"
 | 
			
		||||
BadgeNumbersTileGraphics:        INCBIN "gfx/badge_numbers.2bpp"
 | 
			
		||||
BlankLeaderNames:                INCBIN "gfx/trainer_card/blank_leader_names.2bpp"
 | 
			
		||||
CircleTile:                      INCBIN "gfx/trainer_card/circle_tile.2bpp"
 | 
			
		||||
BadgeNumbersTileGraphics:        INCBIN "gfx/trainer_card/badge_numbers.2bpp"
 | 
			
		||||
 | 
			
		||||
INCLUDE "engine/items/tmhm.asm"
 | 
			
		||||
INCLUDE "engine/battle/scale_sprites.asm"
 | 
			
		||||
| 
						 | 
				
			
			@ -215,12 +215,12 @@ INCLUDE "engine/battle/trainer_ai.asm"
 | 
			
		|||
INCLUDE "engine/battle/draw_hud_pokeball_gfx.asm"
 | 
			
		||||
 | 
			
		||||
TradingAnimationGraphics:
 | 
			
		||||
INCBIN "gfx/game_boy.2bpp"
 | 
			
		||||
INCBIN "gfx/link_cable.2bpp"
 | 
			
		||||
INCBIN "gfx/trade/game_boy.2bpp"
 | 
			
		||||
INCBIN "gfx/trade/link_cable.2bpp"
 | 
			
		||||
TradingAnimationGraphicsEnd:
 | 
			
		||||
 | 
			
		||||
; Pokeball traveling through the link cable.
 | 
			
		||||
TradingAnimationGraphics2: INCBIN "gfx/trade2.2bpp"
 | 
			
		||||
TradingAnimationGraphics2: INCBIN "gfx/trade/cable_ball.2bpp"
 | 
			
		||||
TradingAnimationGraphics2End:
 | 
			
		||||
 | 
			
		||||
INCLUDE "engine/evos_moves.asm"
 | 
			
		||||
| 
						 | 
				
			
			@ -323,10 +323,10 @@ INCLUDE "engine/battle/decrement_pp.asm"
 | 
			
		|||
 | 
			
		||||
Version_GFX:
 | 
			
		||||
IF DEF(_RED)
 | 
			
		||||
	INCBIN "gfx/red/redgreenversion.1bpp" ; 10 tiles
 | 
			
		||||
	INCBIN "gfx/title/red_version.1bpp" ; 10 tiles
 | 
			
		||||
ENDC
 | 
			
		||||
IF DEF(_BLUE)
 | 
			
		||||
	INCBIN "gfx/blue/blueversion.1bpp" ; 8 tiles
 | 
			
		||||
	INCBIN "gfx/title/blue_version.1bpp" ; 8 tiles
 | 
			
		||||
ENDC
 | 
			
		||||
Version_GFXEnd:
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -370,10 +370,10 @@ INCLUDE "engine/battle/animations.asm"
 | 
			
		|||
INCLUDE "engine/overworld/cut2.asm"
 | 
			
		||||
INCLUDE "engine/overworld/ssanne.asm"
 | 
			
		||||
 | 
			
		||||
RedFishingTilesFront: INCBIN "gfx/red_fishing_tile_front.2bpp"
 | 
			
		||||
RedFishingTilesBack:  INCBIN "gfx/red_fishing_tile_back.2bpp"
 | 
			
		||||
RedFishingTilesSide:  INCBIN "gfx/red_fishing_tile_side.2bpp"
 | 
			
		||||
RedFishingRodTiles:   INCBIN "gfx/red_fishingrod_tiles.2bpp"
 | 
			
		||||
RedFishingTilesFront: INCBIN "gfx/overworld/red_fish_front.2bpp"
 | 
			
		||||
RedFishingTilesBack:  INCBIN "gfx/overworld/red_fish_back.2bpp"
 | 
			
		||||
RedFishingTilesSide:  INCBIN "gfx/overworld/red_fish_side.2bpp"
 | 
			
		||||
RedFishingRodTiles:   INCBIN "gfx/overworld/fishing_rod.2bpp"
 | 
			
		||||
 | 
			
		||||
INCLUDE "data/animations.asm"
 | 
			
		||||
INCLUDE "engine/evolution.asm"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -411,7 +411,7 @@ SpinnerPlayerFacingDirections:
 | 
			
		|||
 | 
			
		||||
; these tiles are the animation for the tiles that push the player in dungeons like Rocket HQ
 | 
			
		||||
SpinnerArrowAnimTiles:
 | 
			
		||||
	INCBIN "gfx/spinner_arrow.2bpp"
 | 
			
		||||
	INCBIN "gfx/overworld/spinners.2bpp"
 | 
			
		||||
 | 
			
		||||
RocketHideoutB2F_TextPointers:
 | 
			
		||||
	dw RocketHideout2Text1
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,7 +5,7 @@ Overworld_Block::   INCBIN "gfx/blocksets/overworld.bst"
 | 
			
		|||
 | 
			
		||||
RedsHouse1_GFX::
 | 
			
		||||
RedsHouse2_GFX::    INCBIN "gfx/tilesets/reds_house.2bpp"
 | 
			
		||||
	ds 16
 | 
			
		||||
	ds 16, $00 ; blank tile
 | 
			
		||||
RedsHouse1_Block::
 | 
			
		||||
RedsHouse2_Block::  INCBIN "gfx/blocksets/reds_house.bst"
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||