View Single Post
  #7771    
Old February 1st, 2013 (7:04 PM). Edited February 1st, 2013 by karatekid552.
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
    Send a message via AIM to karatekid552 Send a message via Windows Live Messenger to karatekid552
    Quote:
    Originally Posted by FRANKTANK View Post
    I went to edit the script for the Mt. Moon Helix Fossil in FireRed to change "HELIX FOSSIL" to "Helix Fossil" but when I try to compile it, a message pops up saying "Error 13 'Type mismatch' on line 12. Missing #define or parameter. Line: giveitem2 0x165 0x1 0x13E" and it won't let me compile the script. Any way to fix this? The same thing happens whenever I try to edit any script that involves giving an item. All the .rbh's are in the proper place.
    Doesn't give item require 3 0x0's on the end as fillers? Or is that just give Pokemon? Search it in the command database on XSE. (F1)

    Quote:
    Originally Posted by thetripplenine View Post
    Just checking in cause I haven't posted in a whole day, omagurd
    Was this really necessary? Really?

    Quote:
    Originally Posted by SpadeEdge16 View Post
    Okay, I have no idea what's going on, but for all of my scripts in route 1 of FR that have applymovement in them, none of the characters are moving when the script activates, everything else is going fine, just no movement...
    here are the scripts.
    Spoiler:
    #dynamic 0x800000
    #org @start
    checkflag 0x15F
    if 0x1 goto @done
    lock
    applymovement 0x12 @look
    waitmovement 0x12
    msgbox @daisy1 0x6
    applymovement 0x12 @approach
    waitmovement 0x12
    msgbox @daisy2 0x6
    setflag 0x15F
    release
    end

    #org @done
    release
    end

    #org @look
    #raw 0x62
    #raw 0x0
    #raw 0xFE

    #org @approach
    #raw 0x10
    #raw 0x10
    #raw 0x13
    #raw 0x10
    #raw 0x10
    #raw 0xFE

    #org @daisy1
    = DAISY: [player]...

    #org @daisy2
    = P-please, you have to help me.\nMy brother's EEVEE, it's ran\loff somewhere here, and now I\lcan't find it!\lPlease help me, I'm so scared\lsomething's happened!

    Spoiler:
    #dynamic 0x800000
    #org @start
    checkflag 0x15D
    if 0x1 goto @done
    lock
    applymovement 0x3 @notice
    waitmovement 0x3
    msgbox @ace1 0x6
    playsong 0x14C 0x0
    applymovement 0x3 @approach
    waitmovement 0x3
    msgbox @ace2 0x6
    trainerbattle 0x1 0x4E 0x0 @challenge @defeat @after
    release
    end

    #org @done
    release
    end

    #org @after
    playsong 0x14C 0x0
    msgbox @ace3 0x6
    fanfare 0x101
    msgbox @item 0x6
    additem 0x169 0x1
    msgbox @ace4 0x6
    applymovement 0x3 @leave
    applymovement 0xFF @watch
    waitmovement 0x3
    hidesprite 0x3
    setflag 0x15D
    fadedefault
    release
    end

    #org @notice
    #raw 0x62
    #raw 0xFE

    #org @approach
    #raw 0x13
    #raw 0x11
    #raw 0xFE

    #org @leave
    #raw 0x12
    #raw 0x11
    #raw 0x11
    #raw 0x11
    #raw 0x12
    #raw 0x11
    #raw 0x12
    #raw 0x12
    #raw 0x12
    #raw 0x11
    #raw 0x11
    #raw 0x11
    #raw 0xFE

    #org @watch
    #raw 0x1
    #raw 0xFE

    #org @item
    = [player] received a TOWN MAP!

    #org @challenge
    = Why don't you see for\nyourself!

    #org @defeat
    = That was awesome!

    #org @ace1
    = ACE: Hey there!

    #org @ace2
    = My name is ACE!\n...\lNice to meet you, [player]!\lI'm a new trainer from FUCHSIA\lCITY, and I just caught my\lfirst POKEMON!

    #org @ace3
    = I've been waiting for the\nchance to try out my new\lPOKEMON, thanks for the\lpractice!\lHere, why don't you take this\las a gift!

    #org @ace4
    = As a new trainer, I'm sure you\ncould use one of those!\lI'll see you later, [player]!\lFrom now on, you and I are\lrivals!\lSo you better be stronger\lnext time we meet, 'cause\lyou've gotta keep me strong!
    Most likely, you forgot to change 12 into 0xC. Check your person event numbers and make sure to translate them to hex from A-map.
    __________________

    Paired with Simba