Telemetius
Tele*
- 256
- Posts
- 10
- Years
- Italy
- Seen Jan 9, 2022
This must be easy but I'm having a couple problems with my encounter modifier that's supposed to allow/disallow wild encounters when a switch is ON, it basically isn't working at all.
Events.onWildPokemonCreate+=proc {|sender,e|
pokemon=e[0]
if $game_switches[100]
pbSet(variable,1)
$PokemonGlobal.nextBattleBGM=nil
$PokemonGlobal.nextBattleME=nil
$PokemonGlobal.nextBattleBack=nil
return true
end
}
Events.onWildPokemonCreate+=proc {|sender,e|
pokemon=e[0]
if $game_switches[100]
pbSet(variable,1)
$PokemonGlobal.nextBattleBGM=nil
$PokemonGlobal.nextBattleME=nil
$PokemonGlobal.nextBattleBack=nil
return true
end
}