View Single Post
  #81    
Old June 29th, 2008 (8:54 AM).
jakerman999's Avatar
jakerman999 jakerman999 is offline
looking for spriters
     
    Join Date: Oct 2007
    Location: Ingersoll
    Age: 25
    Gender: Male
    Nature: Adamant
    Posts: 52
    can anyone see what is wrong in this script?
    (script that i found is in spoilers, only the code I wrote is visible)

    #org 0x168BE5
    lock
    faceplayer
    checkflag 0x800
    if 0x0 goto 0x8168D00
    Spoiler:
    checkflag 0x258
    if 0x1 goto 0x8168C26
    checkgender
    compare LASTRESULT 0x0
    if 0x1 call 0x8168C14
    compare LASTRESULT 0x1
    if 0x1 call 0x8168C1D
    closeonkeypress
    applymovement 0x1 0xD2CC000F
    subvar 0x908 0x304
    msgbox 0x818D33C '"MOM: [.]Right.\nAll girls dream of ..."
    callstd 0x4
    return


    '-----------------------
    #org 0x168D00
    checkflag 0x291
    if 0x1 goto 0x8168D64
    return

    Spoiler:

    '-----------------------
    #org 0x168C26
    msgbox 0x818D3AD '"MOM: [player]!\nYou should take a q..."
    callstd 0x4
    closeonkeypress
    call 0x81A6C02
    msgbox 0x818D3D4 '"MOM: Oh, good! You and your\nPOKéMO..."
    callstd 0x4
    release
    end

    '-----------------------
    #org 0x168C14
    msgbox 0x818D2CC '"MOM: [.]Right.\nBoys leave home evr..."
    callstd 0x4
    return

    '-----------------------
    #org 0x168C1D
    msgbox 0x818D33C '"MOM: [.]Right.\nAll girls dream of ..."
    callstd 0x4
    return


    '-----------------------
    #org 0x168D64
    msgbox 0x818D49C '"MOM: PROF.OAK gave you a pokémon?\n..."
    givepokemon 0x55 0x5 0x22 0x0 0x0 0x0
    setflag 0x800
    release
    end

    Spoiler:

    '-----------------------
    #org 0x1A6C02
    fadescreen 0x1
    fanfare 0x100
    waitfanfare
    special 0x0
    fadescreen 0x0
    return


    '---------
    ' Strings
    '---------
    #org 0x18D33C
    = MOM: [.]Right.\nAll girls dream of traveling.\lIt said so on TV.\pOh, yes. PROF. OAK, next door, was\nlooking for you.

    #org 0x18D3AD
    = MOM: [player]!\nYou should take a quick rest.

    #org 0x18D3D4
    = MOM: Oh, good! You and your\nPOKéMON are looking great.

    #org 0x18D2CC
    = MOM: [.]Right.\nBoys leave home evreyday.\nIt said so on TV.\pOh,yes. PROF.OAK,was searching for\nyou


    #org 0x18D49C
    = MOM: PROF.OAK gave you a pokémon?\nI better help out to.



    the script compiles fine, it just doesn't do anything when I talk to 'mom'
    any help?
    __________________
    you must build -inal pylons.

    jakerman999's PokePet

    sharpshell the level 45 Kabutops!


    I have a life, I bought it on e-bay.

    support shiny gold!