Port weather, copying moves, held items and obedience (#28)
Checks / web (push) Canceled after 0s
Checks / web (push) Canceled after 0s
Complete the weather, Substitute, Transform, called-move and forced-switch effects. Add held-item behavior, Exp. Share awards and badge-based traded Pokemon obedience, and persist trainer berry consumption. Validated with 576 passing unit tests and 149 browser tests, native/reference builds, reference/vendor/release checks and 320 Metal Powder emulator comparisons per browser. Smart AI and special balls/battle types remain on #28.
This commit is contained in:
1 parent
8f5b464efc
commit
32d736ecae
13 files changed
+1509
-75
No files matched your search
@@ -130,7 +130,9 @@ describe.skipIf(!existsSync(romPath))("Route 30 trainers with the local ROM", ()
|
||||
|
||||
it("does not re-trigger a refused sighting until the player moves", () => {
|
||||
const world = fixture({ x: 1, y: 11, direction: "up" });
|
||||
world.state.party[0].moves = [144, 0, 0, 0]; // Transform is refused
|
||||
// Psywave at level 1 loops forever in the original, so it stays refused.
|
||||
world.state.party[0].level = 1;
|
||||
world.state.party[0].moves = [149, 0, 0, 0];
|
||||
world.state.party[0].pp = [10, 0, 0, 0];
|
||||
const before = world.save();
|
||||
world.move("up");
|
||||
|
||||
Reference in new issue
Block a user