• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Scottie, Todd, Serena, Kris - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • 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.

Level screen ending prematurely

pokemonmasteraaron

The blind Pokémon Master!
  • 322
    Posts
    14
    Years
    Hello,
    I am attempting to add a dll call to the exp screen. This call has worked in all other locations I've added it, including the shop, battle text, etc.
    the line is
    $speaker.call(some_string)
    This line causes the gain experience method to end prematurely, even when called from a method which is called by the method, E.G. PBScene's levelup
    Why am I getting this behavior?
    I thought it had something to do with one line if statements, but there are none around that point.
    I'm pretty sure that code is rapped in a do loop, so if you break the loop I expect you'd get the same behavior.
    Cheers,
    Aaron
     
    OK, I've researched it further, and it appears to be an issue when adding an int to a string, E.G. pkmnname+" grew to level "+curlevel
    So, my new question is,
    how can I cast an int to a string where this operaion would be successful?
     
    Back
    Top