rh-hideout/pokeemerald-expansion

Burn / poison damage triggers before Healer

Opened this issue · 1 comments

Description

Issue being made for KNOWN_FAILING test added in #5559

The test for easy lookup:

DOUBLE_BATTLE_TEST("Healer cures status condition before burn or poison damage is dealt")
{
    KNOWN_FAILING; // According to Bulbapedia, Healer should trigger before status damage and Wobbuffet should live
    // Source: https://bulbapedia.bulbagarden.net/wiki/Healer_(Ability)#Effect
    u16 status;
    PARAMETRIZE { status = STATUS1_POISON; }
    PARAMETRIZE { status = STATUS1_BURN; }
    PARAMETRIZE { status = STATUS1_TOXIC_POISON; }
    PARAMETRIZE { status = STATUS1_FROSTBITE; }
    PASSES_RANDOMLY(30, 100, RNG_HEALER);
    GIVEN {
        PLAYER(SPECIES_WOBBUFFET);
        PLAYER(SPECIES_WOBBUFFET);
        OPPONENT(SPECIES_WOBBUFFET) { HP(1); Status1(status); }
        OPPONENT(SPECIES_CHANSEY) { Ability(ABILITY_HEALER); }
    } WHEN {
        TURN {}
    } SCENE {
        NOT {
            MESSAGE("The opposing Wobbuffet fainted!");
        }
        MESSAGE("The opposing Chansey's Healer cured Foe Wobbuffet's problem!");
    }
}

Version

1.9.3 (Latest release)

Upcoming/master Version

No response

Discord contact info

No response

Probably related to #5024