6.4 update (minus sprites)

This commit is contained in:
infinitefusion
2024-12-21 09:43:11 -05:00
parent f70c2cfde4
commit 1e325366d2
1717 changed files with 140299 additions and 27845 deletions

View File

@@ -235,8 +235,23 @@ def pbTrainerPC
pbSEPlay("PC close")
end
def checkPorygonEncounter
porygon_chance = 200
if $PokemonGlobal.stepcount % porygon_chance == 0
pbSEPlay("Paralyze3")
pbWait(12)
pbMessage(_INTL("Huh? The PC glitched for a second while it booted."))
pbMessage(_INTL("Did something make its way into the PC?"))
pbWait(8)
pbAddPokemonSilent(:PORYGON,1)
$PokemonGlobal.stepcount += 1
end
# code here
end
def pbPokeCenterPC
pbMessage(_INTL("\\se[PC open]{1} booted up the PC.",$Trainer.name))
checkPorygonEncounter()
command = 0
loop do
commands = PokemonPCList.getCommandList