I don't use A-text, try make this using a hex editor, like Gold Finger or WindHex32 (Don't use HxD for this, because can't load a CHAR table) and translate the text manually.whit afvance text i want to change the text whrn megaevolve "pokemon's item is reating to player 'item"
Insert.py no longer produces the address output by default. You can turn on the debug output with insert.py --debug. Otherwise, just judge by how long it took to run. insert.py should produce the test.gba (unless you renamed it with one of those flags) and uninstall.ips (unless you ran it with the --no-patch flag). The patch takes a second or two to generate, that's why I say just judge by the time it took to run.
Choosing an offset (with --offset OFFSET) only changes the insertion location, and doesn't do anything to the "make" step. You still have to manually change the address in linker.lsc (but I'm working on that, don't worry). Also, you must prefix the offset with 0x
Maybe removing the output was a bad idea :P
Should I add "DONE!" to indicate success?
Change the image(s) in the ./assets directory and rerun make && ./insert.py
What does advance text have to do with this though?
whit afvance text i want to change the text whrn megaevolve "pokemon's item is reating to player 'item"
I don't use A-text, try make this using a hex editor, like Gold Finger or WindHex32 (Don't use HxD for this, because can't load a CHAR table) and translate the text manually.
I'm still having problems. Here's what I've had done.
1. Edit linker.lsc (0x08800000 to 8890000)
2. Edit config.h (4001 to 4011; 4002 to 4012)
3. open cmd and enter make (make && ./insert.py gives errors. "." is unrecognizable)
4. enter insert.py --offset 08890000 --debug (0x890000 is an int error, apparently)
After that, my every battle encounter is always stuck in black screen. Is there any error to my steps?
For everyone having trouble with "." being unrecognizable, run "make && insert.py" without the ./ part.
Mega Evolving is working fine for me, but when the AI does it, this happens.
I patched to the backup I made before applying any mega evolution hacks.
The text is fixed and the mega icon comes up but the AI's sprite isn't changing, I'm not sure if it's actually changing species even.Should be fixed now
Don't use a hex editor. Just change the source code. This is why it's open source you know. All the messages are defined in src/strings.c. I used macros so that you can write the messages more easily. It's just "PC_" and then the letter.
I didn't realise that the "0x" would give an error, I will have to fix the utility to read hex numbers. Try give the offset (0x890000) in decimal for now. The insert.py must be an offset not an address. Apparently the "." being unrecognised is a Windows thing. Just ignore it and remove the "./" as Exodrake says, it just means "in the current directory".
Ah, probably a Windows thing then.
Hmm... I think the "moves that change items" (Knock Off, Thief, etc.) can be done in the actual move's effects, or battle scripts, themselves that can change items.
I imagine that in the scripts, add another battle script and/or a new ASM routine that excepts one or more certain items to be changed during battles.
I also imagine that if there are unused or unknown bytes in every item data, it should be used for immunity for being changed (example if an unused byte is 01 or any greater, it cannot be stolen/changed/swapped by such moves during battle. The effect should act like when the target is holding nothing (but for real, it holds something but cannot be stolen/changed/swapped)).
Sorry if I only share ideas, plans, and suggestion stuff. I'm trying to learn ASM nowadays. I just need a free space on my brain first LOL
Only a few of the moves that actually steal items have actually been implemented, so I have to work out a solution that is relatively future-proof. Sadly, unused bytes don't help. Only Mega Stones that can be used to Mega Evolve a Pokemon can't be stolen/given. I.e. you can't give/take a Charizardite X to/from a Charizard, but a Blastoise holding Charizardite X would still be vulnerable to Thief. That makes things a little harder :P
Whoa! This is cool! Thanks! but I have a question.. if you replaced your mega pokemon with another pokemon and switched it back again, is it still in mega form? or will it undergo the mega evo process again?
Insert.py no longer shows it is working; if it generated test.gba and the uninstall patch it worked. It's not working for you because of the key stone check. You need that item before you can mega evolve.I'm trying to insert this to my rom... in the hacking part: I opened cmd in the window and typed "make"... codes came out, however, when i wrote insert.py nothing happened no codes appeared. The guide said that there were supposed to be codes after typing it. However a test file was created, I used G3T to edit the evolutions in the test file... but it didn't work ingame, pls help, thanks...
is the keystone gold teeth? I already hacked the game so I can obtain gold teeth plus the metal coat which I've set in G3T so my bulbasaur can evolve to ivysaur while holding it. pls help... I edited g3t with the one on the post... It still doen't work...
Maybe I broke the check. Try compiling with make DEFS="-DDISABLE_KEYSTONE_CHECK" instead of just make to disable the item checking. Alternatively, go into config.h and uncomment (remove the "//") from the line that says "#define DISABLE_KEYSTONE_CHECK". I leave that off because I couldn't be bothered to write a give item script, so I might've not noticed if it stopped working.
Here's my animation for Mega Evolution!
Some things to note:
I've tried to format it to show every individual aspect of the animation itself. To insert it, just place the strings side by side in the Rom without any spaces.
- It does not actually swap the sprite. Touched is rewriting it to allow for this.
- It requires custom particles that are attached to this post. If you need help with inserting the new particles just look at the link in my sig.
- The target must be the user.
- It doesn't restart the entry animation of the Pokemon or play the cry.
Mega Evolution Animation
Spoiler:Fire RedEmeraldSpoiler:Buffer Particles
Spoiler:Code:00 XX 28 00 YY 28 00 ZZ 28
Where: XX 28 is the index for 'Mega Evolution Rainbow Particles'
YY 28 is the index for 'Mega Stone Particle' and
ZZ 28 is the index for 'Mega Evolution Symbol Particle'
Charge Rainbow Particles
Load Mega StoneSpoiler:At XX XX XXCode:0A 02 0C 0C 08 1C 85 00 C0 0D 03 03 DD 9B 0B 08 02 06 02 00 00 00 06 00 00 00 0B 00 FF 2F 0E XX XX XX 08 0E XX XX XX 08 0E XX XX XX 08 05 0B
At YY YY YYCode:02 YY YY YY 08 02 03 28 00 F6 FF 0D 00 04 03 02 YY YY YY 08 02 03 DD FF F6 FF 0D 00 04 03 02 YY YY YY 08 02 03 0F 00 D8 FF 0D 00 04 03 02 YY YY YY 08 02 03 F6 FF E0 FF 0D 00 04 03 02 YY YY YY 08 02 03 19 00 EC FF 0D 00 04 03 02 YY YY YY 08 02 03 D8 FF EC FF 0D 00 04 03 02 YY YY YY 08 02 03 05 00 D8 FF 0D 00 04 03 0F
Code:XX 28 XX 28 50 CB 3A 08 40 2A 3E 08 00 00 00 00 54 2A 3E 08 89 23 0A 08
Whiteout ScreenSpoiler:At XX XX XXCode:02 0D 04 00 17 0A 00 0C 0C 08 19 C2 00 C0 02 XX XX XX 08 29 04 00 00 00 00 00 00 00 00
Code:YY 28 YY 28 C0 CB 3A 08 F0 1C 23 08 00 00 00 00 44 71 3E 08 9D 5D 07 08
Return ScreenSpoiler:Code:04 14 03 3D A8 0B 08 05 05 05 00 02 00 00 00 10 00 FF FF 03 21 AA 0B 08 05 05 YY 28 02 00 00 00 10 00 FF FF 05 03 21 AA 0B 08 05
Show Mega Evolution SymbolSpoiler:Code:00 05 03 3D A8 0B 08 05 05 05 00 02 00 10 00 00 00 FF FF 03 B5 94 0B 08 05 03 01 00 05 00 0E 00 05 0B
Spoiler:At XX XX XXCode:02 04 01 0A 03 19 72 00 3F 02 XX XX XX 08 82 00 05 0B 0D 08
Code:ZZ 28 ZZ 28 F8 CA 3A 08 F0 1C 23 08 00 00 00 00 FC 1C 23 08 D5 67 0B 08
Spoiler:Buffer Particles
Spoiler:Code:00 XX 28 00 YY 28 00 ZZ 28
Where: XX 28 is the index for 'Mega Evolution Rainbow Particles'
YY 28 is the index for 'Mega Stone Particle' and
ZZ 28 is the index for 'Mega Evolution Symbol Particle'
Charge Rainbow Particles
Load Mega StoneSpoiler:At XX XX XXCode:0A 02 0C 0C 08 1C 8C 00 C0 0D 03 03 05 5A 11 08 02 06 02 00 00 00 06 00 00 00 0B 00 FF 2F 0E XX XX XX 08 0E XX XX XX 08 0E XX XX XX 08 05 0B
At YY YY YYCode:02 YY YY YY 08 02 03 28 00 F6 FF 0D 00 04 03 02 YY YY YY 08 02 03 DD FF F6 FF 0D 00 04 03 02 YY YY YY 08 02 03 0F 00 D8 FF 0D 00 04 03 02 YY YY YY 08 02 03 F6 FF E0 FF 0D 00 04 03 02 YY YY YY 08 02 03 19 00 EC FF 0D 00 04 03 02 YY YY YY 08 02 03 D8 FF EC FF 0D 00 04 03 02 YY YY YY 08 02 03 05 00 D8 FF 0D 00 04 03 0F
Code:XX 28 XX 28 8C 4A 52 08 C8 21 59 08 00 00 00 00 DC 21 59 08 E1 E8 0F 08
Whiteout ScreenSpoiler:At XX XX XXCode:02 0D 04 00 17 0A 00 0C 0C 08 19 C9 00 C0 02 XX XX XX 08 29 04 00 00 00 00 00 00 00 00
Code:YY 28 YY 28 FC 4A 52 08 9C C6 2E 08 00 00 00 00 94 68 59 08 C9 77 0A 08
Return ScreenSpoiler:Code:04 14 03 65 66 11 08 05 05 05 00 02 00 00 00 10 00 FF FF 03 49 68 11 08 05 05 YY 28 02 00 00 00 10 00 FF FF 05 03 49 68 11 08 05
Show Mega Evolution SymbolSpoiler:Code:00 05 03 65 66 11 08 05 05 05 00 02 00 10 00 00 00 FF FF 03 DD 52 11 08 05 03 01 00 05 00 0E 00 05 0B
Spoiler:At XX XX XXCode:02 04 01 0A 03 19 79 00 3F 02 XX XX XX 08 82 00 05 0B 0D 08
Code:ZZ 28 ZZ 28 34 4A 52 08 9C C6 2E 08 00 00 00 00 A8 C6 2E 08 79 2B 11 08
Maybe this could help you?