View Single Post
  #8174    
Old May 10th, 2013 (2:55 PM).
Varion Bluefire's Avatar
Varion Bluefire Varion Bluefire is offline
A.K.A The Glitch
     
    Join Date: Apr 2013
    Age: 22
    Gender: Male
    Nature: Naughty
    Posts: 663
    I'm trying to do a script for the prof's lab I've got this.

    Quote:
    '---------------
    #org 0x71BBEF
    checkflag 0x828
    if 0x1 goto 0x71BFAE
    msgbox 0x871BC71 MSG_NORMAL '"Mazort: Ah! There you are.\nCome h..."
    applymovement MOVE_PLAYER 0x871BED4
    waitmovement 0x0
    applymovement 0x8 0x871BEDD
    waitmovement 0x0
    msgbox 0x871BCA8 MSG_NORMAL '"[rival]: Woah!\nWhy are they here?..."
    msgbox 0x871BCF3 MSG_NORMAL '"Mazort: Shush now child!\nYou're b..."
    applymovement MOVE_PLAYER 0x871BEE2
    applymovement 0x8 0x871BEE6
    waitmovement 0x0
    msgbox 0x871BD99 MSG_NORMAL '"[rival]: What?"
    applymovement MOVE_PLAYER 0x871BEEA
    applymovement 0x8 0x871BEED
    waitmovement 0x0
    applymovement 0x4 0x871BEF0
    waitmovement 0x0
    msgbox 0x871BDA5 MSG_NORMAL '"Mazort: You two can have a healthy..."
    applymovement 0x4 0x871BEF3
    waitmovement 0x0
    msgbox 0x871BE01 MSG_NORMAL '"Mazort: Now then!\nOnto business.\..."
    setvar 0x4055 0x2
    release
    end

    '---------
    ' Strings
    '---------

    #org 0x71BC71
    = Mazort: Ah! There you are.\nCome here, why don't you?

    #org 0x71BCA8
    = [rival]: Woah!\nWhy are they here?\pI thought I was getting a Pokémon\lnot them.

    #org 0x71BCF3
    = Mazort: Shush now child!\nYou're both getting a Pokémon\lSince you both have the same goal.\pTo become a Champion.\nIt seems perfect that\lyou both want the same thing.

    #org 0x71BD99
    = [rival]: What?

    #org 0x71BDA5
    = Mazort: You two can have a healthy \nrivalry.\pHeh, that's how it was done\nback in the day.

    #org 0x71BE01
    = Mazort: Now then!\nOnto business.\l[player], on that table is three Pokéballs.\pIn each is one Pokémon, of a different type.\pGo ahead and pick one.\nBut pick carefully, each type has\lit's own weaknesses and advantages.

    '-----------
    ' Movements
    '-----------
    #org 0x71BED4
    #raw 0x11 'Step Up (Normal)
    #raw 0x11 'Step Up (Normal)
    #raw 0x11 'Step Up (Normal)
    #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 0x71BEDD
    #raw 0x53 'Jump in Place (Facing Up)
    #raw 0x53 'Jump in Place (Facing Up)
    #raw 0x53 'Jump in Place (Facing Up)
    #raw 0xFE 'End of Movements

    #org 0x71BEE2
    #raw 0x2 'Face Left
    #raw 0x63 'Question Mark (?)
    #raw 0xFE 'End of Movements

    #org 0x71BEE6
    #raw 0x3 'Face Right
    #raw 0x63 'Question Mark (?)
    #raw 0xFE 'End of Movements

    #org 0x71BEEA
    #raw 0x1 'Face Up
    #raw 0xFE 'End of Movements

    #org 0x71BEED
    #raw 0x1 'Face Up
    #raw 0xFE 'End of Movements

    #org 0x71BEF0
    #raw 0x1 'Face Up
    #raw 0xFE 'End of Movements

    #org 0x71BEF3
    #raw 0x0 'Face Down
    #raw 0xFE 'End of Movements


    #org 0x71BFAE
    release
    end
    Everything works fine up until

    'That's how it was done, back in the day'
    After that the script stops, and releases the player.

    It stopped the next bit after i put in the flag check for after having a pokemon. :\
    __________________

    Just strollin' to my next destination...