...
OKAY.
I NEED HELP GETTING THIS POKEMART WORKING.
Details:
I copied over the script from my other pokemart (the one that works) It looks like this:
@>Script: pbPokemonMart([
: : PBItems::POKeBALL,
: : PBItems::POTION,
: : PBItems::ANTIDOTE,])
@>
Then I opened up items.txt and then in RMXP opened up the mart I needed to edit. I inserted the script the same way and then copied and pasted items from items.txt in to the script. It looks like this:
pbPokemonMart([
PBItems::FRESHWATER
PBItems::ZINC
PBItems::CALCIUM
PBItems::CARBOS
PBItems::IRON
PBItems::PROTEIN
])
(Insert -> script, not just typed in that BTW)
When I go in the game and try to shop here an error message pops up that says there was an error and it will display 2 of the items, I take away items until only fresh water remains, it seems to be the only one it doesn't have a problem with.
I need help getting this to work right.
The script that works has commas in it. Your script that doesn't work doesn't have commas in.
A comma separates two items. At the moment your shop is looking to sell one item with the huge name PBItems::FRESHWATERPBItems::ZINCPBItems::CALCIUMPBIte... etc. etc. This item, quite clearly, doesn't exist.
I'm surprised there's a comma after the final item in the working script, because usually there wouldn't be one after the final item in a list like that. But if it works, don't knock it.
Hey, how can i use PokemonRoaming? For Raikou, Entei and suicune?
I haven't tried this myself, but it seems fairly simply to implement. You need to look in the scripts at PokemonRoaming. At the top you'll find this:
Code:
module PokemonRoaming
RoamingAreas={
# Keys indicate the Pokémon's current map;
# Values indicate one or more maps that the Pokémon
# will move to
# Example:
# 20 => [21, 22],
# 21 => [22, 20]
}
RoamingSpecies={
# Example:
# (Species, level, switch number)
# PBSpecies::LATIOS => [40,50],
# PBSpecies::LATIAS => [40,51]
}
end
The comments explain what to do. For the RoamingAreas, you can have any quantity of numbers in the square brackets - in the example, a pokémon currently on map 20 has a 50% chance of moving on to map 21 and a 50% chance of moving to map 22. Each map indicated here has an equal chance of being chosen to be moved to. The pokémon will move to a different map each time you do, or after you battle it and either of you flee or you're beaten (i.e. the pokémon is still free and conscious).
Make sure that, for RoamingAreas, each map that can be moved to has at least one map to move onto from there.
If you're on a particular map and more than one roamers are due to appear on that map at the same time, the game randomly chooses one of them as your encounter.
I'm not sure how to have regional roamers, but I'll bet for one that such a thing isn't included in Essentials - it's something to be added by oneself. I can see how to make the roaming circles (several lots of maps that only interconnect with themselves and not each other), but the new bit will be the ability to put a roamer into one circle or the other. Said new bit involves a modification of line 58 (the line that chooses a random map to be called the current area if the roamer doesn't already have a current area, i.e. it's newly unlocked), but maybe that's too much of a hint already to those people wanting to implement region roamers (including those who decide they want to after reading here that it's possible).
For RoamingSpecies, you have one line per roaming pokémon. You need to pick a level and a switch number for each of them. Turning the associated switch on (e.g. as part of the "unfrozen from statues" event) will mean the pokémon begins roaming. Turning it off for whatever reason (e.g. you've caught it, you've sealed it back into a statue, etc.) will stop that roaming encounter. You can have multiple switches on or off at the same time.
All pokémon change their positions at the same time, even if it's caused by a battle and you only faced one of them.
See where the commas are in the brackets (at the end of each line except the final line of each section), and between each number within each line. Well, you can see where they are. Keep that trend going.