- 4
- Posts
- 8
- Years
- Seen Nov 20, 2021
I am 3 weeks new to pokemon hack rom and decided to make my own romhack so far I have some understanding of scripting.
Is it possible to overwrite existing scripts but keep the the offset (or overwrite the offset) do to a small change ( items wise) without wasting free space (or is it not a waste since I expanded the ROM to 32MB)?... is it impossible?... or possible but isn't worth the time and effort?
What I want to do is just tweak the TM item on every gym leader/npc and item in the overworld that give it to the player (because i have used TM expansion its not giving the right item). I am using a Clean Emerald as a base (I explained the ROM to 32MB) with Dizzy's Battle Engine Upgrade, pokemon Expansion, ItemTmTutor Expansion, and Various feature.
So, what I want to do is just go to the existing scripts and change the TM/HM item index to the correct one so it would give the correct TM item because it is using the old TM/HM item index. However, I was thinking if I am just doing 1 small change to the giveitem 0x[TM Item Index] and replacing the old script would it cause the game to glitch out or something if i just save the old script edit and compile it? Or do I have to re-write all the scripts containing the all the old TM item index and give it some free space?
Note: I am not changing anything related to the storyline in Pokemon Emerald im just adding new pokemons, items, moveset, and others. While keeping the Emerald default storyline and some events the same. ATM...
Is it possible to overwrite existing scripts but keep the the offset (or overwrite the offset) do to a small change ( items wise) without wasting free space (or is it not a waste since I expanded the ROM to 32MB)?... is it impossible?... or possible but isn't worth the time and effort?
What I want to do is just tweak the TM item on every gym leader/npc and item in the overworld that give it to the player (because i have used TM expansion its not giving the right item). I am using a Clean Emerald as a base (I explained the ROM to 32MB) with Dizzy's Battle Engine Upgrade, pokemon Expansion, ItemTmTutor Expansion, and Various feature.
So, what I want to do is just go to the existing scripts and change the TM/HM item index to the correct one so it would give the correct TM item because it is using the old TM/HM item index. However, I was thinking if I am just doing 1 small change to the giveitem 0x[TM Item Index] and replacing the old script would it cause the game to glitch out or something if i just save the old script edit and compile it? Or do I have to re-write all the scripts containing the all the old TM item index and give it some free space?
Note: I am not changing anything related to the storyline in Pokemon Emerald im just adding new pokemons, items, moveset, and others. While keeping the Emerald default storyline and some events the same. ATM...