View Single Post
Old August 13th, 2013 (5:08 AM). Edited August 13th, 2013 by karatekid552.
karatekid552's Avatar
karatekid552 karatekid552 is offline
What happens if I push it?....
    Join Date: Nov 2012
    Location: Do you really want to know? Really?
    Gender: Male
    Nature: Bold
    Posts: 1,766
    Send a message via AIM to karatekid552 Send a message via Windows Live Messenger to karatekid552
    Originally Posted by Mauri View Post
    So, like this?

    trainerbattle <etc>..
    checktrainerflag 0x<ID>
    if 0x1 goto @win
    // if you loose
    Right? Or have i to compare the last result?
    Nope, a common misconception is that trainerflags are set when you beat them. Trainerflags are really cleared when you beat them.

    And yes, you need to compare LASTRESULT 0x0 in between the chckflag and the if.

    Paired with Simba