Evan
16d54b6d32
merge with be, add form checks to CanBattlerGetOrLoseItem
2021-01-20 14:28:03 -07:00
Evan
57c460f40a
fix two turn moves failing on turn 1 w no target
2021-01-19 22:10:03 -07:00
Evan
a49b5d1ad0
prankster updated to gen 7
2021-01-16 16:14:36 -07:00
Evan
c2dfc571b2
misty terrain blocks confusion
2021-01-16 12:21:04 -07:00
Evan
10b1d33d13
handle battler being affected by terrain
2021-01-16 12:05:51 -07:00
Evan
9e29d303ec
electric and misty terrain preventions
2021-01-16 11:40:02 -07:00
Evan
544d598506
update tailwind timer
2021-01-15 18:34:47 -07:00
Evan
d26605c9fe
fix bad bg fade if no permanent terrain
2021-01-13 16:01:47 -07:00
GriffinR
b9e1b050e1
Label remaining battle types
2021-01-13 15:20:29 -05:00
Evan
56395a060f
Merge branch 'battle_engine' of https://github.com/rh-hideout/pokeemerald-expansion into ai
2021-01-13 09:23:07 -07:00
Evan
1e22ae4cf2
merge with be
2021-01-10 09:08:25 -07:00
Evan
d4e4405cf5
merge with be
2021-01-10 09:04:21 -07:00
Evan
e748db8ef4
Merge branch 'battle_engine' of https://github.com/rh-hideout/pokeemerald-expansion into ai
2021-01-10 08:58:16 -07:00
Evan
b5128be68b
eject packer invisible before openpartymenu
2021-01-08 08:02:00 -07:00
Evan
6dabff1ee3
merge with be
2021-01-07 21:24:21 -07:00
Evan
2bd5167a6c
eject pack
2021-01-07 21:11:56 -07:00
Evan
0118723a9c
add eject button
2021-01-07 20:31:27 -07:00
Evan
5eb49722c0
add red card effect
2021-01-07 19:33:39 -07:00
ultima-soul
d2d961e447
Merge pull request #1262 from LOuroboros/gen8_abilities_BE
...
Implemented various Gen. 8 abilities
2021-01-07 13:31:17 -08:00
ghoulslash
c392a2011e
Merge pull request #1325 from ExpoSeed/BE/sync
...
Sync battle engine
2021-01-07 12:13:26 -07:00
LOuroboros
339aa95c1d
Review corrections
...
-Intrepid Sword and Dauntless Shield are now properly affecting the user
-Slightly tweaked Ball Fetch's effect, since an operation involving gBattleResults.catchAttempts was being done twice unnecessarily.
2021-01-07 04:31:26 -03:00
Evan
bf644f23a7
add heavy duty boots
2021-01-06 20:53:48 -07:00
Evan
7fffe23e63
add terrain seeds
2021-01-06 20:22:05 -07:00
Evan
0cdab790dc
add blunder policy
2021-01-06 15:40:20 -07:00
Evan
db6f9d05ec
add throat spray
2021-01-06 15:28:58 -07:00
Evan
d5d2cac60c
init branch
2021-01-06 14:42:45 -07:00
Evan
efa4fe89ad
micle berry
2021-01-06 10:47:07 -07:00
Evan
4c1e8f2f2e
add curious medicine
2021-01-05 20:02:11 -07:00
Evan
0a3908ee92
add neigh and as one abilities
2021-01-05 19:37:23 -07:00
Evan
5ae1e3c25b
Merge branch 'battle_engine' of https://github.com/rh-hideout/pokeemerald-expansion into ai
2021-01-04 11:43:36 -07:00
LOuroboros
517c8ffdd0
Merge branch 'battle_engine' of https://github.com/rh-hideout/pokeemerald-expansion into gen8_abilities_BE
2021-01-03 22:05:14 -03:00
ExpoSeed
7dadcb94b8
Merge branch 'master' of https://github.com/pret/pokeemerald into HEAD
2021-01-03 17:14:43 -06:00
BuffelSaft
10cf5b3673
Merge branch 'battle_engine' of https://github.com/rh-hideout/pokeemerald into Batte_Engine_Only
2021-01-04 10:55:30 +13:00
Evan
5bdf266000
add additional item theft check
2020-12-20 19:06:50 -07:00
Evan
a0b9ece980
merge with BE
2020-12-20 16:39:50 -07:00
Evan
21e7d6d318
Merge branch 'battle_engine' of https://github.com/rh-hideout/pokeemerald-expansion into ai
2020-12-20 16:33:43 -07:00
Evan
7988a1f41d
Ai_TryOnAlly and reorganize files
2020-12-20 14:47:20 -07:00
Evan
916d0416e3
outline AI_CheckGoodMove
2020-12-15 21:57:33 -07:00
GriffinR
15c2856b24
Merge pull request #1265 from Kurausukun/berry_crush
...
fakematch fixes, begin documenting Berry Crush (based on #1187 )
2020-12-14 23:22:41 -05:00
Evan
b85dacce9d
fix conflicts
2020-12-14 08:50:41 -07:00
Evan
ac332d5e98
check bad move
2020-12-13 15:02:21 -07:00
Eduardo Quezada D'Ottone
47d96aed3c
Merge pull request #1285 from LOuroboros/spite
...
Updated Spite
2020-12-12 22:27:26 -03:00
LOuroboros
55bc2b4bb9
Corrected small inconsistency in move flag names
2020-12-12 12:18:56 -03:00
LOuroboros
9ec2e44f4c
Updated Spite
2020-12-11 21:36:59 -03:00
Kurausukun
58976ebaa8
Merge remote-tracking branch 'upstream/master' into berry_crush
2020-12-10 23:30:52 -05:00
Evan
34dd11448b
sticky barb transfer + pickpocket combo, fix CanBattlerGetOrLoseItem
2020-12-09 10:28:18 -07:00
Evan
a93a8b2194
Merge branch 'battle_engine' of https://github.com/rh-hideout/pokeemerald-expansion into battle_engine
2020-12-08 20:50:43 -07:00
BuffelSaft
a3b891bd65
Cap recoil for Gen 4 Jump Kick
...
Jump Kick's recoil in Gen 4 cannot exceed half of the target's maximum HP.
2020-12-07 19:41:49 +13:00
BuffelSaft
72b769ec75
Add config options for Jump Kick
...
Added options for:
- Gen 4 style recoil when target is immune (user takes 50% of target's max HP)
- Gen 3 style recoil when target is immune (i.e no recoil)
- Gen 5+ recoil was already implemented but was bugged
2020-12-07 19:30:31 +13:00
Evan
d5ad14c349
Merge branch 'battle_engine' of https://github.com/rh-hideout/pokeemerald-expansion into popup
2020-12-05 21:03:20 -07:00
Evan
21cab1b7a7
better negative totem boost system, totems occur before switch in abilities
2020-12-05 21:00:51 -07:00
BuffelSaft
ef41a4c14d
Fix Jump Kick
...
* Now inflicts recoil damage on the user if the target was immune to the attack
* Gen V+ recoil damage is now half of the user's HP instead of half of the target's HP.
2020-12-06 16:14:02 +13:00
Evan
39cbc21925
fix trainer theft, update config option
2020-12-03 08:42:12 -05:00
LOuroboros
9e1d7cc827
Implemented Ball Fetch
2020-12-02 23:09:35 -03:00
LOuroboros
3d8308844c
Implemented Libero
...
Kappa.
2020-12-02 19:09:59 -03:00
Evan
4ad5e368a9
fix merge conflicts
2020-12-01 17:57:57 -05:00
Evan
5478179464
Merge branch 'battle_engine' of https://github.com/rh-hideout/pokeemerald-expansion into battle_anims
2020-12-01 17:46:26 -05:00
Evan
ef43596a79
toggleable manual ability popup destruction
2020-11-19 15:16:27 -07:00
Evan
99d9a36860
add totem boosts
2020-11-19 10:35:37 -07:00
Evan
c026f705b3
permanent terrain move bgs
2020-11-17 19:45:27 -07:00
ultima-soul
e32659d4bb
Merge branch 'battle_engine' into ability_expansion and add Gen 8 DLC abilities.
2020-11-16 13:50:26 -08:00
Evan
66152538ec
add back accidentally deleted item theft battle type checks
2020-11-13 13:42:49 -07:00
Evan
435f928aa4
opponent trainer theft config option. Clean up code a bit
2020-11-13 11:00:44 -07:00
Evan
64bcac4589
move pickpocket to back of moveend sequence
2020-11-12 23:30:00 -07:00
Evan
520f00f4ae
add pickpocket
2020-11-11 18:08:46 -07:00
ExpoSeed
0912577ea1
Merge pull request #575 from AsparagusEduardo/BE-WishMegaEvo
...
Implemented Wish Mega Evolution
2020-11-11 11:05:06 -06:00
Eduardo Quezada D'Ottone
e6f8d57f08
Merge remote-tracking branch 'RHH/battle_engine' into BE-WishMegaEvo
...
# Conflicts:
# include/constants/battle_string_ids.h
2020-11-10 17:28:17 -03:00
Evan
03f480fa17
Merge branch 'battle_engine' of https://github.com/rh-hideout/pokeemerald-expansion into battle_engine
2020-11-08 15:21:48 -07:00
Evan
980f208b78
use NATIONAL_DEX_COUNT for critical capture odds
2020-11-08 14:07:43 -07:00
ultima-soul
99fdc13e61
Merge branch 'master' into battle_engine_sync
2020-11-07 15:59:20 -08:00
Eduardo Quezada D'Ottone
09a5d6c722
Implemented Wish Mega Evolution
2020-11-07 10:13:32 -03:00
Evan
b3d1e8b5b8
turn crit capture odds into a ratio
2020-11-03 08:57:11 -07:00
aaaaaa123456789
bacc831aa9
Re-apply joypad macros (minus merge conflicts)
2020-11-02 22:02:39 -03:00
Evan
e7372e7c5b
add B_ prefix to critical capture configs
2020-11-01 21:50:34 -07:00
Evan
a6c3d950f6
critical capture config option and catching charm
2020-11-01 16:15:42 -07:00
Eduardo Quezada D'Ottone
5a201f006f
More exp options in battle_config ( #530 ) from MandL27
2020-11-01 19:41:29 -03:00
MandL27
5c6b8376fc
long equations on one line
2020-11-01 11:45:01 -05:00
aaaaaa123456789
1c3d75f673
Merge branch 'master' into reverts
2020-10-26 12:16:36 -03:00
Kurausukun
9ca406b15d
port Cmd_forcerandomswitch fakematch fix
2020-10-26 00:17:26 -04:00
MandL27
bc5ba41f80
Document sExperienceScalingFactors
2020-10-24 02:02:58 -04:00
Kurausukun
90211248af
re-match Cmd_unknown_24 (from #1140 )
...
changes to data structs are necessary. other things that look
unnecessary, like the order of operands, are also necessary. fuck this
function.
2020-10-23 20:47:10 -04:00
MandL27
9c574f3adb
Fixed some comparison operators
2020-10-23 19:49:27 -04:00
MandL27
f8dabc37ae
Use #if more often
...
Avoided it on a couple lines to avoid splitting compound ifs.
2020-10-23 12:44:20 -04:00
ExpoSeed
34729ce99c
Merge pull request #150 from AsparagusEduardo/PR-MoreBattleConfigs
...
More Battle Config options
2020-10-23 10:59:12 -05:00
Eduardo Quezada
d7c5ce3602
Idented battle_script_commands.c comments
2020-10-22 09:33:46 -03:00
MandL27
37aff56cc7
turns out gen 7 did indeed use a denominator of 5
2020-10-21 16:57:54 -04:00
MandL27
efdaa25640
Add B_SCALED_EXP and B_SPLIT_EXP
2020-10-21 16:19:07 -04:00
Eduardo Quezada
1bc38feca5
Fixed indentation for various files.
2020-10-19 18:01:19 -03:00
Eduardo Quezada
faca6c4867
Organized interface settings into their own category.
2020-10-17 14:31:58 -03:00
ExpoSeed
d4e58d9746
Fix style, sync moved functions properly
2020-10-13 09:40:01 -05:00
ExpoSeed
9e2c8a95c1
Sync bev2 with pret
2020-10-11 01:01:47 -05:00
GriffinR
5259898325
Replace POKEMON_SLOTS_NUMBER
2020-10-01 17:07:12 -05:00
Kaz
5a70f99e16
battle_script_commands.c: Eliminate the last nonmatching (swapped expressions).
2020-09-16 21:39:44 -04:00
Kaz
171154a097
Convert to -g; will be required for eliminating fakematches.
2020-09-16 19:36:30 -04:00
aaaaaa123456789
7dc95a0103
Undo PokeCodec's PRs
...
This commit undoes most of PokeCodec's PRs after the debate in chat. Some
harmless or completely superseded PRs have been left alone, as there is not
much benefit in attempting to undo them.
Reverts #1104 , #1108 , #1115 , #1118 , #1119 , #1124 , #1126 , #1127 , #1132 , #1136 ,
#1137 , #1139 , #1140 , #1144 , #1148 , #1149 , #1150 , #1153 , #1155 , #1177 , #1179 ,
#1180 , #1181 , #1182 and #1183 .
2020-09-13 06:30:55 -03:00
PokeCodec
c1286c2fe2
Change according to feedback
2020-09-10 18:07:46 -04:00
PokeCodec
029db24adb
Make return
2020-09-10 09:32:36 -04:00
PokeCodec
56afdee7fc
Remove register variable mention
2020-09-09 14:43:41 -04:00
PokeCodec
a3a8c23e00
Match battle_script commands
2020-09-09 11:18:04 -04:00
PokeCodec
779764b70d
Fix Battle_Script_commands fakematch
2020-09-09 10:35:40 -04:00
DizzyEggg
97d0643110
Merge with master
2020-09-08 12:48:28 +02:00
PokeCodec
28ef2fb774
Switch to button macros
2020-09-04 21:11:55 -04:00
GriffinR
7c8bc0fbe3
Merge pull request #1149 from PokeCodec/datatypes
...
gflib documenting
2020-09-01 14:25:21 -04:00
hondew
e46b35455d
Merge branch 'master' into pokeball-doc
2020-08-30 14:14:38 -04:00
hondew
328aecc96e
Document throwing pokeball
...
continue
Document more
Doc more funcs
Remove workspace
Document shiny stars
Document PokeBlock
Clean up
Clean more
2020-08-30 14:08:06 -04:00
DizzyEggg
f70a9ce153
Merge with master
2020-08-27 12:01:28 +02:00
PokeCodec
86a1e89879
Documentation of unk field
2020-08-23 21:34:31 -04:00
GriffinR
3014241179
Give songs meaningful english names
2020-08-20 19:06:14 -04:00
PokeCodec
e27975afaa
Match battle script commands by correcting a function and the pokemon struct
2020-08-18 22:05:01 -04:00
GriffinR
cc4255d4c0
Add some charmap constant usage
2020-08-11 00:23:28 -04:00
GriffinR
078c341b2b
Merge pull request #1122 from GriffinRichards/clean-battlemsg
...
Add stat stage constants, clean up misc battle msg data
2020-08-10 14:29:27 -04:00
DizzyEggg
a42bd3f37d
Fix multiple turn moves staying after hitting no target
2020-08-05 12:35:51 +02:00
GriffinR
5e8ffff62f
Add stat stage constants
2020-08-04 20:38:57 -04:00
ExpoSeed
71dc5edf2e
Document some battle_util.c
2020-07-27 17:10:42 -05:00
DizzyEggg
0066640a1e
Merge with master
2020-07-27 14:51:39 +02:00
GriffinR
aba42513d3
Clean up some battle scr cmd data
2020-07-18 18:10:15 -04:00
DizzyEggg
759bde46bb
Cheek Pouch
2020-07-16 15:20:03 +02:00
DizzyEggg
ec4c73711e
Rest Sleep Talk wake up awaraness
2020-07-15 21:30:24 +02:00
DizzyEggg
1a94d27fe6
Emergency Exit
2020-07-15 17:21:12 +02:00
ghoulslash
8f669bb57d
Add critical capture ( #402 )
...
* add critical capture
* synax and format fixes
2020-07-14 17:47:15 +02:00
DizzyEggg
78a1f351d9
Fix stat stage bug
2020-07-12 22:54:47 +02:00
DizzyEggg
89ed5bc8bb
Fix mega evo switch-in intimidate not working
2020-06-29 18:40:05 +02:00
DizzyEggg
36aec5658c
Transform Imposter Illusion fix
2020-06-29 13:45:27 +02:00
Eduardo Alvaro Quezada D'Ottone
9fb073ca23
Some cleanup ( #454 )
...
* Toxic Thread doesn't have power.
* Added missing commas.
* Autotomize typo.
It wasn't until today that I learned that autotomize was a word.
2020-06-27 11:21:13 +02:00
DizzyEggg
548a43f8d9
Rocky Helmet before Knock Off
2020-06-25 16:15:11 +02:00
LOuroboros
c77bed7bfb
Fixed Regenerator overhealing a Pokémon
2020-05-30 05:04:23 -03:00
Eduardo Alvaro Quezada D'Ottone
8d848997c9
Battle Configs: The Revenge ( #363 )
...
* Turns for Uproar
* Chances for the amount of hits with multi-hit moves.
* Electric type mon's immunity to paralysis
* (Hi) Jump Kick to always do 1/2 of maxHP when crashing
* Turns for Disable.
* Minimized mons can always be hit by moves like Stomp
* Grass types immune to powder and spore moves.
* Psywave's damage formula
* Fixed random usage.
2020-05-28 10:38:27 +02:00
DizzyEggg
fcc5ec1dd0
Fix Teleport wild double battle
2020-05-24 10:58:33 +02:00
Philipp AUER
de6811b85e
battle-engine: fix acupressure crash ( #381 )
...
- fixes #380
Co-authored-by: SBird <sbird@no.tld>
2020-05-24 10:03:52 +02:00
ultima-soul
9ee5db6a96
Expand ability ids to u16. Thanks to ghoulslash for some assistance!
2020-05-18 14:54:12 -07:00
Eduardo Alvaro Quezada D'Ottone
f82bd2f9c4
Fix sleeping turns ( #370 )
...
* Fix sleeping turns
* Readjusted numbers. Thanks Doesnt
2020-05-02 10:35:50 +02:00
DizzyEggg
36b52eb063
Shed Shell
2020-04-28 11:14:20 +02:00
DizzyEggg
ee68f0f826
Fix switch-in abilities when shift style switch
2020-04-25 11:17:59 +02:00
DizzyEggg
738d92e39d
Infiltrator affects mist safeguard
2020-04-23 11:29:19 +02:00
Eduardo Alvaro Quezada D'Ottone
d529ac3b60
More Battle config ( #352 )
...
* Binding move turns.
* Binding damage.
* Incineratable Gems.
* Flash Fire while frozen.
* Sleep turns.
* Synchronized natures %
* Confusion self damage chance.
* Fixed confused self-damage check
2020-04-23 09:01:28 +02:00
DizzyEggg
40ce053ce1
Adrenaline Orb
2020-04-22 15:12:25 +02:00
DizzyEggg
d56aaf7c0b
Destiny Knot
2020-04-22 14:40:44 +02:00
DizzyEggg
e2524bed49
Metronome item
2020-04-22 12:49:25 +02:00
DizzyEggg
c8ba013539
Power Herb
2020-04-22 10:44:19 +02:00
Eduardo Alvaro Quezada D'Ottone
c5a6acc7db
Corrosion ( #306 )
...
* Status move poisoning for Steel and Poison types.
* Can poison itself with Toxic Orb.
* Secondary effect poisoning now working.
* Created a function that checks if abilities can bypass type immunities.
* Created macro to handle typeimmunity
* Applied review changes.
* Applied review requests.
* Left more readable version of HOLD_EFFECT_TOXIC_ORB.
2020-04-21 15:59:19 +02:00
DizzyEggg
328e951afa
Ally Switch, tbd
2020-04-20 20:05:04 +02:00
DizzyEggg
0f628c8ff2
Fairy Lock
2020-04-20 19:41:07 +02:00
DizzyEggg
2daf1fbbf8
Geomancy
2020-04-20 19:02:03 +02:00
Eduardo Alvaro Quezada D'Ottone
4697a5b687
More Battle configs ( #339 )
...
* Fixed naming of King Shield's description variable.
* Config for King Shield lowering attack.
* Config for terrain type attack boost.
* Standarized battle config descriptions.
* Adjusted config logic accounting for GEN_8.
* Changed KING_S_SHIELD back to KINGS_SHIELD
* Missed B_ABILITY_WEATHER.
2020-04-20 14:11:28 +02:00
DizzyEggg
3dfd19b3e2
AI Weather moves tweaks
2020-04-20 13:00:04 +02:00
DizzyEggg
28805b0f98
AI powder moves
2020-04-20 12:14:56 +02:00
DizzyEggg
d38e0d8ae5
AI dont rely on power if bad effects
2020-04-20 11:27:09 +02:00
DizzyEggg
ce28454461
Fix Life Orb fainting an already fainted mon
2020-04-20 08:55:21 +02:00
DizzyEggg
dd17360ab0
Zen Mode and Shields Down
2020-04-19 21:18:39 +02:00
DizzyEggg
c01ed5325c
Poison Touch fix
2020-04-19 14:43:54 +02:00
DizzyEggg
d5307c3e54
Poison Touch
2020-04-19 14:24:31 +02:00
DizzyEggg
6a3944d27c
Frisk, would be easier if it didnt scan 2 opponents
2020-04-19 13:37:56 +02:00
DizzyEggg
e62f1475d4
Beast Boost and Receiver
2020-04-19 12:07:56 +02:00
DizzyEggg
ee8a00be81
some ability tweaks
2020-04-18 20:34:09 +02:00
DizzyEggg
e42ead10c9
Soul Heart
2020-04-18 19:59:09 +02:00
DizzyEggg
7178ea6b46
Shore Up
2020-04-18 18:34:18 +02:00
DizzyEggg
093eca07b3
Volt Switch UTurn anim fix when cant switch out
2020-04-18 18:04:20 +02:00
DizzyEggg
68bcc76538
Fix trainer slide in shadow steal
2020-04-18 13:26:40 +02:00
DizzyEggg
bc86292c93
Psycho Cut fix, small AI tweak
2020-04-18 12:19:07 +02:00
DizzyEggg
34f5d9e2ae
Burn Up And Purify
2020-04-17 21:14:26 +02:00
Eduardo Alvaro Quezada D'Ottone
81617eb577
Overworld effects ( #245 )
...
* Snow Cloak's overworld effect. (reduces the chance of encountering wild Pokémon on Snow by 50%)
* Quick Feet's overworld effect. (reduces the chance of encountering wild Pokémon by 50%)
* No Guard's overworld effect. (raises the chance of encountering wild Pokémon by 50%)
* Honey Gather.
* Checks if honey is defined.
* Applied review changes.
* Fixed pointer reference
* Applied requested changes.
* Using weather constants.
2020-04-15 14:45:07 +02:00
DizzyEggg
8ea7fcc348
better ai debug
2020-04-14 13:40:27 +02:00
Eduardo Alvaro Quezada D'Ottone
2b9eb00486
Mind blown ( #302 )
...
* Mind Blown Part 1 (Definition and self-damage)
* Mind Blown Part 2 (Damp interaction)
2020-04-14 09:27:29 +02:00
DizzyEggg
51e1639513
Magic Guard protects from stuff
2020-04-13 15:49:40 +02:00
DizzyEggg
cb5b673f8a
Big Root and STRENGTH Sap
2020-04-13 15:00:17 +02:00
DizzyEggg
51e2e0ad10
Ability pop-up for levitate and wonder guard
2020-04-13 13:06:31 +02:00
DizzyEggg
060b795d8e
Merge with master
2020-04-11 19:48:24 +02:00
DizzyEggg
a2a9f259c8
Change handlinf of forbidden moves for mimic metronome etc
2020-04-11 13:22:35 +02:00
DizzyEggg
6daab7a5c9
Fix Damp loop
2020-04-11 12:02:51 +02:00
DizzyEggg
1435cd4692
Change inner structure of semi invulerable moves
2020-04-11 11:47:13 +02:00
AsparagusEduardo
f45336c546
Using Battle Action constants
2020-03-17 22:14:14 -03:00
PikalaxALT
39da49495d
Merge pull request #1000 from GriffinRichards/doc-dex
...
Document pokedex.c
2020-03-17 10:43:57 -04:00
Eduardo Alvaro Quezada D'Ottone
64031dd672
Option for Toxic never missing if user is Poison type. ( #304 )
2020-03-14 12:15:36 +01:00
DizzyEggg
cf4d5f6e59
Merge with master
2020-03-13 23:02:17 +01:00
GriffinR
31b0cbe9b4
Document pokedex.c
2020-03-09 16:24:01 -04:00
Eduardo Quezada
f821303429
Using True/False on SetMoveEffect.
2020-03-07 16:54:13 -06:00
GriffinR
e633b57593
Document remaining status/general/special anims
2020-02-25 12:54:08 -06:00
DizzyEggg
b1b1bf7f12
Fix two turn moves not activating moxie
2020-02-22 18:43:16 +01:00
DizzyEggg
bd75f16a9b
Clear move effect after each turn
2020-02-22 18:22:04 +01:00
DizzyEggg
517974ebcb
Can't Knock Off mega stones
2020-02-22 17:30:07 +01:00
DizzyEggg
edb581af1f
Mega evo elevation shadow
2020-02-16 13:46:35 +01:00
Eduardo Alvaro Quezada D'Ottone
33e8e20118
Disguise ability ( #258 )
...
* Protection from attacks.
* Changes form when Busting Disguise.
* Ability changing moves set to fail.
- Simple Beam and Worry Seed now fail if the target has Disguise.
- Role Play and Skill Swap now fail if either the attacker or the target have Disguise.
* Disguise no longer triggers when transformed.
* Mimikyu reverts to Disguised
* No longer blocks from entry hazards and weather.
* Applied review changes
* Oops, new line
* yeah
2020-02-08 19:29:51 +01:00
DizzyEggg
c9774f6e25
Transformed Aegi cannot change forms
2020-02-08 12:09:38 +01:00
DizzyEggg
41f0c0acb5
Sort out ohko moves
2020-02-08 10:39:22 +01:00
Eduardo Alvaro Quezada D'Ottone
90442ffbc2
Battle config options ( #243 )
...
* Option to use pre-GenVI critical hit multiplier.
* Clarified the option that multiplies EXP by 1.5 for trainer battles.
* Fixed code style.
* Option to change Burn damage.
* Option to change to Gen 7 paralysis drop.
* Ordered settings.
* Implemented review suggestions.
2020-02-08 09:51:55 +01:00
DizzyEggg
834b7b52d3
Merge with master
2020-02-08 09:38:29 +01:00
GriffinR
27c4329e45
Use friendship event constants
2020-02-04 12:16:15 -06:00
GriffinR
be5d417236
Document some pokenav menu handlers
2020-02-04 08:02:28 -06:00
DizzyEggg
06a9165f75
Fix Ice Body not working
2020-01-18 19:18:57 +01:00
DizzyEggg
bcf6b02a55
Fix Last Resort
2020-01-18 18:57:23 +01:00
Eduardo Alvaro Quezada D'Ottone
000a709363
Gen7 trainer exp multiplier. ( #200 )
...
* Gen7 trainer exp multiplier.
* Changed check for TRAINER_BATTLE_MULTIPLIER from "before Gen 7" to "not Gen 7" as requested.
.
2020-01-18 18:29:56 +01:00
DizzyEggg
cafb0c3b6a
Fix Surf taking 3 pp
2020-01-04 18:17:26 +01:00
DizzyEggg
39e3b0b740
Form changes layout and Stance Change Aegi
2019-12-31 19:11:53 +01:00
DizzyEggg
b15f0b3bb3
Comatose
2019-12-31 16:36:53 +01:00
DizzyEggg
77842b0376
Contact moves for Aftermath and Bestow for Unburden
2019-12-25 12:19:09 +01:00
ultima-soul
332aa80a33
Resolve review comments and encapsulate Unburden check and set.
2019-12-23 09:25:26 -08:00
ultima-soul
5786745d15
Merge branch 'battle_engine' into unburden
2019-12-23 09:01:16 -08:00
DizzyEggg
ea9109943d
Aurora Veil now only works in Hail
2019-12-23 17:50:13 +01:00
DizzyEggg
308e1594c9
Merge pull request #212 from Fontbane/gooey
...
Queenly Majesty, Big Pecks, Gooey and Tangling Hair
2019-12-23 17:23:33 +01:00
DizzyEggg
e4a9a228c5
Merge pull request #210 from ultima-soul/battle_engine
...
Implement Leaf Guard.
2019-12-23 17:15:51 +01:00
DizzyEggg
9e3d5672e6
Merge branch 'master' of https://github.com/DizzyEggg/pokeemerald into battle_engine_v2
2019-12-23 16:40:21 +01:00
ultima-soul
1146de4561
Implement Unburden.
2019-12-21 23:09:06 -08:00
Fontbane
2fb6ea4fc4
Big Pecks
2019-12-19 14:01:46 -05:00
ultima-soul
029ab67ff4
Implement Leaf Guard.
2019-12-16 00:29:20 -08:00
GriffinR
ed1ff0ad77
Document misc strings and text colors
2019-12-10 19:29:23 -06:00
DizzyEggg
9b459eb64a
Fix atk49state
2019-12-09 08:41:09 +01:00
DizzyEggg
740ab29c7c
Merge pull request #204 from cfmnephrite/beta
...
Dancer
2019-12-09 08:36:22 +01:00
DizzyEggg
ac499bc896
Merge with master
2019-12-09 08:16:18 +01:00
Nephrite
0343f63eda
Dancer
...
Implemented Dancer and all relevant code for interacting with abilities, certain moves, etc
2019-12-07 10:19:01 +00:00
GriffinR
c40879aa36
Use ST_OAM constants for OamData definitions
2019-12-06 19:05:44 -06:00
Thomas Winwood
e3f7f47321
Turn some magic numbers into named constants
2019-11-23 07:53:26 -06:00
DizzyEggg
b4ac979600
Merge branch 'master' of https://github.com/DizzyEggg/pokeemerald into battle_engine_v2
2019-11-10 12:09:43 +01:00
DizzyEggg
ea6736cd8d
merge
2019-11-10 12:09:14 +01:00
Marcus Huderle
01e6fb6dd0
Document some battle_bg-related things
2019-11-07 18:24:04 -06:00
huderlem
a4b4ecd470
Merge pull request #787 from GriffinRichards/rename-tablecmds
...
Rename table cmds
2019-11-04 16:31:27 -06:00
DizzyEggg
1d8cc9b741
Fix merge conflicts
2019-11-03 19:55:19 +01:00
GriffinR
e01ec84837
Document party_menu second pass
2019-10-31 03:25:56 -04:00
GriffinR
5fd44d1e74
Rename some STAT_CHANGE macros
2019-10-26 11:53:00 -04:00
GriffinR
6db014cc32
Document party_menu first pass
2019-10-25 15:41:06 -04:00
DizzyEggg
621dd4f0bf
Fix Sheer Force moves and effects happening
2019-10-21 14:48:03 +02:00
DizzyEggg
bae5d2038f
Update with master
2019-10-10 16:18:48 +02:00
GriffinR
5325835ee7
Use STR_CONV constants
2019-09-30 15:43:44 -04:00
GriffinR
73b96fe145
Rename CONTACT macros to ON_DAMAGE
2019-09-27 12:27:36 -04:00
GriffinR
3bf8129396
Clean up new Cmd macro names
2019-09-27 02:54:28 -04:00
GriffinR
1016b23918
Merge branch 'master' into rename-tablecmds
2019-09-26 15:02:38 -04:00
huderlem
886f043025
Merge pull request #816 from jiangzhengwenjz/ptch-3
...
get rid of goto in battle_script_commands
2019-09-25 16:31:53 -05:00
GriffinR
6ab192e739
Review changes for #807
2019-09-17 16:50:17 -05:00
GriffinR
b46c4b6703
more constant usage
2019-09-16 19:21:23 -05:00
GriffinR
bb236b490d
Update BS constants for Cmd rename
2019-09-15 17:58:12 -04:00
DizzyEggg
7647941ec4
Fix Truant in new switch in system
2019-08-30 12:51:56 +02:00
DizzyEggg
f979987c2f
Fix Intimidate and Trace on new switch in system
2019-08-30 12:25:21 +02:00
jiangzhengwenjz
4f9052cb96
get rid of goto in battle_script_commands
2019-08-28 06:06:17 +08:00
DizzyEggg
c97869018d
Fix Mega Indicator appearing and priority
2019-08-25 15:33:28 +02:00
GriffinR
869d0eebc0
Rename atk## constants and states
2019-08-23 08:46:21 -04:00
GriffinR
68905e3961
rename atk## prefixes
2019-08-23 07:55:36 -04:00
DizzyEggg
143cb7ad35
Updated switch mechanics
2019-08-22 15:57:33 +02:00
DizzyEggg
c9de753ecc
Illusion
2019-08-08 13:06:55 +02:00
DizzyEggg
9823d2bdf1
Fix mega evo indicator priority on lvl-up-box
2019-08-05 12:15:15 +02:00
DizzyEggg
8542e7fb1f
Blizzard 100% accuracy in hail
2019-08-05 11:39:31 +02:00
DizzyEggg
2863045241
Fix switch-in abilities text/pop-up
2019-08-05 11:24:49 +02:00
DizzyEggg
3e476adf4a
Stockpile gen4 effect and fixed spit up
2019-07-09 19:06:12 +02:00
DizzyEggg
c80861d85e
Add hopefully support for Cherrim
2019-06-15 14:46:35 +02:00
DizzyEggg
76c5287629
Bug Bite
2019-05-23 12:32:14 +02:00
DizzyEggg
32aeba21e0
Some AI tweaking
2019-05-23 11:41:35 +02:00
DizzyEggg
1b7493e47a
Fix Flame Burst crashing the game
2019-05-23 10:02:04 +02:00
DizzyEggg
28227dfd88
Fix Life Orb string
2019-05-23 09:20:02 +02:00
DizzyEggg
e1ea4b62e9
Natural Gift
2019-05-20 12:03:00 +02:00
DizzyEggg
269f573297
Fix powder and resist berry string
2019-05-20 10:10:00 +02:00
DizzyEggg
f22f7866ac
Merge with master, fix conficts
2019-05-17 09:52:20 +02:00
DizzyEggg
4ae1e014bc
Change abilities in base stats to array
2019-05-16 17:09:43 -05:00
DizzyEggg
33979f0fa6
use ability num instead of alt ability
2019-05-16 17:09:43 -05:00
DizzyEggg
824a95fe07
Incinerate
2019-05-10 15:12:33 +02:00
DizzyEggg
d027bb0d7a
Life Flame toxic orbs
2019-05-10 11:03:33 +02:00
DizzyEggg
875b413a09
Various battle target items
2019-05-09 20:31:58 +02:00
DizzyEggg
bb8e397e5b
Gems and dmg reducing berries
2019-05-07 15:26:58 +02:00
DizzyEggg
5bc63ab550
Merge branch 'master' into battle_engine_v2
2019-05-07 10:23:14 +02:00
huderlem
fe59902b8a
Fix indentation
2019-05-03 18:21:11 -05:00
hjk321
26114d4579
Update comparison
2019-05-03 18:21:11 -05:00
hjk321
ee4049d93e
Fix indentation Error
2019-05-03 18:21:11 -05:00
hjk321
106a89eace
Document magic number from atk04_critcalc
2019-05-03 18:21:11 -05:00
DizzyEggg
d0f91a996d
Tweak up mega evo
2019-05-02 23:10:01 +02:00
Papa Cancer
b50007e861
Instruct
...
Re-PR'd due to excess "merges"
2019-04-20 20:11:49 +01:00
Papa Cancer
7e99272482
Laser Focus
...
Re-PR'd due to excess "merges"
2019-04-20 20:02:52 +01:00
Papa Cancer
c4acc3dbf8
Merge branch 'battle_engine_v2' into beta
2019-04-20 16:49:57 +01:00
DizzyEggg
5b43a9289d
Merge pull request #134 from thechurchofcage/epsilon
...
Baneful Bunker + King's Shield
2019-04-20 08:42:35 +02:00
Papa Cancer
e310d0f10e
Core Enforcer
...
New code - uses Gastro Acid script instead through own move effect
2019-04-18 12:10:18 +01:00
Papa Cancer
754befe393
Baneful Bunker + King's Shield
...
Both apply a move effect from atk49. King's Shield swaps attacker and defender for the sake of Defiant etc. and then swaps them back!
2019-04-17 14:54:21 +01:00
Papa Cancer
e5e45bbcf5
Throat Chop
...
Added strings that show when Throat Chop prevents move usage. Added extra string (not present in games) to show when it ends as there is no indication otherwise. Fixed Embargo's string as well.
2019-04-17 13:52:25 +01:00
DizzyEggg
93e86e6a76
Tweak Stomping Tantrum
2019-04-13 14:36:08 +02:00
DizzyEggg
549a9cdcc2
Merge pull request #118 from thechurchofcage/beta
...
Stomping Tantrum
2019-04-13 14:09:15 +02:00
DizzyEggg
2646f3b26a
Merge with master
2019-04-13 13:42:44 +02:00
Phlosioneer
50350cc2e1
Merge branch 'master' into contest-ai-cleanup
2019-04-07 20:20:22 -04:00
DizzyEggg
f8713f9c15
Merge with master
2019-04-06 20:43:13 +02:00
Papa Cancer
33d484a7ed
Merge branch 'battle_engine_v2' into beta
2019-04-06 00:38:56 +01:00
Papa Cancer
43525d2a9c
Merge branch 'battle_engine_v2' into delta
2019-04-05 23:13:41 +01:00
DizzyEggg
a83255d103
fix after prs
2019-04-06 00:03:03 +02:00
DizzyEggg
794c9aa255
Merge pull request #121 from thechurchofcage/epsilon
...
Three pointless moves
2019-04-05 23:47:54 +02:00
DizzyEggg
7c8f69e6e3
Merge pull request #109 from Fontbane/patch-4
...
Field Effects for Gen IV Abilities
2019-04-05 23:40:30 +02:00
Papa Cancer
4c8bc9d526
Three pointless moves
...
Celebrate, Hold Hands and Happy Hour. Yay(!)
Update: turns out Pay Day works differently to how I thought, so I added a new move effect for Happy Hour doubling prize money.
Made all three effects subset of EFFECT_SPLASH, now called EFFECT_DUMB, as per Egg's instructions ( ͡° ͜ʖ ͡°)
2019-04-05 18:10:02 +01:00
Fontbane
7bc3cdf527
Delete level variable
2019-04-05 10:16:41 -04:00
DizzyEggg
8751fafad1
Make it compile
2019-04-05 07:53:23 -05:00
DizzyEggg
dd24597d52
Finish up menu specialised
2019-04-05 07:53:23 -05:00
DizzyEggg
183b714ff1
Merge with master and fix web moves
2019-04-05 12:43:44 +02:00
AJ Fontaine
704f025a00
Fix a typo in as(s)istattackselect
2019-04-04 19:34:35 -05:00
Phlosioneer
1360b3a477
RGB Constants
2019-04-04 17:05:46 -04:00
ultima-soul
91a94a0ca1
Try to get closer to matching.
2019-04-03 21:13:26 -07:00
Fontbane
562ad70915
Removed Gen 4 Ability field effects
2019-04-01 23:07:21 -04:00
DizzyEggg
d39b5f6d26
Fix messing with move result flags when not needed
2019-04-02 00:14:01 +02:00
Papa Cancer
c9ad96d228
Stomping Tantrum
...
Uses timer in gBattleStruct to count time since last failed move. This is augmented by a MOVE_FAILED result in atk_49 and decreased with an ENDTURN case. EFFECT_STOMPING_TANTRUM doubles base power if the timer is set.
2019-04-01 20:06:45 +01:00
DizzyEggg
6f9096c613
Add Sweet Veil
2019-03-31 22:02:39 +02:00
DizzyEggg
b12334c88b
Remove cases from ABE, add functionality of Flower Veil
2019-03-31 21:38:58 +02:00
Papa Cancer
ebe2dc6bbb
Mat Block
...
Nothing more needs to be said
2019-03-31 17:17:13 +01:00
DizzyEggg
17e74756cb
Merge with master, add defines to atk49 and statbuffchange commands
2019-03-31 15:19:25 +02:00
DizzyEggg
35cffea987
Helpful macros for atk49
2019-03-30 08:29:56 -05:00
DizzyEggg
ea0049da89
Fix Spiky Shield
2019-03-30 11:50:55 +01:00
DizzyEggg
876be1d9cd
Merge pull request #104 from thechurchofcage/beta
...
Spiky Shield
2019-03-30 11:21:27 +01:00
DizzyEggg
567240b725
Merge pull request #107 from thechurchofcage/gamma
...
Taunt fix etc.
2019-03-29 22:24:03 +01:00
DizzyEggg
e92a0816fd
Merge pull request #110 from thechurchofcage/epsilon
...
Minor Doubles ability fixes
2019-03-29 22:20:04 +01:00
Papa Cancer
a3b4767dd2
Spiky Shield
...
Created generic string "Atk was hurt by Def's BUFF" for use for both Spiky Shield and Rough Skin - can also be used for Aftermath and Rocky Helmet, when programmed
2019-03-26 17:45:34 +00:00
Papa Cancer
408485263d
Minor ability fixes
...
Status moves that target both opponents will trigger a mon with Clear Body, White Smoke, Hyper Cutter etc. to prevent the loss of stats, but if its partner is targeted first, that partner gets the popup: https://drive.google.com/open?id=1dtTfgxvppD4s2ZL5scPDz9YDf4n7AhMW
This fixes that.
2019-03-26 01:34:39 +00:00
Fontbane
2cfa5ea326
Fixed Honey
...
And updated gitignore
2019-03-25 19:00:46 -04:00
Fontbane
fc69631a10
Field effects for Gen IV Abilities
...
Also added Honey (acts like White Flute for now) and made it so the Griseous Orb can't be removed from Giratina in battle.
2019-03-25 17:49:29 -04:00
Papa Cancer
61a7bd2788
Taunt fix etc.
...
Taunt now works for the correct number of turns and has its own ending string - made by reusing the "Heal Block ends" string as a multi-purpose "X wore off" one. Fixed a bug in PREPARE_STRING_BUFFER and touched up the ENDTURN timers for various STATUS3's.
Heal Block now displays the correct string when preventing usage of a move.
2019-03-24 12:54:01 +00:00
DizzyEggg
7018745230
Fix Defiant stat raise by allies
2019-03-23 17:21:14 +01:00
DizzyEggg
e135ea47e5
Touch up Anger Point
2019-03-23 16:33:08 +01:00
DizzyEggg
54ab6b43dc
Merge with master
2019-03-22 10:40:31 +01:00
Marcus Huderle
e9a3cc6d51
Merge remote-tracking branch 'upstream/master' into move-tutor
...
# Conflicts:
# include/pokenav.h
# src/battle_script_commands.c
2019-03-17 17:20:40 -05:00
Phlosioneer
9848f84b9e
Use constants for Oam .shape and .size fields
...
Also some general formatting fixes for constants.
2019-03-16 12:37:04 -05:00
DizzyEggg
c329252ce3
Add Safety Googles effect
2019-03-08 10:16:54 +01:00
Phlosioneer
5886f82ef5
Merge branch 'master' into extern-cleanup
2019-03-08 02:45:26 -05:00
Phlosioneer
b93d923826
Merge branch 'master' into move-tutor
2019-03-08 02:27:20 -05:00
DizzyEggg
f9ee31903d
VCreate and fix stat stage changes functions
2019-03-07 12:20:57 +01:00
DizzyEggg
7a8f524bc5
Proper Roar handling in double battles
2019-03-06 12:09:34 +01:00
DizzyEggg
fddb5159b4
Merge with master
2019-03-05 21:46:45 +01:00
Papa Cancer
2050ac3963
Grassy Terrain v2
...
All corrected, simplest version
Also includes proper ending strings for all terrains
2019-03-05 19:13:25 +00:00
Phlosioneer
907492fd6e
Split rom asm file in half
...
The first half is ui/menu stuff, while the second half is link-related
stuff.
2019-03-04 23:26:51 -05:00
Phlosioneer
4ea5e85bed
Fix typos
...
This is an updated version of #554 , since it hasn't been updated in two
weeks.
2019-03-03 09:31:47 -06:00
Papa Cancer
cfd50eb65a
Grassy Terrain + minor fixes
...
Includes strings for all
Fixes:
・Psychic Terrain blocks priority if the TARGET is grounded, not the user
・Psychic Terrain no longer targets an opponent
・Terrains no longer boost (or nerf, for Misty) the power of certain moves if the affect mon is semi-invulnerable
・Small fix: Meteor Mash corrected to being a physical attack
2019-03-02 22:52:43 +00:00
Phlosioneer
3ceb1667c9
Reduce externs
2019-03-01 22:32:50 -05:00
DizzyEggg
fa81559793
Fix Sturdy's pop-up
2019-03-01 13:53:06 +01:00
DizzyEggg
da33c38183
Merge pull request #78 from thechurchofcage/beta
...
Gravity fix
2019-02-24 19:38:42 +01:00
Papa Cancer
d704b9cd5b
Gravity fix
...
Brings down Pokémon in the middle of a two-turn flying move (only Bounce and Fly at the moment); says the appropriate message for all mons brought to the ground via Gravity
2019-02-24 13:28:24 +00:00
DizzyEggg
47dce452e9
Fix missing moves mentioning typechart
2019-02-24 10:04:21 +01:00
DizzyEggg
a001faeced
New AI command for using priority moves in death situatiions
2019-02-16 14:54:17 +01:00
DizzyEggg
c1f9032989
Defiant and Competitive
2019-02-16 12:54:11 +01:00
DizzyEggg
08892d19f2
Modify the stat changer, so it supports raise/lower by 12
2019-02-14 19:48:21 +01:00
DizzyEggg
94cd547e9a
Change move effect to u16
2019-02-14 13:17:27 +01:00
DizzyEggg
dc39f76a95
Spectral Thief effect
2019-02-14 12:15:53 +01:00
DizzyEggg
b5d0253890
Merge with master
2019-02-10 18:17:33 +01:00
DizzyEggg
3d616dfffe
Add Surge Abilities
2019-02-09 14:30:16 +01:00
Marcus Huderle
4570e3b6a5
Document battle arena
2019-02-08 09:41:36 -06:00
DizzyEggg
40e1dcb1d9
Fix Psycho Shift copying toxic counter
2019-02-07 21:26:42 +01:00
DizzyEggg
c436cdf384
Fix Magnet Rise
2019-02-04 13:40:13 +01:00
DizzyEggg
a8edf08ee4
Fix Protean ability pop-up
2019-02-04 12:43:20 +01:00
DizzyEggg
f415871369
Merge with master
2019-02-03 10:44:05 +01:00
DizzyEggg
a740bc7190
Name action 11
2019-02-02 11:32:00 +01:00
DizzyEggg
a42bba755b
Add Crafty Shield effect
2019-02-01 14:34:16 +01:00
DizzyEggg
7bc4a3b3f7
Merge with master
2019-01-29 22:12:53 +01:00
Marcus Huderle
e81838dba3
Misc. documentation and move some data into .c files
2019-01-29 14:36:02 -06:00
DizzyEggg
736826e863
New feature - battle 2 vs 1 opponent
2019-01-27 20:54:34 +01:00
DizzyEggg
abd518b668
Refactor GF's idiotic coding
2019-01-27 13:52:02 +01:00
DizzyEggg
2c3210f4d1
merge with master
2019-01-18 22:30:34 +01:00
DizzyEggg
c0bc01d301
Move some vars to C
2019-01-13 13:15:23 +01:00
DizzyEggg
81fe0a1339
Encore lasts always 3 turns
2019-01-05 16:02:58 +01:00
DizzyEggg
78d7c29290
Move buffers to allocated reousrces, get rid of old type effectiveness table
2019-01-05 16:00:57 +01:00
DizzyEggg
27b1d74dad
Merge branch 'master' into battle_engine_v2
2018-12-29 15:11:54 +01:00
Marcus Huderle
d59f5a8e56
Misc overworld documentation
2018-12-27 16:52:13 -06:00
DizzyEggg
97b246368d
Add Contrary
2018-12-26 19:12:07 +01:00
DizzyEggg
517573eb4b
Update with master
2018-12-26 17:46:51 +01:00
DizzyEggg
7f6f6c33ab
Fix BgAttributes
2018-12-26 13:05:02 +01:00
melthelesbian
2dd706ca54
use max mon moves constant where able ( #480 )
...
* use max mon moves constant where able
* fix errors in script commands file
* fix more errors
2018-12-25 11:50:15 -06:00
DizzyEggg
6fa5f33519
Merge branch 'master' into battle_engine_v2
2018-12-24 09:07:18 +01:00
DizzyEggg
9320fe8f85
Clear includes
2018-12-24 00:02:29 +01:00
DizzyEggg
c583559a80
Get rid of unused stuff
2018-12-23 19:03:42 +01:00
DizzyEggg
f7a7ddde0c
Fix Quick Guard
2018-12-22 15:10:24 +01:00
DizzyEggg
e54dd6a02b
Merge with master
2018-12-22 13:53:07 +01:00
Diegoisawesome
48d7c0a7a3
Merge pull request #454 from golemgalvanize/decompile_party_menu
...
Decompile party menu
2018-12-19 19:57:31 -06:00
golem galvanize
8781d969ff
finish party_menu
2018-12-18 05:38:08 -05:00
Meowsy
62c4379a21
Remove magic numbers.
2018-12-17 12:28:11 -05:00
golem galvanize
71a7a8a075
decompiled up to sub_81B8A7C
2018-12-17 02:39:17 -05:00
DizzyEggg
180aa839c4
Fix conflicts
2018-12-09 13:12:02 +01:00
DizzyEggg
b60915539d
Fix Phantom Force
2018-12-08 16:19:50 +01:00
nullableVoidPtr
8a8baaeaaa
Merge remote-tracking branch 'upstream/master'
2018-12-08 12:13:15 +08:00
nullableVoidPtr
4d307a6f63
Clean some more arrays
2018-12-08 11:33:41 +08:00
DizzyEggg
6068495619
Document trainer battle scripts ( #430 )
2018-12-07 16:50:56 -06:00
nullableVoidPtr
4fc3fa9e44
Realign comments, clean tables in pokemon_animation.c and use SPECIES_OLD_UNOWN_ defines
2018-12-07 20:18:24 +08:00
nullableVoidPtr
f9ff7316d5
Remove uses of INVALID_ defines, clean up some arrays with constants, and spaces -> tabs
2018-12-06 10:38:28 +08:00
nullableVoidPtr
3909b6408c
Fix alloc.c as per #386 , define INVALID_ constants and rename malloc to alloc as per #325
...
Some of the INVALID_ are likely erroneously placed, due to lack of documentation
2018-12-06 09:44:08 +08:00
DizzyEggg
b9e711bbf4
Add Powder
2018-12-03 12:50:32 +01:00
DizzyEggg
6ae949e360
Psychic Terrain blocks priority moves
2018-12-01 11:35:49 +01:00
DizzyEggg
3934eac8d4
Merge branch 'master' into battle_engine_v2
2018-12-01 10:28:11 +01:00
DizzyEggg
0ad4795e69
Match 2 field effect functions
2018-11-30 23:16:15 +01:00
DizzyEggg
1a8859b1d8
Add Dazzling
2018-11-30 22:12:18 +01:00
DizzyEggg
0329175f06
Add Protean
2018-11-30 21:21:43 +01:00
DizzyEggg
434e257943
Add Acupressure
2018-11-24 21:06:53 +01:00
DizzyEggg
194139a35b
Add Move Effect - Feint
2018-11-24 19:37:10 +01:00
DizzyEggg
539b05ff73
Begin working on custom multi battles
2018-11-24 01:02:02 +01:00
DizzyEggg
c6a207c37b
Fix Teleport in double wild battles
2018-11-23 22:26:36 +01:00
DizzyEggg
a5df797804
Merge branch 'master' into battle_engine_v2
2018-11-19 20:42:07 +01:00
Marcus Huderle
72f0a079a9
Decompile all of battle_anim_utility_funcs
2018-11-19 09:37:25 -06:00
DizzyEggg
623f1963b7
Merge with master
2018-11-18 20:49:52 +01:00
DizzyEggg
27ee7d567e
fix merge conflict and use EVENT_OBJECT_TEMPLATES_COUNT
2018-11-18 20:19:10 +01:00
DizzyEggg
1b0cfb0757
Party Size and Num Stats
2018-11-18 20:00:36 +01:00
DizzyEggg
4e37723288
Document Battle Pyramid
2018-11-18 17:52:22 +01:00
DizzyEggg
c2a3cff814
Fix physical atk stat stage and third type
2018-11-17 23:47:35 +01:00
DizzyEggg
eb66b60f38
Begin battle pyramid
2018-11-17 15:30:34 +01:00
DizzyEggg
15b8046b2b
Add third type
2018-11-17 12:10:24 +01:00
DizzyEggg
bb9dbc0c6d
Merge with master
2018-11-14 22:50:27 +01:00
DizzyEggg
d5abd7b696
Document Battle Pie
2018-11-12 14:36:31 +01:00
DizzyEggg
a4235c9ff8
Document battle arena
2018-11-11 18:33:16 +01:00
Diegoisawesome
f8d337e491
Finish cleaning up text.c
2018-11-06 11:30:21 -06:00
Diegoisawesome
6d38431c33
Begin cleaning text.c
2018-11-06 10:44:48 -06:00
DizzyEggg
c3eac92af8
fix protect
2018-11-03 23:32:18 +01:00
DizzyEggg
bc42de5f60
Aurora Veil, Revelation Dance, Diamond Storm
2018-11-03 14:35:45 +01:00
DizzyEggg
68d94ad316
Implement trainer sliding
2018-11-03 01:17:16 +01:00
DizzyEggg
e9965dd341
merge with master
2018-11-02 22:55:32 +01:00
Diegoisawesome
8e7202ec3d
Fix LZ compressed data alignment
2018-10-21 12:05:34 -05:00
Diegoisawesome
f67bbbdaaa
Merge pull request #364 from Diegoisawesome/master
...
Port/decompile field_control_avatar
2018-10-16 21:54:14 -05:00
Diegoisawesome
e75f0b4f80
Port/decompile field_control_avatar
2018-10-16 21:47:08 -05:00
DizzyEggg
1f358fbb07
Use constants
2018-10-16 22:34:53 +02:00
DizzyEggg
d3215ff96f
Fix wild double battle issues
2018-10-16 22:19:53 +02:00
DizzyEggg
67384c08be
Implement double wild battle functionality
2018-10-15 21:19:52 +02:00
DizzyEggg
ef11706dc7
Begin wild double battles
2018-10-14 22:37:07 +02:00
DizzyEggg
b3ad32bbe6
Merge with master
2018-10-14 20:51:34 +02:00
DizzyEggg
ecdf0fd69d
Clean battle structs
2018-10-14 18:37:52 +02:00
DizzyEggg
b73611bccb
clean battle structs
2018-10-14 18:10:54 +02:00
DizzyEggg
b80b94ee73
merge with master
2018-10-07 19:40:34 +02:00
DizzyEggg
61343d5069
Decompile battle_anim_80A9C70
2018-10-07 15:39:46 +02:00
DizzyEggg
6b5c52e926
Flower Shield and protect moves
2018-10-06 15:50:35 +02:00
DizzyEggg
de9e9072fc
Rototiller and 2 turn moves
2018-09-30 14:04:46 +02:00
DizzyEggg
162c83fcff
Bestow
2018-09-30 12:27:51 +02:00
DizzyEggg
7623eabdee
After you
2018-09-29 19:37:39 +02:00
DizzyEggg
b9cf1fdcfe
Psycho Shift, Power Trick, Flame Burst
2018-09-29 18:40:14 +02:00
DizzyEggg
dddefbb0e3
Full support for moves hitting all battlers
2018-09-29 16:41:25 +02:00
DizzyEggg
ada76cbe4f
Synchronoise and Smack Down
2018-09-29 15:43:56 +02:00
DizzyEggg
597299136f
Add Pollen Puff effect
2018-09-29 14:10:53 +02:00
DizzyEggg
731ff38067
Ability pop-up functionality is done
2018-09-29 12:47:35 +02:00
DizzyEggg
3f2beff554
Defog
2018-09-23 19:03:53 +02:00
DizzyEggg
6b7a171dbe
Ability pop-up fail, maybe will do something about it later
2018-09-23 14:24:06 +02:00
DizzyEggg
37d8859404
random move to called move
2018-09-22 19:27:56 +02:00
DizzyEggg
60e8c80c4c
Merge branch 'master' into battle_engine_v2
2018-09-22 19:14:56 +02:00
DizzyEggg
611360c29e
calledattack to calledmove
2018-09-22 19:08:41 +02:00
DizzyEggg
e362c06aea
gRandomMove to gCalledMove
2018-09-22 18:41:00 +02:00
DizzyEggg
19e1606595
Add Copycat
2018-09-22 18:37:03 +02:00
DizzyEggg
db44a7e25a
Techno Blast and Autotomize
2018-09-22 17:27:51 +02:00
DizzyEggg
9474254e4d
Final Gambit, Dragon Tail
2018-09-22 16:15:00 +02:00
DizzyEggg
ca9876b0b4
Updated Wrap Mechanics, Infestation, stat changing move effects
2018-09-22 12:20:33 +02:00
DizzyEggg
f455f663f4
Shell Smash move effect
2018-09-22 11:13:17 +02:00
DizzyEggg
1284bb94f1
Last Resort, Fangs and Flare Blitz/Volt Tackle
2018-09-22 10:45:43 +02:00
DizzyEggg
23a06c0836
Close combat effect
2018-09-22 01:12:27 +02:00
DizzyEggg
a69af8f2f5
Merge with master
2018-09-22 00:22:13 +02:00
DizzyEggg
66fd9b2ddf
Label trainer hill battle type
2018-09-20 22:00:00 +02:00
DizzyEggg
2bae70a66b
Convert mega related struct fields to a seperate struct
2018-09-20 17:33:27 +02:00
DizzyEggg
602c1322e4
almost full support for link battles mega evolution
2018-09-20 11:23:12 +02:00
DizzyEggg
2042788fdc
Mega Evolution done except sprites.
2018-09-16 21:08:49 +02:00
DizzyEggg
55f21c1776
Mega Evolution support is mostly done.
2018-09-16 18:55:32 +02:00
DizzyEggg
f9af3bec9b
merge with master
2018-09-02 00:07:19 +02:00
DizzyEggg
44ba432dad
Label various battle scripts
2018-09-01 20:00:13 +02:00
DizzyEggg
490a4f993b
Merge with master
2018-09-01 12:38:38 +02:00
DizzyEggg
2b7c138cbe
Some labels
2018-08-25 21:04:12 +02:00
DizzyEggg
cc145a45f7
merge with master
2018-08-12 22:37:28 +02:00
Diegoisawesome
2dd5fc23d4
Prepare learn_move for merge
2018-08-12 12:54:07 -07:00
DizzyEggg
7f167ca9f4
Update battle_script_commands.c
2018-08-11 23:00:16 +02:00
DizzyEggg
4cb1e880da
Reflect Type and SOAK
2018-08-11 13:30:34 +02:00
DizzyEggg
674d35861c
Couple bug fixes
2018-08-11 12:16:00 +02:00
DizzyEggg
d230d986fa
Me First.
2018-08-05 16:43:07 +02:00
DizzyEggg
5fbeef860c
Bulletproof and a couple of new moves
2018-08-05 13:39:22 +02:00
DizzyEggg
065032bf35
Moves changing terrains
2018-08-05 12:43:57 +02:00
DizzyEggg
2218949d7c
Topsy Turvy and Ion Deluge.
2018-08-04 23:34:29 +02:00
DizzyEggg
222ea7269d
Rapid Spin blews all hazards, Quash and a couple of new move effects
2018-08-04 22:23:07 +02:00
DizzyEggg
9ff7b0e849
Effect to u16, Lucky Chant, Sucker Punch, Sticky Web and Metal Burst
2018-08-04 20:36:24 +02:00
DizzyEggg
2d73637ff4
Introduce argument and do Draining kiss
2018-08-03 19:01:03 +02:00
DizzyEggg
320120d529
Merge with master
2018-08-03 00:20:34 +02:00
DizzyEggg
d6537c811b
Battle code enums in case switches
2018-08-03 00:13:44 +02:00
DizzyEggg
198a1a8646
Proper Sound moves and substitute
2018-08-02 20:24:18 +02:00
DizzyEggg
5e27cd53a9
Add Substitute handler to debug
2018-08-01 23:14:02 +02:00
DizzyEggg
4c3de6f58a
Fix moves always hitting
2018-08-01 22:39:42 +02:00
DizzyEggg
b73075f822
Update Unusable Moves
2018-07-31 23:09:47 +02:00
DizzyEggg
44a454ecb4
Moves with accuracy 0 bypass accuracy checks; Heal Block move effect done
2018-07-30 20:41:16 +02:00
DizzyEggg
9febcd3a0a
Document a bit of atk47
2018-07-29 15:51:08 +02:00
DizzyEggg
68145cd002
Document atk48
2018-07-29 15:33:16 +02:00
DizzyEggg
2f6cc2be80
Electric types immune to paralysis
2018-07-29 12:45:08 +02:00
DizzyEggg
3d93da7133
Add Imposter
2018-07-29 12:21:28 +02:00
DizzyEggg
d628d1f5fd
Move Weather Ball, Hidden power, AI support for dynamic type moves and AI debug support
2018-07-29 11:32:40 +02:00
DizzyEggg
ec9693c797
ate abilities
2018-07-28 18:41:57 +02:00
DizzyEggg
ef3c39fbae
Fix Counter and Mirror Coat
2018-07-28 10:58:47 +02:00
DizzyEggg
43fc4b6933
Add Magic Bounce
2018-07-28 10:41:20 +02:00
DizzyEggg
9088c0bdb5
Introduce battle config; Snow Warning Done.
2018-07-27 23:40:10 +02:00
DizzyEggg
2537ed6eb1
Fix Lunar Dance pp issue
2018-07-27 22:24:07 +02:00
DizzyEggg
f51812d0fe
Add Fell Stinger
2018-07-26 23:40:55 +02:00
DizzyEggg
d991d669da
Add Moxie
2018-07-26 22:52:13 +02:00
DizzyEggg
16d38f5343
Add a couple of gen5 abilities
2018-07-26 21:56:23 +02:00
DizzyEggg
1c95c36338
Healing Wish and Lunar Dance
2018-07-26 20:36:16 +02:00
DizzyEggg
100ce73a12
Sticky Web done
2018-07-24 22:09:55 +02:00
DizzyEggg
f8b1f0a45c
Stealth Rock and Toxic Spikes
2018-07-24 21:47:00 +02:00
DizzyEggg
45bc76d94c
Side Status from u16 to u32
2018-07-24 20:13:02 +02:00
DizzyEggg
567a0240f3
Fix crits and do Worry Seed
2018-07-23 22:18:56 +02:00
DizzyEggg
6570324432
New crit calculator.
2018-07-23 21:36:05 +02:00
DizzyEggg
194adf0ab2
Abilities affected by weather conditions
2018-07-22 22:41:13 +02:00
DizzyEggg
831816e9b2
Switch-in abilities with a message
2018-07-22 22:21:47 +02:00
DizzyEggg
6a7d58003b
Add Bad Dreams
2018-07-22 21:05:12 +02:00
DizzyEggg
fdd8765256
Add Storm Drain redirection
2018-07-22 19:34:13 +02:00
DizzyEggg
fee81d03ab
A couple of gen4 abilities
2018-07-22 18:40:18 +02:00
DizzyEggg
51dc76c7e8
Captivate and new accuracy calc
2018-07-22 15:08:32 +02:00
DizzyEggg
4ec43cbed1
Gen 5 move names, telekinesis, power/guard split/swap
2018-07-21 23:12:10 +02:00
DizzyEggg
fcca2afc81
More gen4 move effects battlescrips.
2018-07-21 21:58:07 +02:00
DizzyEggg
b203cf4ca4
Add a couple of gen4 moves battlescripts
2018-07-21 16:34:43 +02:00
DizzyEggg
9d4d8c5dac
Add new Sturdy effect
2018-07-21 15:11:13 +02:00
DizzyEggg
81b29ae7c1
Merge with pokeemerald
2018-07-16 22:45:06 +02:00
DizzyEggg
118fa3afce
IS_MOVE_PHYSICAL to IS_TYPE_PHYSIAL
2018-07-16 22:00:27 +02:00
DizzyEggg
0852cba111
Fix dynamic move power moves, get rid of gDynamicBasePower'
...
'
2018-07-16 21:42:03 +02:00
DizzyEggg
f250436db0
Working physical special split
2018-07-16 21:04:56 +02:00
DizzyEggg
bf0178238a
Battle files - review changes
2018-07-16 20:47:30 +02:00
DizzyEggg
ea5ffa3375
Merge with master
2018-07-16 20:23:05 +02:00
Diegoisawesome
731d6d59bc
Document list_menu.c and main_menu.c
2018-07-15 04:30:37 -07:00
DizzyEggg
9c7db9f45e
New AI damage and type functions
2018-07-15 12:39:07 +02:00
DizzyEggg
5a38bb61db
Basic damage calc is ready.
2018-07-14 22:56:03 +02:00
DizzyEggg
c00fa14b66
Create template of new dmg calc
2018-07-14 19:29:25 +02:00
DizzyEggg
2ebf14a83d
Get rid of scripting dmg multiplier
2018-07-14 18:58:45 +02:00
DizzyEggg
baf172d605
Prepare damage calc huge changes
2018-07-14 18:44:38 +02:00