Skip to content

Commit

Permalink
Merge branch 'RHH/master' into RHH/upcoming
Browse files Browse the repository at this point in the history
  • Loading branch information
AsparagusEduardo committed Nov 14, 2023
2 parents 93c7a70 + 934fe46 commit a8564cf
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 13 deletions.
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 a8564cf

Please sign in to comment.