- 190
- Posts
- 15
- Years
- Seen Apr 14, 2016
hi there im having trouble doing a script like when you first meet processor oak i wanna do something like that can you please help
If you mean the event when he stops you and takes you to his lab, this is a movement script. you have to add a script event in Advance map on the spot where the player will be stopped. then you would use applymovement so that you would follow someone. below is a basic example
Spoiler:
dynamic 0x??????
#org @start
lock
msgbox @wait 0x6
applymovement 0x??(oak) @walk
waitmovement 0x0
applymovement 0xFF @faceoak
msgbox @pokemon 0x6
applymovement 0x?? @move
applymovement 0xFF @move
waitmovement 0x0
release
end
#org @wait
=Wait!You need a Pokemon!
#org @walk
#raw 0x??
#raw 0x??
#raw 0x??
#raw 0x??
#raw 0x??
#raw 0xFE
#org @faceoak
#raw 0x0(face down)
#raw 0xFE
#org @pokemon
=You need a pokemon to fight other pokemon! I'll give you a pokemon!
#org @ move
#raw 0x??
#raw 0x??
#raw 0x??
#raw 0x??
#raw 0x??
#raw 0x??
#raw 0xFE
#org @start
lock
msgbox @wait 0x6
applymovement 0x??(oak) @walk
waitmovement 0x0
applymovement 0xFF @faceoak
msgbox @pokemon 0x6
applymovement 0x?? @move
applymovement 0xFF @move
waitmovement 0x0
release
end
#org @wait
=Wait!You need a Pokemon!
#org @walk
#raw 0x??
#raw 0x??
#raw 0x??
#raw 0x??
#raw 0x??
#raw 0xFE
#org @faceoak
#raw 0x0(face down)
#raw 0xFE
#org @pokemon
=You need a pokemon to fight other pokemon! I'll give you a pokemon!
#org @ move
#raw 0x??
#raw 0x??
#raw 0x??
#raw 0x??
#raw 0x??
#raw 0x??
#raw 0xFE
basically i locked the player when he steps on a tile, then you see a msgbox that has oak saying to wait. then we see oak moving to the player. the player turns to face oak. then another msgbox from oak. then by making them both follow @move script, it creates a follow-me script, in which is looks like the player is following other OW.