Advertiser Content

Resource [EM] Items, TMs, Tutor Moves Expansion Page 3

Started by Chacha Dinosaur October 23rd, 2016 6:50 AM
  • 17325 views
  • 55 replies
Male
Seen July 16th, 2018
Posted October 1st, 2017
3 posts
4.4 Years
Hi, first of all, thanks for your amazing work. I have a question, how should I proceed for re-expanding items in a rom that has all of your engines already used (except the forms one), some items created in the extra slots (only with names, descriptions and bag slot) and TMs and HMs expanded and already edited?
Thanks in advance.
Seen January 23rd, 2019
Posted May 20th, 2018
4 posts
2.5 Years
So I found a weird glitch with the pokedex after applying this [Items, TMs, Tutor Moves Expansion] (After I finish pokemon expansion one). My pokedex randomly gives me Numbers of seen and caught pokemon when walking in different route.

https://imgur.com/8HBEejo Little Root Town

https://imgur.com/4MUVojL Route 101

This is my items.py setting
Spoiler:

NEW_ITEMS = 379 + 378 #X is how many new items you want to add
TMS_NO = 100 #Number of all TMs
HMS_NO = 8 #Number of all HMs
POKE_NUM = 824 #Number of Pokemon present in your game
CLEAN_REPOINTED_DATA = False #cleans repointed data if true; leaves it if false
FREE_SPACE = 0x100000 #Location to start looking for free space
TM_EXPANSION = True #expands TMs if True
EXPANDED_BAG_OFFSET = 0x0203CF68 #RAM Location to store expanded bag items
INFINITE_TMS = 1 #Set to 0 if you want TMs to disappear after use
BUILD_CODE = True #Set to False if you want to modify and run the build/insert scripts manually
MOVETUTOR_EXPANSION = True #expands tutor moves if True
TUTOR_MOVES_NO = 64 #Amount of available tutor moves
ITEM_POCKET_MAX = 30 #Max number of items in pocket items 
KEY_POCKET_MAX = 30 #Max number of items in pocket key items
BALL_POCKET_MAX = 16 #Max number of items in pocket balls
BERRY_POCKET_MAX = 46 #Max number of items in pocket berries


Following this post by DizzyEgg:
Take the offset in pokemon expansion. Divide your dex entries by 8 and add 1 to it. Add the result to the offset you took. Make sure it ends with 0, 4, 8 or C(if it doesn't just add 1 till it does). This is your expanded_bag_offset. :)
I assume its 824 / 8 + 1 = 104 = 68 (hex) and I replace the EXPANDED_BAG_OFFSET = 0x0203CF68? I don't know if that is the problem I even try it on default it did the same thing.

So far as of right now the rom work fine with [EM] Safe, fast and dynamic Pokemon Expansion, but after applying the Items, TMs, Tutor Moves Expansion. Its behaving weirdly on the pokedex.
Male
Seen May 28th, 2019
Posted May 26th, 2018
7 posts
2.8 Years
So I found a weird glitch with the pokedex after applying this [Items, TMs, Tutor Moves Expansion] (After I finish pokemon expansion one). My pokedex randomly gives me Numbers of seen and caught pokemon when walking in different route.

https://imgur.com/8HBEejo Little Root Town

https://imgur.com/4MUVojL Route 101

This is my items.py setting
Spoiler:

NEW_ITEMS = 379 + 378 #X is how many new items you want to add
TMS_NO = 100 #Number of all TMs
HMS_NO = 8 #Number of all HMs
POKE_NUM = 824 #Number of Pokemon present in your game
CLEAN_REPOINTED_DATA = False #cleans repointed data if true; leaves it if false
FREE_SPACE = 0x100000 #Location to start looking for free space
TM_EXPANSION = True #expands TMs if True
EXPANDED_BAG_OFFSET = 0x0203CF68 #RAM Location to store expanded bag items
INFINITE_TMS = 1 #Set to 0 if you want TMs to disappear after use
BUILD_CODE = True #Set to False if you want to modify and run the build/insert scripts manually
MOVETUTOR_EXPANSION = True #expands tutor moves if True
TUTOR_MOVES_NO = 64 #Amount of available tutor moves
ITEM_POCKET_MAX = 30 #Max number of items in pocket items 
KEY_POCKET_MAX = 30 #Max number of items in pocket key items
BALL_POCKET_MAX = 16 #Max number of items in pocket balls
BERRY_POCKET_MAX = 46 #Max number of items in pocket berries


Following this post by DizzyEgg:


I assume its 824 / 8 + 1 = 104 = 68 (hex) and I replace the EXPANDED_BAG_OFFSET = 0x0203CF68? I don't know if that is the problem I even try it on default it did the same thing.

So far as of right now the rom work fine with [EM] Safe, fast and dynamic Pokemon Expansion, but after applying the Items, TMs, Tutor Moves Expansion. Its behaving weirdly on the pokedex.
Your calculation should follow this "rule" below:


O ''XXX'' is the number of expanded pokémons of déx, recommended to put a rounded up number.

(DexPokes / 8)(rounded up) + (DexPokes / 8)(rounded up)
(XXX / 8)(rounded up) + (XXX / 8)(rounded up) -> (XXX / 8)+(992 / 8) = 124 + 124 = ???
EXPANDED_BAG_OFFSET = 0203CF64 + ??? =


I hope this can help you.
Seen January 23rd, 2019
Posted May 20th, 2018
4 posts
2.5 Years
Your calculation should follow this "rule" below:


O ''XXX'' is the number of expanded pokémons of déx, recommended to put a rounded up number.

(DexPokes / 8)(rounded up) + (DexPokes / 8)(rounded up)
(XXX / 8)(rounded up) + (XXX / 8)(rounded up) -> (XXX / 8)+(992 / 8) = 124 + 124 = ???
EXPANDED_BAG_OFFSET = 0203CF64 + ??? =


I hope this can help you.
WOW! thanks that solved the issue.

Its because I forgot to round up the second (DexPokes / 8)...
Seen 21 Hours Ago
Posted January 21st, 2019
6 posts
1.4 Years
I'm getting a "New Item" from the Bullet Seed dude instead of TM09.
Did I do the save RAM part wrong?
If you expanded TMs as well, they are moved to item 378 and after because the new ones won't fit where they used to be. The old TM items are replaced with "New Item"s. I don't think NPC scripts are updated with the new item numbers.
Advertiser Content