AtecainCorp.
Rejishan awake...
- 1,377
- Posts
- 16
- Years
- Age 32
- Takoabe Town (Region Thonsu)
- Seen Dec 15, 2024
Hi there. I found an great way to make new Fossil items usable inside Pokemon Ruby Rom. But I think that it was also possible for rest Roms. Ok. So I explain what to do.
~~~~~~~~~~~~~WE NEED~~~~~~~~~~~~~~~~~~~
FSF
Oryginal Scripts for Fossils Revive.
<IN RSE - Check secound floor of Devon Corp. First Researcher from stairs><In FRLG - Cinawood LAB, Secound Room><Person on the right>
XSE
Patience.
Item Editor <I preffer G3T one>
~~~~~~~~~~~~STEP ONE! COMPARES~~~~~~~~~~~~
Open Oryginal Revive Script in XSE. It was important for the seting new Fossil Items to revive from there Pokemon.
We have in oryginal script this entry
compare 0x40C4 0x2
if 0x1 goto 0x969DCF6
compare 0x40C4 0x1
if 0x1 goto 0x8157640
That secound is my edited entry. Normaly have 0x8 begining. But what's important there. It pointer lead you later to very important thing in the rom. To find an Pokemon which you want. So... Copy the compare 0x40C4 0x2 many times upper than this entry as many new Fossilized Pokemon did you have. If you did this. We can going to the next point. IMPORTANT - Repoint that adrees in compare 0x40c4 to new pointer or will you broke game. If it was place above 1000000 change 8 to 9. But without changing 1 to 9 add in the right place.
~~~~~~~~~~~~~~STEP TWO! CHECKING ITEM~~~~~~~~~~~~~~~~~~~~
Allright. We going under that script and we found this
checkitem 0x11E 0x1
compare LASTRESULT 0x1
if 0x1 goto 0x81575A6
checkitem 0x11F 0x1
compare LASTRESULT 0x1
if 0x1 goto 0x81575EE
Ok. This code make engine to search for item. It was example from RUBY for Lilliep and Anorith.
So for add new entries for Fossil Item. Use this template
checkitem 0x<Hex number of new Fossil> 0x1
compare LASTRESULT 0x1
if 0x1 goto 0x<Entry which I was explain in Step 4>
Put this many times as many new Fossils you added.
~~~~~~~~~~~~~~~~~~~~STEP THREE! Seting Compares List~~~~~~~~~~~~~~~~~~~~
Check adress on the compare 0x40C4 0x2 and repoint it. And slide down to there also with repointing without changing 1 to 9. You should seen
compare 0x40C5 0x1
if 0x1 goto 0x8157661
compare 0x40C5 0x2
if 0x1 goto 0x81576B4
Add new compares by adding like in this template. <Without repointing new fossils can crush game>
compare 0x40C5 0x<More than 2 or in FRLG more than 3.. All in hex>
if 0x1 goto 0x<Pointer Which I explain in step 5>
~~~~~~~~~~~~~~~~~~STEP Four! Editing take of Fossil~~~~~~~~~~~~~~~~~~~
RAW CODE FOR ANORITH
#org 0x1575A6
closeonkeypress
sound 0x15
applymovement 0x5 0x81A0833
waitmovement 0x0
applymovement 0x5 0x81A0835
waitmovement 0x0
msgbox 0x8182F35 MSG_YESNO '"Wait! That thing you have there......"
compare LASTRESULT 0x0
if 0x1 goto 0x8157636
bufferitem 0x0 0x11E
msgbox 0x8183023 MSG_KEEPOPEN '"Excellent!\nLet's do this right aw..."
removeitem 0x11E 0x1
setvar 0x40C4 0x1
setvar 0x40C5 0x1
release
end
Ok. For first. After you copy under this data, Repoint for free space. And at the begining of new code change near item from step 2. Change Bufferitem and Removeitem to the hex string of new fossil. And at last change setvar 0x40C5 to <Number above 2 or in FRLG number above 3> That is for read your new compare bit. Ok. Let's go to the next step.
~~~~~~~~~~~~~~~~STEP 5... Info about reciving Fossil~~~~~~~~~~~~~~~~~~
#org 0x157661
bufferpokemon 0x1 0x184
msgbox 0x8183124 MSG_KEEPOPEN '"Thanks for waiting!\pYour fossiliz..."
countpokemon
compare LASTRESULT 0x6
if 0x1 goto 0x8157707
copyvar 0x8004 LASTRESULT
setvar 0x40C4 0x0
setflag 0x10B
fanfare 0x172
preparemsg 0x818319E '"[player] received [buffer2] from\n..."
waitfanfare
waitmsg
givepokemon 0x184 0x14 0x0 0x0 0x0 0x0
msgbox 0x81A1102 MSG_YESNO '"Want to give a nickname to the\n[b..."
compare LASTRESULT 0x1
if 0x1 call 0x81A0678
release
end
After copy that thing you need change things like. <Pointer of that string and in location from Step 3 data in 0x3 <0x4> and later points in that setvar. Later change Hex number of Fossil Pokemon which you imput to game. Change it in check pokemon and give pokemon strings. Ok. Last and important thing to do.
~~~~~~~~~~~~~~~~~~~~STEP 6 - Seting into map~~~~~~~~~~~~~~~~~~~~~~~
After seting script. Check, that your map have inside script like 0x01574D0. In other case after researcher take your fossil. He won't give you pokemon from there.
~~~~~~~~~~~~~WE NEED~~~~~~~~~~~~~~~~~~~
FSF
Oryginal Scripts for Fossils Revive.
<IN RSE - Check secound floor of Devon Corp. First Researcher from stairs><In FRLG - Cinawood LAB, Secound Room><Person on the right>
XSE
Patience.
Item Editor <I preffer G3T one>
~~~~~~~~~~~~STEP ONE! COMPARES~~~~~~~~~~~~
Open Oryginal Revive Script in XSE. It was important for the seting new Fossil Items to revive from there Pokemon.
We have in oryginal script this entry
compare 0x40C4 0x2
if 0x1 goto 0x969DCF6
compare 0x40C4 0x1
if 0x1 goto 0x8157640
That secound is my edited entry. Normaly have 0x8 begining. But what's important there. It pointer lead you later to very important thing in the rom. To find an Pokemon which you want. So... Copy the compare 0x40C4 0x2 many times upper than this entry as many new Fossilized Pokemon did you have. If you did this. We can going to the next point. IMPORTANT - Repoint that adrees in compare 0x40c4 to new pointer or will you broke game. If it was place above 1000000 change 8 to 9. But without changing 1 to 9 add in the right place.
~~~~~~~~~~~~~~STEP TWO! CHECKING ITEM~~~~~~~~~~~~~~~~~~~~
Allright. We going under that script and we found this
checkitem 0x11E 0x1
compare LASTRESULT 0x1
if 0x1 goto 0x81575A6
checkitem 0x11F 0x1
compare LASTRESULT 0x1
if 0x1 goto 0x81575EE
Ok. This code make engine to search for item. It was example from RUBY for Lilliep and Anorith.
So for add new entries for Fossil Item. Use this template
checkitem 0x<Hex number of new Fossil> 0x1
compare LASTRESULT 0x1
if 0x1 goto 0x<Entry which I was explain in Step 4>
Put this many times as many new Fossils you added.
~~~~~~~~~~~~~~~~~~~~STEP THREE! Seting Compares List~~~~~~~~~~~~~~~~~~~~
Check adress on the compare 0x40C4 0x2 and repoint it. And slide down to there also with repointing without changing 1 to 9. You should seen
compare 0x40C5 0x1
if 0x1 goto 0x8157661
compare 0x40C5 0x2
if 0x1 goto 0x81576B4
Add new compares by adding like in this template. <Without repointing new fossils can crush game>
compare 0x40C5 0x<More than 2 or in FRLG more than 3.. All in hex>
if 0x1 goto 0x<Pointer Which I explain in step 5>
~~~~~~~~~~~~~~~~~~STEP Four! Editing take of Fossil~~~~~~~~~~~~~~~~~~~
RAW CODE FOR ANORITH
#org 0x1575A6
closeonkeypress
sound 0x15
applymovement 0x5 0x81A0833
waitmovement 0x0
applymovement 0x5 0x81A0835
waitmovement 0x0
msgbox 0x8182F35 MSG_YESNO '"Wait! That thing you have there......"
compare LASTRESULT 0x0
if 0x1 goto 0x8157636
bufferitem 0x0 0x11E
msgbox 0x8183023 MSG_KEEPOPEN '"Excellent!\nLet's do this right aw..."
removeitem 0x11E 0x1
setvar 0x40C4 0x1
setvar 0x40C5 0x1
release
end
Ok. For first. After you copy under this data, Repoint for free space. And at the begining of new code change near item from step 2. Change Bufferitem and Removeitem to the hex string of new fossil. And at last change setvar 0x40C5 to <Number above 2 or in FRLG number above 3> That is for read your new compare bit. Ok. Let's go to the next step.
~~~~~~~~~~~~~~~~STEP 5... Info about reciving Fossil~~~~~~~~~~~~~~~~~~
#org 0x157661
bufferpokemon 0x1 0x184
msgbox 0x8183124 MSG_KEEPOPEN '"Thanks for waiting!\pYour fossiliz..."
countpokemon
compare LASTRESULT 0x6
if 0x1 goto 0x8157707
copyvar 0x8004 LASTRESULT
setvar 0x40C4 0x0
setflag 0x10B
fanfare 0x172
preparemsg 0x818319E '"[player] received [buffer2] from\n..."
waitfanfare
waitmsg
givepokemon 0x184 0x14 0x0 0x0 0x0 0x0
msgbox 0x81A1102 MSG_YESNO '"Want to give a nickname to the\n[b..."
compare LASTRESULT 0x1
if 0x1 call 0x81A0678
release
end
After copy that thing you need change things like. <Pointer of that string and in location from Step 3 data in 0x3 <0x4> and later points in that setvar. Later change Hex number of Fossil Pokemon which you imput to game. Change it in check pokemon and give pokemon strings. Ok. Last and important thing to do.
~~~~~~~~~~~~~~~~~~~~STEP 6 - Seting into map~~~~~~~~~~~~~~~~~~~~~~~
After seting script. Check, that your map have inside script like 0x01574D0. In other case after researcher take your fossil. He won't give you pokemon from there.