urkerab
99d682ca26
Change lastMove from a string to a Move ( #4298 )
2018-01-03 11:54:35 -06:00
urkerab
94efee424d
Indicate when an item activates after it is consumed ( #3979 )
2018-01-01 14:15:32 -06:00
urkerab
2873bd8366
Remove an unused parameter from eatItem and useItem ( #4210 )
2017-12-23 21:36:51 -06:00
Marty-D
63bec7bf32
Fix source of status for Flame/Toxic Orb
...
Relevant for Corrosion
2017-12-19 09:53:53 -05:00
MacChaeger
8d571be74e
Fix certain Abilities not being overwritten by most forme changes ( #4245 )
2017-12-14 11:45:12 -05:00
urkerab
2336bd7573
Make Leftovers/Black Sludge recovery happen during Grassy Terrain recovery ( #3970 )
2017-12-09 23:27:35 -06:00
Guangcong Luo
c0da44c482
Refactor moveset -> moveSlots
...
pokemon.moveset is now pokemon.moveSlots, which is at least slightly
clearer about what it's doing (tracking move state, mainly PP).
Mostly, this gives a consistent naming scheme for `move` (a Move
object) vs `moveSlot` (a MoveSlot object).
This also refactors a lot of existing `moveSlot` accesses to be modern,
including using `for...of`.
2017-12-05 11:12:44 -06:00
Guangcong Luo
f4e535bbd6
Enforce consistent key spacing
...
This was previously not enforced because we used `:1` in too many
places, but those places seem to all be refactored out at this point.
2017-12-01 08:16:23 -06:00
Kris Johnson
3a01ece652
Add Totem Pokemon ( #4165 )
2017-11-24 01:09:22 -06:00
Marty-D
ebb274ed86
Update descriptions
2017-11-17 21:09:37 -05:00
Marty-D
7dfca478fe
Fix Kommonium Z sprite
2017-11-17 17:35:53 -05:00
Marty-D
620cf04f27
Update Partner Cap Pikachu
2017-11-17 13:12:10 -05:00
Kris Johnson
f2caefba9b
Ultra Sun and Ultra Moon update ( #4151 )
2017-11-16 20:34:43 -06:00
Guangcong Luo
246dfa1da3
Refactor in-object-literal to array-includes ( #4079 )
...
Previously, if we wanted to test if A was either 'B' or 'C', we would use
the pattern:
A in {B:1, C:1}
I actually don't know how common this pattern is; I just started using
it because I was tired of typing `A === 'B' || A === 'C'` all the time.
I never really liked it, though; the `:1` part made it kind of
blatantly a hack.
I did some testing and `['B', 'C'].includes(A)` is overall faster.
(A switch statement is around 20x faster still, but who wants to type
that much code?)
Anyway, the new standard is
['B', 'C'].includes(A)
Something something progress!
2017-10-23 09:19:15 -05:00
Marty-D
312f93c47c
Revert "Fix confusion interaction with HP-checking items ( #4045 )"
...
This reverts commit
6651c5dadb .
2017-10-20 21:05:49 -04:00
QuiteQuiet
6651c5dadb
Fix confusion interaction with HP-checking items ( #4045 )
2017-10-17 09:26:27 -04:00
Marty-D
1f83604882
Update item descriptions
...
And remove redundant inheritance
2017-08-24 18:11:12 -04:00
Archit Date
f6a3b41084
Release Diancite ( #3874 )
2017-08-10 15:32:45 +04:00
Marty-D
03eef2604b
Release Altarianite, Ampharosite, Latiasite, and Latiosite
2017-08-07 22:44:32 -04:00
urkerab
1f6e1e8d45
Weakness Policy should activate before Thief or Magician ( #3867 )
2017-08-07 20:40:57 -05:00
urkerab
ce58237a15
Fix Unburden/Symbiosis interaction with Air Balloon behind Substitute ( #3854 )
2017-08-04 23:54:41 -05:00
Marty-D
1f983407e4
Release Aggronite
2017-07-21 08:29:53 -04:00
Marty-D
db88d65b2a
Revert "Revert "Release Galladite, Gardevoirite, and Lopunnite ( #3697 )""
...
This reverts commit ff60a973e8 .
2017-07-04 08:01:35 -04:00
Marty-D
b51e138768
Add event Marshadow
...
Closes #3718
2017-07-03 09:33:48 -04:00
Marty-D
ff60a973e8
Revert "Release Galladite, Gardevoirite, and Lopunnite ( #3697 )"
...
This reverts commit 4cc1f9c105 .
2017-06-29 18:34:24 -04:00
Konrad Borowski
4cc1f9c105
Release Galladite, Gardevoirite, and Lopunnite ( #3697 )
2017-06-27 17:48:25 -07:00
Kris Johnson
e2a8fd0135
Release Banettite and Cameruptite ( #3680 )
2017-06-23 10:02:25 +04:00
Marty-D
031363fd25
Release Abomasite, Manectite, and Tyranitarite
2017-06-06 08:43:28 -04:00
Marty-D
bc20c40722
Fix White Herb activation from Fling display
2017-06-05 11:15:49 -04:00
Marty-D
1bf8df1ed1
Release Blazikenite, Sceptilite, and Swampertite
2017-05-30 08:43:29 -04:00
Ivo Julca
a87032ae8a
Update names of Deep Sea (Tooth|Scale) to Gen 6+ format
2017-05-27 21:56:34 -05:00
The Immortal
1b7656c201
Release Heracronite and Houndoominite
2017-05-15 17:31:12 +04:00
Guangcong Luo
6dd58b40d3
Refactor simulator into new sim/ directory
...
This is a surprisingly minor refactor considering how many files it
touches, but most of this is only renames.
In terms of file renames:
- `tools.js` is now `sim/dex.js`
- `battle-engine.js` is now `sim/index.js` and its three classes are
in `sim/battle.js`, `sim/side.js`, and `sim/pokemon.js`
- `prng.js` is now `sim/prng.js`
In terms of variable renames:
- `Tools` is now `Dex`
- `BattleEngine` is now `Sim`
- `BattleEngine.Battle` is now `Sim.Battle`
- `BattleEngine.BattleSide` is now `Sim.Side`
- `BattleEngine.BattlePokemon` is now `Sim.Pokemon`
2017-05-05 16:48:38 -05:00
Marty-D
1b36e5b551
Release Original Cap Pikachu and Pikashunium Z
2017-04-14 12:19:32 -04:00
The Immortal
2d9fbebcb6
Release Audinite and Medichamite
2017-04-07 10:48:27 +04:00
The Immortal
ecc769bfda
Release Pidgeotite and Steelixite
2017-03-28 16:57:27 +04:00
The Immortal
5d9e2467d1
Release Beedrillite and Mawilite
2017-03-07 09:03:47 +04:00
xJoelituh
7cb9dfffa3
Release Mewtwonite X and Mewtwonite Y ( #3318 )
2017-03-03 13:46:45 +04:00
The Immortal
35f582c8bd
Release Mewnium Z
2017-01-25 07:30:06 +04:00
Marty-D
0cd3e51786
Update Strength Sap
2017-01-23 20:03:31 -05:00
Marty-D
691a06b083
Fix Rocky Helmet faint order
...
SM 1.1 has arrived
2017-01-10 23:29:33 -05:00
Guangcong Luo
ba2879c58d
Fix Twisted Spoon spacing
2017-01-06 04:28:18 -05:00
Marty-D
87e23444a2
Update Light Clay description
2017-01-04 21:24:57 -05:00
tmagicturtle
3fb25792e4
Implement EV training items ( #3064 )
2017-01-02 14:33:54 -05:00
Marty-D
9859f190d5
Fix crash in Leppa Berry
2016-12-20 09:30:32 -05:00
Marty-D
5a567b1bbe
Update unreleased items
2016-12-07 15:52:59 -05:00
Marty-D
655bab4ca2
Fix Rocky Helmet faint order
...
Yes, this goes against their own regulations.
2016-12-05 11:11:37 -05:00
Marty-D
66240f75e1
Implement new faint order
2016-12-03 11:33:00 -05:00
Marty-D
3bcc51107f
Fix confusion Berries for Gluttony
2016-11-25 20:54:53 -05:00
Marty-D
dc90744aa7
Fix confusion Berries activation condition
2016-11-25 17:25:47 -05:00