Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
Our weekly protagonist poll is now up! Vote for your favorite Conquest protagonist in the poll by clicking here.
Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.
I've heard and seen in many places that there's 1200 and up and I've seen it working, plus there's someone who's specifically said not to use 200 - 2FF, so I guess I'll just give up! It wasn't gonna get anywhere anyways!
I've heard and seen in many places that there's 1200 and up and I've seen it working, plus there's someone who's specifically said not to use 200 - 2FF, so I guess I'll just give up! It wasn't gonna get anywhere anyways!
Also, was there's the follump tutorials where he uses 1200, but maybe that's just for pokescript? I mean I've used them before, but it may have been in pokescript!
Also, was there's the follump tutorials where he uses 1200, but maybe that's just for pokescript? I mean I've used them before, but it may have been in pokescript!
That tutorial is 7 years old. Maybe the flag appears to work, but all you're doing using it is overwriting arbitrary RAM that's being used for something else. It's not safe at all, and it's the reason a lot of old hacks have problems like bad eggs.
I'm playing with the getplayerpos command atm. Can anyone tell me if there's a more simplified way I can write this script? The idea is the NPC says something to you based on which direction you're talking to him from.
I'm playing with the getplayerpos command atm. Can anyone tell me if there's a more simplified way I can write this script? The idea is the NPC says something to you based on which direction you're talking to him from.
That's pretty much how you're meant to do it, but one thing is that you should avoid is using the vars around 4020. The one you're using is also used as a pedometer. Here's a list you can refer to to make sure you're using the correct vars.
That's pretty much how you're meant to do it, but one thing is that you should avoid is using the vars around 4020. The one you're using is also used as a pedometer. Here's a list you can refer to to make sure you're using the correct vars.
#org @1
= Mom: \v\h01! You're finally awake.\nI've been up all night. It was\lhard to sleep when I thought\labout you and your father\lleaving...\pNevermind that! Today\nis finally the day. Come on over\lhere so I don't have to keep\lshouting!
#org @2
= Dad:\v\h01, it's been fun teaching\nyou over the years. However, it\lis now time for you to use\lyour knowledge. You now have\lthe opportunity to set out into\lthe world and achieve whatever\lyou wish to achieve. Enough\ltalk, go ahead. What Pokemon do\lyou want?
#org @3
= Real quick, before I forget like\nall of the bad moms out there,\ltake these. They're everywhere, so\lI don't think you need the\lexplanation for the 12 millionth\ltime.
#org @5
= Ah, Chimchar, good choice.\nChimchar is a great fighter and\lit's fast. I hope you treat it\lwell.
#org @received
= \v\h01 received their first\nPokemon!
#org @received1
= \v\h01 received their first\nPokemon!
#org @received2
= \v\h01 received their first\nPokemon!
#org @received3
= \v\h01 received their first\nPokemon!
#org @received4
= \v\h01 received their first\nPokemon!
#org @6
= Dad:Well, there isn't much left to\ldo here now. Best of luck to\lboth of you. I love both of you\lwith all of my heart. Always\lremember that. Chansey, teleport!
#org @6a
= Dad:Well, there isn't much left to\ldo here now. Best of luck to\lboth of you. I love both of you\lwith all of my heart. Always\lremember that. Chansey, teleport!
#org @6b
= Dad:Well, there isn't much left to\ldo here now. Best of luck to\lboth of you. I love both of you\lwith all of my heart. Always\lremember that. Chansey, teleport!
#org @6c
= Dad:Well, there isn't much left to\ldo here now. Best of luck to\lboth of you. I love both of you\lwith all of my heart. Always\lremember that. Chansey, teleport!
#org @6d
= Dad:Well, there isn't much left to\ldo here now. Best of luck to\lboth of you. I love both of you\lwith all of my heart. Always\lremember that. Chansey, teleport!
#org @7
= Mom: *Sniff*\pHurry up and leave before I make\nyou stay sweetie. Just go.
#org @7d
= Mom: *Sniff*\pHurry up and leave before I make\nyou stay sweetie. Just go.
#org @7c
= Mom: *Sniff*\pHurry up and leave before I make\nyou stay sweetie. Just go.
#org @7b
= Mom: *Sniff*\pHurry up and leave before I make\nyou stay sweetie. Just go.
#org @7a
= Mom: *Sniff*\pHurry up and leave before I make\nyou stay sweetie. Just go.
#org @8
= Chespin is definitely a nice\nPokemon. A nice sturdy brute that\lwill be sure to help on your\ljourney.
#org @9
= Mudkip is popular among people.\nThey tend to liek them for some\lreason.
#org @10
= Bidoof is simply the greatest\nPokemon to ever walk the Earth. To\lnot pick this Pokemon would baffle\lme.
#org @11
= Rattata is a fierce Pokemon. If\nyou equip it with a focus sash and\luse endeavor with quick attack, it\lwill strike FEAR into opponents'\lhearts.
#org @nickname
= Would you like to nickname this\nPokemon?
#org @nickname1
= Would you like to nickname this\nPokemon?
#org @nickname2
= Would you like to nickname this\nPokemon?
#org @nickname3
= Would you like to nickname this\nPokemon?
#org @nickname4
= Would you like to nickname this\nPokemon?
#org @1
= Mom: \v\h01! You're finally awake.\nI've been up all night. It was\lhard to sleep when I thought\labout you and your father\lleaving...\pNevermind that! Today\nis finally the day. Come on over\lhere so I don't have to keep\lshouting!
#org @2
= Dad:\v\h01, it's been fun teaching\nyou over the years. However, it\lis now time for you to use\lyour knowledge. You now have\lthe opportunity to set out into\lthe world and achieve whatever\lyou wish to achieve. Enough\ltalk, go ahead. What Pokemon do\lyou want?
#org @3
= Real quick, before I forget like\nall of the bad moms out there,\ltake these. They're everywhere, so\lI don't think you need the\lexplanation for the 12 millionth\ltime.
#org @5
= Ah, Chimchar, good choice.\nChimchar is a great fighter and\lit's fast. I hope you treat it\lwell.
#org @received
= \v\h01 received their first\nPokemon!
#org @received1
= \v\h01 received their first\nPokemon!
#org @received2
= \v\h01 received their first\nPokemon!
#org @received3
= \v\h01 received their first\nPokemon!
#org @received4
= \v\h01 received their first\nPokemon!
#org @6
= Dad:Well, there isn't much left to\ldo here now. Best of luck to\lboth of you. I love both of you\lwith all of my heart. Always\lremember that. Chansey, teleport!
#org @6a
= Dad:Well, there isn't much left to\ldo here now. Best of luck to\lboth of you. I love both of you\lwith all of my heart. Always\lremember that. Chansey, teleport!
#org @6b
= Dad:Well, there isn't much left to\ldo here now. Best of luck to\lboth of you. I love both of you\lwith all of my heart. Always\lremember that. Chansey, teleport!
#org @6c
= Dad:Well, there isn't much left to\ldo here now. Best of luck to\lboth of you. I love both of you\lwith all of my heart. Always\lremember that. Chansey, teleport!
#org @6d
= Dad:Well, there isn't much left to\ldo here now. Best of luck to\lboth of you. I love both of you\lwith all of my heart. Always\lremember that. Chansey, teleport!
#org @7
= Mom: *Sniff*\pHurry up and leave before I make\nyou stay sweetie. Just go.
#org @7d
= Mom: *Sniff*\pHurry up and leave before I make\nyou stay sweetie. Just go.
#org @7c
= Mom: *Sniff*\pHurry up and leave before I make\nyou stay sweetie. Just go.
#org @7b
= Mom: *Sniff*\pHurry up and leave before I make\nyou stay sweetie. Just go.
#org @7a
= Mom: *Sniff*\pHurry up and leave before I make\nyou stay sweetie. Just go.
#org @8
= Chespin is definitely a nice\nPokemon. A nice sturdy brute that\lwill be sure to help on your\ljourney.
#org @9
= Mudkip is popular among people.\nThey tend to liek them for some\lreason.
#org @10
= Bidoof is simply the greatest\nPokemon to ever walk the Earth. To\lnot pick this Pokemon would baffle\lme.
#org @11
= Rattata is a fierce Pokemon. If\nyou equip it with a focus sash and\luse endeavor with quick attack, it\lwill strike FEAR into opponents'\lhearts.
#org @nickname
= Would you like to nickname this\nPokemon?
#org @nickname1
= Would you like to nickname this\nPokemon?
#org @nickname2
= Would you like to nickname this\nPokemon?
#org @nickname3
= Would you like to nickname this\nPokemon?
#org @nickname4
= Would you like to nickname this\nPokemon?
I hope that you're aware that you can call the same message to any parts of your script. You can even call previous texts on your new script as long as you know their offset address...
So there's no need to repeat the same lines of text over and over again.
Anyway, I copy+pasted your script and tried compiling it, and the first error it gave me was this...
Spoiler:
Just remove that Rattata text in there.
And finally...these...
Spoiler:
You spelled "received" wrong on these.
Those were the only errors I encountered with your script.
But seriously though, remove those identical lines of texts so you don't have to eat a whole bunch of space in your ROM. In scripting, texts eat a lot of space in the ROM. :/
With the pointing to something more than once thing, that's what I thought at first. When the script wasn't working I went through and repeated them, but forgot to save my script first. Good to know now though. :)
I'm still getting the weird "Too many parameters on line 60" thing. I've been looking all over but haven't found anything on it.
With the pointing to something more than once thing, that's what I thought at first. When the script wasn't working I went through and repeated them, but forgot to save my script first. Good to know now though. :)
I'm still getting the weird "Too many parameters on line 60" thing. I've been looking all over but haven't found anything on it.
#org @1
=Mom: \v\h01! You're finally awake.\nI've been up all night. It was\lhard to sleep when I thought\labout you and your father\lleaving...\pNevermind that! Today\nis finally the day. Come on over\lhere so I don't have to keep\lshouting!
#org @2
= Dad:\v\h01, it's been fun teaching\nyou over the years. However, it\lis now time for you to use\lyour knowledge. You now have\lthe opportunity to set out into\lthe world and achieve whatever\lyou wish to achieve. Enough\ltalk, go ahead. What Pokemon do\lyou want?
#org @3
= Real quick, before I forget like\nall of the bad moms out there,\ltake these. They're everywhere, so\lI don't think you need the\lexplanation for the 12 millionth\ltime.
#org @5
= Ah, Chimchar, good choice.\nChimchar is a great fighter and\lit's fast. I hope you treat it\lwell.
#org @received
= \v\h01 received their first\nPokemon!
#org @6
= Dad:Well, there isn't much left to\ldo here now. Best of luck to\lboth of you. I love both of you\lwith all of my heart. Always\lremember that. Chansey, teleport!
#org @7
= Mom: *Sniff*\pHurry up and leave before I make\nyou stay sweetie. Just go.
#org @8
= Chespin is definitely a nice\nPokemon. A nice sturdy brute that\lwill be sure to help on your\ljourney.
#org @9
= Mudkip is popular among people.\nThey tend to liek them for some\lreason.
#org @10
= Bidoof is simply the greatest\nPokemon to ever walk the Earth. To\lnot pick this Pokemon would baffle\lme.
#org @11
= Rattata is a fierce Pokemon. If\nyou equip it with a focus sash and\luse endeavor with quick attack, it\lwill strike FEAR into opponents'\lhearts.
#org @nickname
= Would you like to nickname this\nPokemon?
That tutorial is 7 years old. Maybe the flag appears to work, but all you're doing using it is overwriting arbitrary RAM that's being used for something else. It's not safe at all, and it's the reason a lot of old hacks have problems like bad eggs.
#org @1
=Mom: \v\h01! You're finally awake.\nI've been up all night. It was\lhard to sleep when I thought\labout you and your father\lleaving...\pNevermind that! Today\nis finally the day. Come on over\lhere so I don't have to keep\lshouting!
#org @2
= Dad:\v\h01, it's been fun teaching\nyou over the years. However, it\lis now time for you to use\lyour knowledge. You now have\lthe opportunity to set out into\lthe world and achieve whatever\lyou wish to achieve. Enough\ltalk, go ahead. What Pokemon do\lyou want?
#org @3
= Real quick, before I forget like\nall of the bad moms out there,\ltake these. They're everywhere, so\lI don't think you need the\lexplanation for the 12 millionth\ltime.
#org @5
= Ah, Chimchar, good choice.\nChimchar is a great fighter and\lit's fast. I hope you treat it\lwell.
#org @received
= \v\h01 received their first\nPokemon!
#org @6
= Dad:Well, there isn't much left to\ldo here now. Best of luck to\lboth of you. I love both of you\lwith all of my heart. Always\lremember that. Chansey, teleport!
#org @7
= Mom: *Sniff*\pHurry up and leave before I make\nyou stay sweetie. Just go.
#org @8
= Chespin is definitely a nice\nPokemon. A nice sturdy brute that\lwill be sure to help on your\ljourney.
#org @9
= Mudkip is popular among people.\nThey tend to liek them for some\lreason.
#org @10
= Bidoof is simply the greatest\nPokemon to ever walk the Earth. To\lnot pick this Pokemon would baffle\lme.
#org @11
= Rattata is a fierce Pokemon. If\nyou equip it with a focus sash and\luse endeavor with quick attack, it\lwill strike FEAR into opponents'\lhearts.
#org @nickname
= Would you like to nickname this\nPokemon?
There is an extra space in your script on line 60. I removed it and it compiled successfully into a clean FR ROM.
Check and see if that's what caused your error.
Idk why you'd be sarcastic with someone who was trying to help you.
The flags used by the setflag command begin at offset 0xEE0 of a specific saveblock. Variables begin at 0x1000 of the same saveblock. If you do the math, it is clear that 0x1200 isn't a valid flag unless the check/set/clear flag routines are changed, and this isn't even accounting for flags that are used by things other than generic overworld scripting.
The fact that you script still doesn't work does not make chrunch wrong, it means that you made multiple errors in your script, so maybe you shouldn't be so rude about it. My suggestion? Maybe you mixed up the number 11 in A-Map and 0x11 in your script, and that your other events only worked by the pure coincidence that decimal and hex matched up for their numbers.
Idk why you'd be sarcastic with someone who was trying to help you.
The flags used by the setflag command begin at offset 0xEE0 of a specific saveblock. Variables begin at 0x1000 of the same saveblock. If you do the math, it is clear that 0x1200 isn't a valid flag unless the check/set/clear flag routines are changed, and this isn't even accounting for flags that are used by things other than generic overworld scripting.
The fact that you script still doesn't work does not make chrunch wrong, it means that you made multiple errors in your script, so maybe you shouldn't be so rude about it. My suggestion? Maybe you mixed up the number 11 in A-Map and 0x11 in your script, and that your other events only worked by the pure coincidence that decimal and hex matched up for their numbers.
I was being sarcastic with him because he gave me attitude, and the "help" he gave me didn't do anything. He was rude before me. But of course, it's only rude when I do it. I was defending myself, and I used sarcasm, big whoop. And actually, yes, he is wrong. His suggestion didn't work.
So what you think went wrong is what? That I messed something up? Could you give me a solution? The actual sprite of Oak says 3 and in the script it says the same, the equivalent for Leaf is 11, and 11 does not work. Do I use B? Or 0B? I tried, but they don't seem to be working!
And it's actually not clear at all that 1200 isn't valid when it's been used and it's worked. What math are you talking about?
I was being sarcastic with him because he gave me attitude, and the "help" he gave me didn't do anything. He was rude before me. But of course, it's only rude when I do it. I was defending myself, and I used sarcasm, big whoop. And actually, yes, he is wrong. His suggestion didn't work.
So what you think went wrong is what? That I messed something up? Could you give me a solution? The actual sprite of Oak says 3 and in the script it says the same, the equivalent for Leaf is 11, and 11 does not work. Do I use B? Or 0B? I tried, but they don't seem to be working!
And it's actually not clear at all that 1200 isn't valid when it's been used and it's worked. What math are you talking about?
Uhh I don't interpret anything he posted here as being "rude" to you, but whatever. And no, he was not wrong. Like I said, the fact that it still didn't work only means that there were multiple errors.
What I'm saying is that you may have made a hex conversion error. 11 is not the same thing as 0x11. 0x11 is 17. 11 is 0xB. On the other hand, 0x3 is the same as 3, which is why your Oak script works without converting to hex. If you are correctly converting to hex, then I don't know what the issue is.
Math:
offset 0x1000 - offset 0xEE0 = 0x120 bytes
0x120 bytes times 8 bits per byte = 0x900 bits/flags
Using the flag routine for a number beyond 0x900 would write to/reads from an area of the saveblock used for variables.
I was being sarcastic with him because he gave me attitude, and the "help" he gave me didn't do anything. He was rude before me. But of course, it's only rude when I do it. I was defending myself, and I used sarcasm, big whoop. And actually, yes, he is wrong. His suggestion didn't work.
So what you think went wrong is what? That I messed something up? Could you give me a solution? The actual sprite of Oak says 3 and in the script it says the same, the equivalent for Leaf is 11, and 11 does not work. Do I use B? Or 0B? I tried, but they don't seem to be working!
And it's actually not clear at all that 1200 isn't valid when it's been used and it's worked. What math are you talking about?
The entirety of the hacking community has agreed that those flags are unsafe, with actual research and proof to back it up. You're not some special snowflake who's just cracked the mystery of flags, if you think everyone except you is wrong why don't you give us a reason as to why other than "it's worked"?