TheImmortal
57e78fc87a
Remove isProtectable and add isNotProtectable
...
- I also update a few targets
2012-07-31 02:30:26 +04:00
Marty-D
664ecea0b6
Fix Rapid Spin to remove nothing if the user faints.
2012-07-30 16:58:34 -03:00
TheImmortal
f466dc5fbf
Missed Protect flag for Hidden Power types
2012-07-30 17:35:26 +04:00
TheImmortal
276af86367
Implement Sketch
2012-07-30 05:47:09 +04:00
TheImmortal
d63f780080
Add isProtectable flag
...
- I also moved priority under pp and isViable under id
2012-07-30 05:40:28 +04:00
Marty-D
2b6a5c2249
Fix Electro Ball.
...
UPC is the only source that is right on this.
2012-07-23 18:44:55 -03:00
Marty-D
71b3f78ec9
Fix Chatter's confusion chance; remove the typos entirely.
...
I blame Psypokes for putting random tabs in their move descriptions.
2012-07-22 09:10:32 -03:00
TheImmortal
64533c8162
Typo's in move descriptions
2012-07-22 10:02:06 +04:00
Marty-D
c606535a81
Full move descriptions are go!
2012-07-21 22:12:29 -03:00
TheImmortal
a13676f8ac
Snatch implementation
2012-07-22 04:01:30 +04:00
Bill Meltsner
4447749568
Fix Gravity's interactions with affected two-turn moves (Fly, Bounce, Sky Drop).
2012-07-19 17:39:13 -05:00
Bill Meltsner
ba4148cfc7
Fix two-turn moves (mostly).
...
Two-turn moves are now controlled by a volatile, twoturnmove, which determines whether a Pokemon executes the charge turn or the move turn of a two-turn move. This handles mechanics like Truant Pokemon being unable to use two-turn moves, as the execution turn is their truancy turn. It also handles various edge cases involving moves that call other moves (e.g. Metronome) and Encore.
These changes add a new event, onChargeMove, in which one can return false to "skip" the charging turn and execute the move in full immediately. For example, Solarbeam returns false in onChargeMove if the weather is sunny, and Power Herb returns false if the Pokemon uses its item successfully. (Actually, those are the only two examples at present.)
This implementation is complete except for one issue, an inversion of a previous problem: whereas before, moves like Assist calling two-turn moves would execute them immediately, now, only the charge turn will be executed, and the Pokemon will not be locked into the move. This is due to be fixed soon.
2012-07-18 21:27:43 -05:00
TheImmortal
ea70b644b2
Fix all the Pursuit bugs!
2012-07-18 04:50:11 +04:00
TheImmortal
70f063d77b
Fix Shedinja using Substitute message
2012-07-15 17:32:36 +04:00
Bill Meltsner
2e75e80bc0
Enable happiness when creating a Pokemon, and actually derive Frustration/Return's base power from it.
2012-07-10 18:16:13 -05:00
Marty-D
d250ced19a
Fix up some Ability-changing moves' banlists.
2012-07-10 17:54:58 -03:00
Guangcong Luo
02dc1b6343
Make sure illusion/multitype/wg aren't swappable
2012-07-10 15:38:41 -04:00
TheImmortal
3117467e64
First turn of Dive prevents Hail/Sandstorm damage
2012-07-10 22:30:41 +04:00
TheImmortal
92a636968b
First turn of Dig prevents Hail/Sandstorm damage
2012-07-10 22:22:00 +04:00
TheImmortal
cd025d6981
Moves blocked by Substitute
...
- Acupressure is not blocked by Substitute
- Flatter is already blocked because of the boosts/confusion
- Heal Pulse is blocked by Substitute
- Swagger is already blocked because of the boosts/confusion
2012-07-08 02:55:00 +04:00
TheImmortal
615d48001c
Correct Substitute blocked message
2012-07-07 01:53:32 +04:00
Marty-D
0dace78d96
Fix Present's healing amount.
2012-07-06 17:01:14 -03:00
Marty-D
3573b6907a
Fix Present's descriptions.
...
Not sure why I trusted Bulbapedia on this when the right mechanic is in their animated gif -_-
2012-07-06 16:18:31 -03:00
TheImmortal
f40f64301a
Leech Seed immunity message + moves blocked by Sub
2012-07-04 00:23:55 +04:00
Bill Meltsner
4ffca358fb
Fix Relic Song preventing other Pokemon from transforming into Meloetta after its use.
2012-07-03 01:25:00 -05:00
TheImmortal
f7118acfdf
Dream Eater not blocked by Sub. + correct message
2012-07-02 23:34:34 +04:00
Marty-D
42d0eeebf6
Fix Teeter Dance.
...
Teeter Dance no longer goes through Substitute and is no longer reflected by Magic Coat/Bounce.
2012-07-02 13:43:06 -03:00
Bill Meltsner
988261373b
Make Marty's Roost fix a little more concise.
2012-07-01 18:22:23 -05:00
Bill Meltsner
ba147b5cb1
Some move message fixes for use with the updated client.
2012-07-01 18:12:12 -05:00
Marty-D
d9f0cfaf79
Roost fix for Gen V.
2012-07-01 20:04:13 -03:00
Bill Meltsner
ee35774ead
Fix a crash in Encore
2012-06-25 22:05:21 -05:00
Bill Meltsner
75259ef4e2
Belly Drum should fail if the user's attack is already maximized.
2012-06-25 21:33:46 -05:00
Bill Meltsner
8b2a5b7530
Make Encore not break with Hidden Power.
...
This is technically inaccurate, but while Hidden Power is still brokenly implemented, better to compensate for it.
2012-06-25 20:19:00 -05:00
Bill Meltsner
a33f4e5dd4
Fix some Encore mechanics:
...
- Encore will fail if the move to be Encored has 0 PP, and will end automatically if the move runs out of PP while Encore is in effect.
- Encore will fail if the move to be Encored is Encore, Mimic, Mirror Move, Sketch, or Transform. (This prevents Magic Bounce + Encore causing trouble.)
- Encore will fail if the target doesn't actually have the move to be Encored.
2012-06-21 03:49:09 -05:00
Bill Meltsner
17b6c53e92
Encore now lasts the proper number of turns.
2012-06-21 03:21:54 -05:00
The Immortal
a1cc540260
Fix Conversion 2 crash
2012-06-18 02:52:09 +04:00
Bill Meltsner
ff22e93daa
Two layers of Spikes should deal 1/6 of the opponent's max hp in damage, not 3/16.
2012-06-14 19:17:16 -05:00
TheImmortal
6237f77cf5
Added missing onResidualOrders
2012-06-15 03:20:28 +04:00
Bill Meltsner
9bbb0b8d56
Convert battles to use the new, cartridge-simulating RNG.
...
Non-battle randomness is still based off of Math.random().
2012-06-12 03:47:14 -05:00
Bill Meltsner
8f6b7e380c
Change the "stall" volatile to work more like the in-game version.
...
This has the added benefit of not using Math.pow anymore.
2012-06-11 22:22:39 -05:00
Bill Meltsner
e0f005f00e
Fix a few occurrences of "move: Substitute".
2012-06-10 15:28:36 -05:00
Bill Meltsner
0111c1ec18
Add a placeholder Struggle "no moves left" message.
2012-06-10 15:27:19 -05:00
Bill Meltsner
92c08bcd03
Implement Mimic.
2012-06-10 07:08:28 -05:00
The Immortal
e4414f688e
Fix Iron Tail shortDesc
2012-06-10 00:19:04 +04:00
The Immortal
77ee2b475f
Fix Shadow Ball shortDesc
2012-06-09 23:28:03 +04:00
Bill Meltsner
5cd458eafa
Force Belly Drum and Substitute to fail when used by Shedinja.
2012-06-08 22:53:56 -05:00
Bill Meltsner
8c22e394a8
Fix various Substitute messages.
2012-06-08 22:53:55 -05:00
Marty-D
a8059d40cf
Fix up Assist, Copycat, and Mirror Move's uncallable moves lists.
2012-06-08 19:30:55 -04:00
Marty-D
16c8e2bd6e
Add the 100% secondary effect chances to the short move descriptions. Fix Mirror Move's description to be more correct.
2012-06-08 19:29:40 -04:00
Guangcong Luo
e73c587e7d
Move a bunch of files into data/
...
also take this opportunity to rename movedex.js -> moves.js
2012-06-08 14:25:45 -07:00