- 22
- Posts
- 9
- Years
- Seen Apr 3, 2016
Hello, I've added these two fossils in my FireRed hack so the player will be able to get Anorith and Lileep when they reach Cinnabar, but I couldn't make the scientist ressurect them. I know there's a tutorial about doing it for Ruby, but I couldn't understand very well what I was supposed to do.
Can anybody help me out? I don't know what to do anymore to get it working...
EDIT:
I found a way to ressurect the fossils, but it's not exactly what I wanted. I will post it here in case somebody else has the same trouble and can't find a solution. I added 2 extra person events inside the lab and wrote a script for each one of them. The script below is for the scientist that ressurects Lileep. It's not with dynamic offsets, but if anybody needs help scripting I can edit it later to help with the dynamic offsets.
I hope this can help other people having the same trouble to add Fossils to FireRed. If anybody else has a better solution, please go ahead. I'd really like to have all of them on the same scientist, but this script here will do until there...
Can anybody help me out? I don't know what to do anymore to get it working...
EDIT:
I found a way to ressurect the fossils, but it's not exactly what I wanted. I will post it here in case somebody else has the same trouble and can't find a solution. I added 2 extra person events inside the lab and wrote a script for each one of them. The script below is for the scientist that ressurects Lileep. It's not with dynamic offsets, but if anybody needs help scripting I can edit it later to help with the dynamic offsets.
Spoiler:
'---------------
#org 0x24737F
checkflag 0x20B
if 0x1 goto 0x82473D8
msgbox 0x82473E2 MSG_FACE '"Hi!\pI'm currently researching\nth..."
checkflag 0x211
if 0x1 goto 0x824739B
end
'---------------
#org 0x2473D8
msgbox 0x82475FC MSG_FACE '"Thanks for giving me the\nopportun..."
end
'---------------
#org 0x24739B
msgbox 0x8247474 MSG_YESNO '"Oh! That fossil you have...\pIs th..."
compare LASTRESULT 0x0
if 0x1 goto 0x87B7D9D
removeitem 0x11E 0x1
msgbox 0x824750E MSG_KEEPOPEN '"Yes! I knew I could do it!\pI mana..."
call 0x8247D63
setflag 0x20B
msgbox 0x82475FC MSG_KEEPOPEN '"Thanks for giving me the\nopportun..."
release
end
'---------------
#org 0x7B7D9D
msgbox 0x87B7DA8 MSG_KEEPOPEN '"Oh, that's too bad!"
release
end
'---------------
#org 0x247D63
setvar 0x4001 0x184
givepokemon 0x184 0x5 0x0 0x0 0x0 0x0
compare LASTRESULT 0x0
if 0x1 goto 0x8247DD4
compare LASTRESULT 0x1
if 0x1 goto 0x824810E
compare LASTRESULT 0x2
if 0x1 goto 0x81A927C
return
'---------------
#org 0x247DD4
fanfare 0x101
preparemsg 0x82481F5 '"[player] obtained a Lileep!"
waitmsg
waitfanfare
bufferpokemon 0x0 0x184
msgbox 0x824F050 MSG_YESNO '"Do you want to give a nickname to\..."
compare LASTRESULT 0x0
if 0x1 goto 0x82481D4
call 0x81A8C27
call 0x81A74EB
return
'---------------
#org 0x24810E
fanfare 0x101
preparemsg 0x82481F5 '"[player] obtained a Lileep!"
waitmsg
waitfanfare
bufferpokemon 0x0 0x184
msgbox 0x824F050 MSG_YESNO '"Do you want to give a nickname to\..."
compare LASTRESULT 0x0
if 0x1 goto 0x82481E2
call 0x81A8C33
call 0x81A8C3C
return
'---------------
#org 0x1A927C
textcolor 0x3
msgbox 0x81A5E31 MSG_KEEPOPEN '"There's no more room for Pokémon!\..."
release
end
'---------------
#org 0x2481D4
setflag 0x20C
msgbox 0x8247BF5 MSG_KEEPOPEN '"Thanks for giving me the\nopportun..."
release
end
'---------------
#org 0x1A8C27
countpokemon
subvar LASTRESULT 0x1
copyvar 0x8004 LASTRESULT
return
'---------------
#org 0x1A74EB
fadescreen 0x1
special 0x9E
waitstate
return
'---------------
#org 0x2481E2
call 0x81A8C3C
setflag 0x20C
msgbox 0x8247BF5 MSG_KEEPOPEN '"Thanks for giving me the\nopportun..."
release
end
'---------------
#org 0x1A8C33
fadescreen 0x1
special 0x166
waitstate
lock
faceplayer
return
'---------------
#org 0x1A8C3C
bufferboxname 0x0 0x4037
bufferpokemon 0x1 0x4001
checkflag 0x834
if 0x0 call 0x81A8C57
checkflag 0x834
if 0x1 call 0x81A8C82
return
'---------------
#org 0x1A8C57
special2 LASTRESULT 0x165
compare LASTRESULT 0x1
if 0x1 goto 0x81A8C70
msgbox 0x81A5CF1 MSG_KEEPOPEN '"[buffer2] was transferred to\nSome..."
return
'---------------
#org 0x1A8C82
special2 LASTRESULT 0x165
compare LASTRESULT 0x1
if 0x1 goto 0x81A8C9B
msgbox 0x81A5D31 MSG_KEEPOPEN '"[buffer2] was transferred to\nBill..."
return
'---------------
#org 0x1A8C70
special2 LASTRESULT 0x18A
bufferboxname 0x2 LASTRESULT
msgbox 0x81A5D6E MSG_KEEPOPEN '"Box ["][buffer3]" on\nSomeone's PC..."
return
'---------------
#org 0x1A8C9B
special2 LASTRESULT 0x18A
bufferboxname 0x2 LASTRESULT
msgbox 0x81A5DB1 MSG_KEEPOPEN '"Box ["][buffer3]" on\nBill'S PC wa..."
return
'---------
' Strings
'---------
#org 0x2473E2
= Hi!\pI'm currently researching\nthe Pokémon Lileep.
#org 0x2475FC
= Thanks for giving me the\nopportunity to see this rare Pokémon.
#org 0x247474
= Oh! That fossil you have...\pIs that a Root Fossil?\pCan I take a closer look at it?
#org 0x24750E
= Yes! I knew I could do it!\pI managed to ressurect your\nfossil.\pAnd I did it much faster than\nthat moron over there.\pHere's your Pokémon.
#org 0x7B7DA8
= Oh, that's too bad!
#org 0x2481F5
= [player] obtained a Lileep!
#org 0x24F050
= Do you want to give a nickname to\nthis Lileep?
#org 0x1A5E31
= There's no more room for Pokémon!\pThe Pokémon Boxes are full and\ncan't accept any more!
#org 0x247BF5
= Thanks for giving me the\nopportunity to see this rare Pokémon.
#org 0x1A5CF1
= [buffer2] was transferred to\nSomeone's PC.\pIt was placed in \nBox ["][buffer1]."
#org 0x1A5D31
= [buffer2] was transferred to\nBill'S PC.\pIt was placed in \nBox ["][buffer1]."
#org 0x1A5D6E
= Box ["][buffer3]" on\nSomeone's PC was full.\p[buffer2] was transferred to\nBox ["][buffer1]."
#org 0x1A5DB1
= Box ["][buffer3]" on\nBill'S PC was full.\p[buffer2] was transferred to\nBox ["][buffer1]."
#org 0x24737F
checkflag 0x20B
if 0x1 goto 0x82473D8
msgbox 0x82473E2 MSG_FACE '"Hi!\pI'm currently researching\nth..."
checkflag 0x211
if 0x1 goto 0x824739B
end
'---------------
#org 0x2473D8
msgbox 0x82475FC MSG_FACE '"Thanks for giving me the\nopportun..."
end
'---------------
#org 0x24739B
msgbox 0x8247474 MSG_YESNO '"Oh! That fossil you have...\pIs th..."
compare LASTRESULT 0x0
if 0x1 goto 0x87B7D9D
removeitem 0x11E 0x1
msgbox 0x824750E MSG_KEEPOPEN '"Yes! I knew I could do it!\pI mana..."
call 0x8247D63
setflag 0x20B
msgbox 0x82475FC MSG_KEEPOPEN '"Thanks for giving me the\nopportun..."
release
end
'---------------
#org 0x7B7D9D
msgbox 0x87B7DA8 MSG_KEEPOPEN '"Oh, that's too bad!"
release
end
'---------------
#org 0x247D63
setvar 0x4001 0x184
givepokemon 0x184 0x5 0x0 0x0 0x0 0x0
compare LASTRESULT 0x0
if 0x1 goto 0x8247DD4
compare LASTRESULT 0x1
if 0x1 goto 0x824810E
compare LASTRESULT 0x2
if 0x1 goto 0x81A927C
return
'---------------
#org 0x247DD4
fanfare 0x101
preparemsg 0x82481F5 '"[player] obtained a Lileep!"
waitmsg
waitfanfare
bufferpokemon 0x0 0x184
msgbox 0x824F050 MSG_YESNO '"Do you want to give a nickname to\..."
compare LASTRESULT 0x0
if 0x1 goto 0x82481D4
call 0x81A8C27
call 0x81A74EB
return
'---------------
#org 0x24810E
fanfare 0x101
preparemsg 0x82481F5 '"[player] obtained a Lileep!"
waitmsg
waitfanfare
bufferpokemon 0x0 0x184
msgbox 0x824F050 MSG_YESNO '"Do you want to give a nickname to\..."
compare LASTRESULT 0x0
if 0x1 goto 0x82481E2
call 0x81A8C33
call 0x81A8C3C
return
'---------------
#org 0x1A927C
textcolor 0x3
msgbox 0x81A5E31 MSG_KEEPOPEN '"There's no more room for Pokémon!\..."
release
end
'---------------
#org 0x2481D4
setflag 0x20C
msgbox 0x8247BF5 MSG_KEEPOPEN '"Thanks for giving me the\nopportun..."
release
end
'---------------
#org 0x1A8C27
countpokemon
subvar LASTRESULT 0x1
copyvar 0x8004 LASTRESULT
return
'---------------
#org 0x1A74EB
fadescreen 0x1
special 0x9E
waitstate
return
'---------------
#org 0x2481E2
call 0x81A8C3C
setflag 0x20C
msgbox 0x8247BF5 MSG_KEEPOPEN '"Thanks for giving me the\nopportun..."
release
end
'---------------
#org 0x1A8C33
fadescreen 0x1
special 0x166
waitstate
lock
faceplayer
return
'---------------
#org 0x1A8C3C
bufferboxname 0x0 0x4037
bufferpokemon 0x1 0x4001
checkflag 0x834
if 0x0 call 0x81A8C57
checkflag 0x834
if 0x1 call 0x81A8C82
return
'---------------
#org 0x1A8C57
special2 LASTRESULT 0x165
compare LASTRESULT 0x1
if 0x1 goto 0x81A8C70
msgbox 0x81A5CF1 MSG_KEEPOPEN '"[buffer2] was transferred to\nSome..."
return
'---------------
#org 0x1A8C82
special2 LASTRESULT 0x165
compare LASTRESULT 0x1
if 0x1 goto 0x81A8C9B
msgbox 0x81A5D31 MSG_KEEPOPEN '"[buffer2] was transferred to\nBill..."
return
'---------------
#org 0x1A8C70
special2 LASTRESULT 0x18A
bufferboxname 0x2 LASTRESULT
msgbox 0x81A5D6E MSG_KEEPOPEN '"Box ["][buffer3]" on\nSomeone's PC..."
return
'---------------
#org 0x1A8C9B
special2 LASTRESULT 0x18A
bufferboxname 0x2 LASTRESULT
msgbox 0x81A5DB1 MSG_KEEPOPEN '"Box ["][buffer3]" on\nBill'S PC wa..."
return
'---------
' Strings
'---------
#org 0x2473E2
= Hi!\pI'm currently researching\nthe Pokémon Lileep.
#org 0x2475FC
= Thanks for giving me the\nopportunity to see this rare Pokémon.
#org 0x247474
= Oh! That fossil you have...\pIs that a Root Fossil?\pCan I take a closer look at it?
#org 0x24750E
= Yes! I knew I could do it!\pI managed to ressurect your\nfossil.\pAnd I did it much faster than\nthat moron over there.\pHere's your Pokémon.
#org 0x7B7DA8
= Oh, that's too bad!
#org 0x2481F5
= [player] obtained a Lileep!
#org 0x24F050
= Do you want to give a nickname to\nthis Lileep?
#org 0x1A5E31
= There's no more room for Pokémon!\pThe Pokémon Boxes are full and\ncan't accept any more!
#org 0x247BF5
= Thanks for giving me the\nopportunity to see this rare Pokémon.
#org 0x1A5CF1
= [buffer2] was transferred to\nSomeone's PC.\pIt was placed in \nBox ["][buffer1]."
#org 0x1A5D31
= [buffer2] was transferred to\nBill'S PC.\pIt was placed in \nBox ["][buffer1]."
#org 0x1A5D6E
= Box ["][buffer3]" on\nSomeone's PC was full.\p[buffer2] was transferred to\nBox ["][buffer1]."
#org 0x1A5DB1
= Box ["][buffer3]" on\nBill'S PC was full.\p[buffer2] was transferred to\nBox ["][buffer1]."
I hope this can help other people having the same trouble to add Fossils to FireRed. If anybody else has a better solution, please go ahead. I'd really like to have all of them on the same scientist, but this script here will do until there...
Last edited: