18854 Commits

Author SHA1 Message Date
BuffelSaft
ea6ce80ad4 Fix protect-like moves
Make Protect-like moves (King's Shield etc.) activate only if the attacker would've touched the target.
This does not handle Sucker Punch, because that's not working correctly with Protect currently and will need to be addressed separately.
2021-09-01 19:57:03 +12:00
LOuroboros
9990bda7a4 Fixed if statement for stat recalculation
Thanks to Syreldar.
2021-09-01 02:55:15 -03:00
Ariel Antonitis
b64eb7ea14 Modified palette tint behavior. 2021-09-01 00:12:14 -04:00
LOuroboros
d2bcc2ad5b Added configs for modern post-battle stat calcs 2021-09-01 00:31:50 -03:00
LOuroboros
d60545af7a Fixed U-turn and Choice Items interaction 2021-08-31 23:49:23 -03:00
ghoulslash
88476e0ac2 remove 2nd case in CanThrowBall 2021-08-31 12:59:20 -04:00
ghoulslash
0daf330628 undefine FREE_TRAINER_HILL by default 2021-08-31 12:57:44 -04:00
ghoulslash
e4fb9c4593 fix throwing ball in wild doubles 2021-08-31 12:51:03 -04:00
LOuroboros
69b7910f47 Gave an entrance animation to Delta Stream 2021-08-31 00:15:17 -03:00
LOuroboros
97ce02464b Removed small redundancy 2021-08-30 22:09:33 -03:00
LOuroboros
d0fd883ec7 Small comment tweak 2021-08-30 21:49:45 -03:00
LOuroboros
0a38054925 Print STRINGID_ATTACKWEAKENEDBSTRONGWINDS properly 2021-08-30 21:21:07 -03:00
LOuroboros
e39dc493fc A couple of improvements, courtesy of Syreldar
-Optimized the checks for `WEATHER_RAIN_PRIMAL` and `WEATHER_SUN_PRIMAL` in `Cmd_attackcanceler`.
-Moved the dmg calculation effect of `WEATHER_STRONG_WINDS` to the `CalcFinalDmg` function.
2021-08-30 20:55:48 -03:00
LOuroboros
c0c6821f62 Made AI_CheckBadMove take the primal weathers into account
Credits to Syreldar.
Also took the chance and removed trailing spaces from the file.
2021-08-30 20:55:43 -03:00
ultima-soul
5cb73a012c Merge branch 'item_expansion' of github.com:rh-hideout/pokeemerald-expansion into item_id_revamp 2021-08-30 11:57:27 -07:00
ExpoSeed
0f99d9d4c6 Merge branch 'battle_engine' of https://github.com/rh-hideout/pokeemerald-expansion into BE/z-moves 2021-08-30 13:26:40 -05:00
LOuroboros
216d8f0608 Solved game freezing issue
My approach with BattleScript_AttackWeakenedByStrongWinds was incorrect and thus caused the game to freeze when Battle Scene is enabled, so I resorted to printing the string directly, which I don't like because there is no pauses between `attackstring` and `STRINGID_ATTACKWEAKENEDBSTRONGWINDS`.
2021-08-27 18:28:34 -03:00
LOuroboros
9e4f33d09e Implemented Desolate Land, Primordial Sea and Delta Stream 2021-08-27 17:56:43 -03:00
ExpoSeed
a58641cd70
Merge pull request #1603 from LOuroboros/megaEvoString
Tweaked sText_MegaEvoEvolved
2021-08-26 19:33:39 -05:00
ExpoSeed
1f75f6e201
Merge pull request #1605 from LOuroboros/canEvolve
Corrected `CanEvolve` function
2021-08-26 19:32:22 -05:00
BuffelSaft
1d1546c7b2 Suggested changes 2021-08-26 19:00:43 +12:00
ghoulslash
b6d0996467
Merge pull request #1606 from BuffelSaft/venoshock
Fix Venoshock
2021-08-25 13:53:24 -06:00
BuffelSaft
bc298d242f Move mega indicator for lv 100 mons
Indicator sprite overlaps the "100" without this.
2021-08-25 23:15:30 +12:00
BuffelSaft
bb89d03a1d Fix Venoshock
Damage should double if target is poisoned, not attacker.
2021-08-25 22:57:10 +12:00
LOuroboros
e42d329fc6 Small tweak 2021-08-25 02:16:38 -03:00
LOuroboros
d270892a6b Corrected CanEvolve function 2021-08-25 01:56:25 -03:00
LOuroboros
554210c5e3 Removed trailing spaces in the most relevant files
Command used for the job:
egrep -rl ' $' --include *.c --include *.h --include  *.s --include  *.inc --include  *.txt *  | xargs sed -i 's/\s\+$//g'

Credits to Grant Murphy from Stack Overflow.
2021-08-24 19:59:32 -03:00
LOuroboros
2c35006627 Tweaked sText_MegaEvoEvolved 2021-08-24 18:33:56 -03:00
LOuroboros
87461db04d Added missing 2nd frames for Gen. 5 species
Also made certain Pokémon such as Zebstrika or Galvantula use their 2nd frame.
2021-08-23 08:28:58 -03:00
LOuroboros
4b88b99e1b Fixed Hoopa's footprint 2021-08-23 06:45:04 -03:00
LOuroboros
5c1d7e52dc Added footprints for Gen. 6 species 2021-08-23 06:28:10 -03:00
ExpoSeed
a6f6be4e54
Merge pull request #1598 from LOuroboros/bronzor
Corrected Bronzor's evo level
2021-08-22 21:29:59 -05:00
LOuroboros
a0a888698e Corrected Bronzor's evo level 2021-08-22 23:19:26 -03:00
GriffinR
63e6b914e4
Merge pull request #1497 from GriffinRichards/doc-hasmargin
Label swap line margin flag
2021-08-21 12:06:30 -04:00
GriffinR
8f5e2bbeba Label swap line margin flag 2021-08-21 11:04:28 -04:00
ghoulslash
5b47bfacf2 Merge branch 'master' of https://github.com/pret/pokeemerald into sideways_stairs 2021-08-18 20:22:26 -06:00
ghoulslash
03fa4939ff merge with pret 2021-08-18 20:22:03 -06:00
ghoulslash
019a582c47 replace level bonus with current chain 2021-08-18 20:02:44 -06:00
ExpoSeed
a9e9837b25
Merge pull request #1596 from ultima-soul/master_sync
Master Upstream Sync
2021-08-17 16:46:02 -05:00
ultima-soul
43e8f76338 Merge branch 'item_expansion' of github.com:rh-hideout/pokeemerald-expansion into master_sync 2021-08-17 11:55:48 -07:00
ultima-soul
4c3ed52c2f Merge branch 'pokemon_expansion' of github.com:rh-hideout/pokeemerald-expansion into master_sync 2021-08-17 11:39:11 -07:00
ultima-soul
988320b89a Merge branch 'battle_engine' of github.com:rh-hideout/pokeemerald-expansion into master_sync 2021-08-17 11:25:13 -07:00
ExpoSeed
5493333ff5
Merge pull request #1594 from ultima-soul/pokemon_expansion_sync
Pokemon Expansion Upstream Sync
2021-08-16 19:47:41 -05:00
ExpoSeed
29b6276e64
Merge pull request #1595 from ultima-soul/item_expansion_sync
Item Expansion Upstream Sync
2021-08-16 19:47:39 -05:00
ExpoSeed
38120afbac
Merge pull request #1593 from ultima-soul/battle_engine_sync
Battle Engine Upstream Sync
2021-08-16 19:47:35 -05:00
ultima-soul
840e2bc3f9 Merge branch 'master' of github.com:pret/pokeemerald into item_expansion_sync 2021-08-16 16:33:34 -07:00
ultima-soul
76a7a2720d Merge branch 'master' of github.com:pret/pokeemerald into pokemon_expansion_sync 2021-08-16 16:10:59 -07:00
ultima-soul
b620349da0 Merge branch 'master' of github.com:pret/pokeemerald into battle_engine_sync 2021-08-16 15:43:27 -07:00
GriffinR
dfdcfc1568 Document remaining functions in cable_club 2021-08-15 16:22:15 -04:00
GriffinR
e01ae55c13 Start more link_rfu_2 documentation 2021-08-15 15:13:42 -04:00