For question number 2, what if i want the player to talk to the prof. and the rival comes up and challenges him during the prof. event?
attacker=@battlers[index]
def pbEnemyShouldWithdraw?(index)
attacker=@battlers[index]
shouldswitch=false
typecheck=false
movetype=-1
After line 506 in PokeBattle_AI (def pbEnemyShouldWithdraw?(index)), add this to a new line:
It should look like this:Code:attacker=@battlers[index]
Code:def pbEnemyShouldWithdraw?(index) attacker=@battlers[index] shouldswitch=false typecheck=false movetype=-1
1) I implemented my own Day/Nite system, the problem is the effect happens everywhere..But I want it to only happen outdoors. Any ideas?
Has anyone got that FR/LG/R/S/E exclamation mark animation that appears over the people's heads?
Have it run on a switch. Call the switch something like "Outside."
When you go into a house, turn the switch off and tint the screen back up to 100, then when you leave the house, just turn back on the switch and call your tint.
Houndoomed, not sure if ya still need it, but :
Sorry about the size, it's straight from a default Rm2k3 animation lol.