- 7
- Posts
- 15
- Years
- Seen Oct 9, 2011
@paradox
how about making profesor oak closer to you, make another set of raw.
how about making profesor oak closer to you, make another set of raw.
the script looks OK to me. Your problem probably is either you have the wrong person event number set for the applymovement command, or the OAK has a person ID of a previously set flag (because you're not seeing him).
So, check the person event number of OAK and his person ID. Make sure his person ID is not a flag you set before. I hope any of this helps.
Chad -
His ID is 002C which is the same as it is in the actual game so maybe that's why it's not working cause they're the same person ID's.
So I just need to make sure his person ID is not a flag I've set before?
Idk lol I can only imagine the problems I'll have scripting when he gives you the pokemon XD
EDIT: Okay it worked, thanks!
Also, how would I go about warping us both into the house after we stop?
But one thing, how do I make him invisible and not be able to bump into? I tried hidden but I can still bump into him.
Always, always and always use waitmovement after applymovement command ;)Spoiler:#dynamic 0x751B59
#org @start
checkflag 0x828
if 0x1 goto @done
msgbox @1 0x6
applymovement 0x03 @move
waitmovement 0x0
applymovement 0xFF @move2
waitmovement 0x0
msgbox @2 0x6
playsong 0x13E 0x0
applymovement 0x03 @move3
applymovement 0xFF @move3
waitmovement 0x0
fadesong 0x12C
release
end
#org @done
release
end
#org @move
#raw 0x62
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0xFE
#org @move2
#raw 0x03
#raw 0xFE
#org @move3
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0xFE
#org @1
= Wait up, [PLAYER]!
#org @2
= You can't go out there\nwithout your own Pokemon.\pWild Pokemon will hurt you.
I don't think anyone addressed this. If I'm wrong, sorry.
To make the sprite disappear, use this in XSE:
hidesprite 0x(person event number)
setflag 0x(personID)
I've never heard of the #raw method, does it work?
Oh, and I have one other question. In YAPE there are three values for a Pokemon's number, national dex, Hoenn dex, and Game. Am I correct in assuming that Game is the value I use in say, a givepokemon script?
I still would like to know the answer to my other questionjust what to know what time is moring, afternoon, nightime etc..
Look up a tut.how do you add a special?
#dynamic 0x26D54A
#org @start
checkflag 0x1001
if 0x1 goto @done
applymovement 0x2 @move
waitmovement 0x0
msgbox @1 0x6
call @pokemon
msgbox @2 0x6
applymovement 0x2 @move0
waitmovement 0x0
setflag 0x1001
release
end
#org @done
release
end
#org @1
= [blue_fr]Dad: \v\h01, Prof. Maple told me\nthat she had to go somewhere.\lShe felt bad that you couldn't get\la Pokemon of your choice, so she\lgave me a Pokabu from Isshu to\lgive to you.\pHere, \v\h01.
#org @2
= [blue_fr]It's a very special Pokemon,\n\v\h01.\pAnyways, you should challenge Gym\nLeader Angelica so you can get out\lof this town.\pBye, \v\h01.
#org @move
#raw 0x62
#raw 0x11
#raw 0x11
#raw 0xFE
#org @move0
#raw 0x10
#raw 0x10
#raw 0x03
#raw 0xFE
#org @pokemon
givepokemon 0x4 0x5 0x0 0x0 0x0 0x0
fanfare 0x13E
msgbox @3 0x4
waitfanfare
closeonkeypress
setflag 0x828
msgbox @4 0x5
compare LASTRESULT 0x1
if 0x1 gosub @name
msgbox @5 0x6
return
#org @name
call 0x1A74EB
return
#org @3
= \v\h01 recieved a POKABU!
#org @4
= Would you like to give a nickname\nto POKABU?
#org @5
= POKABU: Poka-poka!
Look up a tut.
Anyways, here is mine. The error is is that it says unknown keyword "at" at line 26. I looked at it and its a blank space. I tried erasing it and still...
Code:#dynamic 0x26D54A #org @start checkflag 0x1001 if 0x1 goto @done applymovement 0x2 @move waitmovement 0x0 msgbox @1 0x6 call @pokemon msgbox @2 0x6 applymovement 0x2 @move0 waitmovement 0x0 setflag 0x1001 release end #org @done release end #org @1 = [blue_fr]Dad: \v\h01, Prof. Maple told me\nthat she had to go somewhere.\lShe felt bad that you couldn't get\la Pokemon of your choice, so she\lgave me a Pokabu from Isshu to\lgive to you.\pHere, \v\h01. #org @2 = [blue_fr]It's a very special Pokemon,\n\v\h01.\pAnyways, you should challenge Gym\nLeader Angelica so you can get out\lof this town.\pBye, \v\h01. #org @move #raw 0x62 #raw 0x11 #raw 0x11 #raw 0xFE #org @move0 #raw 0x10 #raw 0x10 #raw 0x03 #raw 0xFE #org @pokemon givepokemon 0x4 0x5 0x0 0x0 0x0 0x0 fanfare 0x13E msgbox @3 0x4 waitfanfare closeonkeypress setflag 0x828 msgbox @4 0x5 compare LASTRESULT 0x1 if 0x1 gosub @name msgbox @5 0x6 return #org @name call 0x1A74EB return #org @3 = \v\h01 recieved a POKABU! #org @4 = Would you like to give a nickname\nto POKABU? #org @5 = POKABU: Poka-poka!
I just tried compiling it and it worked =X what editor are you using?
argh when i type up the script and put it onto my firered rom on a random npc. u hear a click sound and but no script. help!!
#dynamic 0x456734
#org @start
lock
faceplayer
msgbox @1 0x6
release
end
#org @1
= Hi.\nMy name is Chris.