[BR] Unown G (GE 57). GUARD: Game Engine Warning on attach, and unticked ruling items (from Trello)

Copied from the Trello card UNOWN_G_57 (label: Great Encounters). The card was created on 2021-01-09 and moved back to TODO on 2026-10-25. It has a long history, so some items below may be stale; every item carries its date.

Open items on the card

1. Game Engine Warning when GUARD attaches Unown G (card description; confirmed by YZ on 2024-12-23: “Game Engine error when using the Power … However it does attach itself in the end.”)

● Unown G {PB3} has used GUARD
● DEBUG: Game Engine Warning: java.lang.IllegalStateException: Card not found anywhere (added to new location)! Unown G (GE 57),

java.lang.IllegalStateException: Card not found anywhere (added to new location)! Unown G (GE 57),
 at tcgwars.logic.effect.basic.MoveCard.process(MoveCard.java:141)
 at tcgwars.logic.effect.event.EventManager.run2(EventManager.java:237)
 at tcgwars.logic.effect.event.EventManager.activateInnerEffect(EventManager.java:303)
 at tcgwars.logic.effect.gm.AttachPokemonTool$1.process(AttachPokemonTool.java:37)
 at tcgwars.logic.effect.event.EventManager.run2(EventManager.java:237)
 at tcgwars.logic.effect.event.EventManager.run(EventManager.java:281)
 at tcgwars.logic.effect.gm.AttachPokemonTool.process(AttachPokemonTool.java:34)
 at tcgwars.logic.effect.event.EventManager.run2(EventManager.java:237)
 at tcgwars.logic.effect.event.EventManager.activateEffect(EventManager.java:292)
 at tcgwars.logic.effect.AbstractDirectTargetedEffect.run(AbstractDirectTargetedEffect.java:54)
 at tcgwars.logic.groovy.TcgStatics.attachPokemonTool(TcgStatics.groovy:1077)
 at tcgwars.logic.impl.gen4.GreatEncounters$_getImplementation_closure55$_closure462$_closure464.doCall(GreatEncounters.groovy:1733)
 at tcgwars.logic.groovy.TcgBuilders$AbilityBuilder$3.process(TcgBuilders.groovy:823)
 at tcgwars.logic.effect.event.EventManager.run2(EventManager.java:237)
 at tcgwars.logic.effect.event.EventManager.activateEffect(EventManager.java:292)
 at tcgwars.logic.effect.event.EventManager.runAction(EventManager.java:474)
 at tcgwars.logic.GameManager.mainLoop(GameManager.java:131)
 at tcgwars.logic.client.EngineHandler$4.main(EngineHandler.java:300)
 at tcgwars.logic.util.Future.run(Future.java:92)

2. Ruling checklist (added by YZ on 2024-04-26; four items were ticked the same day):

  • Existing effects on the Pokémon Unown G attaches to should not be removed
  • Energy movement should turn into discard instead if the recipient is guarded
  • Attacks that send to LZ if they KO should send to discard instead if the mon taking the attack is guarded
  • Enemy counterattack/Destiny Bond effects should be guarded against
  • Gust effects should fail if the Benched is guarded
  • Whirlwind effects should fail if the Defending is guarded
  • Existing guard should not prevent Psychic Lock

Possibly stale (checked on 2026-10-27 against the forum and git)

  • Existing guard should not prevent Psychic Lock: fixed by contrib dec090b7 (2026-03-28), regression test 2a50c8e85; forum topics 15769, 16415, 16434.
  • Existing effects should not be removed: fixed for Sand Tomb and Poison Bind by contrib 7559eecd (2026-10-27); forum topics 15795, 15796, 16414, 17178.
  • Energy movement turns into discard: forum topic 17201 (2026-10-11) says the engine already discards an Energy moved onto a guarded Pokémon. Needs a check against the Tail Code ruling below.
  • GUARD blocking Moon Skip’s extra Prize was fixed separately by contrib c61df676 (forum 17067).

So the engine warning (item 1) is most likely the main thing still open, but each unticked item should be verified before closing.

Full card history (oldest first)

2021-03-22, a since-deleted Trello user: whenever a Pokémon with Unown G attached was attacked, a Game Engine Error occurred:

