• 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.

[Archive] Pokemon Essentials: Starter Kit for RPG Maker XP

Status
Not open for further replies.

crzyone9584

Pokemon: The Beginning Founder
167
Posts
15
Years
  • So you're making the Hygene system using events? When making the common event do you go just for scripts and how do you trigger the common event because it only lets me trigger it by using a defined switch and for that I can't do the timer script because it is just too large.

    I don't know anything about scripts. I'm using a common event for my hunger system. It goes by the frame rate. every x amount of frames hunger goes down by 1 or how many i set it at. The scripting will come into play when i want to add food to the poke mart that will replenish your hunger so your not hungry any more.

    Ill send my common event when i get home tonight or tomorrow afternoon sometime. I just found one and edited to get it to work with the Pokemon starter kit.

    Also Wichu while looking at your little script you posted. the higher the number is the faster the day goes correct?
     

    T3h Kaiser

    Jovial Fool
    185
    Posts
    15
    Years
  • Okay, n00b question time. What the heck does this mean? D:

    Big Stupid RPG Maker Poopoo Head said:
    Exception: RuntimeError
    Message: Failed to load bitmap: Graphics/Characters/11
    BitmapCache:195:in `load_bitmap'
    BitmapCache:235:in `character'
    Sprite_Character:62:in `update_or'
    PerspectiveTilemap:408:in `shadow_update'
    Shadow:167:in `update'
    Sprite_Character:6:in `perspectivetilemap_initialize'
    PerspectiveTilemap:404:in `shadow_initialize'
    Shadow:143:in `initialize'
    Spriteset_Map:31:in `new'
    Spriteset_Map:31:in `_animationSprite_initialize'
    Exception: RuntimeError
    Message: Failed to load bitmap: Graphics/Characters/11
    BitmapCache:195:in `load_bitmap'
    BitmapCache:235:in `character'
    Sprite_Character:62:in `update_or'
    PerspectiveTilemap:408:in `shadow_update'
    Shadow:167:in `update'
    Sprite_Character:6:in `perspectivetilemap_initialize'
    PerspectiveTilemap:404:in `shadow_initialize'
    Shadow:143:in `initialize'
    Spriteset_Map:31:in `new'
    Spriteset_Map:31:in `_animationSprite_initialize'

    yarrrrrrr, everything is where it should be so I dunno why it would be giving me this error nonsense. >_<
     
    490
    Posts
    16
    Years
    • Seen Sep 27, 2021
    This is startin to bug me but does someone know why i get this?

    Exception: NoMethodError
    Message: undefined method `nextBattleBack' for #<PokemonGlobalMetadata:0x52d8fb8>
    PokeBattle_ActualScene:1382:in `pbBackdrop'
    PokeBattle_ActualScene:1486:in `pbStartBattle'
    PokeBattle_Battle:570:in `pbStartBattleCore'
    PokeBattle_Battle:542:in `pbStartBattle'
    PokemonField:342:in `pbWildBattle'
    PokemonField:341:in `pbSceneStandby'
    PokemonField:343:in `pbWildBattle'
    PokemonField:340:in `pbBattleAnimation'
    PokemonField:340:in `pbWildBattle'
    PokemonField:646:in `pbOnStepTaken'
     

    thepsynergist

    Vinemon: Sauce Edition Programmer and Composer
    795
    Posts
    15
    Years
  • How do you make a pokemon evolve when it's happyness is = to 0? I want to have my eevee evolve when its sad, but what do I put in the PokeEvolutions script to have it do so?
     
    8
    Posts
    15
    Years
    • Seen May 20, 2011
    Hey there.
    I trying to make a Pokémon disappear when you talk to some guy (longer story)
    And i wondered, is there any other way than the following, that will delete a certain Pokémon in the party and not a Pokémon in a certain location (x).

    Here is the normal script:
    $Trainer.party.delete_at(X) where X is the Pokémon's position (starting at 0).

    What i am looking for i something that "looks like";
    $Trainer.party.delete_at(CATERPIE) for an example.
     

    @World

    Sparking Wild Bolt
    97
    Posts
    15
    Years
  • @T3h Caiser: You are missing the character graphic labeled 11, try taking another character and name him 11, and see if it works, until U figure what character that is.
    @PokemonOI: you messed with the scripts, try reverting the scipt you last edited.
    @Kamaran: Read the notes.html it should be explained there
     

    crzyone9584

    Pokemon: The Beginning Founder
    167
    Posts
    15
    Years
  • Okay, n00b question time. What the heck does this mean? D:



    yarrrrrrr, everything is where it should be so I dunno why it would be giving me this error nonsense. >_<


    I had the same problem when i deleted the intro when you choose a new came to jsut go directly to the map. I you edited the intro event just it back to what it was orginally and shoule work just fine.
     
    8
    Posts
    15
    Years
    • Seen May 20, 2011
    @World:
    Removing a Pokémon

    To remove a Pokémon from the party, use the script $Trainer.party.delete_at(X) where X is the Pokémon's position (starting at 0). For example, to remove the first Pokemon in the party, use 0 for X.

    That is all what it says.
     
    2,048
    Posts
    16
    Years
    • Seen Sep 7, 2023
    Hey there.
    I trying to make a Pokémon disappear when you talk to some guy (longer story)
    And i wondered, is there any other way than the following, that will delete a certain Pokémon in the party and not a Pokémon in a certain location (x).

    Here is the normal script:
    $Trainer.party.delete_at(X) where X is the Pokémon's position (starting at 0).

    What i am looking for i something that "looks like";
    $Trainer.party.delete_at(CATERPIE) for an example.
    Try the delete_if method.
    Code:
    $Trainer.party.delete_if {|pkmn|pkmn.species==PBSpecies::CATERPIE}
    Also Wichu while looking at your little script you posted. the higher the number is the faster the day goes correct?
    Yeah, that's right. Good luck with your hunger and fatigue systems ;)
     

    crzyone9584

    Pokemon: The Beginning Founder
    167
    Posts
    15
    Years
  • Yeah, that's right. Good luck with your hunger and fatigue systems ;)

    Thanks a lot. Hope fully by this weekend ill have the updated story ready for my game. Along with a few screen shots if i have time. I don't see why i wouldn't as long as i get my final done tomorrow.

    Now with yoru little Time.Now modification will it work with having all four seasons? and do to the time being sped up will the timed events still work as they a suppose to.

    As if today is tuesday then bug catcher event will be available?
     
    8
    Posts
    15
    Years
    • Seen May 20, 2011
    To Wichu:

    ---------------------------
    Pokemon Essentials
    ---------------------------
    Exception: RuntimeError
    Message: Script error within event 4, map 50 (House1):
    (eval):3:in `pbExecuteScript'compile error
    (eval):2: syntax error
    {|pkmn|pkmn.species==PBSpecies::CATER
    ^
    (eval):3: syntax error
    ***Full script:
    $Trainer.party.delete_if
    {|pkmn|pkmn.species==PBSpecies::CATER
    PIE}


    Interpreter:258:in `pbExecuteScript'
    Interpreter:1652:in `command_355'
    Interpreter:496:in `execute_command'
    Interpreter:190:in `update'
    Interpreter:104:in `loop'
    Interpreter:195:in `update'
    Scene_Map:100:in `update'
    Scene_Map:98:in `loop'
    Scene_Map:111:in `update'
    Scene_Map:67:in `main'
     
    2,048
    Posts
    16
    Years
    • Seen Sep 7, 2023
    Thanks a lot. Hope fully by this weekend ill have the updated story ready for my game. Along with a few screen shots if i have time. I don't see why i wouldn't as long as i get my final done tomorrow.

    Now with yoru little Time.Now modification will it work with having all four seasons? and do to the time being sped up will the timed events still work as they a suppose to.

    As if today is tuesday then bug catcher event will be available?
    I didn't add seasons; the season would be the current season in real life. Timed events will still work. Also, the day of the week is set to also change (i.e. a week will last 140 minutes). Here's a shorter script which makes the clock completely gameplay-time based:
    Code:
    def Time.now
      # Edit the 144 to change the speed of the clock.
      return Time.at((Graphics.frame_count*144)/Graphics.frame_rate)
    end
    To Wichu:

    You need to use extendtext.exe to make the script fit on a single line.
     
    8
    Posts
    15
    Years
    • Seen May 20, 2011
    Alright. That worked some of the way.

    ---------------------------
    Pokemon Essentials
    ---------------------------
    Exception: RuntimeError
    Message: Script error within event 4, map 50 (House1):
    (eval):1:in `pbExecuteScript'uninitialized constant PBSpecies::CATER
    ***Full script:
    $Trainer.party.delete_if{|pkmn|pkmn.species==PBSpecies::CATER
    PIE}

    Interpreter:238:in `pbExecuteScript'
    (eval):1:in `delete_if'
    (eval):1:in `pbExecuteScript'
    Interpreter:1652:in `eval'
    Interpreter:238:in `pbExecuteScript'
    Interpreter:1652:in `command_355'
    Interpreter:496:in `execute_command'
    Interpreter:190:in `update'
    Interpreter:104:in `loop'
    Interpreter:195:in `update'

    Interpreter:279:in `pbExecuteScript'
    Interpreter:1652:in `command_355'
    Interpreter:496:in `execute_command'
    Interpreter:190:in `update'
    Interpreter:104:in `loop'
    Interpreter:195:in `update'
    Scene_Map:100:in `update'
    Scene_Map:98:in `loop'
    Scene_Map:111:in `update'
    Scene_Map:67:in `main'

    However, when i enter the script again, it will be back to the normal size as before i extended it.
     
    2,048
    Posts
    16
    Years
    • Seen Sep 7, 2023
    Alright. That worked some of the way.

    ---------------------------
    Pokemon Essentials
    ---------------------------
    Exception: RuntimeError
    Message: Script error within event 4, map 50 (House1):
    (eval):1:in `pbExecuteScript'uninitialized constant PBSpecies::CATER
    ***Full script:
    $Trainer.party.delete_if{|pkmn|pkmn.species==PBSpecies::CATER
    PIE}

    Interpreter:238:in `pbExecuteScript'
    (eval):1:in `delete_if'
    (eval):1:in `pbExecuteScript'
    Interpreter:1652:in `eval'
    Interpreter:238:in `pbExecuteScript'
    Interpreter:1652:in `command_355'
    Interpreter:496:in `execute_command'
    Interpreter:190:in `update'
    Interpreter:104:in `loop'
    Interpreter:195:in `update'

    Interpreter:279:in `pbExecuteScript'
    Interpreter:1652:in `command_355'
    Interpreter:496:in `execute_command'
    Interpreter:190:in `update'
    Interpreter:104:in `loop'
    Interpreter:195:in `update'
    Scene_Map:100:in `update'
    Scene_Map:98:in `loop'
    Scene_Map:111:in `update'
    Scene_Map:67:in `main'

    However, when i enter the script again, it will be back to the normal size as before i extended it.

    Hmm... In that case, you should probably add a line break. Try:
    Code:
    $Trainer.party.delete_if {|pkmn|
    pkmn.species==PBSpecies::CATERPIE}
     
    8
    Posts
    15
    Years
    • Seen May 20, 2011
    That did not work either.

    ---------------------------
    Pokemon Essentials
    ---------------------------
    Exception: RuntimeError
    Message: Script error within event 4, map 50 (House1):
    (eval):2:in `pbExecuteScript'compile error
    (eval):2: syntax error
    ***Full script:
    $Trainer.party.delete_if {|pkmn|
    pkmn.species==PBSpecies::CATERPIE


    Interpreter:258:in `pbExecuteScript'
    Interpreter:1652:in `command_355'
    Interpreter:496:in `execute_command'
    Interpreter:190:in `update'
    Interpreter:104:in `loop'
    Interpreter:195:in `update'
    Scene_Map:100:in `update'
    Scene_Map:98:in `loop'
    Scene_Map:111:in `update'
    Scene_Map:67:in `main'

    It is working!

    Here is the final answer on how to delete a certain pokemon no matter its location while you have it on you.

    $Trainer.party.delete_if {|pkmn|
    pkmn.species==PBSpecies::X}

    Where X is the name of the Pokémon.
     
    Last edited:

    T3h Kaiser

    Jovial Fool
    185
    Posts
    15
    Years
  • @T3h Caiser: You are missing the character graphic labeled 11, try taking another character and name him 11, and see if it works, until U figure what character that is.

    Awesome, that worked as a temporary fix. Thanks! Now instead of Red I'm some green haired chick. Fine for now, I guess! I've always wanted to be a girl for a day. >_>

    Wonder why the Red sprite just got lost like that, though... =/

    Also interesting to note is that the map camera settings seem to be off; it's showing map that doesn't exist, and it's just black darkness. That's a problem!
     

    crzyone9584

    Pokemon: The Beginning Founder
    167
    Posts
    15
    Years
  • Awesome, that worked as a temporary fix. Thanks! Now instead of Red I'm some green haired chick. Fine for now, I guess! I've always wanted to be a girl for a day. >_>

    Wonder why the Red sprite just got lost like that, though... =/

    Also interesting to note is that the map camera settings seem to be off; it's showing map that doesn't exist, and it's just black darkness. That's a problem!


    Ill say again. Did you alter the introduction event. IF so change it back to the original the error will go away and you can delete the green haired chick. and for the map did you change the tileset or the map you wanted to go to after the intro event.
     

    T3h Kaiser

    Jovial Fool
    185
    Posts
    15
    Years
  • Ill say again. Did you alter the introduction event. IF so change it back to the original the error will go away and you can delete the green haired chick. and for the map did you change the tileset or the map you wanted to go to after the intro event.

    I removed the introduction event and changed the map, yes. But why would I want to undo that? That would be a step backwards. I'm sure there's a way to fix this without undoing what I did. =/
     

    crzyone9584

    Pokemon: The Beginning Founder
    167
    Posts
    15
    Years
  • I removed the introduction event and changed the map, yes. But why would I want to undo that? That would be a step backwards. I'm sure there's a way to fix this without undoing what I did. =/

    Yes thats what im working to. i figured out that the error is caused by deleteing the intro event. so just go through and delete little by little and eventually youll find what causes the error.
     
    Status
    Not open for further replies.
    Back
    Top