![]() |
Quote:
I just recently read about the flag part, so I'm gonna set flag 0x7 for him, and put his people ID like that... Will that work? |
Quote:
#dynamic 0x800000 for example ;) And flag 0x7 is small flag... so it might be used in game... |
Quote:
'--------------- #dynamic 0x777777 #org 0xABCDEF msgbox 0x8ABCFED 0x2 '"[player] received a MEW!" givepokemon 0x97 0x5 0x8D 0x0 0x0 0x0 closeonkeypress msgbox 0x8111111 0x2 '"That is all, goodbye." closeonkeypress fadescreen 0x1 hidesprite 0xFE fadescreen 0x0 setflag 0x7 end '--------- ' Strings '--------- #org 0xABCFED = [player] received a MEW! #org 0x111111 = That is all, goodbye. This would, of course, also have his people ID as 0007. So, would that work:? <-I like that smiley! (:?) |
Apply Movement-- Don't get it...
So i made an apply movment script but when my guy steps on it nothing happens.
The one i made before made the bag from professor Birch's attack appear over and over and doesn't make the other sprite appear. SCRIPT: #dynamic 0x808455 #org @start checkflag 0x828 if 0x1 goto @done msgbox @1 0x6 applymovement 0x08 @move waitmovement 0x0 pause 0x20 msgbox @2 0x6 release end #org @done msgbox @3 0x6 showsprite 0x903 release end #org @move #raw 0x01 #raw 0xFE #org @1 = ???: Hmmmm...\nI see you defeated the gym leader\l... #org @2 = ???: Theres something outside\nI think you should take a look\l... #org @3 = ???: There's no way a novie like\nyou can resist a Rock Tomb\l... I put everything where it's supposed, at least I'm pretty sure. I set the flags in the Person ID and made sure that the event numbers are what they should be. What should I do? Script Info Person Info Show Sprite Info Unknown: 0300 Person Event Number: 8 Person Event Number:9 Var Number: 4050 Person ID: 0000 Person ID: 0903 Var Value: 0000 Unknown: 00 00 |
I've got this script for the starter part ( 1st beta ) of my game. When you activate the script everything works perfectly, you go into battle, when you win your rival goes off in a huff and then the script ends. Everything seems okay but as soon as you walk on the tile that initially started the script the game freezes up with the music continuing. Help appreciated :)
#dynamic 0x71D800 #org @qetuo checkflag 0x201 if 0x0 goto @igdub21 if 0x1 goto @ftfbtdi end #org @igdub21 lock applymovement 0x01 @abcdefg waitmovement 0x0 msgbox @wtfdygap 0x6 trainerbattle 0x1 0x146 0x0 @GoJUKKK @aigmawls @aftertehbattle end #org @aftertehbattle msgbox @woahuabmismpw 0x6 applymovement 0xFF @imoves applymovement 0x01 @hemoves waitmovement 0x0 hidesprite 0x01 setflag 0x201 release end #org @ftfbtdi end #org @abcdefg #raw 0x12 0x12 0x12 0x12 0x12 0x12 0x11 0x11 0x12 0x62 0xFE #org @wtfdygap = [RIVAL]: Excuse me, your blocking\nmy path.\l...\lWHAT!!!\lYou got a pokemon!\lYou...you...your the new\lguy though. You just got here.\lKray dosen't even know you.\lYou're not ready, you've had no\lpreparation ... ... ...\lNo preparation makes for an easy\lwin. This battles mine! #org @GoJUKKK = [RIVAL]: Go my special pokemon! #org @aigmawls = [RIVAL]: But...but...my preparation... #org @woahuabmismpw = [RIVAL]: What!?!\nYou fluked a win!?!\lThis can't be.\lBeaten by the new kid.\lWell I'll train more and beat you\lnext time I see you.\lI'm off anyway.\lProffessor Kray has something for me. #org @imoves #raw 0x10 0x01 0xFE #org @hemoves #raw 0x23 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0xFE Thanks in advance :D |
Can you add how to make a script. Like Where you have to chose hitmonlee or hitmonchan.
Because I really need help with that. So could you please add it to your tutorial :) |
Quote:
And I'd also like to note that there is a thread for all your scripting problems. Edit: @Irish Chameleon: Spoiler:
There's no need for the "if 0x0 goto..." the script simply continues in the same header if the flag isn't set And you should make your pointers simple. They're way too confusing. |
Hey guys,
I was just wondering if there is anything wrong with my script. It keeps giving an error about an unknown error: Unknown keyword " setvar" at line 10. Here is the script: HTML Code:
Line ten is "setvar 0x8007 3" Any Ideas?? Greatly appreciated~ BTW I'm making an earthquake script |
Thanks Binary helps a lot :)
and I make my pointers long and weird to make sure i never use it again by accident in another script :):):) very helpful advice though :) |
Quote:
|
Quote:
|
Thanks for the fixes guys, but the error moved onto line 12 "waitspecial". =.=
|
That is because waitspecial isn't a command... use waitstate
(A good way to tell if the command you are typing is correct... type the command and press space, if the yellow box saying "No Parameters Required" pops up, it is a command... waitspecial isn't one.) |
Quote:
|
Spoiler:
Besides that part, everything's right. Man, you guys should post in the script help thread -.- |
Damn i read all this and the only thing i can do is make simple messages... I NEED HELP BIGTIME... my msn is [email protected] ... and i made a thread askin 4 help please help...please....T_T
|
Hlp!
I made a script to get a guy to give you a pokemon as you walk out of pallet town and this is what i got
Spoiler:
But when i do the game will freeze when he starts walkin toward me or will freeze when he starts talking i did the unknown and Var thing just like the pic showed but i cant get it |
@pringles_king:
Spoiler:
|
@binary
omg ty but i gotta ask do i use 0xFE after EVERY raw or just the first one? |
How do I tell what codes are for what area in the game and for what people?
|
Quote:
Spoiler:
Quote:
|
Hey, uhmm, whats the best offset to start searching for free space?
|
@Fr0z3n: 0x800000 I suppose. Use FSF.
|
@Pearlone: Script please and maybe you overwrote a used offset.
|
#Dynamic 0x800010
#ORG @main Lock FacePlayer Message @Speak BoxSet 0x6 Release End release end #org @Speak = Hi, I'm Andy.\n I came from Johto. |
| All times are GMT -8. The time now is 8:11 PM. |
![]()
© 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.