How many bytes in RAM new TMs and new item size in pocket take ?
for i calcule new safe ram for use in other routines
For every pocket that has more items than it previously had:
Number of items * 4
How many bytes in RAM new TMs and new item size in pocket take ?
for i calcule new safe ram for use in other routines
Hey, I've run into a few bizarre bugs after installing the item and tutor expansion:
- Birch's face messes up after he sends out the Lotad in the intro; looks like parts of a few Poke ball sprites:
- The starters and the Zigzagoon chasing birch are all level 100
- Opening the Pokemon menu causes an endless black screen
I'm not sure if this is something I've done or an issue with the expansion scripts; the only other changes I've made to the ROM were applying the Pokedex expansion, and expanding the ROM to 32MB.
I've attached my items.py file in case you want to take a look, though I don't think that's the cause - these bugs appear after running it, even with different settings, and aren't present before applying item expansion.
1. Try it out on another rom.
2. Check if the saveblock isn't overlapping with the one you've used for pokemon expansion or for flags/vars.
3. Try with CLEAN_REPOINTED_DATA set to false.
4. Set BUILD_CODE to true.
1. Try it out on another rom.
2. Check if the saveblock isn't overlapping with the one you've used for pokemon expansion or for flags/vars.
3. Try with CLEAN_REPOINTED_DATA set to false.
4. Set BUILD_CODE to true.
Applying both expansions on a fresh ROM fixed it; guess I must have broken the first one, seeing as the new ROM was identical to the old one when clean. Thanks for the help!
Anyone knows how to expand the items in fire red? Only the items. I really want it
Hello! I've got a problems with this, whenever there is an automatic save of the game (Battle Tent, Battle Frontier, Link Battle, etc) the data in the Pokedex is cleared after restarting. Everything else seems to be working fine, so I don't know if it is because I messed up or if it's a common problem.
NEW_ITEMS = [B]379[/B] + 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 = [B]824[/B] #Number of Pokemon present in your game
CLEAN_REPOINTED_DATA = [B]False[/B] #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 = 0x0203CF[B]68[/B] #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
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. :)
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:
Code:NEW_ITEMS = [B]379[/B] + 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 = [B]824[/B] #Number of Pokemon present in your game CLEAN_REPOINTED_DATA = [B]False[/B] #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 = 0x0203CF[B]68[/B] #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.
I'm getting a "New Item" from the Bullet Seed dude instead of TM09.
Did I do the save RAM part wrong?
It seems that after expanding the TMs, the HMs are un-deleteable even after making the 00 at 0x6E822 and 0x1B6D2C edit, is there an easy way to fix this?
Go to the offset 329EEA and paste this: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
It should work. Let me know if it doesn't work.
hi, uh seen that in the repository of attacks are the z movements.
how could I make them work equipping them as objects and stuff ...
Thanks for your time.