- 2
- Posts
- 3
- Years
- Seen Jul 3, 2024
I've been lurking around the scene for a while and messed around with a few things in the past but I've not set myself a goal of actually finishing a hack that I can be somewhat proud of. I'm using the pokeemerald expansion as a base to build off of which I can get to compile without an issue. I've now done what I think I need to have done to add TMs 51 - 100 using the bit of the code that already exist in the expansion but con compliation I get this error which I can't work out what is causing it:
![[PokeCommunity.com] Compilation issue in pokeemerald expansion realted to adding TMs [PokeCommunity.com] Compilation issue in pokeemerald expansion realted to adding TMs](https://data.pokecommunity.com/attachments/70/70731-7713617579d93febbc86b3694a99b9b7.jpg)
I didn't touch the teachable.py file or the teachable_learnsets.h file. I've not added any commands that have not already been used before so I don't understand this error.
What I have done is add my new TMs to the tms_hms.h file directly under where the original 50 are. I've then given my new TMs colours within the item_icon_table.h file, again like what the original 50 have so that they don't all show up as normal type TMs. I've then edited the entries for TMs 51 - 100 in items.h so that each one has a description and a move it actually links to. In the screenshot below, TM50 (Overheat) has not been edited by me but TM51 has been converted into Roost by me. I've then done the same for all the other TMs.
![[PokeCommunity.com] Compilation issue in pokeemerald expansion realted to adding TMs [PokeCommunity.com] Compilation issue in pokeemerald expansion realted to adding TMs](https://data.pokecommunity.com/attachments/70/70732-a6e5f42fefdfc1573b556c4fe9d17e19.jpg)
If anyone can offer any advice or solve this issue, it would be greatly appriciated. Thanks in advance.
![[PokeCommunity.com] Compilation issue in pokeemerald expansion realted to adding TMs [PokeCommunity.com] Compilation issue in pokeemerald expansion realted to adding TMs](https://data.pokecommunity.com/attachments/70/70731-7713617579d93febbc86b3694a99b9b7.jpg)
I didn't touch the teachable.py file or the teachable_learnsets.h file. I've not added any commands that have not already been used before so I don't understand this error.
What I have done is add my new TMs to the tms_hms.h file directly under where the original 50 are. I've then given my new TMs colours within the item_icon_table.h file, again like what the original 50 have so that they don't all show up as normal type TMs. I've then edited the entries for TMs 51 - 100 in items.h so that each one has a description and a move it actually links to. In the screenshot below, TM50 (Overheat) has not been edited by me but TM51 has been converted into Roost by me. I've then done the same for all the other TMs.
![[PokeCommunity.com] Compilation issue in pokeemerald expansion realted to adding TMs [PokeCommunity.com] Compilation issue in pokeemerald expansion realted to adding TMs](https://data.pokecommunity.com/attachments/70/70732-a6e5f42fefdfc1573b556c4fe9d17e19.jpg)
If anyone can offer any advice or solve this issue, it would be greatly appriciated. Thanks in advance.