View Single Post
Old September 5th, 2012 (12:19 PM).
Maruno's Avatar
Maruno Maruno is offline
Lead Dev of Pokémon Essentials
    Join Date: Jan 2008
    Location: England
    Posts: 5,189
    If anyone knows about the Battle Tower/Arena/etc. scripts, I'd like to learn something. Why do they all use the script with name s:pbInChallenge?(3), why is it always 3, and why might that 3 be compared to the tournament's name (which is a string)?

    I know basically what it does, and why it's needed. I just want to know why the 3 is there, and why none of the similarly-named switches (with alternate numbers) are used. It just feels like it could be cleaned up a bit, and/or it needs a bit of fixing.

    Also, did you know that all those "Reserved" Global Variables aren't actually used? Well, a couple are, but they're for temporary data which can be reassigned to other Variables (Day Care events). If anyone knows differently, please let me know.
    Go to the Pokémon Essentials Wiki

    | Downloads | Tutorials | Fangames |
    | All Animations Project |

    Follow me on Twitter: @maruno42

    Reply With Quote