You are not logged in.
So I want to make an encounter in Kanto for each of the legendary birds, and perhaps Mew/Mewtwo, similar to the encounters with Snorlax, Lugia and Ho-oh. Essentially I just want to walk up, hit A and get into a battle with them, and have them disappear afterwards. I know that there is code for these events for the 3 encounters I have already listed, but I am very new to scripting these things and I really have no idea what I'm doing. If you want to post an example that I could look through, perhaps have Articuno appear at the seafom islands or something like that. Thanks!
This has been asked and answered before, with a guide to how Lugia's encounter works.
Thanks for the link Rangi, I was looking over that post, but i was still just a bit confused. The only thing I have to do is copy the Lugia data to a new location, and change the pokemon?
Basically, yes. It should be clear which lines need to be changed and how.
Ok, I'm trying out including mew into the mt. silver exterior, once i finish, could i post a link and have you take a look at it and let me know if i have made any mistakes?
Also, how do i make it so there is no required item for a pokemon to appear?
By removing the line that checks for an item.
Have you tried writing the code yet? Do you have any actual errors compiling or running it? You'll make more progress by just trying what you think is correct and thinking about how to fix any issues. Then if it's really unsolvable, ask for help.
"Running into issues" doesn't provide information for anyone to help you. However, my psychic debugging skills tell me that you can't compile it because of this error message:
rgblink: error: Unknown symbol 'SPRITE_MEW'
In general, the all-caps constants are defined in the files in the "constants" directory. Since this is a sprite constant, it should be clear which file to define it in, along with the other constants like SPRITE_LUGIA and SPRITE_SUICUNE.
One detail that isn't obvious: you'll also need to update the SpriteMons list in engine/overworld.asm. It's a list of Pokémon species constants that corresponds to the list of Pokémon sprite constants. (Maybe you figured out how to define SPRITE_MEW but missed this part, so your ROM compiles and runs but Mew has the wrong sprite?)
Last edited by Rangi (2017-05-02 02:28:35)