Quote:
Originally Posted by DarkPrince304
No I mean when I click the Compile button I can't see the Copy Button :O
|
You don't need the copy button if you're using the numbers I gave you. But if you want to do the free space thing first, replace the orgs (like #org 800000) with #org @(whatever name you want to give) - then it will create a number for you that isn't being used and you can copy it. If you use the numbers I did to compile it, then 800000 would be the script number to place in the script box in Advance Map and 800057 would be the number to place in the signpost box. You can use those numbers (if they haven't been used in your rom yet), you can search for free space, or you can replace an already existing script in your rom that you don't need if you want - but the main code should work.
.......
Okay, I have a script request I need help with. I am not getting the running shoes to activate in Fire Red at all.
Code:
'---------------
#org 0x165B2E
lockall
setvar 0x406C 0x0
countpokemon
compare LASTRESULT 0x1
if 0x0 call 0x8165B10
checkflag 0x7
if 0x1 call 0x8165B10
call 0x81664CC
releaseall
end
'---------------
#org 0x165B10
releaseall
end
'---------------
#org 0x1664CC
showsprite 0x3
applymovement 0x3 0x81656F2
waitmovement 0x3
applymovement 0x3 0x81A75E1
waitmovement 0x3
applymovement MOVE_PLAYER 0x81A75DB
waitmovement 0x0
textcolor 0x1
msgbox 0x817E90C MSG_KEEPOPEN '"[player]!\nI'm glad I caught you!\..."
msgbox 0x817ECD4 MSG_KEEPOPEN '"You're starting your journey as a\..."
textcolor 0x3
fanfare 0x13E
preparemsg 0x817E970 '"[player] received the\nRUNNING SHO..."
waitmsg
waitfanfare
msgbox 0x817E99D MSG_KEEPOPEN '"[player] switched shoes with the\n..."
special 0x171
msgbox 0x817E9C7 MSG_KEEPOPEN '"Press the B Button to run.\nBut on..."
normalmsg
msgbox 0x817EA06 MSG_KEEPOPEN '"And a TOWN MAP[.]\nand a handy FAM..."
closeonkeypress
giveitem2 0x16B 0x1 0x13E
additem 0x16B 0x1
loadpointer 0x0 0x818D661 '"[player] received a TOWN MAP\nfrom..."
additem 0x169 0x1
textcolor 0x1
msgbox 0x817ED5D MSG_KEEPOPEN '"Oh, [player], did you get your\nPO..."
closeonkeypress
applymovement 0x3 0x81656FB
waitmovement 0x3
hidesprite 0x3
setflag 0x7
setflag 0x82F
setvar 0x406C 0x2
return
'---------
' Strings
'---------
#org 0x17E90C
= [player]!\nI'm glad I caught you!\pI'm so proud of you!\nYou're finally fulfilling your dream!
#org 0x17ECD4
= You're starting your journey as a\ntrainer!\pBut I'll miss you so much!\pI brought you some traveling items.\nThere's your running shoes [.]
#org 0x17E970
= [player] received the\nRUNNING SHOES from MOM.
#org 0x17E99D
= [player] switched shoes with the\nRUNNING SHOES.
#org 0x17E9C7
= Press the B Button to run.\nBut only where there's room to run!
#org 0x17EA06
= And a TOWN MAP[.]\nand a handy FAME CHECKER!
#org 0x18D661
= [player] received a TOWN MAP\nfrom MOM.
#org 0x17ED5D
= Oh, [player], did you get your\nPOKeMON?\pOh, is that it? A PIKACHU?\nIt's kind of weird [.]\p[player], I know you have to get going.\nGood luck! I love you!
'-----------
' Movements
'-----------
#org 0x1656F2
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0xFE 'End of Movements
#org 0x1A75E1
#raw 0x4A 'Face Player
#raw 0xFE 'End of Movements
#org 0x1A75DB
#raw 0x62 'Exclamation Mark (!)
#raw 0xFE 'End of Movements
#org 0x1656FB
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0xFE 'End of Movements
Now the first code is there to let me pass by when (a) I have no Pokemon, and (b) after mom has come and given me the stuff so that she won't come a second time, and it works. So it only calls the script if it hasn't before and if I have a Pokemon.
In the main script I want mom to show up, give me the running shoes, the town map, and the fame checker. I get the latter two, but not the running shoes. As you can see, I set the flag for the running shoes to be activated, I even changed the script var to the same one as the scientist who gives you the shoes, just in case. It simply won't activate the shoes, and I've tried a few different methods.
Any suggestions on what I should do differently?