• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[EM] Battle Engine Upgrade (On Halt, Will undergo reboot!)

Status
Not open for further replies.
794
Posts
10
Years
Update

Gen7 stuff has been added
I've added lots of gen 7 move, ability and item effects. Tetra did ability and move names. There's still some effects to do, animations for new moves as well as move and ability descriptions.

Stat Changes have been corrected
Many of you probably noticed that using moves that change multiple stats(such as Swords Dance), all stat animations would play instead of just one and text saying which stat was changed. It works correctly now.

Less space taken
The engine now takes less space than it previously did. The downside may be that the compilation time will take about 5 or 10 seconds more. :P

Code changes
I rewrote and corrected some parts of the code, so adding new features and fixing bugs should be much easier in the future.

Try the latest version, it should all be fixed now. :)
 

Wesley FG

Pokémon Kalos Advance !! Gba Hack
338
Posts
15
Years
Update

Gen7 stuff has been added
I've added lots of gen 7 move, ability and item effects. Tetra did ability and move names. There's still some effects to do, animations for new moves as well as move and ability descriptions.

Stat Changes have been corrected
Many of you probably noticed that using moves that change multiple stats(such as Swords Dance), all stat animations would play instead of just one and text saying which stat was changed. It works correctly now.

Less space taken
The engine now takes less space than it previously did. The downside may be that the compilation time will take about 5 or 10 seconds more. :P

Code changes
I rewrote and corrected some parts of the code, so adding new features and fixing bugs should be much easier in the future.


Try the latest version, it should all be fixed now. :)

awesome, i see many Z-moves, but i not encounter the item effect to use, it is implemented ?
 
534
Posts
11
Years
  • Age 26
  • Seen Jul 24, 2023
Heya~

I got this error after building the file.

HYpM0lY.png


Details: Expanded ROM, expanded Pokémon to 1024, expanded items to 1024, added Dizzy's Hacked Engine, then the Emerald Battle Engine Upgrade. It works quite right with PGE but I'm just curious if that 'error' about the learnset could break anything.

Compared it with the Learnset.c from older versions. I don't think I saw mush difference.

Oh and I noticed that Volcanion's learnset was included in Learnset.c and should have compiled with it but after checking with PGE, it wasn't there. Been wondering why. I just skimmed the code but I 'think' there's nothing wrong that should be doing that, I guess? :/

Thanks. :)
 
Last edited:
794
Posts
10
Years
Heya~

I got this error after building the file.

HYpM0lY.png


Details: Expanded ROM, expanded Pokémon to 1024, expanded items to 1024, added Dizzy's Hacked Engine, then the Emerald Battle Engine Upgrade. It works quite right with PGE but I'm just curious if that 'error' about the learnset could break anything.

Thanks. :)

It's just a small warning that basically says the 774-th element of the learnset table got overwritten. Basically the Volcanion's moveset got assigned two times. :P I fixed the numbers(775 instead of 774) and updated the github.
 
16
Posts
7
Years
  • Age 28
  • Seen Aug 7, 2017
Try the latest version, it should all be fixed now. :)[/QUOTE]

Thanks a lot.
 
20
Posts
8
Years
  • Age 23
  • Seen Dec 1, 2021
Hey! First of all I wanted to say how amazing the features look.

But I am afraid I have encountered a problem, and I am not able to proceed.
Here is a Gyazo screenshot image of the log given to me by the CMD Prompt:
327786cca81f0be9582eab62bf4c2bad.png
 
794
Posts
10
Years
Hey! First of all I wanted to say how amazing the features look.

But I am afraid I have encountered a problem, and I am not able to proceed.
Here is a Gyazo screenshot image of the log given to me by the CMD Prompt:
327786cca81f0be9582eab62bf4c2bad.png

Very interesting. I guess the compiler you're using is different from the one I use, because I didn't encounter that error. If you want to know the details or what the log means, I may explain. :)

But. I updated the github and you should be able to get this to work now.
 
20
Posts
8
Years
  • Age 23
  • Seen Dec 1, 2021
Holy moly. It works. I can't express how happy I am right now, thank you so much! Emerald is my favorite ROM and I liked Theta Emerald EX a lot, but since LCCoolJ95 decided to abruptly discontinue the Hack I guess I'll make my own version to play while I travel, hopefully with no bugs.

Thank you once again sir, you made my day.
 
1,085
Posts
14
Years
  • Age 23
  • Seen Aug 26, 2023
awesome, i see many Z-moves, but i not encounter the item effect to use, it is implemented ?
The Z-Moves are in the table for the sake of having every single move index in the engine. The Z-Move functionality isn't implemented into the engine too, so right now they function as regular moves.
 
6
Posts
7
Years
  • Age 31
  • Seen Apr 19, 2018
Hey Dizzy, i'm encountering the very same error and log as Dino, but i'm using the lastest build from github, maybe it's because i'm on linux? i'm using gcc as my compiler
 
794
Posts
10
Years
Hey Dizzy, i'm encountering the very same error and log as Dino, but i'm using the lastest build from github, maybe it's because i'm on linux? i'm using gcc as my compiler

You sure you're using the latest build? The same error as Dino encountered should not happen again. Could you redownload and try again? I would like to see the log as well.
 
