MAX DUO Pokémon Toolkit GitHub

Home / Features

Mystery Gift (Wonder Cards and News)

Proven on hardware

Emerald, FireRed and LeafGreen received Wonder Cards through the Wireless Adapter, from a distributor at an event. The DUO's GBA plays the adapter - and the distributor "in range" - over a link cable, so the game on the second GBA goes through Nintendo's real Mystery Gift exchange and saves the card itself.

Proven on hardware

Game Distributor serial Result Session
Japanese Emerald 0x7F7F (found by --sweep-serial) Old Sea Map received, item collected; MysticTicket 20, 21
English LeafGreen 0x7F7D Aurora Ticket (full 332-byte card), first time 23
European LeafGreen 0x7F7D US and Japanese MysticTicket cards 28

The tool reads the game's language and version from its first broadcast and picks the serial itself.

Explainer: handing out the Mystic Ticket to LeafGreen, from the PC through the DUO over a link cable (4 min).

Tutorial: receive a Wonder Card

You need: the DUO and a second GBA; a Game Boy/Game Boy Color cable that fits the GBA (Nintendo MGB-010) - not a GBA cable; your own .wc3 for your game and language; Mystery Gift unlocked (the phrase in every language).

  1. Back up your save. The game keeps one Wonder Card and one script: a new card replaces both, so collect the old card's item first.
  2. Both GBAs off. Game in the second GBA, cable connected.
  3. Run python duo_events.py gift --card "YOUR CARD.wc3" and switch on the DUO's GBA when asked. Leave the game off.
  4. Wait for "Ready". Progress bars show the program and the card loading; the card's checksums are checked as the game would.
  5. Switch on the game: MYSTERY GIFT → WONDER CARDS → WIRELESS COMMUNICATION (Japanese Emerald: ふしぎな おくりもの → ふしぎな カード → じゅしん スポット → よみこむ).
  6. The tool stops by itself once the game has the card. Collect the item as the card says (in Emerald, upstairs in any Pokémon Center).

Commands

Command What it does
gift --card FILE.wc3 offer a Wonder Card; every adapter command the game sends is listed
news --news FILE offer Wonder News (Mystery Gift → Wonder News → Wireless) Simulator
gift --sweep-serial try every distributor serial until the game connects (about 6 minutes)
gift --serial 7F7D --card ... force a serial
gift --check-search link check: the game restarts its search only if our answers arrive intact
find-serial [--deep] read-only search of the cartridge in the DUO for the distributor serial
adapter-test answer a game's Wireless Adapter detection only
gift --air --card FILE.wc3 the same with two real Wireless Adapters: over the air Simulator

How it was done

The DUO answers librfu's Sio32ID exchange as adapter 0x8001, then every adapter command at 2 MHz. On real hardware only the first bit of each answer arrived late (session 12); holding the SO line at the top bit fixed it, and a brief "disarming flick" signals ready (sessions 13-17). From session 19 every Mystery Gift step ran on hardware. Stage by stage: how the wireless link works, docs/DISTRIBUTOR.md.