Skip to content

Commit

Permalink
Fixed fairy water text with female characters
Browse files Browse the repository at this point in the history
  • Loading branch information
mcgrew committed Aug 1, 2018
1 parent 781b2e1 commit 1ee56ea
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
2 changes: 1 addition & 1 deletion common/build.h
@@ -1,2 +1,2 @@
/* This file is generated by git */
#define BUILD "347"
#define BUILD "349"
16 changes: 14 additions & 2 deletions common/sprites.c
Expand Up @@ -238,6 +238,7 @@ static void mario(dw_rom *rom)

static void gwaelin(dw_rom *rom)
{
vpatch(rom, 0x087ea, 2, 0x0e, 0x1b); // his -> her
vpatch(rom, 0x01345, 15, 0x03, 0x00, 0x43, 0x02, 0x03, 0x03, 0x03, 0x00, 0x03, 0x00, 0x43, 0x03, 0x43, 0x02, 0x43);
vpatch(rom, 0x01385, 15, 0x00, 0x72, 0x00, 0x74, 0x00, 0x76, 0x00, 0x88, 0x00, 0x89, 0x00, 0x8a, 0x00, 0x8b, 0x00);
vpatch(rom, 0x013a5, 15, 0x03, 0x0c, 0x43, 0x0f, 0x43, 0x0e, 0x43, 0x0c, 0x03, 0x0c, 0x43, 0x0e, 0x03, 0x0f, 0x03);
Expand All @@ -258,7 +259,6 @@ static void gwaelin(dw_rom *rom)
vpatch(rom, 0x01a9d, 1, 0x07);
vpatch(rom, 0x01aa6, 1, 0x12);
vpatch(rom, 0x07b8e, 6, 0x1e, 0x12, 0x16, 0x18, 0x17, 0x0d);
vpatch(rom, 0x087ea, 2, 0x0e, 0x1b);
vpatch(rom, 0x08fcc, 11, 0x5f, 0x2a, 0x1e, 0x12, 0x16, 0x18, 0x17, 0x0d, 0x52, 0x5f, 0x5f);
vpatch(rom, 0x0942d, 36, 0x5f, 0x2a, 0x1e, 0x12, 0x16, 0x18, 0x17, 0x0d, 0x5f, 0x12, 0x1c, 0x5f, 0x11, 0x12, 0x0d, 0x0d, 0x0e, 0x17, 0x5f, 0x0a, 0x20, 0x0a, 0x22, 0x5f, 0x12, 0x17, 0x5f, 0x0a, 0x5f, 0x0c, 0x0a, 0x1f, 0x0e, 0x52, 0x5f, 0x5f);
vpatch(rom, 0x09533, 36, 0x5f, 0x20, 0x0a, 0x1c, 0x5f, 0x14, 0x12, 0x0d, 0x17, 0x0a, 0x19, 0x19, 0x0e, 0x0d, 0x5f, 0x0a, 0x17, 0x0d, 0x5f, 0x1d, 0x0a, 0x14, 0x0e, 0x17, 0x5f, 0x0e, 0x0a, 0x1c, 0x1d, 0x20, 0x0a, 0x1b, 0x0d, 0x52, 0x5f, 0x5f);
Expand Down Expand Up @@ -396,6 +396,7 @@ static void dw2_midenhall(dw_rom *rom)
static void dw2_moonbrooke(dw_rom *rom)
{
// Dragon Warrior - DW2 - Princess of Moonbrooke (PRG0).nes
vpatch(rom, 0x087ea, 2, 0x0e, 0x1b); // his -> her
vpatch(rom, 0x013c4, 79, 0x50, 0x00, 0x51, 0x00, 0x52, 0x00, 0x53, 0x00, 0x54, 0x00, 0x55, 0x00, 0x56, 0x00, 0x57, 0x00, 0x50, 0x00, 0x51, 0x00, 0x52, 0x00, 0x53, 0x00, 0x54, 0x00, 0x55, 0x00, 0x56, 0x00, 0x57, 0x00, 0x50, 0x00, 0x51, 0x00, 0x52, 0x00, 0x53, 0x00, 0x54, 0x00, 0x55, 0x00, 0x56, 0x00, 0x57, 0x00, 0x50, 0x00, 0x51, 0x00, 0x52, 0x00, 0x53, 0x00, 0x54, 0x00, 0x55, 0x00, 0x56, 0x00, 0x57, 0x00, 0x50, 0x00, 0x51, 0x00, 0x52, 0x00, 0x53, 0x00, 0x54, 0x00, 0x55, 0x00, 0x56, 0x00, 0x57);
vpatch(rom, 0x014c4, 15, 0x48, 0x00, 0x49, 0x00, 0x4a, 0x00, 0x4b, 0x00, 0x4c, 0x00, 0x4d, 0x00, 0x4e, 0x00, 0x4f);
vpatch(rom, 0x014e4, 15, 0x48, 0x00, 0x49, 0x00, 0x4a, 0x00, 0x4b, 0x00, 0x4c, 0x00, 0x4d, 0x00, 0x4e, 0x00, 0x4f);
Expand Down Expand Up @@ -436,6 +437,7 @@ static void dw2_moonbrooke(dw_rom *rom)
static void dw3_female_fighter(dw_rom *rom)
{
// Dragon Warrior - DW3 - Fighter, Female (PRG0).nes
vpatch(rom, 0x087ea, 2, 0x0e, 0x1b); // his -> her
vpatch(rom, 0x013c4, 80, 0x50, 0x01, 0x51, 0x01, 0x52, 0x01, 0x53, 0x01, 0x54, 0x01, 0x55, 0x01, 0x56, 0x01, 0x57, 0x01, 0x50, 0x01, 0x51, 0x01, 0x52, 0x01, 0x53, 0x01, 0x54, 0x01, 0x55, 0x01, 0x56, 0x01, 0x57, 0x01, 0x50, 0x01, 0x51, 0x01, 0x52, 0x01, 0x53, 0x01, 0x54, 0x01, 0x55, 0x01, 0x56, 0x01, 0x57, 0x01, 0x50, 0x01, 0x51, 0x01, 0x52, 0x01, 0x53, 0x01, 0x54, 0x01, 0x55, 0x01, 0x56, 0x01, 0x57, 0x01, 0x50, 0x01, 0x51, 0x01, 0x52, 0x01, 0x53, 0x01, 0x54, 0x01, 0x55, 0x01, 0x56, 0x01, 0x57, 0x01);
vpatch(rom, 0x014c4, 78, 0x48, 0x01, 0x49, 0x01, 0x4a, 0x01, 0x4b, 0x01, 0x4c, 0x01, 0x4d, 0x01, 0x4e, 0x01, 0x4f, 0x01, 0x48, 0x01, 0x49, 0x01, 0x4a, 0x01, 0x4b, 0x01, 0x4c, 0x01, 0x4d, 0x01, 0x4e, 0x01, 0x4f, 0x01, 0x48, 0x01, 0x49, 0x01, 0x4a, 0x01, 0x4b, 0x01, 0x4c, 0x01, 0x4d, 0x01, 0x4e, 0x01, 0x4f, 0x01, 0x48, 0x01, 0x49, 0x01, 0x4a, 0x01, 0x4b, 0x01, 0x4c, 0x01, 0x4d, 0x01, 0x4e, 0x01, 0x4f, 0x01, 0x48, 0x01, 0xa9, 0x03, 0x4a, 0x01, 0xab, 0x03, 0x4c, 0x01, 0xad, 0x03, 0x4e, 0x01);
vpatch(rom, 0x015c4, 68, 0x30, 0x01, 0x31, 0x01, 0x32, 0x01, 0x33, 0x01, 0x34, 0x01, 0x35, 0x01, 0x36, 0x01, 0x37, 0x01, 0x30, 0x01, 0x31, 0x01, 0x32, 0x01, 0x33, 0x01, 0x34, 0x01, 0x35, 0x01, 0x36, 0x01, 0x37, 0x01, 0x30, 0x01, 0x31, 0x01, 0x32, 0x01, 0x33, 0x01, 0x34, 0x01, 0x35, 0x01, 0x36, 0x01, 0x37, 0x01, 0x30, 0x01, 0x31, 0x01, 0x32, 0x01, 0x33, 0x01, 0x34, 0x01, 0x35, 0x01, 0x36, 0x01, 0x37, 0x01, 0xb4, 0x03, 0x31, 0x01);
Expand Down Expand Up @@ -532,6 +534,7 @@ static void dw3_male_fighter(dw_rom *rom)
static void dw3_female_goof_off(dw_rom *rom)
{
// Dragon Warrior - DW3 - Goof-off, Female (PRG0).nes
vpatch(rom, 0x087ea, 2, 0x0e, 0x1b); // his -> her
vpatch(rom, 0x013c4, 79, 0x50, 0x00, 0x51, 0x00, 0x52, 0x00, 0x53, 0x00, 0x54, 0x00, 0x55, 0x00, 0x56, 0x00, 0x57, 0x00, 0x50, 0x00, 0x51, 0x00, 0x52, 0x00, 0x53, 0x00, 0x54, 0x00, 0x55, 0x00, 0x56, 0x00, 0x57, 0x00, 0x50, 0x00, 0x51, 0x00, 0x52, 0x00, 0x53, 0x00, 0x54, 0x00, 0x55, 0x00, 0x56, 0x00, 0x57, 0x00, 0x50, 0x00, 0x51, 0x00, 0x52, 0x00, 0x53, 0x00, 0x54, 0x00, 0x55, 0x00, 0x56, 0x00, 0x57, 0x00, 0x50, 0x00, 0x51, 0x00, 0x52, 0x00, 0x53, 0x00, 0x54, 0x00, 0x55, 0x00, 0x56, 0x00, 0x57);
vpatch(rom, 0x014c4, 15, 0x48, 0x00, 0x49, 0x00, 0x4a, 0x00, 0x4b, 0x00, 0x4c, 0x00, 0x4d, 0x00, 0x4e, 0x00, 0x4f);
vpatch(rom, 0x014e4, 15, 0x48, 0x00, 0x49, 0x00, 0x4a, 0x00, 0x4b, 0x00, 0x4c, 0x00, 0x4d, 0x00, 0x4e, 0x00, 0x4f);
Expand Down Expand Up @@ -652,6 +655,7 @@ static void dw3_hero(dw_rom *rom)
static void dw3_female_merchant(dw_rom *rom)
{
// Dragon Warrior - DW3 - Merchant, Female (PRG0).nes
vpatch(rom, 0x087ea, 2, 0x0e, 0x1b); // his -> her
vpatch(rom, 0x013c4, 79, 0x50, 0x00, 0x51, 0x00, 0x52, 0x00, 0x53, 0x00, 0x54, 0x00, 0x55, 0x00, 0x56, 0x00, 0x57, 0x00, 0x50, 0x00, 0x51, 0x00, 0x52, 0x00, 0x53, 0x00, 0x54, 0x00, 0x55, 0x00, 0x56, 0x00, 0x57, 0x00, 0x50, 0x00, 0x51, 0x00, 0x52, 0x00, 0x53, 0x00, 0x54, 0x00, 0x55, 0x00, 0x56, 0x00, 0x57, 0x00, 0x50, 0x00, 0x51, 0x00, 0x52, 0x00, 0x53, 0x00, 0x54, 0x00, 0x55, 0x00, 0x56, 0x00, 0x57, 0x00, 0x50, 0x00, 0x51, 0x00, 0x52, 0x00, 0x53, 0x00, 0x54, 0x00, 0x55, 0x00, 0x56, 0x00, 0x57);
vpatch(rom, 0x014c4, 15, 0x48, 0x00, 0x49, 0x00, 0x4a, 0x00, 0x4b, 0x00, 0x4c, 0x00, 0x4d, 0x00, 0x4e, 0x00, 0x4f);
vpatch(rom, 0x014e4, 15, 0x48, 0x00, 0x49, 0x00, 0x4a, 0x00, 0x4b, 0x00, 0x4c, 0x00, 0x4d, 0x00, 0x4e, 0x00, 0x4f);
Expand Down Expand Up @@ -732,6 +736,7 @@ static void dw3_male_merchant(dw_rom *rom)
static void dw3_female_pilgrim(dw_rom *rom)
{
// Dragon Warrior - DW3 - Pilgrim, Female (PRG0).nes
vpatch(rom, 0x087ea, 2, 0x0e, 0x1b); // his -> her
vpatch(rom, 0x013c4, 79, 0x50, 0x00, 0x51, 0x00, 0x52, 0x00, 0x53, 0x00, 0x54, 0x00, 0x55, 0x00, 0x56, 0x00, 0x57, 0x00, 0x50, 0x00, 0x51, 0x00, 0x52, 0x00, 0x53, 0x00, 0x54, 0x00, 0x55, 0x00, 0x56, 0x00, 0x57, 0x00, 0x50, 0x00, 0x51, 0x00, 0x52, 0x00, 0x53, 0x00, 0x54, 0x00, 0x55, 0x00, 0x56, 0x00, 0x57, 0x00, 0x50, 0x00, 0x51, 0x00, 0x52, 0x00, 0x53, 0x00, 0x54, 0x00, 0x55, 0x00, 0x56, 0x00, 0x57, 0x00, 0x50, 0x00, 0x51, 0x00, 0x52, 0x00, 0x53, 0x00, 0x54, 0x00, 0x55, 0x00, 0x56, 0x00, 0x57);
vpatch(rom, 0x014c4, 15, 0x48, 0x00, 0x49, 0x00, 0x4a, 0x00, 0x4b, 0x00, 0x4c, 0x00, 0x4d, 0x00, 0x4e, 0x00, 0x4f);
vpatch(rom, 0x014e4, 15, 0x48, 0x00, 0x49, 0x00, 0x4a, 0x00, 0x4b, 0x00, 0x4c, 0x00, 0x4d, 0x00, 0x4e, 0x00, 0x4f);
Expand Down Expand Up @@ -812,6 +817,7 @@ static void dw3_male_pilgrim(dw_rom *rom)
static void dw3_female_sage(dw_rom *rom)
{
// Dragon Warrior - DW3 - Sage, Female (PRG0).nes
vpatch(rom, 0x087ea, 2, 0x0e, 0x1b); // his -> her
vpatch(rom, 0x013c4, 79, 0x50, 0x00, 0x51, 0x00, 0x52, 0x00, 0x53, 0x00, 0x54, 0x00, 0x55, 0x00, 0x56, 0x00, 0x57, 0x00, 0x50, 0x00, 0x51, 0x00, 0x52, 0x00, 0x53, 0x00, 0x54, 0x00, 0x55, 0x00, 0x56, 0x00, 0x57, 0x00, 0x50, 0x00, 0x51, 0x00, 0x52, 0x00, 0x53, 0x00, 0x54, 0x00, 0x55, 0x00, 0x56, 0x00, 0x57, 0x00, 0x50, 0x00, 0x51, 0x00, 0x52, 0x00, 0x53, 0x00, 0x54, 0x00, 0x55, 0x00, 0x56, 0x00, 0x57, 0x00, 0x50, 0x00, 0x51, 0x00, 0x52, 0x00, 0x53, 0x00, 0x54, 0x00, 0x55, 0x00, 0x56, 0x00, 0x57);
vpatch(rom, 0x014c4, 15, 0x48, 0x00, 0x49, 0x00, 0x4a, 0x00, 0x4b, 0x00, 0x4c, 0x00, 0x4d, 0x00, 0x4e, 0x00, 0x4f);
vpatch(rom, 0x014e4, 15, 0x48, 0x00, 0x49, 0x00, 0x4a, 0x00, 0x4b, 0x00, 0x4c, 0x00, 0x4d, 0x00, 0x4e, 0x00, 0x4f);
Expand Down Expand Up @@ -892,6 +898,7 @@ static void dw3_male_sage(dw_rom *rom)
static void dw3_female_soldier(dw_rom *rom)
{
// Dragon Warrior - DW3 - Soldier, Female (PRG0).nes
vpatch(rom, 0x087ea, 2, 0x0e, 0x1b); // his -> her
vpatch(rom, 0x013c4, 79, 0x50, 0x00, 0x51, 0x00, 0x52, 0x00, 0x53, 0x00, 0x54, 0x00, 0x55, 0x00, 0x56, 0x00, 0x57, 0x00, 0x50, 0x00, 0x51, 0x00, 0x52, 0x00, 0x53, 0x00, 0x54, 0x00, 0x55, 0x00, 0x56, 0x00, 0x57, 0x00, 0x50, 0x00, 0x51, 0x00, 0x52, 0x00, 0x53, 0x00, 0x54, 0x00, 0x55, 0x00, 0x56, 0x00, 0x57, 0x00, 0x50, 0x00, 0x51, 0x00, 0x52, 0x00, 0x53, 0x00, 0x54, 0x00, 0x55, 0x00, 0x56, 0x00, 0x57, 0x00, 0x50, 0x00, 0x51, 0x00, 0x52, 0x00, 0x53, 0x00, 0x54, 0x00, 0x55, 0x00, 0x56, 0x00, 0x57);
vpatch(rom, 0x014c4, 15, 0x48, 0x00, 0x49, 0x00, 0x4a, 0x00, 0x4b, 0x00, 0x4c, 0x00, 0x4d, 0x00, 0x4e, 0x00, 0x4f);
vpatch(rom, 0x014e4, 15, 0x48, 0x00, 0x49, 0x00, 0x4a, 0x00, 0x4b, 0x00, 0x4c, 0x00, 0x4d, 0x00, 0x4e, 0x00, 0x4f);
Expand Down Expand Up @@ -972,6 +979,7 @@ static void dw3_male_soldier(dw_rom *rom)
static void dw3_female_wizard(dw_rom *rom)
{
// Dragon Warrior - DW3 - Wizard, Female (PRG0).nes
vpatch(rom, 0x087ea, 2, 0x0e, 0x1b); // his -> her
vpatch(rom, 0x013c4, 80, 0x50, 0x01, 0x51, 0x01, 0x52, 0x01, 0x53, 0x01, 0x54, 0x01, 0x55, 0x01, 0x56, 0x01, 0x57, 0x01, 0x50, 0x01, 0x51, 0x01, 0x52, 0x01, 0x53, 0x01, 0x54, 0x01, 0x55, 0x01, 0x56, 0x01, 0x57, 0x01, 0x50, 0x01, 0x51, 0x01, 0x52, 0x01, 0x53, 0x01, 0x54, 0x01, 0x55, 0x01, 0x56, 0x01, 0x57, 0x01, 0x50, 0x01, 0x51, 0x01, 0x52, 0x01, 0x53, 0x01, 0x54, 0x01, 0x55, 0x01, 0x56, 0x01, 0x57, 0x01, 0x50, 0x01, 0x51, 0x01, 0x52, 0x01, 0x53, 0x01, 0x54, 0x01, 0x55, 0x01, 0x56, 0x01, 0x57, 0x01);
vpatch(rom, 0x014c4, 78, 0x48, 0x01, 0x49, 0x01, 0x4a, 0x01, 0x4b, 0x01, 0x4c, 0x01, 0x4d, 0x01, 0x4e, 0x01, 0x4f, 0x01, 0x48, 0x01, 0x49, 0x01, 0x4a, 0x01, 0x4b, 0x01, 0x4c, 0x01, 0x4d, 0x01, 0x4e, 0x01, 0x4f, 0x01, 0x48, 0x01, 0x49, 0x01, 0x4a, 0x01, 0x4b, 0x01, 0x4c, 0x01, 0x4d, 0x01, 0x4e, 0x01, 0x4f, 0x01, 0x48, 0x01, 0x49, 0x01, 0x4a, 0x01, 0x4b, 0x01, 0x4c, 0x01, 0x4d, 0x01, 0x4e, 0x01, 0x4f, 0x01, 0x48, 0x01, 0xa9, 0x03, 0x4a, 0x01, 0xab, 0x03, 0x4c, 0x01, 0xad, 0x03, 0x4e, 0x01);
vpatch(rom, 0x015c4, 68, 0x30, 0x01, 0x31, 0x01, 0x32, 0x01, 0x33, 0x01, 0x34, 0x01, 0x35, 0x01, 0x36, 0x01, 0x37, 0x01, 0x30, 0x01, 0x31, 0x01, 0x32, 0x01, 0x33, 0x01, 0x34, 0x01, 0x35, 0x01, 0x36, 0x01, 0x37, 0x01, 0x30, 0x01, 0x31, 0x01, 0x32, 0x01, 0x33, 0x01, 0x34, 0x01, 0x35, 0x01, 0x36, 0x01, 0x37, 0x01, 0x30, 0x01, 0x31, 0x01, 0x32, 0x01, 0x33, 0x01, 0x34, 0x01, 0x35, 0x01, 0x36, 0x01, 0x37, 0x01, 0xb4, 0x03, 0x31, 0x01);
Expand Down Expand Up @@ -1060,6 +1068,7 @@ static void dw3_male_wizard(dw_rom *rom)
static void dw4_alena(dw_rom *rom)
{
// Dragon Warrior - DW4 - Alena (PRG0).nes
vpatch(rom, 0x087ea, 2, 0x0e, 0x1b); // his -> her
vpatch(rom, 0x013c4, 79, 0x50, 0x00, 0x51, 0x00, 0x52, 0x00, 0x53, 0x00, 0x54, 0x00, 0x55, 0x00, 0x56, 0x00, 0x57, 0x00, 0x50, 0x00, 0x51, 0x00, 0x52, 0x00, 0x53, 0x00, 0x54, 0x00, 0x55, 0x00, 0x56, 0x00, 0x57, 0x00, 0x50, 0x00, 0x51, 0x00, 0x52, 0x00, 0x53, 0x00, 0x54, 0x00, 0x55, 0x00, 0x56, 0x00, 0x57, 0x00, 0x50, 0x00, 0x51, 0x00, 0x52, 0x00, 0x53, 0x00, 0x54, 0x00, 0x55, 0x00, 0x56, 0x00, 0x57, 0x00, 0x50, 0x00, 0x51, 0x00, 0x52, 0x00, 0x53, 0x00, 0x54, 0x00, 0x55, 0x00, 0x56, 0x00, 0x57);
vpatch(rom, 0x014c4, 15, 0x48, 0x00, 0x49, 0x00, 0x4a, 0x00, 0x4b, 0x00, 0x4c, 0x00, 0x4d, 0x00, 0x4e, 0x00, 0x4f);
vpatch(rom, 0x014e4, 15, 0x48, 0x00, 0x49, 0x00, 0x4a, 0x00, 0x4b, 0x00, 0x4c, 0x00, 0x4d, 0x00, 0x4e, 0x00, 0x4f);
Expand Down Expand Up @@ -1138,6 +1147,7 @@ static void dw4_brey(dw_rom *rom)
static void dw4_celia(dw_rom *rom)
{
// Dragon Warrior - DW4 - Celia (PRG0).nes
vpatch(rom, 0x087ea, 2, 0x0e, 0x1b); // his -> her
vpatch(rom, 0x013c4, 79, 0x50, 0x00, 0x51, 0x00, 0x52, 0x00, 0x53, 0x00, 0x54, 0x00, 0x55, 0x00, 0x56, 0x00, 0x57, 0x00, 0x50, 0x00, 0x51, 0x00, 0x52, 0x00, 0x53, 0x00, 0x54, 0x00, 0x55, 0x00, 0x56, 0x00, 0x57, 0x00, 0x50, 0x00, 0x51, 0x00, 0x52, 0x00, 0x53, 0x00, 0x54, 0x00, 0x55, 0x00, 0x56, 0x00, 0x57, 0x00, 0x50, 0x00, 0x51, 0x00, 0x52, 0x00, 0x53, 0x00, 0x54, 0x00, 0x55, 0x00, 0x56, 0x00, 0x57, 0x00, 0x50, 0x00, 0x51, 0x00, 0x52, 0x00, 0x53, 0x00, 0x54, 0x00, 0x55, 0x00, 0x56, 0x00, 0x57);
vpatch(rom, 0x014c4, 15, 0x48, 0x00, 0x49, 0x00, 0x4a, 0x00, 0x4b, 0x00, 0x4c, 0x00, 0x4d, 0x00, 0x4e, 0x00, 0x4f);
vpatch(rom, 0x014e4, 15, 0x48, 0x00, 0x49, 0x00, 0x4a, 0x00, 0x4b, 0x00, 0x4c, 0x00, 0x4d, 0x00, 0x4e, 0x00, 0x4f);
Expand Down Expand Up @@ -1263,6 +1273,7 @@ static void dw4_healie(dw_rom *rom)

static void dw4_heroine(dw_rom *rom)
{
vpatch(rom, 0x087ea, 2, 0x0e, 0x1b); // his -> her
vpatch(rom, 0x013cc, 17, 0x20, 0x00, 0x84, 0x00, 0x46, 0x00, 0x86, 0x00, 0x20, 0x00, 0x41, 0x00, 0x24, 0x00, 0x43, 0x00, 0x20);
vpatch(rom, 0x013e4, 1, 0x20);
vpatch(rom, 0x013ec, 21, 0x20, 0x00, 0x84, 0x00, 0x66, 0x00, 0x86, 0x00, 0x20, 0x00, 0x41, 0x00, 0x62, 0x00, 0x43, 0x00, 0x20, 0x00, 0x45, 0x00, 0x66);
Expand All @@ -1271,7 +1282,6 @@ static void dw4_heroine(dw_rom *rom)
vpatch(rom, 0x016c4, 32, 0x40, 0x00, 0x44, 0x00, 0x42, 0x00, 0x64, 0x00, 0x91, 0x00, 0x95, 0x00, 0x93, 0x00, 0x97, 0x00, 0x80, 0x00, 0x44, 0x00, 0x60, 0x00, 0x64, 0x00, 0x82, 0x00, 0x95, 0x00, 0x75, 0x00, 0x97, 0x00);
vpatch(rom, 0x016f4, 9, 0x80, 0x00, 0x99, 0x00, 0x60, 0x00, 0x9b, 0x00, 0x82);
vpatch(rom, 0x01a9b, 2, 0x30, 0x1a);
vpatch(rom, 0x087ea, 2, 0x0e, 0x1b);
vpatch(rom, 0x12210, 32, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x17, 0x3f, 0x3f, 0x1f, 0x3f, 0x3f, 0x3f, 0x1f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe8, 0xfc, 0xfc, 0xf8, 0xfc, 0xfc, 0xfc, 0xf8);
vpatch(rom, 0x12250, 96, 0x18, 0x3f, 0x7f, 0x70, 0x1f, 0x0f, 0x06, 0x00, 0x1f, 0x1c, 0x1f, 0x1f, 0x1e, 0x08, 0x06, 0x00, 0x10, 0xfc, 0xfc, 0xf8, 0xf0, 0xf0, 0xe0, 0xe0, 0xe0, 0x00, 0x80, 0x10, 0x30, 0x10, 0x00, 0xe0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x0b, 0x1f, 0x1f, 0x3f, 0x3f, 0x3f, 0x1e, 0x0f, 0x00, 0x10, 0x38, 0x78, 0x90, 0x70, 0xf0, 0xe0, 0x60, 0xe0, 0xd8, 0x98, 0x68, 0xa0, 0x20, 0x00, 0x0d, 0x1f, 0x1f, 0x1c, 0x3f, 0x3f, 0x07, 0x03, 0x06, 0x08, 0x03, 0x07, 0x0f, 0x18, 0x00, 0x03, 0xc0, 0xe0, 0xf0, 0x60, 0xf0, 0xf0, 0x30, 0x80, 0x40, 0x20, 0x00, 0x90, 0xf0, 0xc0, 0x30, 0x80);
vpatch(rom, 0x12310, 128, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x0b, 0x1f, 0x1f, 0x3f, 0x3f, 0x3f, 0x1e, 0x0f, 0x00, 0x10, 0x38, 0x78, 0x90, 0x70, 0xf0, 0xe0, 0x60, 0xe0, 0xd8, 0x98, 0x68, 0xa0, 0x20, 0x00, 0x05, 0x0f, 0x0f, 0x1c, 0x3f, 0x3f, 0x0c, 0x00, 0x06, 0x0a, 0x00, 0x07, 0x0f, 0x13, 0x0c, 0x00, 0xc0, 0xe0, 0xe0, 0xc0, 0xf0, 0xe0, 0xe0, 0x70, 0x40, 0x20, 0x60, 0x30, 0xf0, 0x00, 0x00, 0x70, 0x00, 0x01, 0x03, 0x07, 0x08, 0x07, 0x0f, 0x07, 0x17, 0x3e, 0x3d, 0x19, 0x37, 0x3a, 0x32, 0x18, 0x00, 0x80, 0xc0, 0xe0, 0x90, 0xe0, 0xf0, 0xe0, 0xe8, 0x7c, 0xbc, 0x98, 0x6c, 0x5c, 0x4c, 0x18, 0x09, 0x1b, 0x3d, 0x31, 0x0f, 0x0f, 0x06, 0x00, 0x06, 0x04, 0x07, 0x0e, 0x0f, 0x09, 0x06, 0x00, 0x90, 0xf8, 0xf8, 0x80, 0xf0, 0xf0, 0xe0, 0xe0, 0x60, 0x30, 0xf0, 0x70, 0xf0, 0x10, 0x00, 0xe0);
Expand Down Expand Up @@ -1343,6 +1353,7 @@ static void dw4_hero(dw_rom *rom)
static void dw4_mara(dw_rom *rom)
{
// Dragon Warrior - DW4 - Mara (PRG0).nes
vpatch(rom, 0x087ea, 2, 0x0e, 0x1b); // his -> her
vpatch(rom, 0x013c4, 79, 0x50, 0x00, 0x51, 0x00, 0x52, 0x00, 0x53, 0x00, 0x54, 0x00, 0x55, 0x00, 0x56, 0x00, 0x57, 0x00, 0x50, 0x00, 0x51, 0x00, 0x52, 0x00, 0x53, 0x00, 0x54, 0x00, 0x55, 0x00, 0x56, 0x00, 0x57, 0x00, 0x50, 0x00, 0x51, 0x00, 0x52, 0x00, 0x53, 0x00, 0x54, 0x00, 0x55, 0x00, 0x56, 0x00, 0x57, 0x00, 0x50, 0x00, 0x51, 0x00, 0x52, 0x00, 0x53, 0x00, 0x54, 0x00, 0x55, 0x00, 0x56, 0x00, 0x57, 0x00, 0x50, 0x00, 0x51, 0x00, 0x52, 0x00, 0x53, 0x00, 0x54, 0x00, 0x55, 0x00, 0x56, 0x00, 0x57);
vpatch(rom, 0x014c4, 15, 0x48, 0x00, 0x49, 0x00, 0x4a, 0x00, 0x4b, 0x00, 0x4c, 0x00, 0x4d, 0x00, 0x4e, 0x00, 0x4f);
vpatch(rom, 0x014e4, 15, 0x48, 0x00, 0x49, 0x00, 0x4a, 0x00, 0x4b, 0x00, 0x4c, 0x00, 0x4d, 0x00, 0x4e, 0x00, 0x4f);
Expand Down Expand Up @@ -1382,6 +1393,7 @@ static void dw4_mara(dw_rom *rom)
static void dw4_nara(dw_rom *rom)
{
// Dragon Warrior - DW4 - Nara (PRG0).nes
vpatch(rom, 0x087ea, 2, 0x0e, 0x1b); // his -> her
vpatch(rom, 0x013c4, 79, 0x50, 0x00, 0x51, 0x00, 0x52, 0x00, 0x53, 0x00, 0x54, 0x00, 0x55, 0x00, 0x56, 0x00, 0x57, 0x00, 0x50, 0x00, 0x51, 0x00, 0x52, 0x00, 0x53, 0x00, 0x54, 0x00, 0x55, 0x00, 0x56, 0x00, 0x57, 0x00, 0x50, 0x00, 0x51, 0x00, 0x52, 0x00, 0x53, 0x00, 0x54, 0x00, 0x55, 0x00, 0x56, 0x00, 0x57, 0x00, 0x50, 0x00, 0x51, 0x00, 0x52, 0x00, 0x53, 0x00, 0x54, 0x00, 0x55, 0x00, 0x56, 0x00, 0x57, 0x00, 0x50, 0x00, 0x51, 0x00, 0x52, 0x00, 0x53, 0x00, 0x54, 0x00, 0x55, 0x00, 0x56, 0x00, 0x57);
vpatch(rom, 0x014c4, 15, 0x48, 0x00, 0x49, 0x00, 0x4a, 0x00, 0x4b, 0x00, 0x4c, 0x00, 0x4d, 0x00, 0x4e, 0x00, 0x4f);
vpatch(rom, 0x014e4, 15, 0x48, 0x00, 0x49, 0x00, 0x4a, 0x00, 0x4b, 0x00, 0x4c, 0x00, 0x4d, 0x00, 0x4e, 0x00, 0x4f);
Expand Down

0 comments on commit 1ee56ea

Please sign in to comment.