• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Recent content by ThatWelshOne_

  1. ThatWelshOne_

    NPC meant to check the type of your pokemon causes crash

    When you do pbChoosePokemon, the first argument is the game variable the selected Pokémon's data is saved to, in this case we used game variable 1. You can retrieve the Pokémon we selected and have it learn a move like this: pkmn = pbGetPokemon(1) pkmn.learn_move(:THUNDER) This has the...
  2. ThatWelshOne_

    NPC meant to check the type of your pokemon causes crash

    The proc bit needs to be surrounded by curly brackets - { and } - and you're missing one closing bracket. Even with those changes, I don't think PBTypes exists in v19+. You could try this: pbChoosePokemon(1, 3, proc { |pkmn| pkmn.hasType?(:FIGHTING) } )
  3. ThatWelshOne_

    [Scripting Question] Night time/Darkness

    You could probably use a fog to simulate darkness. https://youtu.be/S6LICQe3uL0
  4. ThatWelshOne_

    [Scripting Question] Change Surf BGM

    Look in PBS/metadata.txt
  5. ThatWelshOne_

    Modern Quest System + UI (v19)

    Hello! Your quest data should look like this: Quest1 = { :ID => "1", :Name => "Getting Started", :Stage1 => "Visit Professor Luca", :Stage2 => "Choose a Pokémon", :Stage3 => "Say goodbye to grandpa", :Location1 => "Wahala Bay", :Location2 => "Luca´s Laboratory", :Location3 =>...
  6. ThatWelshOne_

    Simple item crafting system + interface (v18 & v19)

    I think you would just do $game_variables[123] +=volume if isConst?(item,PBItems,:POTION) instead.
  7. ThatWelshOne_

    Simple item crafting system + interface (v18 & v19)

    Hello, everyone! I've just updated this resource as well to make the screen fade in/out look better. Both the v18 and v19 versions have been updated. Download the resource again to get these changes. Thanks!
  8. ThatWelshOne_

    Encounter list UI (v19)

    Hello, everyone! This resource has been updated to fix a bug with the sprite tone not updating properly, and to make the screen fade in/out more naturally. Download the resource again to get these changes. Enjoy!
  9. ThatWelshOne_

    [Scripting Question] Simple Help (Check All Fainted)

    In v19, you can check if all the player's Pokémon are fainted using $Trainer.all_fainted? (returns true if there are no usable Pokémon in the player's party).
  10. ThatWelshOne_

    [Eventing Question] Random item event

    Evolution stones should be included. If you meant mega evolution stones, then use this (also no longer excludes TMs and HMs): arr = [] GameData::Item.each { |s| arr.push(s.id) if !s.is_key_item? } if pbItemBall(arr.sample) pbSetEventTime # Start timer until next time player can receive an...
  11. ThatWelshOne_

    [Eventing Question] Random item event

    There are a few different ways you could do this. Here's how I would do it. Since this is an event that resets at midnight (presumably), you can look at how Kurt works in the example maps. The first event page for your item ball might look like this (I've used script commands, but some of this...
  12. ThatWelshOne_

    Modern Quest System + UI (v19)

    If you're using the default Essentials pause menu, then you might not have set it up properly because it works fine for me. Here's my UI_PauseMenu script. I've indicated the new lines relating to the quest UI by # Edit
  13. ThatWelshOne_

    Modern Quest System + UI (v19)

    This resource can be used to add a flexible quest system to your game, together with an HGSS-inspired UI for viewing quest information! This is a heavily edited version of mej71's original implementation for earlier versions of Pokémon Essentials. Other credits go to derFischae for upgrading and...
  14. ThatWelshOne_

    Triple Triad Booster Pack

    Well, the error says that you're trying to call the method size on something that's nil. My guess would be that that something shouldn't be nil. I'm not sure why that would happen. Maybe FL can tell us.
  15. ThatWelshOne_

    Triple Triad Booster Pack

    Nice, dude! Glad to have helped. I see that the getSpeciesOfType method at the end of the script isn't working? Funnily enough, I wrote something like this recently! The following bit of code returns a random species of the given type. You can get it to return an array of all species of the...
Back
Top