NarutoActor
The rocks cry out to me
- 1,974
- Posts
- 16
- Years
- Age 31
- Brooklyn/Marlboro
- Seen Apr 2, 2016
okay, so what's wrong with it.
Lol, well, that wasn't the question. Still, you've already told me what I wanted to know, I guess. I was just making sure I had it right. Thanks for your help!okay, so what's wrong with it.
...wow. How did you set the hideflag, exactly? I know that can be done, but I've never tried it before. Do I just type hidesprite 0x201, setflag 0x201 in a different map, or is it more complicated than that?This should be easy ebough to answer,but I dont know what Im doing wrong.
I give a person an id of 1001.
I set the flag in one script so hes not visible in the map he is in.
Next,in another map,I clear the flag 1001. He still is not visible.
I want him to be visible,so what do i do?
EDIT: I fixed this.-_-
I changed the flags from 1001 to 201.But for future refrences,why didnt this work with 1001?
...wow. How did you set the hideflag, exactly? I know that can be done, but I've never tried it before. Do I just type hidesprite 0x201, setflag 0x201 in a different map, or is it more complicated than that?
As for your question, I've heard that only specific flags can be used for that kind of hidesprite, but as you may have guessed, I'm not exactly an authority in this area.
Showsprite 0x[people number]This should be easy ebough to answer,but I dont know what Im doing wrong.
I give a person an id of 1001.
I set the flag in one script so hes not visible in the map he is in.
Next,in another map,I clear the flag 1001. He still is not visible.
I want him to be visible,so what do i do?
EDIT: I fixed this.-_-
I changed the flags from 1001 to 201.But for future refrences,why didnt this work with 1001?
#dynamic 0x760000
#org @start
lockall
applymovement 0xFF @Surprised
waitmovement 0x0
Message @YellingMom 0x6
applymovement 0xFF @ToTV
waitmovement 0x0
message @ShowOn 0x6
fadescreen 0x1
special 0x113
applymovement 0x7F @MoveCamera1
waitmovement 0x7F
fadescreen 0x0
special 0x114
special 0x140
showpokepic 0x115 0x0A 0x03
message @OakSpeaks 0x6
hidepokepic
fadescreen 0x1
special 0x113
applymovement 0x7F @MoveCamera2
waitmovement 0x7F
fadescreen 0x0
setvar 0x7033 0x01
release
end
#org @Surprised
#raw 0x56 0xFE
#org @ToTV
#raw 0x07 0x07 0x04 0x07 0x01 0xFE
#org @MoveCamera1
#raw 0x06 0x06 0x06 0x06 0x06 0x06 0x06 0x06 0x06 0x06 0x06 0x06 0x06 0x06 0xFE
#org @MoveCamera2
#raw 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0xFE
#org @YellingMom
= You dont get to
#org @ShowOn
= You dont get to
#org @OakSpeaks
= You dont get to
'---------------
#org 0x760000
lockall
applymovement 0xFF 0x8760063
waitmovement 0x0
msgbox 0x876008D 0x6 '"MOM: Hey [player]!!!\nProfessor Oa..."
applymovement 0xFF 0x8760066
waitmovement 0x0
msgbox 0x876011A 0x6 '"The TV turns on and you begin to\n..."
fadescreen 0x1
special 0x113
applymovement 0x7F 0x876006D
waitmovement 0x7F
fadescreen 0x0
special 0x114
special 0x140
showpokepic 0x115 0xA 0x3
msgbox 0x8760146 0x6 '"OAK: Hello there young trainer! I\..."
hidepokepic
fadescreen 0x1
special 0x113
applymovement 0x7F 0x876007D
waitmovement 0x7F
fadescreen 0x0
setvar 0x7033 0x1
release
end
'---------
' Strings
'---------
#org 0x76008D
= You dont get to
#org 0x76011A
= You dont get to
#org 0x760146
= You dont get to
'-----------
' Movements
'-----------
#org 0x760063
#raw 0x56 'Exclamation Mark (!)
#raw 0xFE 'End of Movements
#org 0x760066
#raw 0x7 'Step Right (Slow)
#raw 0x7 'Step Right (Slow)
#raw 0x4 'Step Down (Slow)
#raw 0x7 'Step Right (Slow)
#raw 0x1 'Face Up
#raw 0xFE 'End of Movements
#org 0x76006D
#raw 0x6 'Step Left (Slow)
#raw 0x6 'Step Left (Slow)
#raw 0x6 'Step Left (Slow)
#raw 0x6 'Step Left (Slow)
#raw 0x6 'Step Left (Slow)
#raw 0x6 'Step Left (Slow)
#raw 0x6 'Step Left (Slow)
#raw 0x6 'Step Left (Slow)
#raw 0x6 'Step Left (Slow)
#raw 0x6 'Step Left (Slow)
#raw 0x6 'Step Left (Slow)
#raw 0x6 'Step Left (Slow)
#raw 0x6 'Step Left (Slow)
#raw 0x6 'Step Left (Slow)
#raw 0xFE 'End of Movements
#org 0x76007D
#raw 0x3 'Face Right
#raw 0x3 'Face Right
#raw 0x3 'Face Right
#raw 0x3 'Face Right
#raw 0x3 'Face Right
#raw 0x3 'Face Right
#raw 0x3 'Face Right
#raw 0x3 'Face Right
#raw 0x3 'Face Right
#raw 0x3 'Face Right
#raw 0x3 'Face Right
#raw 0x3 'Face Right
#raw 0x3 'Face Right
#raw 0x3 'Face Right
#raw 0xFE 'End of Movements
Wow.... My level script = failure......
What is meant to happen, read this script!
What screws up? It just doesn't work. I set up the flag in AMap to 7033. The script type is 02
Script:
Code:#dynamic 0x760000 #org @start lockall applymovement 0xFF @Surprised waitmovement 0x0 Message @YellingMom 0x6 applymovement 0xFF @ToTV waitmovement 0x0 message @ShowOn 0x6 fadescreen 0x1 special 0x113 applymovement 0x7F @MoveCamera1 waitmovement 0x7F fadescreen 0x0 special 0x114 special 0x140 showpokepic 0x115 0x0A 0x03 message @OakSpeaks 0x6 hidepokepic fadescreen 0x1 special 0x113 applymovement 0x7F @MoveCamera2 waitmovement 0x7F fadescreen 0x0 setvar 0x7033 0x01 release end #org @Surprised #raw 0x56 0xFE #org @ToTV #raw 0x07 0x07 0x04 0x07 0x01 0xFE #org @MoveCamera1 #raw 0x06 0x06 0x06 0x06 0x06 0x06 0x06 0x06 0x06 0x06 0x06 0x06 0x06 0x06 0xFE #org @MoveCamera2 #raw 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0xFE #org @YellingMom = You dont get to #org @ShowOn = You dont get to #org @OakSpeaks = You dont get to
Decompiled:
Code:'--------------- #org 0x760000 lockall applymovement 0xFF 0x8760063 waitmovement 0x0 msgbox 0x876008D 0x6 '"MOM: Hey [player]!!!\nProfessor Oa..." applymovement 0xFF 0x8760066 waitmovement 0x0 msgbox 0x876011A 0x6 '"The TV turns on and you begin to\n..." fadescreen 0x1 special 0x113 applymovement 0x7F 0x876006D waitmovement 0x7F fadescreen 0x0 special 0x114 special 0x140 showpokepic 0x115 0xA 0x3 msgbox 0x8760146 0x6 '"OAK: Hello there young trainer! I\..." hidepokepic fadescreen 0x1 special 0x113 applymovement 0x7F 0x876007D waitmovement 0x7F fadescreen 0x0 setvar 0x7033 0x1 release end '--------- ' Strings '--------- #org 0x76008D = You dont get to #org 0x76011A = You dont get to #org 0x760146 = You dont get to '----------- ' Movements '----------- #org 0x760063 #raw 0x56 'Exclamation Mark (!) #raw 0xFE 'End of Movements #org 0x760066 #raw 0x7 'Step Right (Slow) #raw 0x7 'Step Right (Slow) #raw 0x4 'Step Down (Slow) #raw 0x7 'Step Right (Slow) #raw 0x1 'Face Up #raw 0xFE 'End of Movements #org 0x76006D #raw 0x6 'Step Left (Slow) #raw 0x6 'Step Left (Slow) #raw 0x6 'Step Left (Slow) #raw 0x6 'Step Left (Slow) #raw 0x6 'Step Left (Slow) #raw 0x6 'Step Left (Slow) #raw 0x6 'Step Left (Slow) #raw 0x6 'Step Left (Slow) #raw 0x6 'Step Left (Slow) #raw 0x6 'Step Left (Slow) #raw 0x6 'Step Left (Slow) #raw 0x6 'Step Left (Slow) #raw 0x6 'Step Left (Slow) #raw 0x6 'Step Left (Slow) #raw 0xFE 'End of Movements #org 0x76007D #raw 0x3 'Face Right #raw 0x3 'Face Right #raw 0x3 'Face Right #raw 0x3 'Face Right #raw 0x3 'Face Right #raw 0x3 'Face Right #raw 0x3 'Face Right #raw 0x3 'Face Right #raw 0x3 'Face Right #raw 0x3 'Face Right #raw 0x3 'Face Right #raw 0x3 'Face Right #raw 0x3 'Face Right #raw 0x3 'Face Right #raw 0xFE 'End of Movements
Oookay then. I'm not understanding wtf is up with your text in the decompiled version. Where did the "MOM: Hey [player]!!! Professor Oak" ect. come from. Is that you saying we don't get to read the text? xD Anyways, the last camera move needs a special 0x114 after it. Also try waitmovement 0 instead of 0x7F. That's all I could find, but follow Cooley's tut to see if anything is wrong. Sorry...
Well,all I basically did was give a sprite a person id of 201. In a script I setflag 0x201.Its that simple. And if you were to hide a person in a script while in the map, you would hidesprite 0xwhatever and then setflag 0x201.
aw pointer 0x8760000
#raw word 0x0001
'---------------
#org 0x760000
lockall
applymovement 0xFF 0x8760063
waitmovement 0x0
msgbox 0x876008D 0x6 '"MOM: Hey [player]!!!\nProfessor Oa..."
applymovement 0xFF 0x8760066
waitmovement 0x0
msgbox 0x876011A 0x6 '"The TV turns on and you begin to\n..."
fadescreen 0x1
special 0x113
applymovement 0x7F 0x876006D
waitmovement 0x7F
fadescreen 0x0
special 0x114
special 0x140
showpokepic 0x115 0xA 0x3
msgbox 0x8760146 0x6 '"OAK: Hello there young trainer! I\..."
hidepokepic
fadescreen 0x1
special 0x113
applymovement 0x7F 0x876007D
waitmovement 0x7F
fadescreen 0x0
setvar 0x7033 0x1
release
end
'---------
' Strings
'---------
#org 0x76008D
= MOM: Hey [player]!!!\nProfessor Oak is making his\lannouncement for his open\llabaratory date! You should check\lit out if you want to be a\ltrainer.
#org 0x76011A
= The TV turns on and you begin to\nwatch...
#org 0x760146
= OAK: Hello there young trainer! I\nwill be opening up my labaratory\lfor those of you interested in\lgaining your first Pokemon! I have\lmany to chose from but know that\lmany will come. So be one of the\lfirst.
'-----------
' Movements
'-----------
#org 0x760063
#raw 0x56 'Exclamation Mark (!)
#raw 0xFE 'End of Movements
#org 0x760066
#raw 0x7 'Step Right (Slow)
#raw 0x7 'Step Right (Slow)
#raw 0x4 'Step Down (Slow)
#raw 0x7 'Step Right (Slow)
#raw 0x1 'Face Up
#raw 0xFE 'End of Movements
#org 0x76006D
#raw 0x6 'Step Left (Slow)
#raw 0x6 'Step Left (Slow)
#raw 0x6 'Step Left (Slow)
#raw 0x6 'Step Left (Slow)
#raw 0x6 'Step Left (Slow)
#raw 0x6 'Step Left (Slow)
#raw 0x6 'Step Left (Slow)
#raw 0x6 'Step Left (Slow)
#raw 0x6 'Step Left (Slow)
#raw 0x6 'Step Left (Slow)
#raw 0x6 'Step Left (Slow)
#raw 0x6 'Step Left (Slow)
#raw 0x6 'Step Left (Slow)
#raw 0x6 'Step Left (Slow)
#raw 0xFE 'End of Movements
#org 0x76007D
#raw 0x3 'Face Right
#raw 0x3 'Face Right
#raw 0x3 'Face Right
#raw 0x3 'Face Right
#raw 0x3 'Face Right
#raw 0x3 'Face Right
#raw 0x3 'Face Right
#raw 0x3 'Face Right
#raw 0x3 'Face Right
#raw 0x3 'Face Right
#raw 0x3 'Face Right
#raw 0x3 'Face Right
#raw 0x3 'Face Right
#raw 0x3 'Face Right
#raw 0xFE 'End of Movements
I have 3 simple questions :) (All is PKSV)...
1. How would I create a 2 vs 2 Player Battle is PKSV?
2. How do I chose the pokemon and level of pokemon that are used in a battle? (On your opponents side)
3. How do I give a badge?
Read a tutorial! This thread is not for posts asking stuff like this.
Is this thread not for asking for help with scripts?