Advertiser Content

Pokeemerald Battle Engine Upgrade

Started by DizzyEgg February 4th, 2019 4:30 AM
  • 11829 views
  • 76 replies

DizzyEgg

Age 22
Male
Poland
Seen 10 Hours Ago
Posted 2 Weeks Ago
785 posts
5.7 Years
Emerald Battle Engine V.2

Remember that one? As promised, I present you an even better, more polished and completed decomp version of an upgraded battle system.

Features:

* Physical / Special Split
Whether a move is physical or special is no longer decided by its type. Each move has individually assigned split.
Spoiler:




* Updated Moves and Abilities effects
Be it move's pp, power or Growth increasing Atk and Sp.Atk by 2 stages in the sun, all effects were updated to the latest gens' standard.
Spoiler:




* Fairy Type
Inserted and assigned to all Pokemon and moves for your convenience.
Spoiler:




* New Moves, Abilities and Items
All moves, abilities and battle items up to gen7 have been inserted.

* Triple Pokemon Types in-battle
For Trick-Or-Treat and Forest's Curse effect, and made simple to create new moves or effects in the same fashion.

* Dual-type moves
As Flying Press is both flying-fighting. Just as the triple types feature, it was coded so creating new moves with the same effect is easy as pie for everyone.

* New Learnsets
As taken from gen 7 games.

* Double Wild Battles
Like in Gen 5 games, you can set-up special grassy areas for two vs two wild Pokemon battles.
Spoiler:




* AI
Smarter than ever, with support for all the new added stuff.

* Ability pop-up
Whenever a Pokemon's ability activates, a pop-up window appears like in gen 6.
Spoiler:




* Experience on catch
Catching a wild Pokemon grants experience points as well.

* Faster battle intro
Now the text can print at the same time as Pokemon animate.
Spoiler:

Faster:
Spoiler:

Regular:
Spoiler:



* Config file
For turning on/off and configuring various features, and compatibility with item/pokemon expansion projects. See /include/constants/battle_config.h for more information.

* Mega Evolution
Supported in link and recorded battles with cool-looking assets.
Spoiler:




* Mid-battle Trainer messages
Make your trainers interrupt a battle in key moments with a witty one-liner or an amazement message.
Spoiler:



Read this post for how to set them up.

* Custom Multi battles
Remember the battle in Mossdeep City where you team up with Steven? Now you can create as many battles like this as you want. Team up with an AI partner to fight two wild Pokemon, two trainers or just one trainer.
Spoiler:




Download:
The project is open-source and can be found here. All bugs and glitches are in the 'Issues' section. If you find one that's not there, please let me know so it can be quickly fixed!
https://github.com/DizzyEggg/pokeemerald/tree/battle_engine_v2

Credits:
Spoiler:
Lunos - battle strings, save file, item images and palettes
Shanty - move animations,
mvit - ability pop up and mega evo gfx
Avara - item descriptions,
Kurausukun - testing, small edits and fixes
TheLaw - move animations,
BreadCrumbs - code review
Tetra - assigning move effects
Ultima - new items data
Cancer Fairy - coding help, battle strings
Syreldar - testing, wrote an explanation post

...
Did I forget about you? Hit me up and I'll add you to the list. :smile:


This post will be constantly updated.

DizzyEgg

Age 22
Male
Poland
Seen 10 Hours Ago
Posted 2 Weeks Ago
785 posts
5.7 Years
This looks amazing! All the great features you added are much appreciated and I'm sure many will use your decomp battle engine. can I ask for adding one more feature? the port of the BW2 Repel system?
I may add BW2 Repel some time, but as a standalone repo. This is a battle engine after all, not a overall-improvement patch. :P
Age 18
Female
Seen 1 Day Ago
Posted February 5th, 2019
126 posts
5.4 Years
One noob question. I can replace if i use the old version battle engine ?
i'm pretty sure this is specifically for pokeemerald, so i don't think you would be able to upgrade the old version into this without using a pokeemerald base.

this looks really nice so far, especially the ability pop-ups. i would suggest adding an apostrophe to them, though- "heracross's moxie" as opposed to just "heracross moxie," since that's the syntax in the canon games.

Wesley FG

