In the PokeBattle_ActualScene area of the script, i added (lines 1409-1413)
Code:
if @outdoor
pbDayNightTint(@sprites["battlebg"])
pbDayNightTint(@sprites["enemybase"])
pbDayNightTint(@sprites["playerbase"])
end
to the end of the pbBackdrop section, but when it's night the background doesn't change. Am I missing something blindingly obvious, because this is one of my first time adding bits to the script. I haven't added in any graphics for the night time backgrounds, because I assumed that's what the tint would do.
That looks somewhat different to what's commented out in my version. I have this:
Code:
if outdoor
tone = $HourlyTones[Time.now.hour]
@sprites["battlebg"].tone=tone
@sprites["enemybase"].tone=tone
@sprites["playerbase"].tone=tone
end
Does that work instead?
Hi, I have some ( I think ) easy questions.
1. I made a tree, that can be cut down. And I don't know how use the Badgeforcut function....
My other question to "Hidden moves" is, how can I proove that a pokemon in the party
knows this hidden move "Cut", or "Surf".
When I use Surf, it didnt matter wether there is a badge, or a pokemon, who knows this move. :(
2. I have some grunts in a building, as normal trainers. When the boss was defeated, they
should dissapear. But with an normal switch they don't.
How can I make them dissapear?
I hope someone copuld help me with this...It would be very nice.
1. When interacting with a tree, rock, boulder or water's edge, a check is done automatically to see if any of your pokémon know the appropriate move (Cut, Rock Smash, Strength, Surf respectively). I believe this also happens for Dive when interacting with deep water. The script pbCheckMove is used (Pokemon Field, line 1591 onwards), and just below that script is what happens when you interact with a tree.
I presume you're wondering how to tell whether you have a pokémon that knows the move, or whether the tree is being cut down, etc. just because you're in Debug mode. The way to tell is the message that shows up: if it says "Scyther used Cut!" then you have a Scyther that knows the move. If it says "??? used Cut", then you have no pokémon with the required move ("???" is actually the name of the pokémon with National Dex number 0).
Note that it'll only find the first pokémon with that move, and use it. If you have a Scyther and a Charmeleon that both know Cut, but Scyther is before Charmeleon in your party, Scyther will always be used to cut down trees. It can't tell you how many of your pokémon knows a particular move - the pbCheckMove script only checks to see if at least one of your party knows it.
Alternatively, you can play the game on its own (i.e. not in Debug mode) and see if you can still do the same thing.
2. When you defeat the boss, make his event turn on a switch called "Boss at Silph Co defeated" or similar. In each grunt event, make a new page and have it completely blank (i.e. you can walk through it, there's no picture and it does nothing if you interact with it), and that page is activated only when that switch is turned on.
Note that the switch is a global one, not a self switch.