View Single Post
  #8655    
Old August 11th, 2013 (4:40 PM).
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
    Quote:
    Originally Posted by cclemur View Post
    I have been working on a script, and I am not sure what to do.
    When you talk to oak, he is supposed to give you a pokemon, then the grunts will come over, try to take it, fail then push you off the boat. all of the movement is working except for when the grunts are supposed to come out to get you. they don't come out, but I know they are moving up and around as they should. Here is the code:
    Spoiler:
    '---------------
    #org 0x8015A8
    checkflag 0x828
    if 0x1 goto 0x880160A
    msgbox 0x880179B MSG_NORMAL '"Hello.\nOne of my collegues told m..."
    goto 0x88015C1

    '---------------
    #org 0x80160A
    msgbox 0x8801861 MSG_NORMAL '"Good job!"
    release
    end

    '---------------
    #org 0x8015C1
    givepokemon 0x93 0x5 0x139 0x0 0x0 0x0
    fanfare 0x13E
    msgbox 0x88017F2 MSG_KEEPOPEN '"[black_fr]You received a Dratini!"
    waitfanfare
    closeonkeypress
    setflag 0x828
    msgbox 0x880180F MSG_YESNO '"[black_fr]Would you like to give a..."
    compare LASTRESULT 0x1
    if 0x1 call 0x8801603
    msgbox 0x8801842 MSG_NORMAL '"Please take care of\nDratini."
    goto 0x8801615

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

    '---------------
    #org 0x801615
    applymovement 0x4 0x8801747
    waitmovement 0x0
    applymovement 0x4 0x880174A
    waitmovement 0x0
    applymovement MOVE_PLAYER 0x880175A
    waitmovement 0x0
    trainerbattle 0x1 0x1 0x0 0x880175D 0x8801777 0x8801647
    end

    '---------------
    #org 0x1A74EB
    fadescreen 0x1
    special 0x9E
    waitstate
    return

    '---------------
    #org 0x801647
    msgbox 0x880186D MSG_NORMAL '"Oh darn...\nWell...\pOff the boat ..."
    applymovement 0x5 0x8801747
    waitmovement 0x0
    applymovement 0x5 0x8801735
    waitmovement 0x0
    applymovement 0x4 0x8801731
    applymovement 0x2 0x8801731
    applymovement MOVE_PLAYER 0x8801731
    waitmovement 0x0
    applymovement 0x4 0x880172E
    waitmovement 0x0
    applymovement 0x5 0x8801725
    applymovement 0x4 0x8801725
    applymovement 0x2 0x8801725
    applymovement MOVE_PLAYER 0x8801725
    waitmovement 0x0
    applymovement 0x5 0x880171F
    applymovement 0x4 0x880171F
    applymovement 0x2 0x880171F
    applymovement MOVE_PLAYER 0x880171F
    waitmovement 0x0
    applymovement 0x5 0x880172E
    applymovement 0x4 0x880172E
    waitmovement 0x0
    applymovement 0x5 0x880171C
    applymovement 0x4 0x8801719
    waitmovement 0x0
    msgbox 0x8801897 MSG_NORMAL '"See ya!!"
    applymovement 0x5 0x8801716
    applymovement 0x4 0x8801716
    applymovement 0x2 0x8801716
    applymovement MOVE_PLAYER 0x8801716
    waitmovement 0x0
    warp 0x3 0x0 0xFF 0x6 0x13
    end


    '---------
    ' Strings
    '---------
    #org 0x80179B
    = Hello.\nOne of my collegues told me\pto give this Dratini to an\nup and coming trainer.

    #org 0x801861
    = Good job!

    #org 0x8017F2
    = [black_fr]You received a Dratini!

    #org 0x80180F
    = [black_fr]Would you like to give a\nnickname to Dratini?

    #org 0x801842
    = Please take care of\nDratini.

    #org 0x80175D
    = I'll take that Dratini!

    #org 0x801777
    = h darn, well off the boat you go!

    #org 0x80186D
    = Oh darn...\nWell...\pOff the boat you go!

    #org 0x801897
    = See ya!!


    '-----------
    ' Movements
    '-----------
    #org 0x801747
    #raw 0x61 'Show
    #raw 0xFE 'End of Movements

    #org 0x80174A
    #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 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 0xFE 'End of Movements

    #org 0x80175A
    #raw 0x3 'Face Right
    #raw 0xFE 'End of Movements

    #org 0x801735
    #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 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 0x12 'Step Left (Normal)
    #raw 0x12 'Step Left (Normal)
    #raw 0xFE 'End of Movements

    #org 0x801731
    #raw 0x13 'Step Right (Normal)
    #raw 0x13 'Step Right (Normal)
    #raw 0xFE 'End of Movements

    #org 0x80172E
    #raw 0x10 'Step Down (Normal)
    #raw 0xFE 'End of Movements

    #org 0x801725
    #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 0xFE 'End of Movements

    #org 0x80171F
    #raw 0x11 'Step Up (Normal)
    #raw 0x11 'Step Up (Normal)
    #raw 0x11 'Step Up (Normal)
    #raw 0x11 'Step Up (Normal)
    #raw 0xFE 'End of Movements

    #org 0x80171C
    #raw 0x13 'Step Right (Normal)
    #raw 0xFE 'End of Movements

    #org 0x801719
    #raw 0x12 'Step Left (Normal)
    #raw 0xFE 'End of Movements

    #org 0x801716
    #raw 0x1E 'Step Up (Fast)
    #raw 0xFE 'End of Movements
    So, you're saying that the grunts don't appear? They are invisible? Could I see a video so that I can get a better insight as to what is going on here?
    __________________

    Paired with Simba