Commit Graph
8 Commits
Author SHA1 Message Date
Sébastien QUEROL 3e92936cb9 Add scripted trainer battle foundation and native move AI
Checks / web (push) Canceled after 0s
2026-09-24 09:33:33 +02:00
Sébastien QUEROLandClaude Opus 5.5 6a74f59e46 Let NPCs roam as HandleNPCStep does
Checks / web (push) Canceled after 0s
- Random walks and spins from SpriteMovementData, with random sleeps.
- CanObjectMoveInDirection: side walls, land, objects' current and
  previous tiles, the radius (stored plus one) and the screen edge.
- Objects freeze while text is open and during applymovement, and
  return home when both they and their home leave the object window.
- Wandering positions are not saved; test helpers replan around NPCs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 17:40:12 +02:00
Sébastien QUEROLandClaude Opus 5.5 796fe8f6d5 Open Route 29 and Cherrygrove City
Checks / web (push) Canceled after 0s
- Enable Route 29, its Route 46 gate, Cherrygrove City and its buildings.
- Run item balls through FindItemInBallScript and fruit trees through
  FruitTreeScript, with a native daily reset of the daily engine flags.
- Port the Pokémon Center nurse (HealParty with the PP Up clamp,
  CheckPokerus, phone-call checks) and record the whiteout spawn on
  entering a Pokémon Center, as EnterMapWarp does.
- Port standard Poké Marts with keyboard, D-pad and pointer menus.
- Add the recoil battle command (Struggle) and VAR_BOXSPACE.
- Save fruit trees, the daily reset day and the last spawn map; older
  version-3 backups migrate by absence.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 17:25:02 +02:00
Sébastien QUEROLandClaude Opus 5.5 11d1153802 Integrate battles with the overworld UI and validate browser flows
Checks / web (push) Canceled after 0s
- Drive wild battles through the real UI in Chromium and WebKit using a
  test-only encounter fixture: victory with level-up, escape, whiteout,
  mid-battle backup restore and unsupported-effect rollback.
- Add keyboard and on-screen D-pad navigation for battle menus.
- Accept pending stat experience in saves (awarded without CalcMonStats).
- Commit whiteout healing, money loss and destination callbacks together;
  aborted scripts restore state and map.
- Give long notices their own status-bar row on narrow screens.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 16:37:07 +02:00
Sébastien QUEROL c08d250cf6 Implement native opening scenes, battle foundation and overworld movement
Checks / web (push) Canceled after 0s
2026-09-23 16:09:22 +02:00
Sébastien QUEROL 8b80d05ca2 Add native Crystal exploration port and reference tooling
Checks / web (push) Canceled after 0s
2026-09-23 09:23:29 +02:00
kawa 2127f5f459 Update README.md 2026-09-22 10:59:05 +02:00
kawa 8f95d0805e Initial commit 2026-09-22 10:57:54 +02:00