19 Commits
Author SHA1 Message Date
Fiereu 95c90284ac feat(codegen): resolve dialog ids from a committed table instead of a ROM (#163) 2026-08-10 22:45:21 +02:00
Fiereu 499d20fdb3 feat(game): open the mart shop and key items by the ids the client reads (#151) 2026-08-10 14:52:44 +02:00
Fiereu 9215a0862a feat(game): implement the Kanto story from Pallet Town through the Pokedex (#127)
* feat(game): implement Kanto story through the Pokedex

* fix(game): stop the rival walking into the player in the pokedex scene

* fix(game): stop oak teleporting to his desk in the starter scene

* fix(game): make a scripted warp arrive the way a walked one does

* fix(game): finish the oaks lab rival scene whether the player wins or loses

* chore(game): tidy the kanto script and item codegen comments

* docs: point the script guides at MapEntryScripts and trainerBattle

* fix(codegen): send item ids in the region whose table matches the decomp
2026-08-09 10:45:24 +02:00
Fiereu abce0d6eb4 feat(game): fight the decomp trainers for experience and prize money (#122)
* fix(protocol): decode the trainer form of the battle field state

* refactor(game): model the battle opponent as a party instead of one monster

* feat(game): let a script fight one of the decomp trainers

* fix(protocol): stop writing moves the opposing side's battle block leaves out

* feat(game): pay experience and prize money for a won trainer battle

* fix(game): send battle outcomes the way the client reads them

* fix(game): correct the reward and stat change defects the review found

* chore(game): tidy the battle comments

* fix(game): send real party slots on a switch and handle a double faint
2026-08-09 00:26:27 +02:00
Fiereu 457f21c17f feat(codegen): generate the decomp trainers and their parties (#115) 2026-08-08 21:06:24 +02:00
Fiereu 085407ccf1 fix(codegen): put the region in the dialog id instead of always hoenn (#100) 2026-08-07 15:12:10 +02:00
Fiereu 14fbc05bab fix(game): trigger warps by their tile behaviour (#93)
* fix(game): use the npc's own region for map and sprite lookups

* fix(game): trigger warps by their tile behaviour

* fix(game): classify every warp metatile behaviour the decomp accepts
2026-08-07 10:57:17 +02:00
Fiereu 1ecfabaed5 feat(game): give monsters their real level up moveset (#85)
* feat(codegen): generate the level up learnsets from the decomp

* feat(game): give monsters their real level up moveset
2026-08-05 10:38:55 +02:00
LananaHWP 3b19a81201 feat(game): implement Hoenn story through Rustboro (#77)
* feat(game): implement Hoenn story through Rustboro

* fix(game): group dialog presentation options

* fix(game): address review feedback and running movement
2026-08-02 15:09:08 +02:00
Fiereu 9cda538a68 feat(game): littleroot town intro with the truck and mom cutscene 2026-07-26 14:36:07 +02:00
Fiereu c06aff99d3 feat(game): run a map's on-transition script when a player enters it 2026-07-26 14:36:07 +02:00
Fiereu 023f4eb305 feat(game): persist per-character story flags and vars 2026-07-26 14:36:07 +02:00
Fiereu 109cf5f814 feat(game): start a wild battle when a player steps in grass (#68)
* feat(game): start a wild battle when a player steps in grass

* fix(codegen): key species by national dex so the client shows the right mon
2026-07-26 11:04:35 +02:00
Fiereuandgithub-actions[bot] 300bc52531 feat(game): basic script implementations (#65)
* feat(game): open the wired dialog line when a player interacts with an npc or sign

* feat(game): run npc and sign interactions through a generated script layer

* chore(style): spotlessApply

* fix(codegen): generate dialog enums without a rom so ci can compile

* docs: add a guide for writing overworld scripts

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-07-26 00:12:30 +02:00
Fiereu 6695daabd8 fix(codegen): merge the duplicate empty and default branches in the text parser 2026-07-25 21:46:59 +02:00
Fiereu 9c52eeb8c6 feat(dialog): generate per-location gba dialog enums from the rom and drop the old script params (#64) 2026-07-25 21:26:43 +02:00
Fiereu 391e2efeb7 feat(codegen): generate the gen 3 type chart (#54) 2026-07-25 16:40:48 +02:00
Fiereu 651bf947e4 feat(codegen): generate Pokemon species defs from the GBA decomp data (#44) 2026-07-20 15:35:23 +02:00
Fiereu b44bd1cc26 feat(codegen): generate Pokemon moves and unify map/move codegen into one module (#16) 2026-07-20 14:25:57 +02:00