Commit Graph

7793 Commits

Author SHA1 Message Date
Guangcong Luo
c9d42f1740 More changes for better doubles support
- Most of these changes are just renaming some variables to make logic clearer
- `decision` has been split into separate concepts of "choice" and "decision"
- Some refactoring: `decide` split into `choose` and `parseChoice`, and
  some game code is delayed to `addQueue` where it makes more sense
2012-11-06 22:31:32 -08:00
Bill Meltsner
8d05ebf38c Kyurem-Black has been unbanned. 2012-11-05 20:17:36 -08:00
TheImmortal
7a8785a7e8 Hydration rating change 2012-11-05 23:28:20 +04:00
TheImmortal
024ee55318 Prevent Aqua Tail and Waterfall in Randbats 2012-11-05 21:01:50 +04:00
TheImmortal
69f7c70243 Update ratings 2012-11-05 20:57:31 +04:00
Guangcong Luo
4d932be413 UU is doing a suspect test on Snow Warning 2012-11-04 18:04:25 -08:00
TheImmortal
5271ca500a Update viable moves 2012-11-04 16:32:34 +04:00
TheImmortal
073176671f Add missing Sandile moves 2012-11-04 16:13:14 +04:00
TheImmortal
ef2fc15367 Facade should give Toxic Orb in Randbats 2012-11-04 16:00:10 +04:00
Marty-D
f1da1521fa Fix Zen Mode.
- differentiate between "Transform"ed and transformed so Transform works on it
2012-11-02 17:54:47 -03:00
TheImmortal
5b9700f17a Update viable moves 2012-11-02 22:07:29 +04:00
TheImmortal
d1b90cffa3 Modify ratings 2012-11-02 22:05:57 +04:00
TheImmortal
57e79243ac Update Randbats script
- Prevent Chesto Berry if ability is Natural Cure
2012-11-02 22:04:03 +04:00
Guangcong Luo
1bb7a10d3c Some code to prepare for doubles support
(doubles is by no means done or close to done)
2012-11-01 01:50:49 -07:00
TheImmortal
42c1626345 Stored Power is useless in randbats without setup 2012-10-31 19:32:12 +04:00
Guangcong Luo
a42571f751 Format overhaul
- Added Matthew's seasonal ladder
- Renamed "Debug Mode" to "Custom Game" so it's clearer what it's for
- Miscellaneous cleanup
2012-10-30 19:53:04 -07:00
TheImmortal
abcba2828a Prevent Focus Punch without Substitute in Randbats 2012-10-30 16:36:47 +04:00
Marty-D
6af36ceab3 Fix Lock-On and Mind Reader.
- effect is on the target, not the user
2012-10-27 22:19:27 -03:00
Marty-D
241320fc76 Minor correction to Mud and Water Sport. 2012-10-26 23:53:53 -03:00
Marty-D
424d617ff5 Fix Starf Berry.
- can't boost accuracy or evasion
2012-10-26 00:43:22 -03:00
TheImmortal
13cc6f4c7f Viable moves changes 2012-10-26 01:33:32 +04:00
Marty-D
abc188dc75 Make sure Fissure cannot hit Dig users.
- seemingly a Gen 2 only mechanic
2012-10-23 21:52:16 -03:00
Marty-D
11851fc38b Make sure OHKO moves do not hit during invulnerable turns. 2012-10-23 21:41:39 -03:00
Marty-D
30564a40fc Make sure Download does not activate with no opponent. 2012-10-22 15:57:48 -03:00
TheImmortal
4be9c38a09 Viable moves update 2012-10-22 18:59:16 +04:00
Guangcong Luo
9877ef5186 Refactor items.js to not call clampIntRange 2012-10-21 17:51:26 -07:00
Guangcong Luo
e65facec71 Ubers has unbanned OHKO Clause.
- Ubers is now different enough from other Smogon metagames that it no longer uses Standard rules
- Instead, it gets Standard Ubers, which is Standard minus OHKO Clause and minus Evasion Clause.
2012-10-21 17:49:41 -07:00
Guangcong Luo
7240d08c2c Cresselia and Durant have been unbanned from RU 2012-10-21 17:47:39 -07:00
TheImmortal
a6c114f8f7 More viable move updates 2012-10-21 12:38:20 +04:00
TheImmortal
14b54ff9bd Viable moves updates 2012-10-20 12:52:37 +04:00
Marty-D
a56f4128b3 Remove Outrage lock if the user falls asleep. 2012-10-19 17:17:05 -03:00
Guangcong Luo
6f916824d7 Kyurem-B is being suspect tested 2012-10-18 14:29:54 -07:00
Antar1011
1f3add6751 Fixed CC's Smeargle moveset problem
Smeargle's movepool is ALL moves, not just Sketch, Sleep Talk and Captivate.
2012-10-18 15:36:44 -03:00
Bill Meltsner
9d92f920cc "Fix" burn to not halve the damage of fixed-damage moves.
A proper fix requires reworking how we handle fixed-damage moves in general. That'll probably come hand in hand with the revised damage formula.
2012-10-15 09:58:31 -07:00
Marty-D
88e01e270a Fix Micle Berry. 2012-10-14 23:58:55 -03:00
Marty-D
192107fc11 Fix Mist's interaction with Moody.
- thanks bmelts!
2012-10-14 22:53:47 -03:00
Bill Meltsner
4ab7cd8059 Burns halve the damage done, not the attack of the user. 2012-10-14 17:14:00 -07:00
Marty-D
e34bdb1054 Prankster's rating goes up to 4.5. 2012-10-14 18:18:37 -03:00
Marty-D
c7fa93b28c Fix the Budew line's learnset. 2012-10-14 13:02:26 -03:00
Bill Meltsner
c105e5bee7 Moody gets its own clause. Lucky Moody. 2012-10-13 15:51:56 -07:00
Bill Meltsner
86386519c8 Break Evasion Clause out of the Standard package, and add a new Evasion Moves Clause for Ubers and LC that only bans Minimize and Double Team. 2012-10-13 15:45:10 -07:00
Marty-D
2884c987bf Make sure Bide is usable by Ghost-types. 2012-10-13 13:23:31 -03:00
Marty-D
9436fcaa7e Make sure to limit one of each move in Ubers. 2012-10-13 00:13:54 -03:00
Marty-D
01ef4f80fe Garchomp is now OU. 2012-10-12 23:49:42 -03:00
Marty-D
82f6685571 Ban Sand Veil and Snow Cloak from OU and below.
- Ubers now has Evasion Clause and OHKO Clause off.
2012-10-12 23:47:24 -03:00
TheImmortal
5979dbf4ed Viable moves updates 2012-10-12 01:18:28 +04:00
TheImmortal
dc54ad1722 Randbat updates 2012-10-10 02:13:54 +04:00
TheImmortal
24e162f58f Genesect Event 2012-10-10 02:12:57 +04:00
Marty-D
a8748142e5 Add the Reckless boost flag to (Hi) Jump Kick. 2012-10-08 21:06:33 -03:00
Guangcong Luo
fb06a15662 Don't deduct multiple PP for multi-turn moves 2012-10-04 19:18:32 -07:00
TheImmortal
cd698d0a28 Set Harvest rating to 0.5 2012-10-03 01:12:43 +04:00
TheImmortal
466b906f01 Gluttony rating set to 0, as requested by GS 2012-10-03 00:29:53 +04:00
TheImmortal
790440e4d3 Set Shedinja & Tyrogue to level 99 2012-10-03 00:27:13 +04:00
Antar1011
d0d13aeb66 LC Ubers and UU
Added the two unofficial metagames. For LC UU, see here: http://www.smogon.com/forums/showpost.php?p=4414799&postcount=2
2012-10-01 13:31:40 -03:00
Antar1011
bf31695501 Tier update
http://www.smogon.com/forums/showthread.php?t=3472966
2012-10-01 06:58:00 -03:00
Antar1011
3431a6a096 Update data/formats-data.js
Tier update: http://www.smogon.com/forums/showthread.php?t=3472966
2012-10-01 06:52:25 -03:00
verbiage
c0b3ed40d0 Banned Shadow Tag and Arena Trap in BH 2012-09-30 16:14:11 -05:00
TheImmortal
2431be68cd Ralts + Kirlia viable moves update 2012-09-30 16:12:23 +04:00
Marty-D
ca9110d074 Add an interesting Substitute mechanic.
- creating a Substitute ends any partial-trapping effect on the user
2012-09-29 19:53:35 -03:00
Marty-D
5c1c3118d6 Change "U-Turn" to "U-turn". 2012-09-29 15:18:55 -03:00
Guangcong Luo
46004d9722 Fix Cherrim-Sunshine's sprite 2012-09-29 03:36:25 -07:00
Marty-D
40f5040c32 Make sure Feint breaks Protect/Detect. 2012-09-27 16:45:37 -03:00
Marty-D
9ddfdd4451 Encore should not make Struggle repeat. 2012-09-26 19:16:25 -03:00
Marty-D
5e9828fc54 Minor fix for Mimic and Sketch.
- the copied move has its current and max PP set to the original max PP
2012-09-26 19:07:31 -03:00
Marty-D
de425dc6ad Give Steamroller a number. 2012-09-24 16:39:59 -03:00
Marty-D
957504afea Make Abilities refer to accuracy and evasion in lowercase. 2012-09-24 15:41:37 -03:00
Marty-D
67b6091e23 Make moves refer to accuracy and evasion in lowercase. 2012-09-24 15:39:40 -03:00
Marty-D
3f13e8c085 Unban Freeze Shock and Ice Burn from Balanced Hackmons.
- the two-turn Assist bug is fixed
2012-09-22 23:26:27 -03:00
Marty-D
235fa6a295 Make sure Forecast activates after hazards. 2012-09-22 23:24:33 -03:00
TheImmortal
c9af6c0f74 Update Random Battle Pokemon levels 2012-09-22 01:23:17 +04:00
TheImmortal
71e0d9711a Event Pokemon 2012-09-21 00:32:03 +04:00
Marty-D
0444c9c93f Placeholder messages for Attract. 2012-09-16 20:38:09 -03:00
Marty-D
7be855769a Minor edits to some Ability descriptions. 2012-09-15 20:45:53 -03:00
TheImmortal
b7deee9e50 Viable moves updates 2012-09-15 22:56:00 +04:00
Guangcong Luo
0305122004 Random battles fixes:
- several pokemon receive level adjustments
- Guts and Tinted Lens should be slightly less common
- Sheer Force is now filtered (will not be chosen without a move that benefits from it
- Bidoof now gets Moody for the lulz
2012-09-13 22:00:54 -07:00
Guangcong Luo
e22e7550dd Eviolite affects the base pokemon before Transform
(This is mainly relevant to Eviolite Illusion Chansey in Hackmons
2012-09-13 22:00:54 -07:00
Guangcong Luo
d185fcc790 Add alternate name for suspect test format 2012-09-13 22:00:54 -07:00
Antar1011
7ba2086f16 Fixed and verified. 2012-09-13 21:16:30 -04:00
Antar1011
b3c8921696 Possible fix for CC issue. 2012-09-13 21:07:35 -04:00
Guangcong Luo
772d9093ae Fix some rounding issues for variable-base-power moves 2012-09-13 16:58:06 -07:00
Guangcong Luo
022e010ac0 Unban evasion items from Evasion Clause 2012-09-13 16:58:06 -07:00
TheImmortal
96a33159f3 Release Micle Berry
Going to be released 7 hours from now
2012-09-14 00:47:45 +04:00
TheImmortal
d9153b1438 Charizard viableMoves update, for GreatSage 2012-09-14 00:45:13 +04:00
Marty-D
b9ff3e4c73 Activation message for Air Lock and Cloud Nine. 2012-09-12 19:11:57 -03:00
Guangcong Luo
b7ea982716 New system for event abilities
Fixes validation issues on Salamence and Gallade
2012-09-09 00:39:31 -07:00
Guangcong Luo
61a0bd9c09 Make sure self-target moves ignore Soundproof 2012-09-09 00:39:31 -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
b271657035 Fix Flame Orb and Toxic Orb more.
Forgot about Water Veil and Immunity.
2012-09-07 20:27:24 -03:00
Marty-D
1dc7a22294 Fix Flame Orb and Toxic Orb.
Neither tries to activate on type immunities.
2012-09-07 20:10:42 -03:00
Marty-D
d8b7aa74f1 Fix U-turn.
In the event that the user and target get KOed in the same turn (Life Orb recoil, Iron Barbs, etc.), make sure the user isn't forced to switch to another Pokemon before the opponent chooses a replacement.
2012-09-03 18:46:02 -03:00
Bill Meltsner
cc8430bdae Gothitelle has been banned from UU. 2012-09-03 00:31:51 -07:00
Bill Meltsner
5dc9e7893d Fix Skymin being usable in the Suspect Test format. 2012-09-01 19:52:19 -07:00
Marty-D
ca4ddb880d Fix Sky Drop going through Protect/Detect. 2012-09-01 21:53:40 -03:00
Marty-D
77196154af Fix Figy Berry's heal graphic. 2012-09-01 14:42:30 -03:00
Guangcong Luo
6bcbe6de21 Fix OU suspect test bans 2012-08-31 20:00:38 -07:00
TheImmortal
7c8cb9c119 Kanto Starter Event 2012-08-31 20:05:17 +04:00
Marty-D
949a769e70 Fix Color Change.
- type can't be Baton Passed
- doesn't activate if the Pokemon is no longer active
2012-08-30 13:19:10 -03:00
Marty-D
5c96fcf73a Fix the partial-trapping duration. 2012-08-29 22:41:33 -03:00
Guangcong Luo
c36ce5f236 Correctly add event Pikachu 2012-08-29 14:44:47 -07:00
TheImmortal
44add68e3c Viable moves updates + Pikachu event 2012-08-29 20:22:23 +04:00
Guangcong Luo
d8e59c030a Add Garchomp suspect test tier 2012-08-28 23:12:55 -07:00
Marty-D
291749ec8a Fix Magic Guard to not block confusion damage. 2012-08-27 21:38:15 -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
Marty-D
c051a7f06a Fix partial trapping moves.
Thanks, bmelts!
2012-08-23 00:40:18 -03:00
Guangcong Luo
00fea00705 Clean up an artifact of a failed SFTP upload 2012-08-22 19:33:39 -07:00
Guangcong Luo
d66c45000c Fix Giratina ability enforcement
(won't happen in Hackmons anymore)
2012-08-22 19:31:32 -07:00
TheImmortal
3232229a48 Add all shiny event data 2012-08-21 15:37:47 +04:00
Guangcong Luo
39286e8bf9 Include shininess in event data 2012-08-20 23:25:29 -07:00
Guangcong Luo
8782ecee6d Simplest fix for the Giratina ability issue 2012-08-20 23:25:15 -07:00
Bill Meltsner
ff985c96fd Make sure to recalculate the target after both ModifyMove events. 2012-08-19 16:58:14 -05: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
TheImmortal
b1272754d4 Bad Dreams affecting Pokemon after losing all HP 2012-08-19 10:10:38 +04:00
Bill Meltsner
59fcef1ad7 Implement Ring Target. 2012-08-19 00:07:12 -05: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
fa1caf2384 Forecast is now affected by Air Lock etc 2012-08-14 20:54:21 -07: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
TheImmortal
b2e849b0d8 Merge remote-tracking branch 'upstream/master' 2012-08-13 05:37:39 +04:00
TheImmortal
f0f172de6b Ponta & Rapidash viableMoves updates 2012-08-13 05:36:19 +04:00
Guangcong Luo
26d9b2c971 Update some remaining code to the new LockMove system 2012-08-12 18:33:33 -07:00
Guangcong Luo
a0f10fe811 Two-turn move bugs: pretty much all fixed 2012-08-12 16:31:06 -07:00
TheImmortal
7a50d4381e Missing B2W2 TM's 2012-08-12 21:52:22 +04:00
TheImmortal
0e337a0ba1 Add Genesect B2W2 Tutor Moves 2012-08-12 20:02:15 +04:00
TheImmortal
a8574d66ca Implement Bug Bite & Pluck effects 2012-08-11 22:02:47 +04:00
Marty-D
839ea9492a Update some randbat moves. 2012-08-11 14:46:31 -03:00
Marty-D
028fc78f25 Rock Head's description was apparently confusing. 2012-08-11 12:52:25 -03:00
TheImmortal
825b3a766d Darkrai is now being tested in DW OU 2012-08-11 04:03:13 +04:00
TheImmortal
65165bf1bd Add Shedinja moves gained from Ninjask 2012-08-11 02:15:58 +04:00
TheImmortal
a0a4b2c7c4 Genesect is released 2012-08-10 18:55:46 +04:00
TheImmortal
88ecfa7632 Gothorita Event
http://over-lap.co.jp/book/bw2/img/tokuten.jpg
2012-08-09 14:36:40 +04:00
Guangcong Luo
01add9ab91 Fix crash in CC with no learnset 2012-08-08 15:14:14 -07:00
Guangcong Luo
575454e27b Fix Red Card message 2012-08-06 14:38:47 -07: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
d9ae36c7c9 Update CAP viableMoves 2012-08-05 04:03:39 +04:00
Bill Meltsner
cd5bf89883 Rename the BW-only mod to conform to the ID scheme. 2012-08-01 21:47:26 -05:00
Marty-D
de39153848 Fix Metal Powder. 2012-07-30 21:55:34 -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
TheImmortal
4c30330124 Fix Flaaffy tier 2012-07-30 03:52:15 +04:00
TheImmortal
734f8b91d0 King's Rock & Razor Fang implementation
Does not interact correctly with Sheer Force & Shield Dust
2012-07-29 05:36:24 +04:00
Guangcong Luo
276e9590c8 More aliases for better PO compatibility 2012-07-28 17:38:53 -07:00
Bill Meltsner
643c1c60bd Add Toxic Boost check to the random team algorithm. 2012-07-28 16:47:08 -05:00
TheImmortal
9c6aa5492c Add cureStatus 2012-07-26 20:48:42 +04:00
Guangcong Luo
13efd30470 Magikarp's Revenge should not appear in random battles normally 2012-07-25 15:55:24 -07:00
TheImmortal
efc7963357 Events from Pokemon Adventure Camp 2012-07-24 02:52:09 +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
TheImmortal
cdddb812f1 Purrlion & Liepard viableMoves update 2012-07-23 05:12:07 +04:00
TheImmortal
4eeaa729e8 Final DW move for Golett
With this, no Dream World Pokemon should be missing a move.
2012-07-23 00:22:44 +04: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
3d572ce639 Soul Dew & Drizzle + Swift Swim are banned in DW OU 2012-07-22 10:03:20 +04: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
cca50c88f8 Doduo/Dodrio: Change Frustration to Return 2012-07-22 04:02:18 +04: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
e32e4d0660 Fix two-turn move immunities persisting beyond the preparation turn. 2012-07-19 17:34:01 -05:00
TheImmortal
18fcf8d108 Piplup Wi-Fi Event 2012-07-19 16:14:15 +04: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
a0a8d66cf7 Cubchoo viableMoves change
Requested by Great Sage
2012-07-19 04:02:52 +04:00
TheImmortal
f0382ab95f Some Dream World moves 2012-07-19 03:45:00 +04:00
TheImmortal
cb5d120c64 Fix Eject Button bug
Specifically, interaction between U-turn/Volt Switch and Eject Button
2012-07-18 22:05:38 +04:00
TheImmortal
ea70b644b2 Fix all the Pursuit bugs! 2012-07-18 04:50:11 +04:00
Marty-D
fc834611bb Trace can copy Wonder Guard.
Also clean up the unTraceable Abilities list.
2012-07-17 15:46:09 -03:00
The Immortal
8b0084326f Typo with Pokemon XD event 2012-07-17 20:32:23 +04:00
TheImmortal
9986b39224 Fix Marty's fix for Full Incense/Lagging Tail 2012-07-17 13:09:48 +04:00
TheImmortal
5a330be08a Randbat movepool update 2012-07-17 02:57:04 +04:00
TheImmortal
f73a4b37d3 Fix Download & Intimidate activating on fainted Pokemon 2012-07-16 18:38:55 +04:00
Marty-D
e624c947ab Fix Stall. 2012-07-16 11:11:45 -03:00
Marty-D
d8feea3659 Fix Full Incense and Lagging Tail. 2012-07-16 11:10:22 -03:00
Guangcong Luo
2804901d16 Make sure to only allow valid teams 2012-07-15 21:43:18 -07:00
TheImmortal
047686d917 Add all missing Deoxys moves 2012-07-15 20:41:10 +04:00
TheImmortal
70f063d77b Fix Shedinja using Substitute message 2012-07-15 17:32:36 +04:00
Marty-D
17a6cb4ba8 Multi-hit moves end if the user faints during use. 2012-07-14 13:03:34 -03:00
TheImmortal
68d5d2e97c Free Meloetta! 2012-07-14 03:42:21 +04:00
TheImmortal
a81e58437b New Dream World moves 2012-07-14 01:32:31 +04:00
TheImmortal
9756f4498e Berries in B2W2
Apicot/Ganlon/Liechi/Petaya/Salac
2012-07-14 01:20:47 +04:00
Marty-D
c22fb98aa9 Abilities that prevent status can now cure that status as well. 2012-07-13 16:03:27 -03:00
Bill Meltsner
563433bd8f Also don't execute an accuracy check if there's no target. 2012-07-13 10:07:23 -05:00
Bill Meltsner
dd8f7641bf Only execute an accuracy check if one is actually necessary. 2012-07-13 09:41:57 -05:00
Bill Meltsner
becc665a32 Oh yeah, Quick Claw needs an activation message too. 2012-07-12 01:23:07 -05:00
Bill Meltsner
cf129204b5 Actually, we have a default activation message, so just use that instead. 2012-07-12 00:01:52 -05:00
Bill Meltsner
cb68403753 Add a placeholder message for Shed Skin.
It doesn't actually have one in the games, as far as I know, but this'll stop people getting confused about seemingly random status curing.
2012-07-11 23:54:19 -05:00
Bill Meltsner
e6cea7a0a8 Implement Quick Claw. 2012-07-11 23:54:19 -05:00
Marty-D
0adf419599 Fix rounding for some healing items. 2012-07-11 14:55:28 -03: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
Antar1011
023183a133 Took out debug line 2012-07-10 09:58:49 -04:00
Antar1011
0d5db9483a Challenge Cup 2012-07-10 09:47:35 -04:00
Antar1011
08a03f1b30 Snover and Hippopotas are now "LC" instead of UU (allowed in any standard tier) 2012-07-10 07:40:03 -04:00
Antar1011
95f997608e DW UU Updates 2012-07-10 07:26:50 -04:00
Bill Meltsner
1f00e0daf2 CAP should be BW2 meta, apparently. 2012-07-09 23:17:48 -05:00
Bill Meltsner
66636da307 The Mollux playtest is over. 2012-07-09 22:16:01 -05:00
TheImmortal
10915a7790 Kyurem-B & Kyurem-W are banned from DW OU 2012-07-09 00:23:20 +04:00
Guangcong Luo
e1eddbd77f Pass the team around very carefully
- teams were passed around a lot more haphazardly before
- a race condition may have caused the team issue in LC earlier
- teams are now passed very carefully from search to battle start
2012-07-08 15:28:17 -04:00
Bill Meltsner
6f9469c898 Fix NFE level scaling in randbats. 2012-07-08 12:23:47 -05:00
Bill Meltsner
eb153e7427 Implement recursive rules for formats.
A format will inherit rulesets and banlists from any rules specified in its ruleset which contain their own rulesets or banlists. For instance, UU can inherit OU's rules and bans, while adding its own tier bans and weather bans.
2012-07-08 02:40:00 -05:00
Bill Meltsner
eb28c7eb2d Factor out OHKO and Evasion bans into clauses. 2012-07-08 02:39:59 -05:00
Bill Meltsner
3dc7be8520 Implement Freeze Clause. 2012-07-08 02:39:58 -05:00
Bill Meltsner
0bfb16e87d Fix DW tier names. 2012-07-08 02:39:56 -05:00
Bill Meltsner
4f7ee84bd6 Capitalize Pokemon.
IT MATTERS, OKAY?!
2012-07-08 01:14:30 -05:00
Bill Meltsner
0369dad818 Add moves obtainable from Pokemon XD: Gale of Darkness. 2012-07-07 20:12:13 -05: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
35b4c3b6ca Dream World moves update 2012-07-08 02:15:25 +04:00
Guangcong Luo
5efcc49ae8 Reintroduce Basculin-B
(apparently it isn't fully aesthetic)
2012-07-07 17:51:04 -04:00
Guangcong Luo
307b2e7c40 Update pokedex.js:
- only base formes get an otherFormes list
- base forme names are stored in baseForme
- Genesect formes are now stored
2012-07-07 17:39:26 -04:00
Guangcong Luo
c571bf94b3 Updated random battle level scale 2012-07-07 13:20:11 -04:00
小太
580a0546ea Allow random teams with haxmons and show haxmons for challenges 2012-07-07 14:16:58 +10:00
TheImmortal
615d48001c Correct Substitute blocked message 2012-07-07 01:53:32 +04:00
TheImmortal
e6e95e3feb Correct Soundproof immunity message 2012-07-07 01:50:50 +04:00
Guangcong Luo
125ede327f Gen next changes:
- several bugfixes and new features
- see GEN-NEXT.md for details
2012-07-06 16:50:20 -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
Guangcong Luo
d8c4c92d04 More fixes to NEXT:
- see GEN-NEXT.md for details
2012-07-06 05:07:24 -04:00
Guangcong Luo
3b004b9530 Horrible stopgap fix to make Power Herb not activate for SolarBeam in sun 2012-07-05 21:24:11 -04:00
TheImmortal
8b2a1b7227 DW updates + Learnset errors 2012-07-06 01:01:35 +04:00
Guangcong Luo
21cdf0dd8e Add Gen Next to formats 2012-07-05 13:33:12 -07:00
Guangcong Luo
c431b7d769 Rename the gen 4 formats: mod should go at the beginning 2012-07-05 13:33:11 -07:00
TheImmortal
3ef8de6da7 Set Castform & Cherrim forms to Illegal 2012-07-05 01:39:38 +04:00
TheImmortal
764602bb7b Dream World updates 2012-07-04 23:41:11 +04:00
TheImmortal
f7d8d86cc2 Ganlon Berry is released 2012-07-04 01:12:55 +04:00
TheImmortal
f40f64301a Leech Seed immunity message + moves blocked by Sub 2012-07-04 00:23:55 +04:00
Bill Meltsner
98b5775198 Reorder the various checks about whether a move hits or not, and add an immunity check before any move calculations are done.
A move cannot "miss" if there is no target, and if the target is immune to an attack, the game always displays the immunity message - the move will never register as "missing".

This fixes a bug where a Pokemon with a type-absorbing ability (e.g. Volt Absorb) behind a Substitute would not absorb status moves (e.g. Thunder Wave) - they'd be blocked by the Substitute before the immunity check was ever run.

There is still a graphical glitch where if a move fails its accuracy check against an immune opponent, the animation will still be that of the move missing, even though the text will be the immunity text. I'm not sure how to fix that given the current move message format.
2012-07-03 05:25:29 -05: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
Bill Meltsner
9b47cc9446 Overhaul Forecast to work more intelligently and to actually transform Castform instead of faking it (for better compatibility with things Transforming into it). 2012-07-03 01:24:25 -05:00
Bill Meltsner
bdf4acda55 Fix Trace, for real this time. Honest. 2012-07-02 20:07:00 -05:00
Bill Meltsner
a133ff8037 Rewrite Illusion to run on its own event.
Fixes issues with timing and switching to an Illusion Pokemon when that Pokemon is last in your team.
2012-07-02 20:06:57 -05:00
TheImmortal
ee238e2aa5 Some DW moves 2012-07-03 04:33:29 +04: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
Guangcong Luo
89da954e10 Merge pull request #73 from kotarou3/haxclauseFix
haxclause fix
2012-07-02 06:01:31 -07:00
Bill Meltsner
0ea1c82a51 Actually fix Trace properly. 2012-07-02 03:02:10 -05:00
小太
4966ac4e6d haxclause fix 2012-07-02 17:46:52 +10:00
TheImmortal
2cadc3e2e3 Make Trace work properly 2012-07-02 11:46:44 +04:00
Marty-D
c262e7da56 Revert part of 'Proper Trace implementation'
Crashes the server if anyone leads with a Trace user.
2012-07-01 22:01:12 -03:00
TheImmortal
6b07fdf6db Proper Trace implementation 2012-07-02 03:44:07 +04:00
TheImmortal
116e2c690b Dream World updates 2012-07-02 03:43:29 +04: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
b79c6614ad Fix Sleep Clause message. 2012-07-01 18:00:26 -05:00
Bill Meltsner
a60e4d024f July 2012 tier updates. 2012-07-01 02:00:46 -05:00
TheImmortal
1cb4e3283e Dream World updates 2012-07-01 02:15:25 +04:00
Bill Meltsner
2d468e8a6e Fix forme names in DW OU/UU banlists. 2012-06-30 15:31:14 -05:00
Marty-D
52606fa3e7 Normalize has no effect on Struggle. 2012-06-29 20:54:16 -03:00
TheImmortal
251589cfde Griseous Orb fixes 2012-06-29 23:26:39 +04:00
Marty-D
4b47c3f67a Klutz actually does ignore all of Iron Ball's effects. 2012-06-28 22:31:58 -03:00
TheImmortal
e12050c790 More Dream World 2012-06-29 01:54:45 +04:00
TheImmortal
c843e67c56 Frisk doesn't show a message if target has no item 2012-06-28 23:22:08 +04:00
TheImmortal
39a92d3762 More DW I missed in previous commit 2012-06-28 02:34:03 +04:00
TheImmortal
19b7cf4088 More DW that I missed in previous commit 2012-06-28 02:31:02 +04:00
TheImmortal
7b6c061d24 Even more Dream World releases 2012-06-28 02:04:24 +04:00
Antar1011
13e4a1b5cf Added Dream World tiers 2012-06-27 02:33:23 -03:00
TheImmortal
7b69d376bb Dream Radar Pokemon 2012-06-27 02:33:12 +04:00
Bill Meltsner
41cbf1ed91 Gen 4 cover legendaries are catchable in the Dream Radar. 2012-06-26 14:17:35 -05:00
Bill Meltsner
5f0514e9b7 Fix typos in the last commit breaking everything. 2012-06-26 12:44:54 -05:00
The Immortal
36670f11d0 Even more DW releases!
Imposter Ditto :O
2012-06-26 16:48:23 +04:00
Bill Meltsner
dce8dba0de More DW releases!
Techniloom is finally here :D
2012-06-25 22:16:09 -05: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
b238b24f45 Effect Spore does not have equal chances of each result. 2012-06-25 21:30:33 -05:00
Bill Meltsner
52a9c86120 Merge pull request #69 from TheImmortal/master
BW2 + DW Updates
2012-06-25 19:25:39 -07:00
Bill Meltsner
548bdbc79c Soul Dew is released. 2012-06-25 21:19:31 -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
TheImmortal
d693313133 More DW 2012-06-26 02:41:40 +04:00
TheImmortal
7a67ba7730 BW2 + DW updates 2012-06-26 00:58:03 +04:00
Guangcong Luo
4ab519c94f Make sure Arceus is sent correctly in team preview 2012-06-24 19:46:18 -07:00
Bill Meltsner
2e2052ceba Add the Mollux playtesting tier. 2012-06-24 12:40:07 -05:00
Bill Meltsner
5780d2974d In-game event pokemon in BW2. 2012-06-23 23:21:47 -05:00
Bill Meltsner
d8cd1753ed More discovered DW releases. 2012-06-23 23:21:21 -05:00
Bill Meltsner
c006d3a788 With the banning of Sand Stream, Hippowdon is UU again. 2012-06-23 17:57:03 -05:00
Bill Meltsner
9166a3b057 New BW2 TM moves. 2012-06-23 16:56:43 -05:00
Bill Meltsner
24ae6d5401 Revert "Automatically decide between Keldeo and Keldeo-R"
This reverts commit 78548ce010.
2012-06-23 16:27:40 -05:00
Guangcong Luo
78548ce010 Automatically decide between Keldeo and Keldeo-R 2012-06-23 13:35:51 -07:00
The Immortal
9e05c4e80b Kyurem-B/W aliases 2012-06-24 00:31:33 +04:00
Bill Meltsner
f8a655786c Add Kyurem formes' learnsets.
The Kyurem formes get Fusion Bolt/Flare and Freeze Shock/Ice Burn *in place of* Glaciate and Scary Face, so checkLearnset should not recurse down to the base Kyurem forme.
2012-06-23 12:25:26 -05:00
Bill Meltsner
b5c1e1f44e More DW move releases. 2012-06-23 12:22:08 -05:00
Bill Meltsner
c9746241b2 Keldeo-Resolution should be usable, but only with Secret Sword. 2012-06-23 12:18:56 -05:00
The Immortal
41d5b1dddf Female DW Croagunk 2012-06-23 15:14:00 +04:00
Guangcong Luo
4001463370 Only show debug messages in debug mode 2012-06-23 00:59:42 -07:00
Bill Meltsner
9d5e5fccba Add BW2 level up moves, plus a missed DW move. 2012-06-23 01:46:11 -05:00
Guangcong Luo
6671d2da1b Salac Berry has been released 2012-06-22 22:04:22 -07:00
Bill Meltsner
9342650829 DW release party! 2012-06-22 23:37:35 -05:00
Bill Meltsner
83606de39f Temporarily ban Freeze Shock and Ice Burn from Balanced Hackmons until we get our act together with two-turn moves. 2012-06-22 22:49:10 -05:00
Guangcong Luo
d13aa3613a In my excitement I made a few typos 2012-06-22 16:37:36 -07:00
Bill Meltsner
e80b207533 UU banned Sand Stream. 2012-06-22 18:26:57 -05:00
Guangcong Luo
a7ce2e471b NEW B2W2 TUTOR MOVES OMGOMGOMG 2012-06-22 16:14:53 -07:00
TheImmortal
213716dacf Therian Formes aliases and sorted alphabetically 2012-06-23 01:16:24 +04:00
Bill Meltsner
c9714159eb More DW releases. 2012-06-22 15:16:32 -05:00
TheImmortal
91dd526586 DW Releases 2012-06-23 00:10:18 +04:00
Bill Meltsner
4231595b74 Starting tiers for the new formes.
Everything is OU for now, except the Kyurem formes.
2012-06-22 15:04:18 -05:00
Bill Meltsner
4d1aca7bcb Flag new formes as Unreleased until BW2 is out and they're given an official tier, even a temporary one. 2012-06-22 13:30:27 -05:00
Guangcong Luo
7d437ad7ee Fix a validation crash on a pokemon
- a pokemon without a formats-data would crash
- because SOMEONE doesn't know how templates work ;)
2012-06-22 09:42:22 -07:00
The Immortal
14487aa8f4 Tornadus/Thundurus/Landorus Therian Formes Stats 2012-06-22 20:07:35 +04:00
Bill Meltsner
b0e494cbfd The official English name for the new Genie formes is "Therian" forme.
I know, right?
2012-06-22 05:22:12 -05:00
Bill Meltsner
3ec053a5b9 fixing pokedex.js for merge 2012-06-21 20:15:00 -07:00
Bill Meltsner
c7a27b9a8e Kyurem-B/W base stats confirmed. 2012-06-21 21:57:59 -05:00
Guangcong Luo
d3805dd50a New Kyurem stat spreads working now 2012-06-21 18:26:03 -07: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
Bill Meltsner
2c9aa8e842 Hide Arceus formes in Team Preview.
This is to better match the cartridges, which only display the icons in team preview, thus making it impossible to tell what forme a given Arceus is in. The real forme of the Arceus is still visible to the owner when mousing over the button (and in the name if the Pokemon isn't nicknamed).
2012-06-21 02:52:21 -05:00
Guangcong Luo
3ebc51fa2b Placeholder data for new B2W2 formes 2012-06-20 21:50:07 -07:00
The Immortal
a1cc540260 Fix Conversion 2 crash 2012-06-18 02:52:09 +04:00
Bill Meltsner
7356905917 Fix Will-O-Wisp id. 2012-06-17 03:39:30 -05:00
Bill Meltsner
9c907e78dd Add Mollux. 2012-06-17 03:33:20 -05:00
Guangcong Luo
cb4aae18a3 formats.js can now list alternate gens 2012-06-16 15:50:34 -07: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
Guangcong Luo
b3054fefdf Load all data using tools.js
- the original names BattleItems etc have been deprecated; please use:
  - Tools.getItem() accessor method if possible
  - Tools.data.Items for lower-level access (e.g. iteration)
- app.js was also rearranged a bit
2012-06-13 22:51:37 -07:00
Guangcong Luo
cbde94b6a6 Let Tools install itself and scripts into Battles 2012-06-13 22:25:26 -07:00
Bill Meltsner
26669add8a Don't swap out rejected abilities if the alternative is also useless. 2012-06-12 22:18:02 -05:00
The Immortal
ce986bad7a Remove debug messages from Gems 2012-06-12 14:46:22 +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
The Immortal
d368092f2b Fix Hydreigon 'subsitute' bmelts >_> 2012-06-12 00:30:00 +04:00
Bill Meltsner
39bf7f7d87 Tangela and Girafarig have been released in the DW. Also, flag Rotom formes as released.
Thanks to Lamperi for catching these.
2012-06-11 00:56:47 -05:00
Bill Meltsner
21a6d7a15c Wooper's DW ability is released. 2012-06-11 00:15:40 -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
00cd357864 Update randbat viable movelists to the latest version.
Also adds a few missed Pokemon into the mix: Ditto, Flaaffy, Unown, Probopass, Drifblim, Jellicent, and Hydreigon.
2012-06-09 02:47:13 -05: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
7009b3a4bb Revert bmelts's hasty porting of Id etc to Sugar.js extensions
- The reverted utility functions, toId/toUserid/sanitize/clampIntRange, were designed to handle unsanitized data gracefully
2012-06-08 15:44:49 -07: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