Shinyness clean up

condense redundant commands into the add command
This commit is contained in:
darkfire006 2021-09-29 18:09:41 -05:00
parent f16fee3a7a
commit 42f8f5e1a2
4 changed files with 4 additions and 8 deletions

View File

@ -47,10 +47,9 @@ version=2
@register.register(spiky) @register.register(spiky)
@pokemon.cry(172) @pokemon.cry(172)
@pokemon.add(172,50,Obtained at,161,Ilex Forest) @pokemon.add(172,50,Obtained at,161,Ilex Forest,0,<player.name>,0,0)
@pokemon.setadditionalvalue(<pokemon.count>-1,spiky-eared) @pokemon.setadditionalvalue(<pokemon.count>-1,spiky-eared)
@pokemon.setshiny(<pokemon.count>-1,0)
@pokemon.setgender(<pokemon.count>-1,1) @pokemon.setgender(<pokemon.count>-1,1)
@pokemon.clearattacks(<pokemon.count>-1) @pokemon.clearattacks(<pokemon.count>-1)
@pokemon.addattack(<pokemon.count>-1,231) @pokemon.addattack(<pokemon.count>-1,231)

View File

@ -9,10 +9,9 @@ version=2
:if:<pokemon.count>>5 :if:<pokemon.count>>5
@text.show(Oh, your party is full.~Go open some space to claim~your Pokémon!) @text.show(Oh, your party is full.~Go open some space to claim~your Pokémon!)
:else :else
@pokemon.add(172,40,A gift from Omega,45,at Kolben Tower,0,Omega) @pokemon.add(172,40,A gift from Omega,45,at Kolben Tower,0,Omega,0,1)
@text.show(Ah yes, your prize.*This Pichu is special:~I heard it was found~near the shrine in~Ilex Forest.*I wonder what happens if~you take it back there.*Anyway, here it is!) @text.show(Ah yes, your prize.*This Pichu is special:~I heard it was found~near the shrine in~Ilex Forest.*I wonder what happens if~you take it back there.*Anyway, here it is!)
@pokemon.setshiny(<pokemon.count>-1,1)
@pokemon.setgender(<pokemon.count>-1,0) @pokemon.setgender(<pokemon.count>-1,0)
@pokemon.clearattacks(<pokemon.count>-1) @pokemon.clearattacks(<pokemon.count>-1)
@pokemon.addattack(<pokemon.count>-1,344) @pokemon.addattack(<pokemon.count>-1,344)

View File

@ -22,9 +22,8 @@ version=2
@text.show(Oh, your party is full.~Go open some space to claim~your Pokémon!) @text.show(Oh, your party is full.~Go open some space to claim~your Pokémon!)
:end :end
:else :else
@pokemon.add(172,50,A gift from Omega,45,at Kolben Tower,0,Omega) @pokemon.add(172,50,A gift from Omega,45,at Kolben Tower,0,Omega,0,1)
@text.show(Ah yes, your prize.*This Pichu is special:~I found it near the Ilex~Forest shrine.*I wonder what happens if~you take it back there.*Anyway, here it is!) @text.show(Ah yes, your prize.*This Pichu is special:~I found it near the Ilex~Forest shrine.*I wonder what happens if~you take it back there.*Anyway, here it is!)
@pokemon.setshiny(<pokemon.count>-1,1)
@pokemon.setgender(<pokemon.count>-1,0) @pokemon.setgender(<pokemon.count>-1,0)
@pokemon.clearattacks(<pokemon.count>-1) @pokemon.clearattacks(<pokemon.count>-1)
@pokemon.addattack(<pokemon.count>-1,344) @pokemon.addattack(<pokemon.count>-1,344)
@ -57,9 +56,8 @@ version=2
@text.show(Oh, your party is full.~Go open some space to claim~your Pokémon!) @text.show(Oh, your party is full.~Go open some space to claim~your Pokémon!)
:end :end
:else :else
@pokemon.add(172,50,A gift from Omega,45,at Kolben Tower,0,Omega) @pokemon.add(172,50,A gift from Omega,45,at Kolben Tower,0,Omega,0,1)
@text.show(Ah yes, your prize.*This Pichu is special:~I found it near the Ilex~Forest shrine.*I wonder what happens if~you take it back there.*Anyway, here it is!) @text.show(Ah yes, your prize.*This Pichu is special:~I found it near the Ilex~Forest shrine.*I wonder what happens if~you take it back there.*Anyway, here it is!)
@pokemon.setshiny(<pokemon.count>-1,1)
@pokemon.setgender(<pokemon.count>-1,0) @pokemon.setgender(<pokemon.count>-1,0)
@pokemon.clearattacks(<pokemon.count>-1) @pokemon.clearattacks(<pokemon.count>-1)
@pokemon.addattack(<pokemon.count>-1,344) @pokemon.addattack(<pokemon.count>-1,344)