View Single Post
Old January 28th, 2013 (10:23 AM).
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
    Originally Posted by butterflye View Post
    Yes, thank you, it finally works.

    But I have another problem and I hope that my another request doesn't tire anybody. The same script is going to have one, a strange anomaly. If there is a choice of Yes / No, when I click Yes, the game takes it as click No, and I don't get Pokemon. Does anyone know and could cause me the reason? I totally am beginner in scripting...

    Again, this is the script:
    #dynamic 0xD0052F

    #org @start
    checkflag 0x828
    if 0x1 goto @done
    msgbox @1 0x5
    compare LASTRESULT 0x300D
    if 0x1 goto @take
    msgbox @2 0x6

    #org @done
    msgbox @6 0x6

    #org @take
    givepokemon 0x376 0x5 0x0 0x0 0x0 0x0
    fanfare 0x13E
    msgbox @3 0x4
    setflag 0x828
    msgbox @5 0x6

    #org @1
    = You! Come here. Remember, what I\nsaid. Here, take this Absol. He\lseems to loved you, but I don't\lknow, how he can make it.

    #org @2
    = Humph. You have no heart.

    #org @3
    = [black_rs]You received an Absol!

    #org @5
    = Better not hurt him!

    #org @6
    = I hope Absol is fine.

    It's var 0x800D, that is LASTRESULT. It's on line 10, you're checking the wrong var.

    Paired with Simba