Skip to content

Commit

Permalink
Merge branch 'rh-hideout:master' into vs_seeker
Browse files Browse the repository at this point in the history
  • Loading branch information
pkmnsnfrn committed Nov 19, 2023
2 parents 26ac0e7 + 508332a commit fa6bf44
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 15 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

## What is the pokeemerald Expansion?

The pokeemerald Expansion is a feature branch meant to be integrated into existing Pokémon Emerald hacks based off pret's [pokeemerald](https://github.com/pret/pokeemerald) decompilation project. This is ***NOT*** a standalone romhack, and as such, most features will be unavailable and/or unbalanced if played as is.
The pokeemerald Expansion is a decomp hack base project based off pret's [pokeemerald](https://github.com/pret/pokeemerald) decompilation project. It's recommended that any new projects that plan on using it, to clone this repository instead of pret's vanilla repository, as we regurlarly incorporate pret's documentation changes. This is ***NOT*** a standalone romhack, and as such, most features will be unavailable and/or unbalanced if played as is.

## What features are included?
- Configuration files that allows you to choose generation-specific behaviors. Full contents here:
- ***IMPORTANT*❗❗ Read through these to learn what features you can toggle**:
- [Battle configurations](/include/config/battle.h)
- [Pokémon configurations](/include/config/pokemon.h)
- [Item configurations](/include/config/item.h)
Expand Down
2 changes: 0 additions & 2 deletions src/data/items.h
Original file line number Diff line number Diff line change
Expand Up @@ -4989,7 +4989,6 @@ const struct Item gItems[] =
.name = _("Luck Incense"),
.price = 11000,
.holdEffect = HOLD_EFFECT_DOUBLE_PRIZE,
.holdEffectParam = 10,
.description = sLuckIncenseDesc,
.pocket = POCKET_ITEMS,
.type = ITEM_USE_BAG_MENU,
Expand Down Expand Up @@ -5703,7 +5702,6 @@ const struct Item gItems[] =
.name = _("Amulet Coin"),
.price = 10000,
.holdEffect = HOLD_EFFECT_DOUBLE_PRIZE,
.holdEffectParam = 10,
.description = sAmuletCoinDesc,
.pocket = POCKET_ITEMS,
.type = ITEM_USE_BAG_MENU,
Expand Down
2 changes: 1 addition & 1 deletion src/daycare.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

extern const struct Evolution gEvolutionTable[][EVOS_PER_MON];

#define IS_DITTO(species) (gBaseStats[species].eggGroup1 == EGG_GROUP_DITTO || gBaseStats[species].eggGroup2 == EGG_GROUP_DITTO)
#define IS_DITTO(species) (gSpeciesInfo[species].eggGroups[0] == EGG_GROUP_DITTO || gSpeciesInfo[species].eggGroups[1] == EGG_GROUP_DITTO)

static void ClearDaycareMonMail(struct DaycareMail *mail);
static void SetInitialEggData(struct Pokemon *mon, u16 species, struct DayCare *daycare);
Expand Down
21 changes: 11 additions & 10 deletions test/test_runner.c
Original file line number Diff line number Diff line change
Expand Up @@ -162,17 +162,18 @@ void CB2_TestRunner(void)
break;

case STATE_ASSIGN_TEST:
if (gTestRunnerState.test == __stop_tests)
while (1)
{
gTestRunnerState.state = STATE_EXIT;
return;
}

if (gTestRunnerState.test->runner != &gAssumptionsRunner
&& !PrefixMatch(gTestRunnerArgv, gTestRunnerState.test->name))
{
gTestRunnerState.state = STATE_NEXT_TEST;
return;
if (gTestRunnerState.test == __stop_tests)
{
gTestRunnerState.state = STATE_EXIT;
return;
}
if (gTestRunnerState.test->runner != &gAssumptionsRunner
&& !PrefixMatch(gTestRunnerArgv, gTestRunnerState.test->name))
++gTestRunnerState.test;
else
break;
}

MgbaPrintf_(":N%s", gTestRunnerState.test->name);
Expand Down

0 comments on commit fa6bf44

Please sign in to comment.