Pokémon Kalos Advance !! Gba Hack

Male
Brazil
Seen June 28th, 2019
Posted February 5th, 2019
340 posts
11 Years
i'm pretty sure this is specifically for pokeemerald, so i don't think you would be able to upgrade the old version into this without using a pokeemerald base.

this looks really nice so far, especially the ability pop-ups. i would suggest adding an apostrophe to them, though- "heracross's moxie" as opposed to just "heracross moxie," since that's the syntax in the canon games.
sorry for the noob question.
i m off about rom hacking 6 month and it surprise me.

Nice work. i will test it when have time.
Kalos Demake Soon!!

DizzyEgg

Age 22
Male
Poland
Seen 10 Hours Ago
Posted 2 Weeks Ago
785 posts
5.7 Years
Hey, I'm actually having trouble with the Gen 7 abilities not working. I've tested it with the surge abilities and disguise. It says the pokemon has the ability but it doesnt do anything when the ability should trigger.
Not all abilities are done yet.

EDIT: I added Surge Abilities in since they weren't too much of a hassle. Disguise is more complex, so it'll take more time.

Petuuuhhh

Male
Georgia
Seen 8 Hours Ago
Posted 2 Weeks Ago
629 posts
2.5 Years
I'm sorry, but I'm not sure what to type in the msys2. I'm having trouble installing this and would really like to try this out.
I've been using Cygwin. If you follow the steps in https://github.com/pret/pokeruby/blob/master/INSTALL.md, and I know it's for pokeruby, then you should be able to
make
.
Seen 7 Hours Ago
Posted 7 Hours Ago
14 posts
2.3 Years
I'm speachless, this is godlike work! While I spend with a bunch of tutorials 6 hours to make and NPC say the level of my first pokemon you contributed to something like this. I aplaud you for your work.

Dziękuję.


Edit: Also,
Do I notice correctly that v1 uses binary modifications while v2 uses the pret emerald dissasembly ?

DizzyEgg

Age 22
Male
Poland
Seen 10 Hours Ago
Posted 2 Weeks Ago
785 posts
5.7 Years
I'm speachless, this is godlike work! While I spend with a bunch of tutorials 6 hours to make and NPC say the level of my first pokemon you contributed to something like this. I aplaud you for your work.
Dziękuję.
Thank you for such kind words, glad you like it. That 'Dziękuję' was definitely not something I didn't expect seeing here, haha.
And don't worry if it takes you long time to do relatively simple things at first, as with everything, it gets better with practice.
Edit: Also,
Do I notice correctly that v1 uses binary modifications while v2 uses the pret emerald dissasembly ?
You are correct. I switched to decomps a while ago and advise anyone doing the same. There are countless advantages of working with source code.
Seen April 16th, 2019
Posted March 29th, 2019
5 posts
1.9 Years
Ok, I thought I had it figured out but I can't seem to get this to compile, when I run 'make' it starts to work but then I get this message
/bin/bash: tools/mapjson/mapjson.exe: No such file or directory
make: *** [map_data_rules.mk:29: data/layouts/layouts.inc] Error 127

EDIT:
It's fixed, I had accidentally copied in an old version of the 'pokeruby-tools' folder

Delta231

A noob

Male
India
Seen 16 Hours Ago
Posted August 18th, 2019
689 posts
3.4 Years
Ok, I thought I had it figured out but I can't seem to get this to compile with pokeemerald. I've copied the files into the pokeemerald folder and when I run 'make' it starts to work but then I get this message
/bin/bash: tools/mapjson/mapjson.exe: No such file or directory
make: *** [map_data_rules.mk:29: data/layouts/layouts.inc] Error 127

Any ideas?
Did you got the tools from the respective repository?

LCCoolJ95

Limited Capacity

Age 24
Male
The World That Never Was
Seen 15 Hours Ago
Posted 1 Week Ago
608 posts
10.4 Years
This looks alright, but I'm gonna wait until it gets better.
"The greatest obstacle in life is Yourself. Overcome it, and you will achieve the greatest accomplishment of all." -Art Beins, 1982

Pokémon Theta Emerald EX: https://www.pokecommunity.com/showthread.php?t=386240
Advertiser Content