YashPokeFan123
#PokeFan
- 283
- Posts
- 4
- Years
- Seen Sep 27, 2024
What is this script you mentioned:
Code:$PokemonGlobal.nextBattleBGM="BrockBattle" # Simple text change for showing that this is the 2nd time you're challening Brock TrainerDialogue.set("battleStart","You challenge Gym Leader Brock for the 2nd time!") BattleScripting.setInScript("last",:Brock_LastPlayer) TrainerDialogue.set("turnStart0",Proc.new{|battle| # At the start of the Battle, set Geodude's item to Ring Target. # Allows the Pikachu to hit Geodude with Electric Attacks. Plot Armor 100 battle.battlers[1].item=getID(PBItems,:RINGTARGET) }) BattleScripting.setInScript("smlDamageOpp",:Brock_MockPlayer) BattleScripting.setInScript("recall",:Brock_GiveUp) TrainerDialogue.set("fainted","Are you giving up already, \\PN?") BattleScripting.setInScript("halfHP,2",:Brock_Sprinklers) TrainerDialogue.copy("lowHP,2","halfHP,2") BattleScripting.setInScript("lowHPOpp,2",:Brock_Forfeit) party = [] species = [:PIDGEOTTO,:PIKACHU] for id in species party.push(getConst(PBSpecies,id)) if hasConst?(PBSpecies,id) end # Species IDs of the Pokémon to be created for i in 0...$Trainer.party.length $Trainer.party[i]=nil end $Trainer.party.compact! for i in 0...party.length species = party[i] $Trainer.party[i] = pbNewPkmn(species,12) $Trainer.seen[species] = true # Set this species to seen and owned $Trainer.owned[species] = true end $Trainer.party[1].pbLearnMove(:AGILITY) $Trainer.party[1].pbLearnMove(:SLAM) $Trainer.party[1].pbLearnMove(:IRONTAIL) $Trainer.party[1].pbLearnMove(:THUNDERBOLT) $Trainer.party[0].pbLearnMove(:GUST) $Trainer.party[0].pbLearnMove(:WINGATTACK) $Trainer.party[0].pbLearnMove(:SANDATTACK) $Trainer.party[0].pbLearnMove(:TACKLE)
There is a TrainerDialogue.copy here.
I do Ctrl+Shift+f to search
But not find anywhere.