Commit Graph

96 Commits

Author SHA1 Message Date
Guangcong Luo
b4eaf0154d Allow alias names when generating pokemon from sets 2012-04-08 22:38:21 -04:00
Guangcong Luo
b2a18f5ca0 Illusion should still show Zoroark's health, not the copied pokemon's health 2012-04-06 03:08:50 -04:00
Guangcong Luo
71b8afba9b Fix Leech Seed messages 2012-04-06 01:11:22 -04:00
Guangcong Luo
bd33c6269e Fix Illusion 2012-04-05 22:42:45 -04:00
Guangcong Luo
746e2110ad Fix Leech Seed and Pain Split animationis 2012-04-05 22:41:31 -04:00
Guangcong Luo
45b75d729d Update toId everywhere to the new IDs 2012-04-05 22:00:49 -04:00
Guangcong Luo
acadd007f1 More ally/foe -> p1/p2 changes 2012-04-05 02:02:07 -04:00
Guangcong Luo
d6395b30d1 Fix the drain crash 2012-04-05 02:02:07 -04:00
Guangcong Luo
39a77abd37 More Team Preview fixes 2012-04-05 02:02:07 -04:00
Guangcong Luo
7734f0bead Implement forme changes correctly 2012-04-04 18:47:05 -04:00
Guangcong Luo
084060bd9a Fix healing/damage messages (introduces a new directDamage function) 2012-04-04 17:44:41 -04:00
Guangcong Luo
b2af0e4a07 Update the team report to the new setup 2012-03-30 22:11:47 -04:00
Guangcong Luo
4692166690 Illusion support in the engine 2012-03-30 13:49:36 -04:00
Guangcong Luo
f038734416 Fix crash with moveid 2012-03-30 12:38:03 -04:00
Guangcong Luo
cc8f32b4cb moveset[].move is now a name, not an ID 2012-03-30 11:09:26 -04:00
Guangcong Luo
468c457177 Rely on toString more, for nicer add() calls 2012-03-30 11:03:27 -04:00
Guangcong Luo
e51dade299 really really fix Substitute 2012-03-30 10:15:08 -04:00
Bill Meltsner
d18a3b03ec Upgrade item use/eat messages. 2012-03-30 04:00:34 -05:00
Bill Meltsner
d67239d22f Fix super effective, not very effective, and crit messages. 2012-03-30 02:51:03 -05:00
Bill Meltsner
4272f01b5d Make damage messages use effect names instead of IDs. 2012-03-30 00:18:50 -05:00
Bill Meltsner
16e6907aad Upgrade boost/unboost messages. 2012-03-30 00:10:23 -05:00
Bill Meltsner
1f085eb0dd Upgrade move immunity messages. 2012-03-29 23:49:21 -05:00
Bill Meltsner
a8b95ed3cb Upgrade cureStatus() message. 2012-03-29 23:49:19 -05:00
Bill Meltsner
b7f0f88d9b Upgrade several more move-related messages 2012-03-29 21:58:17 -05:00
Guangcong Luo
0aa1a2fb98 Implement the faint message 2012-03-29 17:48:12 -04:00
Guangcong Luo
233498a8b2 -heal messages 2012-03-29 17:42:03 -04:00
Guangcong Luo
3f2107a9ae Simplify the damage message code a bit 2012-03-29 17:38:27 -04:00
Bill Meltsner
c13f1a8fd5 Go back to a switch statement for -damage messages, to keep the client from getting any information it shouldn't have. 2012-03-29 16:11:15 -05:00
Bill Meltsner
a7eaa14f2c Upgrade -damage messages from non-move sources. 2012-03-29 15:51:42 -05:00
Guangcong Luo
7dc1dff5dc -damage 2012-03-29 13:18:05 -04:00
Bill Meltsner
391ed6efbd Modify selfB.add to generate the proper log message format from the passed arguments. 2012-03-29 04:04:48 -05:00
Guangcong Luo
8e54290457 New toId function to match new IDs 2012-03-29 03:07:16 -04:00
Bill Meltsner
db65bd3450 Upgrade debug messages. 2012-03-29 01:43:41 -05:00
Bill Meltsner
83442affed Upgrade turn message. 2012-03-29 01:40:21 -05:00
Bill Meltsner
a85fb6cfc6 Revert "remove hardcoded side IDs"
This reverts commit 15b275659f.
2012-03-29 01:25:05 -05:00
Bill Meltsner
5792406bda Upgrade tier and rated messages. 2012-03-29 01:22:37 -05:00
Bill Meltsner
15b275659f remove hardcoded side IDs 2012-03-29 01:22:37 -05:00
Guangcong Luo
f47e07a593 Convert callbacks to the new format 2012-03-29 02:12:25 -04:00
Guangcong Luo
512c6c1814 Side IDs 2012-03-29 02:05:24 -04:00
Guangcong Luo
66ba7c5469 New pokemon description protocol 2012-03-29 02:03:41 -04:00
Bill Meltsner
858c9dae91 Upgrade the start and player messages. 2012-03-29 00:46:00 -05:00
Bill Meltsner
48ef7d44cb Implement Soundproof. 2012-03-28 16:46:32 -05:00
Bill Meltsner
c564bdd7c6 Properly implement Defiant. 2012-03-28 16:25:18 -05:00
Bill Meltsner
626a975029 Nomenclature change: "ranked" -> "rated" 2012-03-28 03:43:02 -05:00
Bill Meltsner
783f70f83f OHKO moves gain accuracy when the user's level is higher than the target's.
Also, OHKO failure due to the user's level being lower than the target's is now reported to the client.
2012-03-25 15:37:01 -05:00
Bill Meltsner
825af32581 Add a source argument to BattlePokemon.takeItem, representing the Pokemon causing the item to be removed.
Also, updated the relevant takeItem() calls to now pass the source.
2012-03-25 13:42:46 -05:00
Bill Meltsner
7daab42b98 Each Pokemon now has a usedItemThisTurn flag, which represents exactly what it sounds like.
BattlePokemon.setItem will also set that flag if the Pokemon had an item previously - this handles cases like Fling, where the games mark the item as "consumed" but the item is never technically "used".
2012-03-25 13:31:24 -05:00
Bill Meltsner
9b82cddc05 Add a noPPBoosts flag to moves that should not have their PP maximized.
Really only applies to Trump Card, and also Sketch/Struggle so that they don't end up with 1.6 PP.
2012-03-25 11:34:47 -05:00
Guangcong Luo
98684689df Make sure nothing's immune to ???-type 2012-03-25 01:03:51 -04:00
Guangcong Luo
98f78a025a Make sure Mold Breaker negates Magic Bounce-like events 2012-03-25 01:02:54 -04:00