● Exploud ex used Derail
● Exploud ex did 40 damage to Team Aqua's Walrein
● GUARD prevents effect
● Between turns
● Turn 3 begins
● Game Engine Error!
groovy.lang.MissingPropertyException: No such property: toolCard for class: tcgwars.logic.groovy.TcgBuilders
 at tcgwars.logic.groovy.TcgBuilders$PokemonToolGroovyImpl.propertyMissing(TcgBuilders.groovy)
 at tcgwars.logic.impl.gen4.GreatEncounters$_getImplementation_closure57$..._closure495.doCall(GreatEncounters.groovy:1803)
 at tcgwars.logic.groovy.TcgBuilders$DelayedEffectGroovyImpl.process(TcgBuilders.groovy:365)
 at tcgwars.logic.effect.event.EventManager.processDelayedEffects(EventManager.java:107)
 at tcgwars.logic.GameManager.betweenTurns(GameManager.java:200)
 (trace trimmed; full trace on the Trello card)

2021-03-27, same user: “Guard is now working fine, but I noticed you can attach 2 or more unown G to the same pokemon.. I’m not sure if this is legal (I think not because it says it counts as a pokemon tool).” Marked Done on 2021-03-28 (MtGufo), reopened by Tegull in June and August 2021.

2023-07-29, starg09 to Tegull: “The darkrai issue (which is MD 3, not GE 3) seems to have been solved through axpendix’s source refactor. Moving this to testing if you wanna take a peek at those rulings, otherwise we can consider it done for now I think?”

2023-07-30, Tegull posted game logs against official rulings (these became the checklist above):

  • Ambipom G’s Tail Code moved an Energy onto a guarded Pokémon:
    ● Ambipom G used Tail Code / ● Rainbow Energy (TR 17) moved from Oddish to Grookey

    Q. If I use Ambipom [G]'s “Tail Code” attack to move an energy card from the Defending Pokemon to one of my opponent’s Pokemon that has an Unown-G attached to it, what happens?
    A. While Unown-G prevents the attachment of the energy to the protected Pokemon, it does not prevent the removal of the energy card from the Defending Pokemon. The energy card is discarded. (Jan 14, 2010 PUI Rules Team)

  • Giratina’s Broken-space Blow KO’d a guarded Nidoran​:female_sign:: the log printed “GUARD prevents effect” about 40 times in a row.

    Q. If my Pokémon that has Unown-G attached to it is Knocked Out by my opponent’s Giratina’s “Broken-space Blow” attack or by my opponent’s Giratina Lv.X’s “Darkness Lost” attack, do I have to put the Pokémon in the Lost Zone?
    A. No, the effect of going to the Lost Zone is prevented and you discard the KO’d Pokémon that had Unown-G attached. (Feb 12, 2009 PUI Rules Team)

  • Sandslash’s Spike Armor still damaged the guarded attacker (● Spike Armor activates / ● Sobble got 40 damage).

    Q. If my opponent uses Sandslash’s “Spike Armor” attack, but then on my turn I attack Sandslash with a Pokemon having Unown-G attached with its “GUARD” Poke-POWER, would Sandslash’s “Spike Armor” be able to place any damage counters on my Pokemon or not?
    A. The effect of Spike Armor is on Sandslash. The Unown-G’s Poke-Power GUARD will prevent the effect of your opponent’s attacks, so you don’t put damage counters on your Active Pokemon that has Unown-G attached to it after doing damage to Sandslash. (Sep 11, 2008 PUI Rules Team)

  • Froslass’s Destiny Bond still KO’d the guarded Lycanroc-GX.

    Q. Can Unown-G’s “GUARD” Poke-POWER prevent the effect of my opponent’s Froslass’s “Destiny Bond” attack last turn?
    A. The effect of Destiny Bond is on Froslass. The Unown-G’s Poke-Power GUARD prevents the effect of your opponent’s attacks, so it will protect your Pokemon that has Unown-G attached to it from being Knocked Out by Destiny Bond. (Sep 11, 2008 PUI Rules Team)

  • Gallade’s Sonic Blade: the switch was correctly prevented (“GUARD prevents effect”, Spheal became Active).

    Q. If my Active Pokemon is attacked with “Sonic Blade”, can I choose a Pokemon on my bench with Unown-G’s “GUARD” Poke-POWER attached to it and prevent the switching portion of “Sonic Blade”?
    A. Yes, you may do this. (Sep 11, 2008 PUI Rules Team)

  • Trapinch’s Inviting Trap: “GUARD prevents effect”, then Sobble became Active.

    Q. If my opponent has a Toxicroak [G] with the “Anticipation” Poke-BODY on their bench, or a Pokemon with Unown-G attached as a tool with its “GUARD” Poke-Power on their bench, can I use my Trapinch’s “Inviting Trap” attack or Blaziken [FB]'s “Luring Flame” attack and choose to switch the Defending Pokemon with one of those on the bench?
    A. No, you cannot. The intended wording of Trapinch’s Inviting Trap and Blaziken [FB]'s Luring Flame place an effect on the Benched Pokemon, so if the Benched Pokemon has a condition that prevents effects of attacks excluding damage done, the switch cannot occur. (Aug 5, 2010 PUI Rules Team)

    Q. If my opponent has a Toxicroak [G] with the “Anticipation” Poke-BODY or a Pokemon with Unown-G attached as a tool with its “GUARD” Poke-Power active, can I use my Trapinch’s “Inviting Trap” attack or Blaziken [FB]'s “Luring Flame” attack and choose to switch the Defending Pokemon with one of their benched Pokemon?
    A. Yes, it can. The intended wording of Trapinch’s Inviting Trap and Blaziken [FB]'s Luring Flame place an effect on the Benched Pokemon, so even if the Defending Pokemon has a condition that prevent effects of attacks the switch can still occur. (Aug 5, 2010 PUI Rules Team)

