I have testing on debug mode,
And making a event with switches event on page 2 for trigger a switch...but still give me a infinite code reedem after close pokegear...
Edit : and I getting error after put pbAddPokemon(:RATTATA, 5) below $game_switches[number]==[true]
Thank you
Like this?
class Passwords
def self.Mintpack
if $game_switches[69] == false
$DEBUG == true
$game_switches[69] == true
pbReceiveItem(:MASTERBALL)
pbMessage(_INTL("This code has been redeemed."))
Eh ..sorry for that..
I don't know if that error cause by Gen 8 move animation project,
I think this error from the plugin..
I'll double check on my project and test it again in vanilla version..
here we go, for v21+..
just change name a pictures folder to UI and replace all inside script.rb NPB plugins folder with this.
class Battle::Scene
MESSAGE_BASE_COLOR = Color.new(0, 0, 0)
MESSAGE_SHADOW_COLOR = Color.new(160, 160, 168)
end
class Battle::Scene::MenuBase
TEXT_BASE_COLOR...