Commit Graph

72 Commits

Author SHA1 Message Date
Marty-D
67b6091e23 Make moves refer to accuracy and evasion in lowercase. 2012-09-24 15:39:40 -03:00
Marty-D
0444c9c93f Placeholder messages for Attract. 2012-09-16 20:38:09 -03:00
Guangcong Luo
772d9093ae Fix some rounding issues for variable-base-power moves 2012-09-13 16:58:06 -07:00
Marty-D
6232e39cb5 Type changes cannot be Baton Passed.
Camouflage, Conversion, Conversion 2, Reflect Type, Soak.
2012-09-07 22:54:16 -03:00
Marty-D
ca4ddb880d Fix Sky Drop going through Protect/Detect. 2012-09-01 21:53:40 -03:00
Marty-D
9d363fb871 Fix Sucker Punch to trigger on Me First. 2012-08-24 16:21:05 -03:00
Guangcong Luo
408fd2e283 Fix Sky Drop 2012-08-24 11:52:30 -07:00
Guangcong Luo
0476520219 Fix Destiny Bond
contrary to previous belief, it should expire to any move attempt
2012-08-24 10:59:23 -07:00
Guangcong Luo
ffa1fe5082 NEXT: lots of changes
- see the diff of GEN-NEXT.md for details
2012-08-23 12:55:43 -07:00
Bill Meltsner
41c434fd1d Proper, working implementation of Echoed Voice. 2012-08-19 15:58:30 -05:00
Marty-D
c52270accc Fix Autotomize. 2012-08-19 17:07:18 -03:00
Guangcong Luo
c3683999c5 Implement Echoed Voice 2012-08-19 10:28:53 -07:00
Marty-D
577376f7f9 Clarify Echoed Voice and Round's descriptions. 2012-08-18 20:29:56 -03:00
Marty-D
56bad50016 Reflect Type can copy types multiple times. 2012-08-17 21:31:36 -03:00
Guangcong Luo
4aae0ac35c Implement Foul Play 2012-08-16 22:23:21 -07:00
TheImmortal
2b57714d04 Pursuit does not miss against a switch 2012-08-16 22:52:42 +04:00
Guangcong Luo
473a1bae24 Make sure Air Lock and Cloud Nine prevent weather problems correctly 2012-08-13 22:19:27 -07:00
Marty-D
c5e25f3a9d Only SolarBeam skips its charge turn during Sunny Day. 2012-08-13 11:52:59 -03:00
Guangcong Luo
a0f10fe811 Two-turn move bugs: pretty much all fixed 2012-08-12 16:31:06 -07:00
TheImmortal
a8574d66ca Implement Bug Bite & Pluck effects 2012-08-11 22:02:47 +04:00
Marty-D
d79ee19ac0 Actually fix Rapid Spin.
Thanks, bmelts!
2012-08-05 13:22:30 -03:00
Marty-D
e0486402c3 Fix some move descriptions. 2012-08-04 22:03:40 -03:00
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