2023-07-30, starg09: “Adding on the ‘GUARD vs spike trap’, while there’s some debate on pokegym about if it blocks or not I see a JP FAQ from back then saying it gets blocked by a similar blocking effect (on that note, Blissey from Mysterious Treasures with a Holon WP energy, attaching a water before attacking shouldn’t be damaged).”

2024-04-17, Tegull: Psychic Lock was undone by GUARD after the opponent evolved:

● Gardevoir used Psychic Lock
● Gardevoir did 60 damage to Sceptile
● Turn 10 begins
● GUARD prevents effect IS_ABILITY_BLOCKED
● Torterra (SF 11)'s ability is blocked.
● GUARD prevents effect IS_ABILITY_BLOCKED
● Grotle evolved into Torterra
● GUARD prevents effect IS_ABILITY_BLOCKED
● Claydol has used Cosmic Power
● GUARD prevents effect IS_ABILITY_BLOCKED
● Put Unown G onto bench.
● GUARD prevents effect IS_ABILITY_BLOCKED

Q. If I attack with Gardevoir’s “Psychic Lock”, can my opponent use any Poké-POWERs if they evolve their Pokémon on the following turn?
A. The effect of Psychic Lock is on your opponent, not on their Pokémon. So no matter what happens to their Pokemon, the opponent cannot use any of their Poké-Powers. That also means there is no way to clear the effect. (Dec 6, 2007 PUI Rules Team)

2024-04-26, YZ: added the checklist above and ticked four items. Card went In Progress (2024-12-19), Needs Testing (2024-12-22).

2024-12-23, YZ: the Game Engine Warning in item 1. Card moved to Priority - Not Working (2024-12-24), then TODO (2026-10-25).

Triage Agent: Fixed, with tests for every item on the card.

  1. Game Engine Warning on attach: since Dec 2024, GUARD attached a new Tool card without first putting it in the place of Unown G’s Pokémon card, so the engine logged “Card not found anywhere” each time. Fixed: Unown G is attached without the warning, and it goes to the discard pile as its Pokémon card when it leaves play.

  2. Unticked items (all checked with tests):

    • Effects that were already on the Pokémon stay (Sand Tomb, Poison Bind).
    • A GUARD that is already attached doesn’t stop Psychic Lock.
    • An Energy moved onto a Pokémon with Unown G attached (Ambipom G’s Tail Code) is discarded, as the PUI ruling of 2010-01-14 says.
  3. Ticked items, rechecked: three of them had broken again in March 2026, when GUARD was limited to the opponent’s turn for the Psychic Lock fix:

    • Spike Armor put damage counters on the guarded attacker.
    • Destiny Bond Knocked Out the guarded attacker.
    • Sonic Blade switched in a guarded Benched Pokémon that its owner had chosen.

    All three are prevented again (PUI 2008-09-11). Whirlwind and Sonic Blade on a guarded Defending Pokémon, Inviting Trap on a guarded Benched Pokémon and Broken-space Blow (the Pokémon is discarded, not put in the Lost Zone) already worked. They have tests now.

The fixes go live with the next deploy.