View Single Post
Old June 3rd, 2012 (11:43 AM).
trebornosliw's Avatar
trebornosliw trebornosliw is offline
    Join Date: Jul 2009
    Age: 25
    Gender: Male
    Nature: Adamant
    Posts: 523
    Well, it says no revival limit so I'll leave a note here in case anyone comes looking.
    Originally Posted by 558122_DG View Post
    so are the 3 dots in the begginging and end required?

    Also for the script

    trainerbattle 0x3 0xXXX 0x9 @intro @defeat

    is it possible to change what the person says?

    I.E oak usually says:

    Pushy as always, you haven't been in a trainer battle have you?

    ^I expect it would require some ASM though :/
    First, I assume you mean this:
    trainerbattle 0x9 0xXXX 0x3 @victory @defeat
    1. trainerbattle 0x3 is followed by only one text pointer and I have no idea what that 0x9 would do in the command you wrote.
    2. the first text pointer in trainerbattle 0x9 shows if you win the battle, not at the battle's start (thus, not intro).

    Second, I imagine you could go in and hex edit the text... it has to be stored somewhere. There's a tutorial about hex editing text somewhere on this forum (now I'm interested... I'm going to have to look this up).

    Originally Posted by Tropical Sunlight View Post
    So, what happens in the person defeats you? Your Pokemon get healthy again or what?
    I've been testing, and your Pokemon will automatically be healed if you lose in trainerbattle 0x9 0x??? 0x3, but will not be healed if you win (you have to add the special 0x0). Now, if you lose a trainerbattle 0x9 0x??? 0x0 you are just sent to the last Pokemon center.
    I'm trying to find some way to have a battle without Oak's dialogue where the trainer's Pokemon are still healed after a loss. Is there a list of the effects of that third variable anywhere (the one that's set as 0x3 for the Oak dialogue)?
    Credit for my avatar goes to the Lego company.
    Reply With Quote