20
Posts
8
Years
  • Age 23
  • Seen Dec 1, 2021
Hey, I'm visualizing this from PGE, so maybe it's just a mistake on my part.

But there's an ability called "Water Sqash", is that intentional? Also I am guessing the abilities with no description aren't fully implemented yet?
 
794
Posts
10
Years
Hey, I'm visualizing this from PGE, so maybe it's just a mistake on my part.

But there's an ability called "Water Sqash", is that intentional? Also I am guessing the abilities with no description aren't fully implemented yet?

Abilities that have longer names than the character limit have their names changed. Tbh I'm not sure what that ability is, but my guess would be Water Compaction.

Also no description doesn't mean the ability doesn't have its effect. :P Most of the gen7 abilities work fine, some don't. I don't have a full list, so you should test if it works like it should in-game.
 
20
Posts
8
Years
  • Age 23
  • Seen Dec 1, 2021
Oh, ok. BTW a question: I still can't seem to make Mega Evolution work.
913b06d1543c88b648f140c58a03667c.png

b0d76f0ae9c840bd9ad0318ad135e890.png

I have the Keystone Item in my Bag (Golden Teeth) still doesn't work after pressing Enter in Battle.
I think it has to do with how I set the Index of the "Mega Pok?mon" (Poochyena)... not sure where else I should have put it tho lul
I'm sorry if I am disturbing you
 
794
Posts
10
Years
b0d76f0ae9c840bd9ad0318ad135e890.png

I have the Keystone Item in my Bag (Golden Teeth) still doesn't work after pressing Enter in Battle.
I think it has to do with how I set the Index of the "Mega Pok?mon" (Poochyena)... not sure where else I should have put it tho lul
I'm sorry if I am disturbing you

Try setting the extra param as 00000286.
 

Wesley FG

Pokémon Kalos Advance !! Gba Hack
338
Posts
15
Years
Oh, ok. BTW a question: I still can't seem to make Mega Evolution work.
I have the Keystone Item in my Bag (Golden Teeth) still doesn't work after pressing Enter in Battle.
I think it has to do with how I set the Index of the "Mega Pok?mon" (Poochyena)... not sure where else I should have put it tho lul
I'm sorry if I am disturbing you
Try setting the extra param as 00000286.

yes, and other error the extra parameter is in Hexadecimal.
 
10
Posts
12
Years
  • Seen May 20, 2023
Hello, I am new in Pokemon hacking and I think it is a good engine because we can edit many things.

The main problem I have is that if I load a save to go anywhere in Hoenn, the game becomes buggy and my party becomes eggs. It works fine, if I restart a new game, but I cannot visit all places for testing.
Furthermore, the new move table is terrible because torchic and mudkip have ember and water gun at level 5 and it is impossible to defeat May's mudkip with a torchic.

I also have a question. If I want to edit moves anytime, should I edit the file move_table.c and update the rom again?
If I use a tool to edit moves, but I update the engine later, the edited moves will be overwritten by the update. For that reason, I think I should edit only move_table.c.

I made a script to make move_table.c more legible for manual editing. Feel free to update the project with it:
https://pastebin.com/VtudxEnj
 
534
Posts
11
Years
  • Age 26
  • Seen Jul 24, 2023
Hello, I am new in Pokemon hacking and I think it is a good engine because we can edit many things.

The main problem I have is that if I load a save to go anywhere in Hoenn, the game becomes buggy and my party becomes eggs. It works fine, if I restart a new game, but I cannot visit all places for testing.
Furthermore, the new move table is terrible because torchic and mudkip have ember and water gun at level 5 and it is impossible to defeat May's mudkip with a torchic.

I also have a question. If I want to edit moves anytime, should I edit the file move_table.c and update the rom again?
If I use a tool to edit moves, but I update the engine later, the edited moves will be overwritten by the update. For that reason, I think I should edit only move_table.c.

I made a script to make move_table.c more legible for manual editing. Feel free to update the project with it:
https://pastebin.com/VtudxEnj
The problem about saves is because the engine moves the data around so you can be sure as heck that it will probably turn every caught Pokemon in an old save file into bad eggs. So can't do anything but restart your game.

Next is your problem with the move table on the starters. It's like that because it follows Omega Ruby and Alpha Sapphire's learnsets for Pokemon in case you haven't noticed. This is the future bud. You can't beat May? Just level up to 10 and whoop her Mudkip's tailfin. Hahaha.

Next, if you update the engine, just set "#define BUILD_LEARNSETS" to FALSE in config.h when you update it then run cmd. You don't have to edit the move_table.c. This way, it won't rebuild the learnset of Pokemon to their ORAS learnset and stay as the ones you have edited. Dizzy actually added the comment in the code in case you haven't read it. "//set to false if you modified the learnsets and dont want them to get changed"

Did that make sense? :/ Haha. Feel free to ask if you didn't get what I said. I kinda get my words tangled up when I explain to people.
 
10
Posts
12
Years
  • Seen May 20, 2023
I hadn't noticed config.h :p. Thanks for showing me it.

I am also testing Dizzy's TM /HM expansion and pokeball expansion.
 
Status
Not open for further replies.
Back
Top