+ Reply to Thread
Results 1 to 10 of 10

Thread: Pokemon BW Random Encounters Lua Script

  1. #1
    Member Translation ContributorDeveloperROM Researcher
    Join Date
    Apr 2009
    Age
    24
    Posts
    305

    Pokemon BW Random Encounters Lua Script

    Pokemon BW Random Encounters Lua Script


    This is a Lua script for DeSmuME to be used with Pokemon Black and White. The Lua dlls need to be placed in the DeSmuME folder. It modifies the encounter data to make random Pokemon appear in the wild. The Pokemon are always at their first stage. Most water Pokemon appear while surfing and fishing, but some can still be found on grass. Legendary Pokemon appear in shaking grass and surfing or fishing spots. Most Pokemon with alternate forms can be found in any of their forms.

    Please report any bugs to KazoWAR@yahoo.com

    http://dl.dropbox.com/u/3706406/File...Encounters.rar

    Pokemon BW Random Encounters Lua Script 2

    This is a Lua script for DeSmuME to be used with Pokemon Black and White.
    The Lua dlls need to be placed in the DeSmuME folder.
    It modifies the encounter data to make random Pokemon appear in the wild.
    The Pokemon are found at appropriate levels. Example: Bulbasaur can be found in level ranges of 2 - 15, 16 - 31 for Ivysaur, and 32+ for Venusaur. Pokemon with evolution requirements that are not level based have a set of level ranges based on evolution requirement.
    Most water Pokemon appear while surfing and fishing, but some can still be found on grass.
    Legendary Pokemon appear in shaking grass and surfing or fishing spots.
    Most Pokemon with alternate forms can be found in any of their forms.

    Please report any bugs or suggestions to improve this script to KazoWAR@yahoo.com

    http://dl.dropbox.com/u/3706406/File...Encounters.rar
    Last edited by KazoWAR; Apr 28th, 2012 at 04:06 AM. Reason: version 2

  2. #2
    Super Moderator Translation ContributorDeveloperGame Save ResearcherROM ResearcherRAM ResearcherIRC AOPSuper Moderator
    Join Date
    May 2010
    Age
    28
    Posts
    1,035

    Re: Pokemon BW Random Encounters Lua Script

    any good spots for me to read up on lua, kazo? i've not used it before, but it seems like it could come in very handy.

  3. #3
    Member Translation ContributorDeveloperROM Researcher
    Join Date
    Apr 2009
    Age
    24
    Posts
    305

    Re: Pokemon BW Random Encounters Lua Script

    Quote Originally Posted by Bond697 View Post
    any good spots for me to read up on lua, kazo? i've not used it before, but it seems like it could come in very handy.
    Not really sure, if you all ready know a programming language, then picking up lua should be really easy. All I did was Google around for some examples to see the proper syntax for lua.

  4. #4
    Super Moderator Translation ContributorDeveloperGame Save ResearcherROM ResearcherRAM ResearcherIRC AOPSuper Moderator
    Join Date
    May 2010
    Age
    28
    Posts
    1,035

    Re: Pokemon BW Random Encounters Lua Script

    oh, ok. that sounds easy enough, thanks.

  5. #5
    Member Translation ContributorDeveloperROM Researcher
    Join Date
    Apr 2009
    Age
    24
    Posts
    305

    Re: Pokemon BW Random Encounters Lua Script

    Made a new script, instead of making a new thread I decided to just bump this one, check first post.

  6. #6
    Member
    Join Date
    Aug 2011
    Age
    22
    Posts
    1

    Re: Pokemon BW Random Encounters Lua Script

    Well playing I realized this script was sligltly off.

    I will not link to the file but Ill exlaion what is wrong.

    IT appears that KazoWAR has mixed up Beautifly min and max level with Cascoon

    So you would find Beautifly between the levels of 7 and 9 and Cascoon between 10 and 100

    a simple fix is below, just use find a fix the values...

    Code:
        elseif Pokemon == 265 then MinLevel = 2 MaxLevel = 6 GrassPokemon() -- Wurmple
        elseif Pokemon == 266 then MinLevel = 7 MaxLevel = 9 GrassPokemon() -- Silcoon
        elseif Pokemon == 267 then MinLevel = 10 MaxLevel = 100 GrassPokemon() -- Beautifly
        elseif Pokemon == 268 then MinLevel = 7 MaxLevel = 9 GrassPokemon() -- Cascoon
        elseif Pokemon == 269 then MinLevel = 10 MaxLevel = 100 GrassPokemon() -- Dustox

  7. #7
    Member Translation ContributorDeveloperROM Researcher
    Join Date
    Apr 2009
    Age
    24
    Posts
    305

    Re: Pokemon BW Random Encounters Lua Script

    thanks, ill fix it

  8. #8
    Member
    Join Date
    Apr 2012
    Age
    25
    Posts
    1

    Re: Pokemon BW Random Encounters Lua Script

    Quote Originally Posted by KazoWAR View Post
    Pokemon BW Random Encounters Lua Script


    This is a Lua script for DeSmuME to be used with Pokemon Black and White. The Lua dlls need to be placed in the DeSmuME folder. It modifies the encounter data to make random Pokemon appear in the wild. The Pokemon are always at their first stage. Most water Pokemon appear while surfing and fishing, but some can still be found on grass. Legendary Pokemon appear in shaking grass and surfing or fishing spots. Most Pokemon with alternate forms can be found in any of their forms.

    Please report any bugs to KazoWAR@yahoo.com

    http://dl.dropbox.com/u/3706406/File...Encounters.rar

    Pokemon BW Random Encounters Lua Script 2

    This is a Lua script for DeSmuME to be used with Pokemon Black and White.
    The Lua dlls need to be placed in the DeSmuME folder.
    It modifies the encounter data to make random Pokemon appear in the wild.
    The Pokemon are found at appropriate levels. Example: Bulbasaur can be found in level ranges of 2 - 15, 16 - 31 for Ivysaur, and 32+ for Venusaur. Pokemon with evolution requirements that are not level based have a set of level ranges based on evolution requirement.
    Most water Pokemon appear while surfing and fishing, but some can still be found on grass.
    Legendary Pokemon appear in shaking grass and surfing or fishing spots.
    Most Pokemon with alternate forms can be found in any of their forms.

    Please report any bugs or suggestions to improve this script to KazoWAR@yahoo.com

    http://dl.dropbox.com/u/3706406/File...unters%202.rar
    Links are down, could anyone upload the 2nd one somewhere for me please, I've also emailed the OP.

    Cheers guys.

  9. #9
    Member Translation ContributorDeveloperROM Researcher
    Join Date
    Apr 2009
    Age
    24
    Posts
    305

    Re: Pokemon BW Random Encounters Lua Script


  10. #10
    Member
    Join Date
    Mar 2013
    Age
    22
    Posts
    1

    Re: Pokemon BW Random Encounters Lua Script

    Quote Originally Posted by KazoWAR View Post
    links are down again . could you upload it again? thx

+ Reply to Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
PPN Top 50