• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Conquest protagonist in the poll by clicking here.
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Tool: HackMew's Tools Factory [A-Ptch released]

Sorry if this thread is old and if it was already talked about, but I was just wondering where would I use the commands for Shinyzer? I've already put the code into the game. I just don't know where the setvar command could be used.
 
Dear Hackmew

I have found your tools very useful when creating rom hacks. I'd like to start by thanking you very much for taking the time to make them. It really simplifies ROM hack development.

Now on to my question.

In XSE, I create a script on the offset F8B53C(which is free space). The script is as follows:

'---------------
#org 0xF8B5C3
checkflag 0x200
if 0x1 goto 0x8F8B5DB
applymovement 0xA 0x8F8B5E7
waitmovement 0x0
trainerbattle 0x1 0x356 0x0 0x8F8B5F3 0x8F8B5FF 0x8F8B60B
release
end

'---------------
#org 0xF8B5DB
hidesprite 0xA
release
end

'---------------
#org 0xF8B60B
msgbox 0x8F8B617 MSG_NORMAL '"MARTHA: Wow! You battle well..."
applymovement 0xA 0x8F8B623
waitmovement 0x0
setflag 0x200
release
end

'---------
' Strings
'---------
#org 0xF8B5F3
= Hello there!\p From the looks of things, you're \na Pokemon trainer! \pMay I get your name? \p.....................\pAh!\v\h01! I'll remember that name.\p It's so nice to meet \nyou!\pMy name is \n\c[red_em]MARTHA. \p\c\[black_em]I'm a Pokemon trainer \ntoo!\pI do research on \nancient myths about \npeople and Pokemon! \pI can't wait to see you battle \none day!\p.....................\pOkay, that's it!\nI have to battle you!\pShow me your strength \n\v\h01!

#org 0xF8B5FF
= That was a great battle!\nThank you!

#org 0xF8B617
=MARTHA: Wow! You battle well for a \nrookie trainer! \pWell, I must go now!\nI hope we meet again sometime! \pHeheheh. \nBye \v\h01

'-----------
' Movements
'-----------
#org 0xF8B5E7
#raw 0x09 'Step Up (Normal)'
#raw 0x09 'Step Up (Normal)'

#org 0xF8B623
#raw 0x08 'Step Down (Normal)'
#raw 0x08 'Step Down (Normal)'
#raw 0x08 'Step Down (Normal)'
#raw 0x08 'Step Down (Normal)'

I compile this script. Everything goes as normal. However, upon reopening the script, it becomes this:

'---------------
#org 0xF8B5C3
checkflag 0x200
if 0x1 goto 0x8F8B5DB
applymovement 0xA 0x8F8B5E7
waitmovement 0x0
trainerbattle 0x1 0x356 0x5300 0x26C000A 0x8F8B5FF 0x9F8B60B
callstd 0x2
gotostd 0x6C

'---------------
#org 0xF8B5DB
hidesprite 0xA
release
end

'---------------
#org 0x1F8B60B

'---------
' Strings
'---------
#org 0xF8B5FF
= That was a great battle!ARTHA: Wow! ËËËËbattle well for a \nrookie trainer! \pWell, I must go now!\nI hope we meet again sometime! \pHeheheh. \nBye [player]


'-----------
' Movements
'-----------
#org 0xF8B5E7
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x2 'Face Left
#raw 0x8 'Step Down (Normal)
#raw 0x6C 'mov6C
#raw 0x2 'Face Left
#raw 0x2 'Face Left

It's like it compresses, scrambles, and corrupts itself. Copying and pasting the original script back into the offset and recompiling it doesn't help either. Do you have a solution for the problem?

Thank you
 
It says A-Trainer has a virus :/ is it normal? Or are virus's something to beware of in ROM Hacking
 
A-ptch isn't working for me, is there any need to use it instead of other things like LunarIPS or Tsukuyomi?
 
A-ptch isn't working for me, is there any need to use it instead of other things like LunarIPS or Tsukuyomi?
no
i don't even think that anyone makes aps patches for their hacks anymore (i don't know if they ever did to be honest)
 
When I try to choose the script editor (in advance map) I get a prompt saying "are offsets separated from the ROM name by : or " " in the prefered script editor." I believe that this has to do with to ROM and I don't know what to pick, please help. Yours Sincerely, CommonSense.
 
Almost all the links don't work anymore... some say that the file contains a virus and are dangerous.
 
Okay, as I promised... today I'm proud to present a brand new ASM lesson and brand new tool! I'd like to thank Gamer2020, Link_971 and >Dante< for helping testing the Shinyzer.

The ASM lesson is for those that want to understand how things actually work. Otherwhise, if you just want a quick shiny, the Shinyzer will do it for you. Download it, load your ROM, find some free space (the Shinyzer will tell you how much exactly) and shinyze your game. Then:

Hello, i'm tryng using shinyzer for my rom hack.
But, it make my game crash.

I used free space 800990, then add 1 become 800991.

this is the script before (trainer on Route 3)
Spoiler:


i add
callasm 0x800991
setvar 0x8003 0x3F06
before trainerbattle line, and the script compile become :

Spoiler:


After that, if i meet the trainer, my game become freeze.

Did i do wrong?
 
Back
Top