MAX DUO Pokémon Toolkit GitHub

Home / Features

Link battles and the battle partner

Proven on hardware

The DUO sits in the Cable Club Colosseum as your link-battle opponent. Its team is a set of your .pk3 files and the PC chooses its moves. Single and double battles, with Ruby, Sapphire, Emerald, FireRed or LeafGreen.

Proven on hardware

  • 7 November: the first link battle - a single battle against English Ruby, to the end and out of the room.
  • 12 November: the first checklist results, including double battles (a garbling of the double battle traced to the link-player id being the spot sat on, and fixed).

Tutorial: a battle

  1. A GBA link cable; both GBAs off. Run python duo_events.py colosseum --pk3 "mine\SWAMPERT.pk3" "mine\MANECTRIC.pk3".
  2. Switch on the DUO's GBA, then the game at "Ready". Talk to the Cable Club attendant for the COLOSSEUM, choose SINGLE or DOUBLE BATTLE.
  3. Stand on a spot by the table. The DUO takes the other. Battle.
  4. Keep the DUO's GBA on until the tool says it's safe. The whole battle is kept in battles\ (a readable .txt and a .bin).

The levels

Level How it plays
easy a sensible young trainer: never a move that can't work, not stupidly easy
medium (default) a good player: expected damage, knock-outs, switching out of a bad match-up
elite plays each choice out in imagined copies of the battle, guessing what it can't see
impossible sees your whole team (the game sends both parties at the start) and waits for your choice each turn, which also reaches the DUO, before making its own - but only ever does what the game allows
simple the first move with PP (the original probe)

Every .pk3 is checked against the game's rules first (effort values, PP, stats for its species, level and nature, real items and moves), so even "impossible" plays fair; --allow-unchecked overrides. If the PC goes quiet, the DUO chooses by itself after 15 seconds.

The thinking half runs on its own too: python duo_battle.py --demo, or --tournament 40 --level medium --opponent easy.

Detail: docs/BATTLE.md.

Watch it in the Virtual DUO

The same feature rehearsed end to end in the Virtual DUO: the real game in an emulator, wired to an emulated DUO running the Reckless firmware and the toolkit's own program.

A single link battle in Ruby's Colosseum against the DUO. (Virtual DUO recording, emulated; game audio removed)
A double battle: two of the DUO's Pokémon at once. (Virtual DUO recording, emulated; game audio removed)