Files
gen1recomp/src
1jamie dc9d5c74c7 fix(game3): fix level-up move learn soft lock when mon has free move slots
LearnMove.begin's free-slot path called say(text, cb) expecting pushMsg
to invoke the callback once the message is dismissed. The battle UI's
hooks.pushMsg is Ui.push which only accepts (text) and silently drops
the callback, so finish(ok) was never called, LearnMove._active stayed
true forever → soft lock (reported as Charmander learning Ember).

Fix: set _pending="done" + _pendingResult before say() so pump() can
complete the sequence on the next update tick once the dialog drains,
matching how the 4-move full path already uses _pending="delete".
The say() callback is still wired so contexts whose pushMsg does honour
it (party_menu TM flow) finish inline as before.
2026-09-11 16:50:56 -05:00
..
2026-07-29 11:46:32 -04:00
2026-08-24 07:52:05 -04:00
2026-09-01 21:52:50 +02:00
2026-08-24 08:48:24 -04:00
2026-09-04 09:56:35 -04:00
2026-09-09 09:46:27 -04:00
2026-08-28 10:14:44 -04:00