View Single Post
  #22153    
Old July 21st, 2012 (3:08 PM).
Vandette Vandette is offline
     
    Join Date: Feb 2009
    Posts: 3
    Thanks for your response! Here's a copy of the script I'm using. I realize that it does have errors (which I noticed when I ran it out of the person event, but I'd like to get the script tile to work before I do that.)

    Spoiler:

    '---------------
    #org 0x71A400
    goto 0x871A47A

    '---------------
    #org 0x71A47A
    textcolor 0x0
    pause 0x1E
    playsong 0x12E 0x0
    msgbox 0x871A4F0 MSG_KEEPOPEN '"???: Hey you!"
    closeonkeypress
    applymovement 0x2 0x871A68F
    waitmovement 0x0
    msgbox 0x871A501 MSG_KEEPOPEN '"ALEKO: I'm glad that\nI ran into y..."
    closeonkeypress
    givepokemon 0x85 0x5 0x0 0x0 0x0 0x0
    fanfare 0x13E
    msgbox 0x871A589 MSG_KEEPOPEN '"ALEKO gives you an EEVEE!"
    waitfanfare
    closeonkeypress
    setflag 0x828
    msgbox 0x871A5A5 MSG_YESNO '"Would you like to give a\nnickname..."
    compare LASTRESULT 0x1
    if 0x1 call 0x871A4E9
    msgbox 0x871A5D3 MSG_NORMAL '"ALEKO: I know that you've\nalways ..."
    applymovement 0x2 0x871A69B
    waitmovement 0x0
    releaseall
    end

    '---------------
    #org 0x71A4E9
    call 0x81A74EB
    return

    '---------------
    #org 0x1A74EB
    showbox 0x1A 0x8 0x9 0x4
    goto 0x81A7507

    '---------------
    #org 0x1A7507
    special 0x17F
    return


    '---------
    ' Strings
    '---------
    #org 0x71A4F0
    = ???: Hey you!

    #org 0x71A501
    = ALEKO: I'm glad that\nI ran into you before\nI head off to the Pokemon\nLeague for my internship.\nI got you something to\nremember me by.

    #org 0x71A589
    = ALEKO gives you an EEVEE!

    #org 0x71A5A5
    = Would you like to give a\nnickname to EEVEE?

    #org 0x71A5D3
    = ALEKO: I know that you've\nalways wanted a Glaceon,\nbut Ice Stones are\nreally hard to come by\nthese days.\nI'm going to be late\nif I don't leave now\nso I gotta run.\n


    '-----------
    ' Movements
    '-----------
    #org 0x71A68F
    #raw 0x13 'Step Right (Normal)
    #raw 0x13 'Step Right (Normal)
    #raw 0x13 'Step Right (Normal)
    #raw 0x13 'Step Right (Normal)
    #raw 0x13 'Step Right (Normal)
    #raw 0x13 'Step Right (Normal)
    #raw 0x13 'Step Right (Normal)
    #raw 0x10 'Step Down (Normal)
    #raw 0x10 'Step Down (Normal)
    #raw 0x66 'Happy ()
    #raw 0xFE 'End of Movements

    #org 0x71A69B
    #raw 0x11 'Step Up (Normal)
    #raw 0x11 'Step Up (Normal)
    #raw 0x12 'Step Left (Normal)
    #raw 0x12 'Step Left (Normal)
    #raw 0x12 'Step Left (Normal)
    #raw 0x12 'Step Left (Normal)
    #raw 0x12 'Step Left (Normal)
    #raw 0x12 'Step Left (Normal)
    #raw 0x12 'Step Left (Normal)
    #raw 0x60 'Hide
    #raw 0xFE 'End of Movements


    So that's it. The script event tile is on the Route 1 map, so it's not activating as soon as I enter a new map, no. I just want it to activate once this particular tile is stepped on, and that's not happening.