The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Creative Discussions > Game Development > Pokémon Essentials
Sign Up Rules/FAQ Live Battle Blogs Mark Forums Read

Notices

Pokémon Essentials All questions and discussion about Pokémon Essentials, the Pokémon game kit for RPG Maker XP, go in here. Also contains links to the latest downloads and the Essentials Wiki.


Reply
Click here to go to the first staff post in this thread.  
Thread Tools
  #1    
Old September 3rd, 2013, 08:41 AM
AmethystRain's Avatar
AmethystRain
Crystaline
 
Join Date: Apr 2012
Gender: Female
This should maybe also go in the Bug/Reporting topic but I'd like to get a fix worked out somewhat quickly if possible--

Tested in a clean version 12 Essentials, the player can ride their bike into Tall Grass (as in, the kind from 3rd gen that you're not supposed to be able to bike through), but then becomes stuck and cannot leave the grass (without dismounting).



Basically, the way the script works out with the terrain tag, it seems that the grass is passable with a bike, until you're actually in it. If that makes sense?



One spot in, can't escape.

I believe this is the relevant script section, from Game_Map on 190
Quote:
elsif @terrain_tags[tile_id]==PBTerrain::TallGrass &&
$PokemonGlobal.bicycle && self_event==$game_player
return false
Does anyone have a solution?
__________________
With Love, Your Shadow~
Proud owner of Reborn and spearhead of the Pokemon Reborn game~
Reply With Quote
  #2    
Old September 3rd, 2013, 01:34 PM
Nickalooose
--------------------
 
Join Date: Mar 2008
Gender: Female
That's easy:
Code:
      elsif Kernel.pbFacingTerrainTag==PBTerrain::TallGrass &&
         $PokemonGlobal.bicycle && self_event==$game_player
        return false
EDIT:
Just replace the lines you found with these ones lol.
Reply With Quote
  #3    
Old September 3rd, 2013, 02:15 PM
Maruno's Avatar
Maruno
Lead Dev of Pokémon Essentials
 
Join Date: Jan 2008
Location: England
Don't you think it's fun to be able to cycle into tall grass and get stuck?
__________________
Reply With Quote
  #4    
Old September 3rd, 2013, 05:54 PM
jim42's Avatar
jim42
 
Join Date: Jul 2009
Gender: Male
As long as you'r eable to get out by dismounting the bike and walking, actually getting stuck in long grass would make more sense than just bumping into some invisible wall.
Reply With Quote
  #5    
Old September 4th, 2013, 09:29 AM
Nickalooose
--------------------
 
Join Date: Mar 2008
Gender: Female
If you play with the code you will be able to do other things than just crash into the grass... For example if you're at top speed, make the player "fall" off and white out lmao.
Personally I prefer riding in the grass at slower speed than just getting stuck, but each to their own.

You could drop a message saying, "the grass is long, get off bike?"... "don't be silly, I can't ride through grass that's longer than my hair."... "did you know this is a bicycle not a lawn-mower?!".

Just because the line I added made you stop immediately, doesn't mean you have to have that as "what it does".
Reply With Quote
  #6    
Old September 4th, 2013, 04:57 PM
zingzags's Avatar
zingzags
Creator or Pokemon Serenity
 
Join Date: Jan 2009
Location: Boston
Age: 20
Nature: Adamant
Wait so you do not want the player to be stuck in tall grass, and they are not able to mount a bike in it? Just do a check if the player is in tall grass, in the mount bike method.
__________________
Pokemon Serenity is my fangame name.
name decided 12/15/09
Currently helping:
Pokemon ebony
and
Xenotime:
Reply With Quote
  #7    
Old September 5th, 2013, 11:45 AM
AmethystRain's Avatar
AmethystRain
Crystaline
 
Join Date: Apr 2012
Gender: Female
Quote:
Originally Posted by Nickalooose View Post
That's easy:
Code:
      elsif Kernel.pbFacingTerrainTag==PBTerrain::TallGrass &&
         $PokemonGlobal.bicycle && self_event==$game_player
        return false
EDIT:
Just replace the lines you found with these ones lol.
Thank you!

Quote:
Originally Posted by Maruno View Post
Don't you think it's fun to be able to cycle into tall grass and get stuck?
Do you mean you did this on purpose? Well, it's creative but it isn't how it is in the original games, and I had been hoping to replicate that code for something else. It does make sense for a bike, but not for what I'm doing with this
__________________
With Love, Your Shadow~
Proud owner of Reborn and spearhead of the Pokemon Reborn game~
Reply With Quote
  #8    
Old September 5th, 2013, 04:58 PM
Maruno's Avatar
Maruno
Lead Dev of Pokémon Essentials
 
Join Date: Jan 2008
Location: England
Actually it was an oversight when I added the code which prevents cycling in tall grass, but it seemed fun and I didn't bother fixing it once I noticed it.
__________________
Reply With Quote
  #9    
Old September 5th, 2013, 05:15 PM
zingzags's Avatar
zingzags
Creator or Pokemon Serenity
 
Join Date: Jan 2009
Location: Boston
Age: 20
Nature: Adamant
I wish I could give a like for the comment above!
__________________
Pokemon Serenity is my fangame name.
name decided 12/15/09
Currently helping:
Pokemon ebony
and
Xenotime:
Reply With Quote
  #10    
Old October 11th, 2013, 02:43 PM
AmethystRain's Avatar
AmethystRain
Crystaline
 
Join Date: Apr 2012
Gender: Female
lolololol ame is a blonde post edited out because shes dumb feel free to delete this.
__________________
With Love, Your Shadow~
Proud owner of Reborn and spearhead of the Pokemon Reborn game~

Last edited by AmethystRain; October 27th, 2013 at 09:41 PM.
Reply With Quote
Reply
Quick Reply

Sponsored Links
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Minimum Characters Per Post: 25



All times are UTC -8. The time now is 05:40 AM.


Style by Nymphadora, artwork by Sa-Dui.
Like our Facebook Page Follow us on Twitter © 2002 - 2014 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2014 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.