![]() |
Quote:
|
thethethethe, for the MoveSprite, how can you get the Player to move?
|
how do I Set flags so An event can happen even after not having it in the same script. Like meeting your friend then being able to access a certain area
|
Quote:
I think it's 0xFF. Not too sure. |
you can be sure, it IS 0xFF. Like explained in the tut ;)
(btw don't forget the 0xFE after the movements, I did this xD) Quote:
Then you set a checkflag at the begin of the script of the area entrace (checkflag needs the same number as setflag in the other script). Hope I'm right, correct if I' wrong ^^ |
Wow this is the best tut i have been on just one question will this script work?
#org $begin lock faceplayer checkflag 0x200 if b_true goto $done applymovement 0x06 $move pausemove message $cele boxset 6 Wildbattle 251 5 0 fadescreen 0 #raw 0x53 0x0F 0x80 Setflag 0x200 release end #org $done release end #org $move #raw 0x10 0x10 0x10 0xFE #org $cele $cele 1 =Biiiii. |
Quote:
#org $move #raw 0x10 0x10 0x10 0xFE But always try it...XD |
ok
but this script has gone strange #org $start lock faceplayer checkflag 0x200 if b_true goto $done message $1 boxset 5 compare 0x800D 0x1 if 0x1 goto $check message $2 boxset 6 release end #org $check checkitem 0x4 #raw 0x05 0x00 compare 0x800D 0x1 if 0x4 goto $got message $2 boxset 6 release end #org $got message $3 boxset 6 warp 0x2 0x60 0x1 setflag 0x200 release end #org $done message $4 boxset 5 compare 0x800d 0x1 message $3 boxset 6 warp 0x2 0x60 0x1 release end #org $1 $1 1 =Would you like to goto\nCinnabar island? #org $2 $2 1 =Ohhh. Sorry you can't go yet. #org $3 $3 1 =ALL ABOARD!!! #org $4 $4 1 =Would you like to goto\nCinnabar island? on this script instead of warping to map 2.60 warp number 1 (i made a warp and map) but instead The screen just turns blank Why might this be? Also how do i make a script which gives yo a badge without having to battle so it will be you goup to a guy who says your a new trainer so you wont be strong enough for a battle so he just gives you the badge how can i do this?? |
Quote:
Quote:
But You have two options with that warp command. warp 2 60 1 or warp 0x2 0x3C 0x1 If there's a "0x" in front of it, then you have to make it a hexadecimal value, if it isn't in front of the number it's a decimal number or a 'normal' number. |
How do I have The script react to another I didn't get it in the flags part of you tutorial
|
OK, I feel really noobish for saying this...but HOW do you make scripts in the first place?
I looked all over the place to do it, and I couldn't find it out....so I just started typing in the window that pops up when I double click on Poket Script...and it starts giving me error messages! Could someone please help me? EDIT: Never mind, I figured out how to do it... |
use notepad
if you don't have notepad wellllllllll well your done for so its NOTEPAD! |
Yeah, I figured that out (thanks anyway).
I'm trying to implement this into a game, so I can test it out...but I'm not sure how. I looked at other tutorials, but no one was really clear about it. Could someone please explain it? |
http://www.pokecommunity.com/showthread.php?t=81691
Save you script as a .rbc file, then right click and "compile". Alternatively, you can open "BufRite.exe", file->import->find you script. Then you follow the instructions in the above thread (first tut) on how to Assign to the rom and then Burn (save) to the rom. It would be at this point that you open Advance Map and set the script offset on an event (character). |
Quote:
also how do you make someone give you a badge without battleing? |
Quote:
|
Quote:
Quote:
For example, in Fire Red/Leaf Green, if you wanted the player to recieve the first badge, all you need is this line. setflag 0x820 |
Quote:
#org $begin checkflag 0x201 if b_true goto $done applymovement 0x14 $move pausemove 0 message $hey boxset 6 applymovement 0x14 $move2 pausemove 0 setflag 0x201 release end #org $done release end #org $move #raw 0x20 0x20 0x20 0x20 0x20 0x62 0xFE #org $hey $hey 1 =Hey there, I am one of the\nthree dancers, come by our gym later. #org $move2 #raw 0x1F 0x1F 0x1F 0x1F 0x1F 0x1E 0x1E 0x1F 0x1F 0x60 0xFE |
erm, try this..?
Code:
|
not even that every time i walk ove it nothing happens
|
Quote:
Which Advance Map are you using? I am using 1.90, and there the fields "unknown" and "variable number" looks like this: Unknown: 0003 Var.Number:4051 And it works! Hope that's the problem. |
no that dosen't work.
would it be the check flag |
Quote:
release end Try using another set and checkflag you SURE didn't use before, than it should work. |
I tested the script myself and it worked fine.
I'll put up a video when YouTube finishes uplaoding it. ;) and yeah, I guess it's because of the setflag... |
no i haven't used 201 yet
|
| All times are GMT -8. The time now is 9:06 AM. |
![]()
© 2002 - 2018 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2016 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.
Acknowledgements
Use of PokéCommunity Assets
vB Optimise by DragonByte Technologies Ltd © 2023.