View Single Post
Old September 5th, 2012 (3:19 PM).
zingzags's Avatar
zingzags zingzags is offline
PokemonGDX creator
    Join Date: Jan 2009
    Location: Boston
    Age: 23
    Nature: Adamant
    Posts: 562
    Originally Posted by Maruno View Post
    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.
    I think the 3 means three pokemon per challenger, I got a copy of HG/SS right here, I will try to find out for you.
    Check out the Pokemon Game Engine I am working on:
    Reply With Quote