As some of you may already be aware, we have begun construction of a new forum as a rebirth of PHO and continuing on into future projects.
This forum is called Silph Co., and can be found by clicking the banner below. We are in the process of transferring some of our old resources, and the forum is open for posting. It will be sad to see PHO go, but we look forward to a bright future with Silph.
The forums here will be moved to an archive, and the url will redirect to the new site in the coming days/weeks.

Archived HacksAny In Development hacks that have had no activity in at least 1.5 years are here.
If a hack of yours is in here and you'd like it restored, PM a member of the Mod team.

---------------------------------------------------------------
| Pokémon Red - Gen. II GFX&Music Patch |
| Version 2.0 |
| By: Danny-E 33 |
---------------------------------------------------------------
Intro:
======
This hack includes several graphical improvements over the
original game to give it the quality of a Gen. II game. It
also includes all songs from GSC. There is nothing new
about the storyline. It is for the purpose of getting to play
through the game again with a little more aesthetic appeal.
It is also highly intended to be a base ROM for anyone to
create a hack of this Gen. I game. With the major overhauls
added into this hack, anyone who wants to create their own
hack of Pokémon Red can use this base ROM and have a game that
is beautiful.
For all the custom assembly for this hack, please see:
https://github.com/dannye/pokered-gen-II/compare/pokered...music
No one needs to ask me up front to use this for their hack,
but you MUST give credit to me for the base ROM when your
hack is announced.
Features:
=========
-Customizable sprite banks
-All sprites from GSC
-Individualized sprite palettes (Pokémon and trainers!)
-Gen. II style 6x6 back sprites
-Several palette corrections (The Pokéball tile is always red.
Oak intro in full color!)
-Updated font, and other tiles, to match Gen. II
-Inserted the graphics for the GSC battle HUD
-The "Pokémon owned" Pokéball tile in wild battles
-Fully functional in-battle experience bar!
-All songs GSC!
Tools:
======
The pokered disassembly (https://github.com/iimarckus/pokered)
Swampert22's PaletteEd GB - inserting custom palettes
Credits:
========
These men have always been there for me when I had my noobish
questions and have let me grow into the person I am today by
challenging my creativity and problem solving. This hack would
not be possible without the help of these individuals.
-Sawakita
-stag019
-IIMarckus
-Mateo
-Miksy91
-Tauwasser
-comet
-kanzure
-Sanqui
Special credits go to Sanqui for porting Crystal's sound engine
into Red.
Sprites:
-Poketto
-Luigi-San
-Mateo
Version History:
================
01-08-2013: V1.0 - Initial release
-----------------------------------------------------------------
01-21-2013: V1.1 - Several updates including:
Cleaned-up ASM and a few mistakes fixed in the readme
Updated tileset 0 with GSC's Kanto tileset
Replaced OW palettes with GSC's Kanto OW palettes (Super
Gameboy mode)
Fixed Leaders' sprites in the Trainer Card
Added three songs from GSC, Trainer Battle, Wild Battle,
Leader Battle (thanks to FroggestSpirit)
-----------------------------------------------------------------
06-17-2013: V1.2 - Repointed the palette table to an empty
bank and expanded the table to include a palette for every
single Pokémon and trainer sprite
Corrected several Pokémons' sprite and palette data so that
the Pokémon look correct when viewed in a monochrome setting
Added my FRLG Cueball devamp
-----------------------------------------------------------------
01-23-2014: V1.3 - Modified the battle hud to perfectly
resemble the GSC battle hud
Added the small Pokéball tile that appears in wild battles
against Pokémon that are already owned
Fixed the bug that loads the wrong palette when Transform is
used
Added 13 total GSC songs.
-----------------------------------------------------------------
03-03-2014: V1.4 - Restored SGB Border
Added a fully functional experience bar to the battle HUD
-----------------------------------------------------------------
03-05-2014: V1.5 - Fixed an exp bar bug that occurs when the
player uses Transform
-----------------------------------------------------------------
01-30-2015: V2.0 - Fixed the player back sprite in the Hall
Of Fame Room
Ported Crystal's sound engine and all Crystal music

It should be noted that this is not related to my personal hack, Pokémon Prototype (although it includes many of the same features).Any opinion/preference in Prototype, such as choosing a few sprites from other games, is not put into this hack. Every sprite came directly from GSC, with the exception of a few trainer sprites that did not exist in Gen. II. Those sprites are credited accordingly.If you find any bugs, please let me know. Also, feel free to give any advice or feedback.

Recently, I spent several days recreating the Graphics Patch V1.2 using the pokered disassembly.
If anyone is serious about using this as a base rom for a hack, I highly recommend using this disassembly for creating their hack.
It can be located here: Pokémon Red - Gen. II Graphics Repository

Here is a pretty important update! I fully implemented the Pokéball tile that is displayed by the enemy health bar in wild battles with Pokémon you've already caught!
Here it is! http://www.youtube.com/watch?v=DCANDefWruw
Also, you may notice that the enemy health bar is now identical to gsc. Before, there was a slight difference because there is originally a tile that is used in both the player and enemy battle hud. Now I edited how tiles are loaded to the battle hud to make the enemy hud load a separate tile so that it can be edited independently from the player hud.
I also changed how the enemy's level is loaded so that it is also loaded in the same place as in gsc.
Least importantly, I removed the player name centering feature that makes player Pokémon with four or less letters in its name placed further to the right. This feature is not in gsc.
This was made possible by the power of the disassembly and the wisdom of those in the skeetendo irc.

Just started reading your change log for fun, and that way, checking how much of the code could be optimized in less machine instructions, and smaller space. While at it, I noticed you did quite a lot of;

Code:

compare register a with case1
if [something], jump toPlace1
compare register a with case2
if [something], jump toPlace2
etc.

These kind of things should be put in jump tables. There is machine instructions "jp hl" in Gameboy CPU instruction set which you probably knew though. But yeah, since tables are the only significant way of storing data with the instruction set GB has, it's convenient to use tables often as well.

I don't get what you mean.. what exactly would be changed? And if I added 'jump tables' (I don't know what those are), I would be taking up more bytes, even if it takes less asm instructions. I don't see how it would be very space-saving. But maybe I'm just misunderstanding.

I guess you'd rather want to save space by writing the way you have, but if we weren't rom hacking, but would be programming instead, any programmer would replace comparing cases with jump tables.
I've never had that much problems with free space when it comes to coding new stuff, only with existing data structures. So I'm used to trying to think of the smartest way the code the feature, though it might not always be the most save spacing.

(Anyway, what you could do about the code is to remove useless "cp a, 00" instructions. "and a, a" and "xor a, a" are instructions that take only one byte and can do a lot of valuable stuff on their own.)

Just uploaded V1.3. This update mostly features:
The Pokéball tile that is in GSC that is displayed when you already own the enemy Pokémon
A bug fix for the Transform palette bug problem
Ten additional GSC songs.

Right now, the SGB border does not work. I may get around to fixing this soon.

Well this is a graphics and music hack, so it works for the whole game...

Quote:

Originally Posted by MercuryShadowScizor

This seems like an interesting hack of Red. Great job! ^^

Though I wonder... would this same patch work for Blue as well or is the coding for Blue different enough from Red that it wouldn't work?

Yes, this patch can be applied to a Blue rom.
Also, you have the option to compile the source code for this hack from https://github.com/dannye/pokered-gen-II and it will compile a Red and a Blue version.