overworld.c: Fixed bug where, upon reloading a save with the follower present, the follower wouldn't go into the pokeball.
event_object_movement.c, overworld.c: Fixed bug where follower would glitch out when the player immediately starts running after dismounting from their bike or immediately starts riding when they mount their bike. Fix forces player to stand still until follower sprite affine animation is complete.
follow_me.c: Fixed bug where follower would appear if the player steps out of a door, gets on their bike, and rides away.
field_player_avatar.c: Fixed bug where, upon reloading a save when the follower is present, the player couldn't run, even if they had the running shoes.
Species constants are reordered in pokemon_expansion, and IsFlyingGraphic now uses constants, so the proper sprites will/will not bounce, regardless of how the constants are ordered.
Pokemon_expansion reorders the species constants, so the object event constants need to be reordered as well.
Changing IsFlyingPokemonGraphic to use constants makes sure that the proper sprites do/don't bounce, regardless of how the constants are organized.
Still don't know how to fix weird pink glitch with sparkle, nor do I know how to get the follower to immediately re-enter animation after walking into a building.
Still don't know how to get rid of that occasionally visual glitch with the sparkle, nor do I know how to get the follower to continue its animation immediately upon entering a building.
sprite.c: Animation changes when bouncing up instead of bouncing down. If-statement is slightly more efficient for when non-following object events go through it.
ld_script.txt: Removed hard-coded memory locations due to overflow from added sprites and palettes.
object_event_anims.h: Moved uniqueEast and Double animations to be closer to their respective tables.
object_event_graphics_info.h: Made spaces between generations and gave a few really big Pokemon larger shadows.
overworld.c: Removed unnecessary do-while loop.
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.